Build Information
Failed to build SwiftDisc, reference main (10b4fe), with Swift 6.1 for Linux on 11 Dec 2025 03:15:18 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
1 | import Foundation
2 |
3 | public struct GatewayIntents: OptionSet, Codable, Hashable {
| `- note: consider making struct 'GatewayIntents' conform to the 'Sendable' protocol
4 | public let rawValue: UInt64
5 | public init(rawValue: UInt64) { self.rawValue = rawValue }
6 |
7 | public static let guilds = GatewayIntents(rawValue: 1 << 0)
8 | public static let guildMembers = GatewayIntents(rawValue: 1 << 1)
| |- warning: static property 'guildMembers' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'guildMembers' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | public static let guildModeration = GatewayIntents(rawValue: 1 << 2)
10 | public static let guildEmojisAndStickers = GatewayIntents(rawValue: 1 << 3)
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:9:23: warning: static property 'guildModeration' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct GatewayIntents: OptionSet, Codable, Hashable {
| `- note: consider making struct 'GatewayIntents' conform to the 'Sendable' protocol
4 | public let rawValue: UInt64
5 | public init(rawValue: UInt64) { self.rawValue = rawValue }
:
7 | public static let guilds = GatewayIntents(rawValue: 1 << 0)
8 | public static let guildMembers = GatewayIntents(rawValue: 1 << 1)
9 | public static let guildModeration = GatewayIntents(rawValue: 1 << 2)
| |- warning: static property 'guildModeration' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'guildModeration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | public static let guildEmojisAndStickers = GatewayIntents(rawValue: 1 << 3)
11 | public static let guildIntegrations = GatewayIntents(rawValue: 1 << 4)
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:10:23: warning: static property 'guildEmojisAndStickers' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct GatewayIntents: OptionSet, Codable, Hashable {
| `- note: consider making struct 'GatewayIntents' conform to the 'Sendable' protocol
4 | public let rawValue: UInt64
5 | public init(rawValue: UInt64) { self.rawValue = rawValue }
:
8 | public static let guildMembers = GatewayIntents(rawValue: 1 << 1)
9 | public static let guildModeration = GatewayIntents(rawValue: 1 << 2)
10 | public static let guildEmojisAndStickers = GatewayIntents(rawValue: 1 << 3)
| |- warning: static property 'guildEmojisAndStickers' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'guildEmojisAndStickers' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | public static let guildIntegrations = GatewayIntents(rawValue: 1 << 4)
12 | public static let guildWebhooks = GatewayIntents(rawValue: 1 << 5)
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:11:23: warning: static property 'guildIntegrations' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct GatewayIntents: OptionSet, Codable, Hashable {
| `- note: consider making struct 'GatewayIntents' conform to the 'Sendable' protocol
4 | public let rawValue: UInt64
5 | public init(rawValue: UInt64) { self.rawValue = rawValue }
:
9 | public static let guildModeration = GatewayIntents(rawValue: 1 << 2)
10 | public static let guildEmojisAndStickers = GatewayIntents(rawValue: 1 << 3)
11 | public static let guildIntegrations = GatewayIntents(rawValue: 1 << 4)
| |- warning: static property 'guildIntegrations' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'guildIntegrations' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | public static let guildWebhooks = GatewayIntents(rawValue: 1 << 5)
13 | public static let guildInvites = GatewayIntents(rawValue: 1 << 6)
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:12:23: warning: static property 'guildWebhooks' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct GatewayIntents: OptionSet, Codable, Hashable {
| `- note: consider making struct 'GatewayIntents' conform to the 'Sendable' protocol
4 | public let rawValue: UInt64
5 | public init(rawValue: UInt64) { self.rawValue = rawValue }
:
10 | public static let guildEmojisAndStickers = GatewayIntents(rawValue: 1 << 3)
11 | public static let guildIntegrations = GatewayIntents(rawValue: 1 << 4)
12 | public static let guildWebhooks = GatewayIntents(rawValue: 1 << 5)
| |- warning: static property 'guildWebhooks' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'guildWebhooks' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | public static let guildInvites = GatewayIntents(rawValue: 1 << 6)
14 | public static let guildVoiceStates = GatewayIntents(rawValue: 1 << 7)
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:13:23: warning: static property 'guildInvites' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct GatewayIntents: OptionSet, Codable, Hashable {
| `- note: consider making struct 'GatewayIntents' conform to the 'Sendable' protocol
4 | public let rawValue: UInt64
5 | public init(rawValue: UInt64) { self.rawValue = rawValue }
:
11 | public static let guildIntegrations = GatewayIntents(rawValue: 1 << 4)
12 | public static let guildWebhooks = GatewayIntents(rawValue: 1 << 5)
13 | public static let guildInvites = GatewayIntents(rawValue: 1 << 6)
| |- warning: static property 'guildInvites' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'guildInvites' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | public static let guildVoiceStates = GatewayIntents(rawValue: 1 << 7)
15 | public static let guildPresences = GatewayIntents(rawValue: 1 << 8)
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:14:23: warning: static property 'guildVoiceStates' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct GatewayIntents: OptionSet, Codable, Hashable {
| `- note: consider making struct 'GatewayIntents' conform to the 'Sendable' protocol
4 | public let rawValue: UInt64
5 | public init(rawValue: UInt64) { self.rawValue = rawValue }
:
12 | public static let guildWebhooks = GatewayIntents(rawValue: 1 << 5)
13 | public static let guildInvites = GatewayIntents(rawValue: 1 << 6)
14 | public static let guildVoiceStates = GatewayIntents(rawValue: 1 << 7)
| |- warning: static property 'guildVoiceStates' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'guildVoiceStates' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | public static let guildPresences = GatewayIntents(rawValue: 1 << 8)
16 | public static let guildMessages = GatewayIntents(rawValue: 1 << 9)
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:15:23: warning: static property 'guildPresences' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct GatewayIntents: OptionSet, Codable, Hashable {
| `- note: consider making struct 'GatewayIntents' conform to the 'Sendable' protocol
4 | public let rawValue: UInt64
5 | public init(rawValue: UInt64) { self.rawValue = rawValue }
:
13 | public static let guildInvites = GatewayIntents(rawValue: 1 << 6)
14 | public static let guildVoiceStates = GatewayIntents(rawValue: 1 << 7)
15 | public static let guildPresences = GatewayIntents(rawValue: 1 << 8)
| |- warning: static property 'guildPresences' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'guildPresences' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | public static let guildMessages = GatewayIntents(rawValue: 1 << 9)
17 | public static let guildMessageReactions = GatewayIntents(rawValue: 1 << 10)
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:16:23: warning: static property 'guildMessages' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct GatewayIntents: OptionSet, Codable, Hashable {
| `- note: consider making struct 'GatewayIntents' conform to the 'Sendable' protocol
4 | public let rawValue: UInt64
5 | public init(rawValue: UInt64) { self.rawValue = rawValue }
:
14 | public static let guildVoiceStates = GatewayIntents(rawValue: 1 << 7)
15 | public static let guildPresences = GatewayIntents(rawValue: 1 << 8)
16 | public static let guildMessages = GatewayIntents(rawValue: 1 << 9)
| |- warning: static property 'guildMessages' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'guildMessages' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | public static let guildMessageReactions = GatewayIntents(rawValue: 1 << 10)
18 | public static let guildMessageTyping = GatewayIntents(rawValue: 1 << 11)
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:17:23: warning: static property 'guildMessageReactions' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct GatewayIntents: OptionSet, Codable, Hashable {
| `- note: consider making struct 'GatewayIntents' conform to the 'Sendable' protocol
4 | public let rawValue: UInt64
5 | public init(rawValue: UInt64) { self.rawValue = rawValue }
:
15 | public static let guildPresences = GatewayIntents(rawValue: 1 << 8)
16 | public static let guildMessages = GatewayIntents(rawValue: 1 << 9)
17 | public static let guildMessageReactions = GatewayIntents(rawValue: 1 << 10)
| |- warning: static property 'guildMessageReactions' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'guildMessageReactions' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | public static let guildMessageTyping = GatewayIntents(rawValue: 1 << 11)
19 | public static let directMessages = GatewayIntents(rawValue: 1 << 12)
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:18:23: warning: static property 'guildMessageTyping' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct GatewayIntents: OptionSet, Codable, Hashable {
| `- note: consider making struct 'GatewayIntents' conform to the 'Sendable' protocol
4 | public let rawValue: UInt64
5 | public init(rawValue: UInt64) { self.rawValue = rawValue }
:
16 | public static let guildMessages = GatewayIntents(rawValue: 1 << 9)
17 | public static let guildMessageReactions = GatewayIntents(rawValue: 1 << 10)
18 | public static let guildMessageTyping = GatewayIntents(rawValue: 1 << 11)
| |- warning: static property 'guildMessageTyping' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'guildMessageTyping' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | public static let directMessages = GatewayIntents(rawValue: 1 << 12)
20 | public static let directMessageReactions = GatewayIntents(rawValue: 1 << 13)
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:19:23: warning: static property 'directMessages' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct GatewayIntents: OptionSet, Codable, Hashable {
| `- note: consider making struct 'GatewayIntents' conform to the 'Sendable' protocol
4 | public let rawValue: UInt64
5 | public init(rawValue: UInt64) { self.rawValue = rawValue }
:
17 | public static let guildMessageReactions = GatewayIntents(rawValue: 1 << 10)
18 | public static let guildMessageTyping = GatewayIntents(rawValue: 1 << 11)
19 | public static let directMessages = GatewayIntents(rawValue: 1 << 12)
| |- warning: static property 'directMessages' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'directMessages' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | public static let directMessageReactions = GatewayIntents(rawValue: 1 << 13)
21 | public static let directMessageTyping = GatewayIntents(rawValue: 1 << 14)
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:20:23: warning: static property 'directMessageReactions' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct GatewayIntents: OptionSet, Codable, Hashable {
| `- note: consider making struct 'GatewayIntents' conform to the 'Sendable' protocol
4 | public let rawValue: UInt64
5 | public init(rawValue: UInt64) { self.rawValue = rawValue }
:
18 | public static let guildMessageTyping = GatewayIntents(rawValue: 1 << 11)
19 | public static let directMessages = GatewayIntents(rawValue: 1 << 12)
20 | public static let directMessageReactions = GatewayIntents(rawValue: 1 << 13)
| |- warning: static property 'directMessageReactions' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'directMessageReactions' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | public static let directMessageTyping = GatewayIntents(rawValue: 1 << 14)
22 | public static let messageContent = GatewayIntents(rawValue: 1 << 15)
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:21:23: warning: static property 'directMessageTyping' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct GatewayIntents: OptionSet, Codable, Hashable {
| `- note: consider making struct 'GatewayIntents' conform to the 'Sendable' protocol
4 | public let rawValue: UInt64
5 | public init(rawValue: UInt64) { self.rawValue = rawValue }
:
19 | public static let directMessages = GatewayIntents(rawValue: 1 << 12)
20 | public static let directMessageReactions = GatewayIntents(rawValue: 1 << 13)
21 | public static let directMessageTyping = GatewayIntents(rawValue: 1 << 14)
| |- warning: static property 'directMessageTyping' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'directMessageTyping' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | public static let messageContent = GatewayIntents(rawValue: 1 << 15)
23 | public static let guildScheduledEvents = GatewayIntents(rawValue: 1 << 16)
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:22:23: warning: static property 'messageContent' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct GatewayIntents: OptionSet, Codable, Hashable {
| `- note: consider making struct 'GatewayIntents' conform to the 'Sendable' protocol
4 | public let rawValue: UInt64
5 | public init(rawValue: UInt64) { self.rawValue = rawValue }
:
20 | public static let directMessageReactions = GatewayIntents(rawValue: 1 << 13)
21 | public static let directMessageTyping = GatewayIntents(rawValue: 1 << 14)
22 | public static let messageContent = GatewayIntents(rawValue: 1 << 15)
| |- warning: static property 'messageContent' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'messageContent' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | public static let guildScheduledEvents = GatewayIntents(rawValue: 1 << 16)
24 | public static let autoModerationConfiguration = GatewayIntents(rawValue: 1 << 20)
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:23:23: warning: static property 'guildScheduledEvents' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct GatewayIntents: OptionSet, Codable, Hashable {
| `- note: consider making struct 'GatewayIntents' conform to the 'Sendable' protocol
4 | public let rawValue: UInt64
5 | public init(rawValue: UInt64) { self.rawValue = rawValue }
:
21 | public static let directMessageTyping = GatewayIntents(rawValue: 1 << 14)
22 | public static let messageContent = GatewayIntents(rawValue: 1 << 15)
23 | public static let guildScheduledEvents = GatewayIntents(rawValue: 1 << 16)
| |- warning: static property 'guildScheduledEvents' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'guildScheduledEvents' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | public static let autoModerationConfiguration = GatewayIntents(rawValue: 1 << 20)
25 | public static let autoModerationExecution = GatewayIntents(rawValue: 1 << 21)
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:24:23: warning: static property 'autoModerationConfiguration' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct GatewayIntents: OptionSet, Codable, Hashable {
| `- note: consider making struct 'GatewayIntents' conform to the 'Sendable' protocol
4 | public let rawValue: UInt64
5 | public init(rawValue: UInt64) { self.rawValue = rawValue }
:
22 | public static let messageContent = GatewayIntents(rawValue: 1 << 15)
23 | public static let guildScheduledEvents = GatewayIntents(rawValue: 1 << 16)
24 | public static let autoModerationConfiguration = GatewayIntents(rawValue: 1 << 20)
| |- warning: static property 'autoModerationConfiguration' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'autoModerationConfiguration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | public static let autoModerationExecution = GatewayIntents(rawValue: 1 << 21)
26 | }
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:25:23: warning: static property 'autoModerationExecution' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct GatewayIntents: OptionSet, Codable, Hashable {
| `- note: consider making struct 'GatewayIntents' conform to the 'Sendable' protocol
4 | public let rawValue: UInt64
5 | public init(rawValue: UInt64) { self.rawValue = rawValue }
:
23 | public static let guildScheduledEvents = GatewayIntents(rawValue: 1 << 16)
24 | public static let autoModerationConfiguration = GatewayIntents(rawValue: 1 << 20)
25 | public static let autoModerationExecution = GatewayIntents(rawValue: 1 << 21)
| |- warning: static property 'autoModerationExecution' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'autoModerationExecution' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | }
27 |
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:24:16: error: cannot assign to property: 'waitsForConnectivity' is a get-only property
22 | let config = URLSessionConfiguration.default
23 | #if !os(Windows)
24 | config.waitsForConnectivity = true
| `- error: cannot assign to property: 'waitsForConnectivity' is a get-only property
25 | #endif
26 | config.requestCachePolicy = .reloadIgnoringLocalCacheData
[56/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/Intents.swift:7:23: warning: static property 'guilds' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct GatewayIntents: OptionSet, Codable, Hashable {
| `- note: consider making struct 'GatewayIntents' conform to the 'Sendable' protocol
4 | public let rawValue: UInt64
5 | public init(rawValue: UInt64) { self.rawValue = rawValue }
6 |
7 | public static let guilds = GatewayIntents(rawValue: 1 << 0)
| |- warning: static property 'guilds' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'guilds' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | public static let guildMembers = GatewayIntents(rawValue: 1 << 1)
9 | public static let guildModeration = GatewayIntents(rawValue: 1 << 2)
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:8:23: warning: static property 'guildMembers' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct GatewayIntents: OptionSet, Codable, Hashable {
| `- note: consider making struct 'GatewayIntents' conform to the 'Sendable' protocol
4 | public let rawValue: UInt64
5 | public init(rawValue: UInt64) { self.rawValue = rawValue }
6 |
7 | public static let guilds = GatewayIntents(rawValue: 1 << 0)
8 | public static let guildMembers = GatewayIntents(rawValue: 1 << 1)
| |- warning: static property 'guildMembers' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'guildMembers' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | public static let guildModeration = GatewayIntents(rawValue: 1 << 2)
10 | public static let guildEmojisAndStickers = GatewayIntents(rawValue: 1 << 3)
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:9:23: warning: static property 'guildModeration' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct GatewayIntents: OptionSet, Codable, Hashable {
| `- note: consider making struct 'GatewayIntents' conform to the 'Sendable' protocol
4 | public let rawValue: UInt64
5 | public init(rawValue: UInt64) { self.rawValue = rawValue }
:
7 | public static let guilds = GatewayIntents(rawValue: 1 << 0)
8 | public static let guildMembers = GatewayIntents(rawValue: 1 << 1)
9 | public static let guildModeration = GatewayIntents(rawValue: 1 << 2)
| |- warning: static property 'guildModeration' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'guildModeration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | public static let guildEmojisAndStickers = GatewayIntents(rawValue: 1 << 3)
11 | public static let guildIntegrations = GatewayIntents(rawValue: 1 << 4)
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:10:23: warning: static property 'guildEmojisAndStickers' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct GatewayIntents: OptionSet, Codable, Hashable {
| `- note: consider making struct 'GatewayIntents' conform to the 'Sendable' protocol
4 | public let rawValue: UInt64
5 | public init(rawValue: UInt64) { self.rawValue = rawValue }
:
8 | public static let guildMembers = GatewayIntents(rawValue: 1 << 1)
9 | public static let guildModeration = GatewayIntents(rawValue: 1 << 2)
10 | public static let guildEmojisAndStickers = GatewayIntents(rawValue: 1 << 3)
| |- warning: static property 'guildEmojisAndStickers' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'guildEmojisAndStickers' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | public static let guildIntegrations = GatewayIntents(rawValue: 1 << 4)
12 | public static let guildWebhooks = GatewayIntents(rawValue: 1 << 5)
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:11:23: warning: static property 'guildIntegrations' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct GatewayIntents: OptionSet, Codable, Hashable {
| `- note: consider making struct 'GatewayIntents' conform to the 'Sendable' protocol
4 | public let rawValue: UInt64
5 | public init(rawValue: UInt64) { self.rawValue = rawValue }
:
9 | public static let guildModeration = GatewayIntents(rawValue: 1 << 2)
10 | public static let guildEmojisAndStickers = GatewayIntents(rawValue: 1 << 3)
11 | public static let guildIntegrations = GatewayIntents(rawValue: 1 << 4)
| |- warning: static property 'guildIntegrations' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'guildIntegrations' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | public static let guildWebhooks = GatewayIntents(rawValue: 1 << 5)
13 | public static let guildInvites = GatewayIntents(rawValue: 1 << 6)
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:12:23: warning: static property 'guildWebhooks' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct GatewayIntents: OptionSet, Codable, Hashable {
| `- note: consider making struct 'GatewayIntents' conform to the 'Sendable' protocol
4 | public let rawValue: UInt64
5 | public init(rawValue: UInt64) { self.rawValue = rawValue }
:
10 | public static let guildEmojisAndStickers = GatewayIntents(rawValue: 1 << 3)
11 | public static let guildIntegrations = GatewayIntents(rawValue: 1 << 4)
12 | public static let guildWebhooks = GatewayIntents(rawValue: 1 << 5)
| |- warning: static property 'guildWebhooks' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'guildWebhooks' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | public static let guildInvites = GatewayIntents(rawValue: 1 << 6)
14 | public static let guildVoiceStates = GatewayIntents(rawValue: 1 << 7)
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:13:23: warning: static property 'guildInvites' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct GatewayIntents: OptionSet, Codable, Hashable {
| `- note: consider making struct 'GatewayIntents' conform to the 'Sendable' protocol
4 | public let rawValue: UInt64
5 | public init(rawValue: UInt64) { self.rawValue = rawValue }
:
11 | public static let guildIntegrations = GatewayIntents(rawValue: 1 << 4)
12 | public static let guildWebhooks = GatewayIntents(rawValue: 1 << 5)
13 | public static let guildInvites = GatewayIntents(rawValue: 1 << 6)
| |- warning: static property 'guildInvites' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'guildInvites' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | public static let guildVoiceStates = GatewayIntents(rawValue: 1 << 7)
15 | public static let guildPresences = GatewayIntents(rawValue: 1 << 8)
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:14:23: warning: static property 'guildVoiceStates' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct GatewayIntents: OptionSet, Codable, Hashable {
| `- note: consider making struct 'GatewayIntents' conform to the 'Sendable' protocol
4 | public let rawValue: UInt64
5 | public init(rawValue: UInt64) { self.rawValue = rawValue }
:
12 | public static let guildWebhooks = GatewayIntents(rawValue: 1 << 5)
13 | public static let guildInvites = GatewayIntents(rawValue: 1 << 6)
14 | public static let guildVoiceStates = GatewayIntents(rawValue: 1 << 7)
| |- warning: static property 'guildVoiceStates' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'guildVoiceStates' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | public static let guildPresences = GatewayIntents(rawValue: 1 << 8)
16 | public static let guildMessages = GatewayIntents(rawValue: 1 << 9)
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:15:23: warning: static property 'guildPresences' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct GatewayIntents: OptionSet, Codable, Hashable {
| `- note: consider making struct 'GatewayIntents' conform to the 'Sendable' protocol
4 | public let rawValue: UInt64
5 | public init(rawValue: UInt64) { self.rawValue = rawValue }
:
13 | public static let guildInvites = GatewayIntents(rawValue: 1 << 6)
14 | public static let guildVoiceStates = GatewayIntents(rawValue: 1 << 7)
15 | public static let guildPresences = GatewayIntents(rawValue: 1 << 8)
| |- warning: static property 'guildPresences' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'guildPresences' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | public static let guildMessages = GatewayIntents(rawValue: 1 << 9)
17 | public static let guildMessageReactions = GatewayIntents(rawValue: 1 << 10)
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:16:23: warning: static property 'guildMessages' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct GatewayIntents: OptionSet, Codable, Hashable {
| `- note: consider making struct 'GatewayIntents' conform to the 'Sendable' protocol
4 | public let rawValue: UInt64
5 | public init(rawValue: UInt64) { self.rawValue = rawValue }
:
14 | public static let guildVoiceStates = GatewayIntents(rawValue: 1 << 7)
15 | public static let guildPresences = GatewayIntents(rawValue: 1 << 8)
16 | public static let guildMessages = GatewayIntents(rawValue: 1 << 9)
| |- warning: static property 'guildMessages' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'guildMessages' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | public static let guildMessageReactions = GatewayIntents(rawValue: 1 << 10)
18 | public static let guildMessageTyping = GatewayIntents(rawValue: 1 << 11)
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:17:23: warning: static property 'guildMessageReactions' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct GatewayIntents: OptionSet, Codable, Hashable {
| `- note: consider making struct 'GatewayIntents' conform to the 'Sendable' protocol
4 | public let rawValue: UInt64
5 | public init(rawValue: UInt64) { self.rawValue = rawValue }
:
15 | public static let guildPresences = GatewayIntents(rawValue: 1 << 8)
16 | public static let guildMessages = GatewayIntents(rawValue: 1 << 9)
17 | public static let guildMessageReactions = GatewayIntents(rawValue: 1 << 10)
| |- warning: static property 'guildMessageReactions' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'guildMessageReactions' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | public static let guildMessageTyping = GatewayIntents(rawValue: 1 << 11)
19 | public static let directMessages = GatewayIntents(rawValue: 1 << 12)
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:18:23: warning: static property 'guildMessageTyping' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct GatewayIntents: OptionSet, Codable, Hashable {
| `- note: consider making struct 'GatewayIntents' conform to the 'Sendable' protocol
4 | public let rawValue: UInt64
5 | public init(rawValue: UInt64) { self.rawValue = rawValue }
:
16 | public static let guildMessages = GatewayIntents(rawValue: 1 << 9)
17 | public static let guildMessageReactions = GatewayIntents(rawValue: 1 << 10)
18 | public static let guildMessageTyping = GatewayIntents(rawValue: 1 << 11)
| |- warning: static property 'guildMessageTyping' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'guildMessageTyping' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | public static let directMessages = GatewayIntents(rawValue: 1 << 12)
20 | public static let directMessageReactions = GatewayIntents(rawValue: 1 << 13)
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:19:23: warning: static property 'directMessages' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct GatewayIntents: OptionSet, Codable, Hashable {
| `- note: consider making struct 'GatewayIntents' conform to the 'Sendable' protocol
4 | public let rawValue: UInt64
5 | public init(rawValue: UInt64) { self.rawValue = rawValue }
:
17 | public static let guildMessageReactions = GatewayIntents(rawValue: 1 << 10)
18 | public static let guildMessageTyping = GatewayIntents(rawValue: 1 << 11)
19 | public static let directMessages = GatewayIntents(rawValue: 1 << 12)
| |- warning: static property 'directMessages' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'directMessages' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | public static let directMessageReactions = GatewayIntents(rawValue: 1 << 13)
21 | public static let directMessageTyping = GatewayIntents(rawValue: 1 << 14)
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:20:23: warning: static property 'directMessageReactions' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct GatewayIntents: OptionSet, Codable, Hashable {
| `- note: consider making struct 'GatewayIntents' conform to the 'Sendable' protocol
4 | public let rawValue: UInt64
5 | public init(rawValue: UInt64) { self.rawValue = rawValue }
:
18 | public static let guildMessageTyping = GatewayIntents(rawValue: 1 << 11)
19 | public static let directMessages = GatewayIntents(rawValue: 1 << 12)
20 | public static let directMessageReactions = GatewayIntents(rawValue: 1 << 13)
| |- warning: static property 'directMessageReactions' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'directMessageReactions' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | public static let directMessageTyping = GatewayIntents(rawValue: 1 << 14)
22 | public static let messageContent = GatewayIntents(rawValue: 1 << 15)
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:21:23: warning: static property 'directMessageTyping' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct GatewayIntents: OptionSet, Codable, Hashable {
| `- note: consider making struct 'GatewayIntents' conform to the 'Sendable' protocol
4 | public let rawValue: UInt64
5 | public init(rawValue: UInt64) { self.rawValue = rawValue }
:
19 | public static let directMessages = GatewayIntents(rawValue: 1 << 12)
20 | public static let directMessageReactions = GatewayIntents(rawValue: 1 << 13)
21 | public static let directMessageTyping = GatewayIntents(rawValue: 1 << 14)
| |- warning: static property 'directMessageTyping' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'directMessageTyping' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | public static let messageContent = GatewayIntents(rawValue: 1 << 15)
23 | public static let guildScheduledEvents = GatewayIntents(rawValue: 1 << 16)
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:22:23: warning: static property 'messageContent' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct GatewayIntents: OptionSet, Codable, Hashable {
| `- note: consider making struct 'GatewayIntents' conform to the 'Sendable' protocol
4 | public let rawValue: UInt64
5 | public init(rawValue: UInt64) { self.rawValue = rawValue }
:
20 | public static let directMessageReactions = GatewayIntents(rawValue: 1 << 13)
21 | public static let directMessageTyping = GatewayIntents(rawValue: 1 << 14)
22 | public static let messageContent = GatewayIntents(rawValue: 1 << 15)
| |- warning: static property 'messageContent' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'messageContent' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | public static let guildScheduledEvents = GatewayIntents(rawValue: 1 << 16)
24 | public static let autoModerationConfiguration = GatewayIntents(rawValue: 1 << 20)
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:23:23: warning: static property 'guildScheduledEvents' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct GatewayIntents: OptionSet, Codable, Hashable {
| `- note: consider making struct 'GatewayIntents' conform to the 'Sendable' protocol
4 | public let rawValue: UInt64
5 | public init(rawValue: UInt64) { self.rawValue = rawValue }
:
21 | public static let directMessageTyping = GatewayIntents(rawValue: 1 << 14)
22 | public static let messageContent = GatewayIntents(rawValue: 1 << 15)
23 | public static let guildScheduledEvents = GatewayIntents(rawValue: 1 << 16)
| |- warning: static property 'guildScheduledEvents' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'guildScheduledEvents' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | public static let autoModerationConfiguration = GatewayIntents(rawValue: 1 << 20)
25 | public static let autoModerationExecution = GatewayIntents(rawValue: 1 << 21)
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:24:23: warning: static property 'autoModerationConfiguration' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct GatewayIntents: OptionSet, Codable, Hashable {
| `- note: consider making struct 'GatewayIntents' conform to the 'Sendable' protocol
4 | public let rawValue: UInt64
5 | public init(rawValue: UInt64) { self.rawValue = rawValue }
:
22 | public static let messageContent = GatewayIntents(rawValue: 1 << 15)
23 | public static let guildScheduledEvents = GatewayIntents(rawValue: 1 << 16)
24 | public static let autoModerationConfiguration = GatewayIntents(rawValue: 1 << 20)
| |- warning: static property 'autoModerationConfiguration' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'autoModerationConfiguration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | public static let autoModerationExecution = GatewayIntents(rawValue: 1 << 21)
26 | }
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:25:23: warning: static property 'autoModerationExecution' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct GatewayIntents: OptionSet, Codable, Hashable {
| `- note: consider making struct 'GatewayIntents' conform to the 'Sendable' protocol
4 | public let rawValue: UInt64
5 | public init(rawValue: UInt64) { self.rawValue = rawValue }
:
23 | public static let guildScheduledEvents = GatewayIntents(rawValue: 1 << 16)
24 | public static let autoModerationConfiguration = GatewayIntents(rawValue: 1 << 20)
25 | public static let autoModerationExecution = GatewayIntents(rawValue: 1 << 21)
| |- warning: static property 'autoModerationExecution' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'autoModerationExecution' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | }
27 |
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:24:16: error: cannot assign to property: 'waitsForConnectivity' is a get-only property
22 | let config = URLSessionConfiguration.default
23 | #if !os(Windows)
24 | config.waitsForConnectivity = true
| `- error: cannot assign to property: 'waitsForConnectivity' is a get-only property
25 | #endif
26 | config.requestCachePolicy = .reloadIgnoringLocalCacheData
[57/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/Intents.swift:7:23: warning: static property 'guilds' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct GatewayIntents: OptionSet, Codable, Hashable {
| `- note: consider making struct 'GatewayIntents' conform to the 'Sendable' protocol
4 | public let rawValue: UInt64
5 | public init(rawValue: UInt64) { self.rawValue = rawValue }
6 |
7 | public static let guilds = GatewayIntents(rawValue: 1 << 0)
| |- warning: static property 'guilds' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'guilds' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | public static let guildMembers = GatewayIntents(rawValue: 1 << 1)
9 | public static let guildModeration = GatewayIntents(rawValue: 1 << 2)
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:8:23: warning: static property 'guildMembers' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct GatewayIntents: OptionSet, Codable, Hashable {
| `- note: consider making struct 'GatewayIntents' conform to the 'Sendable' protocol
4 | public let rawValue: UInt64
5 | public init(rawValue: UInt64) { self.rawValue = rawValue }
6 |
7 | public static let guilds = GatewayIntents(rawValue: 1 << 0)
8 | public static let guildMembers = GatewayIntents(rawValue: 1 << 1)
| |- warning: static property 'guildMembers' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'guildMembers' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | public static let guildModeration = GatewayIntents(rawValue: 1 << 2)
10 | public static let guildEmojisAndStickers = GatewayIntents(rawValue: 1 << 3)
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:9:23: warning: static property 'guildModeration' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct GatewayIntents: OptionSet, Codable, Hashable {
| `- note: consider making struct 'GatewayIntents' conform to the 'Sendable' protocol
4 | public let rawValue: UInt64
5 | public init(rawValue: UInt64) { self.rawValue = rawValue }
:
7 | public static let guilds = GatewayIntents(rawValue: 1 << 0)
8 | public static let guildMembers = GatewayIntents(rawValue: 1 << 1)
9 | public static let guildModeration = GatewayIntents(rawValue: 1 << 2)
| |- warning: static property 'guildModeration' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'guildModeration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | public static let guildEmojisAndStickers = GatewayIntents(rawValue: 1 << 3)
11 | public static let guildIntegrations = GatewayIntents(rawValue: 1 << 4)
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:10:23: warning: static property 'guildEmojisAndStickers' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct GatewayIntents: OptionSet, Codable, Hashable {
| `- note: consider making struct 'GatewayIntents' conform to the 'Sendable' protocol
4 | public let rawValue: UInt64
5 | public init(rawValue: UInt64) { self.rawValue = rawValue }
:
8 | public static let guildMembers = GatewayIntents(rawValue: 1 << 1)
9 | public static let guildModeration = GatewayIntents(rawValue: 1 << 2)
10 | public static let guildEmojisAndStickers = GatewayIntents(rawValue: 1 << 3)
| |- warning: static property 'guildEmojisAndStickers' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'guildEmojisAndStickers' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | public static let guildIntegrations = GatewayIntents(rawValue: 1 << 4)
12 | public static let guildWebhooks = GatewayIntents(rawValue: 1 << 5)
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:11:23: warning: static property 'guildIntegrations' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct GatewayIntents: OptionSet, Codable, Hashable {
| `- note: consider making struct 'GatewayIntents' conform to the 'Sendable' protocol
4 | public let rawValue: UInt64
5 | public init(rawValue: UInt64) { self.rawValue = rawValue }
:
9 | public static let guildModeration = GatewayIntents(rawValue: 1 << 2)
10 | public static let guildEmojisAndStickers = GatewayIntents(rawValue: 1 << 3)
11 | public static let guildIntegrations = GatewayIntents(rawValue: 1 << 4)
| |- warning: static property 'guildIntegrations' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'guildIntegrations' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | public static let guildWebhooks = GatewayIntents(rawValue: 1 << 5)
13 | public static let guildInvites = GatewayIntents(rawValue: 1 << 6)
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:12:23: warning: static property 'guildWebhooks' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct GatewayIntents: OptionSet, Codable, Hashable {
| `- note: consider making struct 'GatewayIntents' conform to the 'Sendable' protocol
4 | public let rawValue: UInt64
5 | public init(rawValue: UInt64) { self.rawValue = rawValue }
:
10 | public static let guildEmojisAndStickers = GatewayIntents(rawValue: 1 << 3)
11 | public static let guildIntegrations = GatewayIntents(rawValue: 1 << 4)
12 | public static let guildWebhooks = GatewayIntents(rawValue: 1 << 5)
| |- warning: static property 'guildWebhooks' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'guildWebhooks' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | public static let guildInvites = GatewayIntents(rawValue: 1 << 6)
14 | public static let guildVoiceStates = GatewayIntents(rawValue: 1 << 7)
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:13:23: warning: static property 'guildInvites' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct GatewayIntents: OptionSet, Codable, Hashable {
| `- note: consider making struct 'GatewayIntents' conform to the 'Sendable' protocol
4 | public let rawValue: UInt64
5 | public init(rawValue: UInt64) { self.rawValue = rawValue }
:
11 | public static let guildIntegrations = GatewayIntents(rawValue: 1 << 4)
12 | public static let guildWebhooks = GatewayIntents(rawValue: 1 << 5)
13 | public static let guildInvites = GatewayIntents(rawValue: 1 << 6)
| |- warning: static property 'guildInvites' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'guildInvites' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | public static let guildVoiceStates = GatewayIntents(rawValue: 1 << 7)
15 | public static let guildPresences = GatewayIntents(rawValue: 1 << 8)
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:14:23: warning: static property 'guildVoiceStates' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct GatewayIntents: OptionSet, Codable, Hashable {
| `- note: consider making struct 'GatewayIntents' conform to the 'Sendable' protocol
4 | public let rawValue: UInt64
5 | public init(rawValue: UInt64) { self.rawValue = rawValue }
:
12 | public static let guildWebhooks = GatewayIntents(rawValue: 1 << 5)
13 | public static let guildInvites = GatewayIntents(rawValue: 1 << 6)
14 | public static let guildVoiceStates = GatewayIntents(rawValue: 1 << 7)
| |- warning: static property 'guildVoiceStates' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'guildVoiceStates' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | public static let guildPresences = GatewayIntents(rawValue: 1 << 8)
16 | public static let guildMessages = GatewayIntents(rawValue: 1 << 9)
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:15:23: warning: static property 'guildPresences' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct GatewayIntents: OptionSet, Codable, Hashable {
| `- note: consider making struct 'GatewayIntents' conform to the 'Sendable' protocol
4 | public let rawValue: UInt64
5 | public init(rawValue: UInt64) { self.rawValue = rawValue }
:
13 | public static let guildInvites = GatewayIntents(rawValue: 1 << 6)
14 | public static let guildVoiceStates = GatewayIntents(rawValue: 1 << 7)
15 | public static let guildPresences = GatewayIntents(rawValue: 1 << 8)
| |- warning: static property 'guildPresences' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'guildPresences' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | public static let guildMessages = GatewayIntents(rawValue: 1 << 9)
17 | public static let guildMessageReactions = GatewayIntents(rawValue: 1 << 10)
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:16:23: warning: static property 'guildMessages' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct GatewayIntents: OptionSet, Codable, Hashable {
| `- note: consider making struct 'GatewayIntents' conform to the 'Sendable' protocol
4 | public let rawValue: UInt64
5 | public init(rawValue: UInt64) { self.rawValue = rawValue }
:
14 | public static let guildVoiceStates = GatewayIntents(rawValue: 1 << 7)
15 | public static let guildPresences = GatewayIntents(rawValue: 1 << 8)
16 | public static let guildMessages = GatewayIntents(rawValue: 1 << 9)
| |- warning: static property 'guildMessages' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'guildMessages' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | public static let guildMessageReactions = GatewayIntents(rawValue: 1 << 10)
18 | public static let guildMessageTyping = GatewayIntents(rawValue: 1 << 11)
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:17:23: warning: static property 'guildMessageReactions' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct GatewayIntents: OptionSet, Codable, Hashable {
| `- note: consider making struct 'GatewayIntents' conform to the 'Sendable' protocol
4 | public let rawValue: UInt64
5 | public init(rawValue: UInt64) { self.rawValue = rawValue }
:
15 | public static let guildPresences = GatewayIntents(rawValue: 1 << 8)
16 | public static let guildMessages = GatewayIntents(rawValue: 1 << 9)
17 | public static let guildMessageReactions = GatewayIntents(rawValue: 1 << 10)
| |- warning: static property 'guildMessageReactions' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'guildMessageReactions' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | public static let guildMessageTyping = GatewayIntents(rawValue: 1 << 11)
19 | public static let directMessages = GatewayIntents(rawValue: 1 << 12)
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:18:23: warning: static property 'guildMessageTyping' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct GatewayIntents: OptionSet, Codable, Hashable {
| `- note: consider making struct 'GatewayIntents' conform to the 'Sendable' protocol
4 | public let rawValue: UInt64
5 | public init(rawValue: UInt64) { self.rawValue = rawValue }
:
16 | public static let guildMessages = GatewayIntents(rawValue: 1 << 9)
17 | public static let guildMessageReactions = GatewayIntents(rawValue: 1 << 10)
18 | public static let guildMessageTyping = GatewayIntents(rawValue: 1 << 11)
| |- warning: static property 'guildMessageTyping' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'guildMessageTyping' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | public static let directMessages = GatewayIntents(rawValue: 1 << 12)
20 | public static let directMessageReactions = GatewayIntents(rawValue: 1 << 13)
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:19:23: warning: static property 'directMessages' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct GatewayIntents: OptionSet, Codable, Hashable {
| `- note: consider making struct 'GatewayIntents' conform to the 'Sendable' protocol
4 | public let rawValue: UInt64
5 | public init(rawValue: UInt64) { self.rawValue = rawValue }
:
17 | public static let guildMessageReactions = GatewayIntents(rawValue: 1 << 10)
18 | public static let guildMessageTyping = GatewayIntents(rawValue: 1 << 11)
19 | public static let directMessages = GatewayIntents(rawValue: 1 << 12)
| |- warning: static property 'directMessages' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'directMessages' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | public static let directMessageReactions = GatewayIntents(rawValue: 1 << 13)
21 | public static let directMessageTyping = GatewayIntents(rawValue: 1 << 14)
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:20:23: warning: static property 'directMessageReactions' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct GatewayIntents: OptionSet, Codable, Hashable {
| `- note: consider making struct 'GatewayIntents' conform to the 'Sendable' protocol
4 | public let rawValue: UInt64
5 | public init(rawValue: UInt64) { self.rawValue = rawValue }
:
18 | public static let guildMessageTyping = GatewayIntents(rawValue: 1 << 11)
19 | public static let directMessages = GatewayIntents(rawValue: 1 << 12)
20 | public static let directMessageReactions = GatewayIntents(rawValue: 1 << 13)
| |- warning: static property 'directMessageReactions' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'directMessageReactions' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | public static let directMessageTyping = GatewayIntents(rawValue: 1 << 14)
22 | public static let messageContent = GatewayIntents(rawValue: 1 << 15)
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:21:23: warning: static property 'directMessageTyping' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct GatewayIntents: OptionSet, Codable, Hashable {
| `- note: consider making struct 'GatewayIntents' conform to the 'Sendable' protocol
4 | public let rawValue: UInt64
5 | public init(rawValue: UInt64) { self.rawValue = rawValue }
:
19 | public static let directMessages = GatewayIntents(rawValue: 1 << 12)
20 | public static let directMessageReactions = GatewayIntents(rawValue: 1 << 13)
21 | public static let directMessageTyping = GatewayIntents(rawValue: 1 << 14)
| |- warning: static property 'directMessageTyping' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'directMessageTyping' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | public static let messageContent = GatewayIntents(rawValue: 1 << 15)
23 | public static let guildScheduledEvents = GatewayIntents(rawValue: 1 << 16)
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:22:23: warning: static property 'messageContent' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct GatewayIntents: OptionSet, Codable, Hashable {
| `- note: consider making struct 'GatewayIntents' conform to the 'Sendable' protocol
4 | public let rawValue: UInt64
5 | public init(rawValue: UInt64) { self.rawValue = rawValue }
:
20 | public static let directMessageReactions = GatewayIntents(rawValue: 1 << 13)
21 | public static let directMessageTyping = GatewayIntents(rawValue: 1 << 14)
22 | public static let messageContent = GatewayIntents(rawValue: 1 << 15)
| |- warning: static property 'messageContent' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'messageContent' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | public static let guildScheduledEvents = GatewayIntents(rawValue: 1 << 16)
24 | public static let autoModerationConfiguration = GatewayIntents(rawValue: 1 << 20)
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:23:23: warning: static property 'guildScheduledEvents' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct GatewayIntents: OptionSet, Codable, Hashable {
| `- note: consider making struct 'GatewayIntents' conform to the 'Sendable' protocol
4 | public let rawValue: UInt64
5 | public init(rawValue: UInt64) { self.rawValue = rawValue }
:
21 | public static let directMessageTyping = GatewayIntents(rawValue: 1 << 14)
22 | public static let messageContent = GatewayIntents(rawValue: 1 << 15)
23 | public static let guildScheduledEvents = GatewayIntents(rawValue: 1 << 16)
| |- warning: static property 'guildScheduledEvents' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'guildScheduledEvents' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | public static let autoModerationConfiguration = GatewayIntents(rawValue: 1 << 20)
25 | public static let autoModerationExecution = GatewayIntents(rawValue: 1 << 21)
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:24:23: warning: static property 'autoModerationConfiguration' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct GatewayIntents: OptionSet, Codable, Hashable {
| `- note: consider making struct 'GatewayIntents' conform to the 'Sendable' protocol
4 | public let rawValue: UInt64
5 | public init(rawValue: UInt64) { self.rawValue = rawValue }
:
22 | public static let messageContent = GatewayIntents(rawValue: 1 << 15)
23 | public static let guildScheduledEvents = GatewayIntents(rawValue: 1 << 16)
24 | public static let autoModerationConfiguration = GatewayIntents(rawValue: 1 << 20)
| |- warning: static property 'autoModerationConfiguration' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'autoModerationConfiguration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | public static let autoModerationExecution = GatewayIntents(rawValue: 1 << 21)
26 | }
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:25:23: warning: static property 'autoModerationExecution' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct GatewayIntents: OptionSet, Codable, Hashable {
| `- note: consider making struct 'GatewayIntents' conform to the 'Sendable' protocol
4 | public let rawValue: UInt64
5 | public init(rawValue: UInt64) { self.rawValue = rawValue }
:
23 | public static let guildScheduledEvents = GatewayIntents(rawValue: 1 << 16)
24 | public static let autoModerationConfiguration = GatewayIntents(rawValue: 1 << 20)
25 | public static let autoModerationExecution = GatewayIntents(rawValue: 1 << 21)
| |- warning: static property 'autoModerationExecution' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'autoModerationExecution' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | }
27 |
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:24:16: error: cannot assign to property: 'waitsForConnectivity' is a get-only property
22 | let config = URLSessionConfiguration.default
23 | #if !os(Windows)
24 | config.waitsForConnectivity = true
| `- error: cannot assign to property: 'waitsForConnectivity' is a get-only property
25 | #endif
26 | config.requestCachePolicy = .reloadIgnoringLocalCacheData
[58/64] Compiling SwiftDisc PipeOpusSource.swift
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:236:9: warning: variable 'r0' was never mutated; consider changing to 'let' constant
234 | let s = Array(key[16..<32])
235 |
236 | var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
| `- warning: variable 'r0' was never mutated; consider changing to 'let' constant
237 | var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
238 | var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:237:9: warning: variable 'r1' was never mutated; consider changing to 'let' constant
235 |
236 | var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
237 | var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
| `- warning: variable 'r1' was never mutated; consider changing to 'let' constant
238 | var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
239 | var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:238:9: warning: variable 'r2' was never mutated; consider changing to 'let' constant
236 | var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
237 | var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
238 | var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
| `- warning: variable 'r2' was never mutated; consider changing to 'let' constant
239 | var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
240 | var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:239:9: warning: variable 'r3' was never mutated; consider changing to 'let' constant
237 | var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
238 | var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
239 | var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
| `- warning: variable 'r3' was never mutated; consider changing to 'let' constant
240 | var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
241 |
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:240:9: warning: variable 'r4' was never mutated; consider changing to 'let' constant
238 | var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
239 | var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
240 | var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
| `- warning: variable 'r4' was never mutated; consider changing to 'let' constant
241 |
242 | var h0: UInt32 = 0, h1: UInt32 = 0, h2: UInt32 = 0, h3: UInt32 = 0, h4: UInt32 = 0
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:303:9: warning: variable 'f0' was never mutated; consider changing to 'let' constant
301 |
302 | // Serialize h
303 | var f0 = (h0 | (h1 << 26)) & 0xffffffff
| `- warning: variable 'f0' was never mutated; consider changing to 'let' constant
304 | var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
305 | var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:304:9: warning: variable 'f1' was never mutated; consider changing to 'let' constant
302 | // Serialize h
303 | var f0 = (h0 | (h1 << 26)) & 0xffffffff
304 | var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
| `- warning: variable 'f1' was never mutated; consider changing to 'let' constant
305 | var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
306 | var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:305:9: warning: variable 'f2' was never mutated; consider changing to 'let' constant
303 | var f0 = (h0 | (h1 << 26)) & 0xffffffff
304 | var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
305 | var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
| `- warning: variable 'f2' was never mutated; consider changing to 'let' constant
306 | var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
307 |
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:306:9: warning: variable 'f3' was never mutated; consider changing to 'let' constant
304 | var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
305 | var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
306 | var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
| `- warning: variable 'f3' was never mutated; consider changing to 'let' constant
307 |
308 | // Add s
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/VoiceGateway.swift:74:32: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
72 | private func startHeartbeat(intervalMs: Int) {
73 | hbTask?.cancel()
74 | hbTask = Task.detached { [weak self] in
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
75 | guard let self else { return }
| `- note: closure captures 'self' which is accessible to code in the current task
76 | let intervalNs = UInt64(intervalMs) * 1_000_000
77 | while !Task.isCancelled {
[59/64] Compiling SwiftDisc Secretbox.swift
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:236:9: warning: variable 'r0' was never mutated; consider changing to 'let' constant
234 | let s = Array(key[16..<32])
235 |
236 | var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
| `- warning: variable 'r0' was never mutated; consider changing to 'let' constant
237 | var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
238 | var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:237:9: warning: variable 'r1' was never mutated; consider changing to 'let' constant
235 |
236 | var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
237 | var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
| `- warning: variable 'r1' was never mutated; consider changing to 'let' constant
238 | var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
239 | var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:238:9: warning: variable 'r2' was never mutated; consider changing to 'let' constant
236 | var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
237 | var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
238 | var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
| `- warning: variable 'r2' was never mutated; consider changing to 'let' constant
239 | var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
240 | var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:239:9: warning: variable 'r3' was never mutated; consider changing to 'let' constant
237 | var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
238 | var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
239 | var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
| `- warning: variable 'r3' was never mutated; consider changing to 'let' constant
240 | var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
241 |
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:240:9: warning: variable 'r4' was never mutated; consider changing to 'let' constant
238 | var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
239 | var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
240 | var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
| `- warning: variable 'r4' was never mutated; consider changing to 'let' constant
241 |
242 | var h0: UInt32 = 0, h1: UInt32 = 0, h2: UInt32 = 0, h3: UInt32 = 0, h4: UInt32 = 0
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:303:9: warning: variable 'f0' was never mutated; consider changing to 'let' constant
301 |
302 | // Serialize h
303 | var f0 = (h0 | (h1 << 26)) & 0xffffffff
| `- warning: variable 'f0' was never mutated; consider changing to 'let' constant
304 | var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
305 | var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:304:9: warning: variable 'f1' was never mutated; consider changing to 'let' constant
302 | // Serialize h
303 | var f0 = (h0 | (h1 << 26)) & 0xffffffff
304 | var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
| `- warning: variable 'f1' was never mutated; consider changing to 'let' constant
305 | var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
306 | var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:305:9: warning: variable 'f2' was never mutated; consider changing to 'let' constant
303 | var f0 = (h0 | (h1 << 26)) & 0xffffffff
304 | var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
305 | var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
| `- warning: variable 'f2' was never mutated; consider changing to 'let' constant
306 | var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
307 |
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:306:9: warning: variable 'f3' was never mutated; consider changing to 'let' constant
304 | var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
305 | var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
306 | var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
| `- warning: variable 'f3' was never mutated; consider changing to 'let' constant
307 |
308 | // Add s
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/VoiceGateway.swift:74:32: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
72 | private func startHeartbeat(intervalMs: Int) {
73 | hbTask?.cancel()
74 | hbTask = Task.detached { [weak self] in
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
75 | guard let self else { return }
| `- note: closure captures 'self' which is accessible to code in the current task
76 | let intervalNs = UInt64(intervalMs) * 1_000_000
77 | while !Task.isCancelled {
[60/64] Compiling SwiftDisc VoiceClient.swift
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:236:9: warning: variable 'r0' was never mutated; consider changing to 'let' constant
234 | let s = Array(key[16..<32])
235 |
236 | var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
| `- warning: variable 'r0' was never mutated; consider changing to 'let' constant
237 | var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
238 | var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:237:9: warning: variable 'r1' was never mutated; consider changing to 'let' constant
235 |
236 | var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
237 | var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
| `- warning: variable 'r1' was never mutated; consider changing to 'let' constant
238 | var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
239 | var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:238:9: warning: variable 'r2' was never mutated; consider changing to 'let' constant
236 | var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
237 | var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
238 | var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
| `- warning: variable 'r2' was never mutated; consider changing to 'let' constant
239 | var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
240 | var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:239:9: warning: variable 'r3' was never mutated; consider changing to 'let' constant
237 | var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
238 | var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
239 | var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
| `- warning: variable 'r3' was never mutated; consider changing to 'let' constant
240 | var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
241 |
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:240:9: warning: variable 'r4' was never mutated; consider changing to 'let' constant
238 | var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
239 | var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
240 | var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
| `- warning: variable 'r4' was never mutated; consider changing to 'let' constant
241 |
242 | var h0: UInt32 = 0, h1: UInt32 = 0, h2: UInt32 = 0, h3: UInt32 = 0, h4: UInt32 = 0
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:303:9: warning: variable 'f0' was never mutated; consider changing to 'let' constant
301 |
302 | // Serialize h
303 | var f0 = (h0 | (h1 << 26)) & 0xffffffff
| `- warning: variable 'f0' was never mutated; consider changing to 'let' constant
304 | var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
305 | var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:304:9: warning: variable 'f1' was never mutated; consider changing to 'let' constant
302 | // Serialize h
303 | var f0 = (h0 | (h1 << 26)) & 0xffffffff
304 | var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
| `- warning: variable 'f1' was never mutated; consider changing to 'let' constant
305 | var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
306 | var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:305:9: warning: variable 'f2' was never mutated; consider changing to 'let' constant
303 | var f0 = (h0 | (h1 << 26)) & 0xffffffff
304 | var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
305 | var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
| `- warning: variable 'f2' was never mutated; consider changing to 'let' constant
306 | var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
307 |
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:306:9: warning: variable 'f3' was never mutated; consider changing to 'let' constant
304 | var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
305 | var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
306 | var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
| `- warning: variable 'f3' was never mutated; consider changing to 'let' constant
307 |
308 | // Add s
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/VoiceGateway.swift:74:32: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
72 | private func startHeartbeat(intervalMs: Int) {
73 | hbTask?.cancel()
74 | hbTask = Task.detached { [weak self] in
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
75 | guard let self else { return }
| `- note: closure captures 'self' which is accessible to code in the current task
76 | let intervalNs = UInt64(intervalMs) * 1_000_000
77 | while !Task.isCancelled {
[61/64] Compiling SwiftDisc VoiceGateway.swift
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:236:9: warning: variable 'r0' was never mutated; consider changing to 'let' constant
234 | let s = Array(key[16..<32])
235 |
236 | var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
| `- warning: variable 'r0' was never mutated; consider changing to 'let' constant
237 | var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
238 | var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:237:9: warning: variable 'r1' was never mutated; consider changing to 'let' constant
235 |
236 | var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
237 | var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
| `- warning: variable 'r1' was never mutated; consider changing to 'let' constant
238 | var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
239 | var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:238:9: warning: variable 'r2' was never mutated; consider changing to 'let' constant
236 | var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
237 | var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
238 | var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
| `- warning: variable 'r2' was never mutated; consider changing to 'let' constant
239 | var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
240 | var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:239:9: warning: variable 'r3' was never mutated; consider changing to 'let' constant
237 | var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
238 | var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
239 | var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
| `- warning: variable 'r3' was never mutated; consider changing to 'let' constant
240 | var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
241 |
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:240:9: warning: variable 'r4' was never mutated; consider changing to 'let' constant
238 | var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
239 | var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
240 | var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
| `- warning: variable 'r4' was never mutated; consider changing to 'let' constant
241 |
242 | var h0: UInt32 = 0, h1: UInt32 = 0, h2: UInt32 = 0, h3: UInt32 = 0, h4: UInt32 = 0
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:303:9: warning: variable 'f0' was never mutated; consider changing to 'let' constant
301 |
302 | // Serialize h
303 | var f0 = (h0 | (h1 << 26)) & 0xffffffff
| `- warning: variable 'f0' was never mutated; consider changing to 'let' constant
304 | var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
305 | var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:304:9: warning: variable 'f1' was never mutated; consider changing to 'let' constant
302 | // Serialize h
303 | var f0 = (h0 | (h1 << 26)) & 0xffffffff
304 | var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
| `- warning: variable 'f1' was never mutated; consider changing to 'let' constant
305 | var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
306 | var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:305:9: warning: variable 'f2' was never mutated; consider changing to 'let' constant
303 | var f0 = (h0 | (h1 << 26)) & 0xffffffff
304 | var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
305 | var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
| `- warning: variable 'f2' was never mutated; consider changing to 'let' constant
306 | var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
307 |
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:306:9: warning: variable 'f3' was never mutated; consider changing to 'let' constant
304 | var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
305 | var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
306 | var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
| `- warning: variable 'f3' was never mutated; consider changing to 'let' constant
307 |
308 | // Add s
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/VoiceGateway.swift:74:32: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
72 | private func startHeartbeat(intervalMs: Int) {
73 | hbTask?.cancel()
74 | hbTask = Task.detached { [weak self] in
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
75 | guard let self else { return }
| `- note: closure captures 'self' which is accessible to code in the current task
76 | let intervalNs = UInt64(intervalMs) * 1_000_000
77 | while !Task.isCancelled {
[62/64] Compiling SwiftDisc VoiceModels.swift
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:236:9: warning: variable 'r0' was never mutated; consider changing to 'let' constant
234 | let s = Array(key[16..<32])
235 |
236 | var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
| `- warning: variable 'r0' was never mutated; consider changing to 'let' constant
237 | var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
238 | var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:237:9: warning: variable 'r1' was never mutated; consider changing to 'let' constant
235 |
236 | var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
237 | var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
| `- warning: variable 'r1' was never mutated; consider changing to 'let' constant
238 | var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
239 | var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:238:9: warning: variable 'r2' was never mutated; consider changing to 'let' constant
236 | var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
237 | var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
238 | var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
| `- warning: variable 'r2' was never mutated; consider changing to 'let' constant
239 | var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
240 | var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:239:9: warning: variable 'r3' was never mutated; consider changing to 'let' constant
237 | var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
238 | var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
239 | var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
| `- warning: variable 'r3' was never mutated; consider changing to 'let' constant
240 | var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
241 |
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:240:9: warning: variable 'r4' was never mutated; consider changing to 'let' constant
238 | var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
239 | var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
240 | var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
| `- warning: variable 'r4' was never mutated; consider changing to 'let' constant
241 |
242 | var h0: UInt32 = 0, h1: UInt32 = 0, h2: UInt32 = 0, h3: UInt32 = 0, h4: UInt32 = 0
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:303:9: warning: variable 'f0' was never mutated; consider changing to 'let' constant
301 |
302 | // Serialize h
303 | var f0 = (h0 | (h1 << 26)) & 0xffffffff
| `- warning: variable 'f0' was never mutated; consider changing to 'let' constant
304 | var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
305 | var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:304:9: warning: variable 'f1' was never mutated; consider changing to 'let' constant
302 | // Serialize h
303 | var f0 = (h0 | (h1 << 26)) & 0xffffffff
304 | var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
| `- warning: variable 'f1' was never mutated; consider changing to 'let' constant
305 | var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
306 | var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:305:9: warning: variable 'f2' was never mutated; consider changing to 'let' constant
303 | var f0 = (h0 | (h1 << 26)) & 0xffffffff
304 | var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
305 | var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
| `- warning: variable 'f2' was never mutated; consider changing to 'let' constant
306 | var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
307 |
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:306:9: warning: variable 'f3' was never mutated; consider changing to 'let' constant
304 | var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
305 | var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
306 | var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
| `- warning: variable 'f3' was never mutated; consider changing to 'let' constant
307 |
308 | // Add s
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/VoiceGateway.swift:74:32: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
72 | private func startHeartbeat(intervalMs: Int) {
73 | hbTask?.cancel()
74 | hbTask = Task.detached { [weak self] in
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
75 | guard let self else { return }
| `- note: closure captures 'self' which is accessible to code in the current task
76 | let intervalNs = UInt64(intervalMs) * 1_000_000
77 | while !Task.isCancelled {
[63/64] Compiling SwiftDisc VoiceReceiver.swift
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:236:9: warning: variable 'r0' was never mutated; consider changing to 'let' constant
234 | let s = Array(key[16..<32])
235 |
236 | var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
| `- warning: variable 'r0' was never mutated; consider changing to 'let' constant
237 | var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
238 | var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:237:9: warning: variable 'r1' was never mutated; consider changing to 'let' constant
235 |
236 | var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
237 | var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
| `- warning: variable 'r1' was never mutated; consider changing to 'let' constant
238 | var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
239 | var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:238:9: warning: variable 'r2' was never mutated; consider changing to 'let' constant
236 | var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
237 | var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
238 | var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
| `- warning: variable 'r2' was never mutated; consider changing to 'let' constant
239 | var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
240 | var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:239:9: warning: variable 'r3' was never mutated; consider changing to 'let' constant
237 | var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
238 | var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
239 | var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
| `- warning: variable 'r3' was never mutated; consider changing to 'let' constant
240 | var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
241 |
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:240:9: warning: variable 'r4' was never mutated; consider changing to 'let' constant
238 | var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
239 | var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
240 | var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
| `- warning: variable 'r4' was never mutated; consider changing to 'let' constant
241 |
242 | var h0: UInt32 = 0, h1: UInt32 = 0, h2: UInt32 = 0, h3: UInt32 = 0, h4: UInt32 = 0
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:303:9: warning: variable 'f0' was never mutated; consider changing to 'let' constant
301 |
302 | // Serialize h
303 | var f0 = (h0 | (h1 << 26)) & 0xffffffff
| `- warning: variable 'f0' was never mutated; consider changing to 'let' constant
304 | var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
305 | var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:304:9: warning: variable 'f1' was never mutated; consider changing to 'let' constant
302 | // Serialize h
303 | var f0 = (h0 | (h1 << 26)) & 0xffffffff
304 | var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
| `- warning: variable 'f1' was never mutated; consider changing to 'let' constant
305 | var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
306 | var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:305:9: warning: variable 'f2' was never mutated; consider changing to 'let' constant
303 | var f0 = (h0 | (h1 << 26)) & 0xffffffff
304 | var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
305 | var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
| `- warning: variable 'f2' was never mutated; consider changing to 'let' constant
306 | var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
307 |
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:306:9: warning: variable 'f3' was never mutated; consider changing to 'let' constant
304 | var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
305 | var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
306 | var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
| `- warning: variable 'f3' was never mutated; consider changing to 'let' constant
307 |
308 | // Add s
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/VoiceGateway.swift:74:32: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
72 | private func startHeartbeat(intervalMs: Int) {
73 | hbTask?.cancel()
74 | hbTask = Task.detached { [weak self] in
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
75 | guard let self else { return }
| `- note: closure captures 'self' which is accessible to code in the current task
76 | let intervalNs = UInt64(intervalMs) * 1_000_000
77 | while !Task.isCancelled {
[64/64] Compiling SwiftDisc VoiceSender.swift
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:236:9: warning: variable 'r0' was never mutated; consider changing to 'let' constant
234 | let s = Array(key[16..<32])
235 |
236 | var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
| `- warning: variable 'r0' was never mutated; consider changing to 'let' constant
237 | var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
238 | var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:237:9: warning: variable 'r1' was never mutated; consider changing to 'let' constant
235 |
236 | var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
237 | var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
| `- warning: variable 'r1' was never mutated; consider changing to 'let' constant
238 | var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
239 | var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:238:9: warning: variable 'r2' was never mutated; consider changing to 'let' constant
236 | var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
237 | var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
238 | var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
| `- warning: variable 'r2' was never mutated; consider changing to 'let' constant
239 | var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
240 | var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:239:9: warning: variable 'r3' was never mutated; consider changing to 'let' constant
237 | var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
238 | var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
239 | var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
| `- warning: variable 'r3' was never mutated; consider changing to 'let' constant
240 | var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
241 |
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:240:9: warning: variable 'r4' was never mutated; consider changing to 'let' constant
238 | var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
239 | var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
240 | var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
| `- warning: variable 'r4' was never mutated; consider changing to 'let' constant
241 |
242 | var h0: UInt32 = 0, h1: UInt32 = 0, h2: UInt32 = 0, h3: UInt32 = 0, h4: UInt32 = 0
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:303:9: warning: variable 'f0' was never mutated; consider changing to 'let' constant
301 |
302 | // Serialize h
303 | var f0 = (h0 | (h1 << 26)) & 0xffffffff
| `- warning: variable 'f0' was never mutated; consider changing to 'let' constant
304 | var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
305 | var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:304:9: warning: variable 'f1' was never mutated; consider changing to 'let' constant
302 | // Serialize h
303 | var f0 = (h0 | (h1 << 26)) & 0xffffffff
304 | var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
| `- warning: variable 'f1' was never mutated; consider changing to 'let' constant
305 | var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
306 | var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:305:9: warning: variable 'f2' was never mutated; consider changing to 'let' constant
303 | var f0 = (h0 | (h1 << 26)) & 0xffffffff
304 | var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
305 | var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
| `- warning: variable 'f2' was never mutated; consider changing to 'let' constant
306 | var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
307 |
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:306:9: warning: variable 'f3' was never mutated; consider changing to 'let' constant
304 | var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
305 | var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
306 | var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
| `- warning: variable 'f3' was never mutated; consider changing to 'let' constant
307 |
308 | // Add s
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/VoiceGateway.swift:74:32: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
72 | private func startHeartbeat(intervalMs: Int) {
73 | hbTask?.cancel()
74 | hbTask = Task.detached { [weak self] in
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
75 | guard let self else { return }
| `- note: closure captures 'self' which is accessible to code in the current task
76 | let intervalNs = UInt64(intervalMs) * 1_000_000
77 | while !Task.isCancelled {
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:4d72617259f6eef9908440c49a67b79bc4f973ae19f78187418ddfb5b178d4ec
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/56] Compiling SwiftDisc Template.swift
/host/spi-builder-workspace/Sources/SwiftDisc/REST/HTTPClient.swift:21:16: error: cannot assign to property: 'waitsForConnectivity' is a get-only property
19 | let config = URLSessionConfiguration.default
20 | #if !os(Windows)
21 | config.waitsForConnectivity = true
| `- error: cannot assign to property: 'waitsForConnectivity' is a get-only property
22 | #endif
23 | config.requestCachePolicy = .reloadIgnoringLocalCacheData
/host/spi-builder-workspace/Sources/SwiftDisc/REST/RateLimiter.swift:26:109: warning: immutable value 'limit' was never used; consider replacing with '_' or removing it
24 |
25 | // Per-route bucket control
26 | if let state = buckets[routeKey], let resetAt = state.resetAt, let remaining = state.remaining, let limit = state.limit {
| `- warning: immutable value 'limit' was never used; consider replacing with '_' or removing it
27 | if remaining <= 0 {
28 | let now = Date()
[3/56] Compiling SwiftDisc Thread.swift
/host/spi-builder-workspace/Sources/SwiftDisc/REST/HTTPClient.swift:21:16: error: cannot assign to property: 'waitsForConnectivity' is a get-only property
19 | let config = URLSessionConfiguration.default
20 | #if !os(Windows)
21 | config.waitsForConnectivity = true
| `- error: cannot assign to property: 'waitsForConnectivity' is a get-only property
22 | #endif
23 | config.requestCachePolicy = .reloadIgnoringLocalCacheData
/host/spi-builder-workspace/Sources/SwiftDisc/REST/RateLimiter.swift:26:109: warning: immutable value 'limit' was never used; consider replacing with '_' or removing it
24 |
25 | // Per-route bucket control
26 | if let state = buckets[routeKey], let resetAt = state.resetAt, let remaining = state.remaining, let limit = state.limit {
| `- warning: immutable value 'limit' was never used; consider replacing with '_' or removing it
27 | if remaining <= 0 {
28 | let now = Date()
[4/56] Compiling SwiftDisc User.swift
/host/spi-builder-workspace/Sources/SwiftDisc/REST/HTTPClient.swift:21:16: error: cannot assign to property: 'waitsForConnectivity' is a get-only property
19 | let config = URLSessionConfiguration.default
20 | #if !os(Windows)
21 | config.waitsForConnectivity = true
| `- error: cannot assign to property: 'waitsForConnectivity' is a get-only property
22 | #endif
23 | config.requestCachePolicy = .reloadIgnoringLocalCacheData
/host/spi-builder-workspace/Sources/SwiftDisc/REST/RateLimiter.swift:26:109: warning: immutable value 'limit' was never used; consider replacing with '_' or removing it
24 |
25 | // Per-route bucket control
26 | if let state = buckets[routeKey], let resetAt = state.resetAt, let remaining = state.remaining, let limit = state.limit {
| `- warning: immutable value 'limit' was never used; consider replacing with '_' or removing it
27 | if remaining <= 0 {
28 | let now = Date()
[5/56] Compiling SwiftDisc Webhook.swift
/host/spi-builder-workspace/Sources/SwiftDisc/REST/HTTPClient.swift:21:16: error: cannot assign to property: 'waitsForConnectivity' is a get-only property
19 | let config = URLSessionConfiguration.default
20 | #if !os(Windows)
21 | config.waitsForConnectivity = true
| `- error: cannot assign to property: 'waitsForConnectivity' is a get-only property
22 | #endif
23 | config.requestCachePolicy = .reloadIgnoringLocalCacheData
/host/spi-builder-workspace/Sources/SwiftDisc/REST/RateLimiter.swift:26:109: warning: immutable value 'limit' was never used; consider replacing with '_' or removing it
24 |
25 | // Per-route bucket control
26 | if let state = buckets[routeKey], let resetAt = state.resetAt, let remaining = state.remaining, let limit = state.limit {
| `- warning: immutable value 'limit' was never used; consider replacing with '_' or removing it
27 | if remaining <= 0 {
28 | let now = Date()
[6/56] Compiling SwiftDisc HTTPClient.swift
/host/spi-builder-workspace/Sources/SwiftDisc/REST/HTTPClient.swift:21:16: error: cannot assign to property: 'waitsForConnectivity' is a get-only property
19 | let config = URLSessionConfiguration.default
20 | #if !os(Windows)
21 | config.waitsForConnectivity = true
| `- error: cannot assign to property: 'waitsForConnectivity' is a get-only property
22 | #endif
23 | config.requestCachePolicy = .reloadIgnoringLocalCacheData
/host/spi-builder-workspace/Sources/SwiftDisc/REST/RateLimiter.swift:26:109: warning: immutable value 'limit' was never used; consider replacing with '_' or removing it
24 |
25 | // Per-route bucket control
26 | if let state = buckets[routeKey], let resetAt = state.resetAt, let remaining = state.remaining, let limit = state.limit {
| `- warning: immutable value 'limit' was never used; consider replacing with '_' or removing it
27 | if remaining <= 0 {
28 | let now = Date()
[7/56] Compiling SwiftDisc RateLimiter.swift
/host/spi-builder-workspace/Sources/SwiftDisc/REST/HTTPClient.swift:21:16: error: cannot assign to property: 'waitsForConnectivity' is a get-only property
19 | let config = URLSessionConfiguration.default
20 | #if !os(Windows)
21 | config.waitsForConnectivity = true
| `- error: cannot assign to property: 'waitsForConnectivity' is a get-only property
22 | #endif
23 | config.requestCachePolicy = .reloadIgnoringLocalCacheData
/host/spi-builder-workspace/Sources/SwiftDisc/REST/RateLimiter.swift:26:109: warning: immutable value 'limit' was never used; consider replacing with '_' or removing it
24 |
25 | // Per-route bucket control
26 | if let state = buckets[routeKey], let resetAt = state.resetAt, let remaining = state.remaining, let limit = state.limit {
| `- warning: immutable value 'limit' was never used; consider replacing with '_' or removing it
27 | if remaining <= 0 {
28 | let now = Date()
[8/56] Compiling SwiftDisc AudioSource.swift
/host/spi-builder-workspace/Sources/SwiftDisc/REST/HTTPClient.swift:21:16: error: cannot assign to property: 'waitsForConnectivity' is a get-only property
19 | let config = URLSessionConfiguration.default
20 | #if !os(Windows)
21 | config.waitsForConnectivity = true
| `- error: cannot assign to property: 'waitsForConnectivity' is a get-only property
22 | #endif
23 | config.requestCachePolicy = .reloadIgnoringLocalCacheData
/host/spi-builder-workspace/Sources/SwiftDisc/REST/RateLimiter.swift:26:109: warning: immutable value 'limit' was never used; consider replacing with '_' or removing it
24 |
25 | // Per-route bucket control
26 | if let state = buckets[routeKey], let resetAt = state.resetAt, let remaining = state.remaining, let limit = state.limit {
| `- warning: immutable value 'limit' was never used; consider replacing with '_' or removing it
27 | if remaining <= 0 {
28 | let now = Date()
[9/63] Emitting module SwiftDisc
[10/63] Compiling SwiftDisc DiscordClient.swift
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayModels.swift:207:16: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
205 | // MARK: - Request/Receive Guild Members
206 | public struct RequestGuildMembers: Codable, Hashable {
207 | public let op: Int = 8
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'op' case to silence this warning
| `- note: make the property mutable instead
208 | public let d: Payload
209 | public struct Payload: Codable, Hashable {
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:24:16: error: cannot assign to property: 'waitsForConnectivity' is a get-only property
22 | let config = URLSessionConfiguration.default
23 | #if !os(Windows)
24 | config.waitsForConnectivity = true
| `- error: cannot assign to property: 'waitsForConnectivity' is a get-only property
25 | #endif
26 | config.requestCachePolicy = .reloadIgnoringLocalCacheData
[11/63] Compiling SwiftDisc GatewayClient.swift
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayModels.swift:207:16: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
205 | // MARK: - Request/Receive Guild Members
206 | public struct RequestGuildMembers: Codable, Hashable {
207 | public let op: Int = 8
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'op' case to silence this warning
| `- note: make the property mutable instead
208 | public let d: Payload
209 | public struct Payload: Codable, Hashable {
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:24:16: error: cannot assign to property: 'waitsForConnectivity' is a get-only property
22 | let config = URLSessionConfiguration.default
23 | #if !os(Windows)
24 | config.waitsForConnectivity = true
| `- error: cannot assign to property: 'waitsForConnectivity' is a get-only property
25 | #endif
26 | config.requestCachePolicy = .reloadIgnoringLocalCacheData
[12/63] Compiling SwiftDisc GatewayModels.swift
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayModels.swift:207:16: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
205 | // MARK: - Request/Receive Guild Members
206 | public struct RequestGuildMembers: Codable, Hashable {
207 | public let op: Int = 8
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'op' case to silence this warning
| `- note: make the property mutable instead
208 | public let d: Payload
209 | public struct Payload: Codable, Hashable {
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:24:16: error: cannot assign to property: 'waitsForConnectivity' is a get-only property
22 | let config = URLSessionConfiguration.default
23 | #if !os(Windows)
24 | config.waitsForConnectivity = true
| `- error: cannot assign to property: 'waitsForConnectivity' is a get-only property
25 | #endif
26 | config.requestCachePolicy = .reloadIgnoringLocalCacheData
[13/63] Compiling SwiftDisc Intents.swift
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayModels.swift:207:16: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
205 | // MARK: - Request/Receive Guild Members
206 | public struct RequestGuildMembers: Codable, Hashable {
207 | public let op: Int = 8
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'op' case to silence this warning
| `- note: make the property mutable instead
208 | public let d: Payload
209 | public struct Payload: Codable, Hashable {
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:24:16: error: cannot assign to property: 'waitsForConnectivity' is a get-only property
22 | let config = URLSessionConfiguration.default
23 | #if !os(Windows)
24 | config.waitsForConnectivity = true
| `- error: cannot assign to property: 'waitsForConnectivity' is a get-only property
25 | #endif
26 | config.requestCachePolicy = .reloadIgnoringLocalCacheData
[14/63] Compiling SwiftDisc WebSocket.swift
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayModels.swift:207:16: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
205 | // MARK: - Request/Receive Guild Members
206 | public struct RequestGuildMembers: Codable, Hashable {
207 | public let op: Int = 8
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'op' case to silence this warning
| `- note: make the property mutable instead
208 | public let d: Payload
209 | public struct Payload: Codable, Hashable {
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:24:16: error: cannot assign to property: 'waitsForConnectivity' is a get-only property
22 | let config = URLSessionConfiguration.default
23 | #if !os(Windows)
24 | config.waitsForConnectivity = true
| `- error: cannot assign to property: 'waitsForConnectivity' is a get-only property
25 | #endif
26 | config.requestCachePolicy = .reloadIgnoringLocalCacheData
[15/63] Compiling SwiftDisc ActivityBuilder.swift
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayModels.swift:207:16: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
205 | // MARK: - Request/Receive Guild Members
206 | public struct RequestGuildMembers: Codable, Hashable {
207 | public let op: Int = 8
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'op' case to silence this warning
| `- note: make the property mutable instead
208 | public let d: Payload
209 | public struct Payload: Codable, Hashable {
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:24:16: error: cannot assign to property: 'waitsForConnectivity' is a get-only property
22 | let config = URLSessionConfiguration.default
23 | #if !os(Windows)
24 | config.waitsForConnectivity = true
| `- error: cannot assign to property: 'waitsForConnectivity' is a get-only property
25 | #endif
26 | config.requestCachePolicy = .reloadIgnoringLocalCacheData
[16/63] Compiling SwiftDisc AutocompleteRouter.swift
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayModels.swift:207:16: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
205 | // MARK: - Request/Receive Guild Members
206 | public struct RequestGuildMembers: Codable, Hashable {
207 | public let op: Int = 8
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'op' case to silence this warning
| `- note: make the property mutable instead
208 | public let d: Payload
209 | public struct Payload: Codable, Hashable {
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:24:16: error: cannot assign to property: 'waitsForConnectivity' is a get-only property
22 | let config = URLSessionConfiguration.default
23 | #if !os(Windows)
24 | config.waitsForConnectivity = true
| `- error: cannot assign to property: 'waitsForConnectivity' is a get-only property
25 | #endif
26 | config.requestCachePolicy = .reloadIgnoringLocalCacheData
[17/63] Compiling SwiftDisc CommandRouter.swift
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayModels.swift:207:16: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
205 | // MARK: - Request/Receive Guild Members
206 | public struct RequestGuildMembers: Codable, Hashable {
207 | public let op: Int = 8
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'op' case to silence this warning
| `- note: make the property mutable instead
208 | public let d: Payload
209 | public struct Payload: Codable, Hashable {
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:24:16: error: cannot assign to property: 'waitsForConnectivity' is a get-only property
22 | let config = URLSessionConfiguration.default
23 | #if !os(Windows)
24 | config.waitsForConnectivity = true
| `- error: cannot assign to property: 'waitsForConnectivity' is a get-only property
25 | #endif
26 | config.requestCachePolicy = .reloadIgnoringLocalCacheData
[18/63] Compiling SwiftDisc Cache.swift
[19/63] Compiling SwiftDisc DiscordConfiguration.swift
[20/63] Compiling SwiftDisc DiscordError.swift
[21/63] Compiling SwiftDisc DiscordUtils.swift
[22/63] Compiling SwiftDisc EventDispatcher.swift
[23/63] Compiling SwiftDisc JSONValue.swift
[24/63] Compiling SwiftDisc AdvancedMessagePayloads.swift
[25/63] Compiling SwiftDisc ApplicationRoleConnection.swift
[26/63] Compiling SwiftDisc GuildBan.swift
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:46:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
44 |
45 | public struct ActionRow: Codable, Hashable {
46 | public let type: Int = 1
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
| `- note: make the property mutable instead
47 | public let components: [MessageComponent]
48 | public init(components: [MessageComponent]) { self.components = components }
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:52:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
50 |
51 | public struct Button: Codable, Hashable {
52 | public let type: Int = 2
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
| `- note: make the property mutable instead
53 | public let style: Int
54 | public let label: String?
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:75:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
73 | public let `default`: Bool?
74 | }
75 | public let type: Int = 3
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
| `- note: make the property mutable instead
76 | public let custom_id: String
77 | public let options: [Option]
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:94:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
92 | public struct TextInput: Codable, Hashable {
93 | public enum Style: Int, Codable { case short = 1, paragraph = 2 }
94 | public let type: Int = 4
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
| `- note: make the property mutable instead
95 | public let custom_id: String
96 | public let style: Style
[27/63] Compiling SwiftDisc GuildMember.swift
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:46:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
44 |
45 | public struct ActionRow: Codable, Hashable {
46 | public let type: Int = 1
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
| `- note: make the property mutable instead
47 | public let components: [MessageComponent]
48 | public init(components: [MessageComponent]) { self.components = components }
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:52:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
50 |
51 | public struct Button: Codable, Hashable {
52 | public let type: Int = 2
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
| `- note: make the property mutable instead
53 | public let style: Int
54 | public let label: String?
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:75:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
73 | public let `default`: Bool?
74 | }
75 | public let type: Int = 3
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
| `- note: make the property mutable instead
76 | public let custom_id: String
77 | public let options: [Option]
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:94:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
92 | public struct TextInput: Codable, Hashable {
93 | public enum Style: Int, Codable { case short = 1, paragraph = 2 }
94 | public let type: Int = 4
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
| `- note: make the property mutable instead
95 | public let custom_id: String
96 | public let style: Style
[28/63] Compiling SwiftDisc GuildWidgetSettings.swift
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:46:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
44 |
45 | public struct ActionRow: Codable, Hashable {
46 | public let type: Int = 1
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
| `- note: make the property mutable instead
47 | public let components: [MessageComponent]
48 | public init(components: [MessageComponent]) { self.components = components }
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:52:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
50 |
51 | public struct Button: Codable, Hashable {
52 | public let type: Int = 2
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
| `- note: make the property mutable instead
53 | public let style: Int
54 | public let label: String?
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:75:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
73 | public let `default`: Bool?
74 | }
75 | public let type: Int = 3
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
| `- note: make the property mutable instead
76 | public let custom_id: String
77 | public let options: [Option]
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:94:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
92 | public struct TextInput: Codable, Hashable {
93 | public enum Style: Int, Codable { case short = 1, paragraph = 2 }
94 | public let type: Int = 4
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
| `- note: make the property mutable instead
95 | public let custom_id: String
96 | public let style: Style
[29/63] Compiling SwiftDisc Interaction.swift
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:46:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
44 |
45 | public struct ActionRow: Codable, Hashable {
46 | public let type: Int = 1
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
| `- note: make the property mutable instead
47 | public let components: [MessageComponent]
48 | public init(components: [MessageComponent]) { self.components = components }
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:52:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
50 |
51 | public struct Button: Codable, Hashable {
52 | public let type: Int = 2
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
| `- note: make the property mutable instead
53 | public let style: Int
54 | public let label: String?
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:75:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
73 | public let `default`: Bool?
74 | }
75 | public let type: Int = 3
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
| `- note: make the property mutable instead
76 | public let custom_id: String
77 | public let options: [Option]
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:94:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
92 | public struct TextInput: Codable, Hashable {
93 | public enum Style: Int, Codable { case short = 1, paragraph = 2 }
94 | public let type: Int = 4
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
| `- note: make the property mutable instead
95 | public let custom_id: String
96 | public let style: Style
[30/63] Compiling SwiftDisc Invite.swift
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:46:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
44 |
45 | public struct ActionRow: Codable, Hashable {
46 | public let type: Int = 1
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
| `- note: make the property mutable instead
47 | public let components: [MessageComponent]
48 | public init(components: [MessageComponent]) { self.components = components }
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:52:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
50 |
51 | public struct Button: Codable, Hashable {
52 | public let type: Int = 2
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
| `- note: make the property mutable instead
53 | public let style: Int
54 | public let label: String?
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:75:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
73 | public let `default`: Bool?
74 | }
75 | public let type: Int = 3
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
| `- note: make the property mutable instead
76 | public let custom_id: String
77 | public let options: [Option]
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:94:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
92 | public struct TextInput: Codable, Hashable {
93 | public enum Style: Int, Codable { case short = 1, paragraph = 2 }
94 | public let type: Int = 4
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
| `- note: make the property mutable instead
95 | public let custom_id: String
96 | public let style: Style
[31/63] Compiling SwiftDisc Message.swift
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:46:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
44 |
45 | public struct ActionRow: Codable, Hashable {
46 | public let type: Int = 1
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
| `- note: make the property mutable instead
47 | public let components: [MessageComponent]
48 | public init(components: [MessageComponent]) { self.components = components }
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:52:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
50 |
51 | public struct Button: Codable, Hashable {
52 | public let type: Int = 2
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
| `- note: make the property mutable instead
53 | public let style: Int
54 | public let label: String?
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:75:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
73 | public let `default`: Bool?
74 | }
75 | public let type: Int = 3
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
| `- note: make the property mutable instead
76 | public let custom_id: String
77 | public let options: [Option]
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:94:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
92 | public struct TextInput: Codable, Hashable {
93 | public enum Style: Int, Codable { case short = 1, paragraph = 2 }
94 | public let type: Int = 4
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
| `- note: make the property mutable instead
95 | public let custom_id: String
96 | public let style: Style
[32/63] Compiling SwiftDisc MessageComponents.swift
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:46:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
44 |
45 | public struct ActionRow: Codable, Hashable {
46 | public let type: Int = 1
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
| `- note: make the property mutable instead
47 | public let components: [MessageComponent]
48 | public init(components: [MessageComponent]) { self.components = components }
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:52:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
50 |
51 | public struct Button: Codable, Hashable {
52 | public let type: Int = 2
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
| `- note: make the property mutable instead
53 | public let style: Int
54 | public let label: String?
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:75:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
73 | public let `default`: Bool?
74 | }
75 | public let type: Int = 3
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
| `- note: make the property mutable instead
76 | public let custom_id: String
77 | public let options: [Option]
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:94:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
92 | public struct TextInput: Codable, Hashable {
93 | public enum Style: Int, Codable { case short = 1, paragraph = 2 }
94 | public let type: Int = 4
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
| `- note: make the property mutable instead
95 | public let custom_id: String
96 | public let style: Style
[33/63] Compiling SwiftDisc PartialGuild.swift
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:46:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
44 |
45 | public struct ActionRow: Codable, Hashable {
46 | public let type: Int = 1
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
| `- note: make the property mutable instead
47 | public let components: [MessageComponent]
48 | public init(components: [MessageComponent]) { self.components = components }
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:52:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
50 |
51 | public struct Button: Codable, Hashable {
52 | public let type: Int = 2
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
| `- note: make the property mutable instead
53 | public let style: Int
54 | public let label: String?
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:75:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
73 | public let `default`: Bool?
74 | }
75 | public let type: Int = 3
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
| `- note: make the property mutable instead
76 | public let custom_id: String
77 | public let options: [Option]
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:94:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
92 | public struct TextInput: Codable, Hashable {
93 | public enum Style: Int, Codable { case short = 1, paragraph = 2 }
94 | public let type: Int = 4
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
| `- note: make the property mutable instead
95 | public let custom_id: String
96 | public let style: Style
[34/63] Compiling SwiftDisc ComponentsBuilder.swift
[35/63] Compiling SwiftDisc Extensions.swift
[36/63] Compiling SwiftDisc Permissions.swift
[37/63] Compiling SwiftDisc ShardManager.swift
[38/63] Compiling SwiftDisc ShardingGatewayManager.swift
[39/63] Compiling SwiftDisc SlashCommandBuilder.swift
[40/63] Compiling SwiftDisc SlashCommandRouter.swift
[41/63] Compiling SwiftDisc Utilities.swift
[42/63] Compiling SwiftDisc PermissionBitset.swift
[43/63] Compiling SwiftDisc Role.swift
[44/63] Compiling SwiftDisc ScheduledEvent.swift
[45/63] Compiling SwiftDisc ScheduledEventUser.swift
[46/63] Compiling SwiftDisc Snowflake.swift
[47/63] Compiling SwiftDisc StageInstance.swift
[48/63] Compiling SwiftDisc Sticker.swift
[49/63] Compiling SwiftDisc Attachment.swift
[50/63] Compiling SwiftDisc AuditLog.swift
[51/63] Compiling SwiftDisc AutoModeration.swift
[52/63] Compiling SwiftDisc Channel.swift
[53/63] Compiling SwiftDisc Embed.swift
[54/63] Compiling SwiftDisc Emoji.swift
[55/63] Compiling SwiftDisc Files.swift
[56/63] Compiling SwiftDisc Guild.swift
[57/63] Compiling SwiftDisc PipeOpusSource.swift
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:236:9: warning: variable 'r0' was never mutated; consider changing to 'let' constant
234 | let s = Array(key[16..<32])
235 |
236 | var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
| `- warning: variable 'r0' was never mutated; consider changing to 'let' constant
237 | var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
238 | var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:237:9: warning: variable 'r1' was never mutated; consider changing to 'let' constant
235 |
236 | var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
237 | var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
| `- warning: variable 'r1' was never mutated; consider changing to 'let' constant
238 | var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
239 | var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:238:9: warning: variable 'r2' was never mutated; consider changing to 'let' constant
236 | var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
237 | var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
238 | var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
| `- warning: variable 'r2' was never mutated; consider changing to 'let' constant
239 | var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
240 | var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:239:9: warning: variable 'r3' was never mutated; consider changing to 'let' constant
237 | var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
238 | var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
239 | var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
| `- warning: variable 'r3' was never mutated; consider changing to 'let' constant
240 | var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
241 |
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:240:9: warning: variable 'r4' was never mutated; consider changing to 'let' constant
238 | var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
239 | var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
240 | var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
| `- warning: variable 'r4' was never mutated; consider changing to 'let' constant
241 |
242 | var h0: UInt32 = 0, h1: UInt32 = 0, h2: UInt32 = 0, h3: UInt32 = 0, h4: UInt32 = 0
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:303:9: warning: variable 'f0' was never mutated; consider changing to 'let' constant
301 |
302 | // Serialize h
303 | var f0 = (h0 | (h1 << 26)) & 0xffffffff
| `- warning: variable 'f0' was never mutated; consider changing to 'let' constant
304 | var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
305 | var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:304:9: warning: variable 'f1' was never mutated; consider changing to 'let' constant
302 | // Serialize h
303 | var f0 = (h0 | (h1 << 26)) & 0xffffffff
304 | var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
| `- warning: variable 'f1' was never mutated; consider changing to 'let' constant
305 | var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
306 | var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:305:9: warning: variable 'f2' was never mutated; consider changing to 'let' constant
303 | var f0 = (h0 | (h1 << 26)) & 0xffffffff
304 | var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
305 | var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
| `- warning: variable 'f2' was never mutated; consider changing to 'let' constant
306 | var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
307 |
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:306:9: warning: variable 'f3' was never mutated; consider changing to 'let' constant
304 | var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
305 | var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
306 | var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
| `- warning: variable 'f3' was never mutated; consider changing to 'let' constant
307 |
308 | // Add s
[58/63] Compiling SwiftDisc Secretbox.swift
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:236:9: warning: variable 'r0' was never mutated; consider changing to 'let' constant
234 | let s = Array(key[16..<32])
235 |
236 | var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
| `- warning: variable 'r0' was never mutated; consider changing to 'let' constant
237 | var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
238 | var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:237:9: warning: variable 'r1' was never mutated; consider changing to 'let' constant
235 |
236 | var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
237 | var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
| `- warning: variable 'r1' was never mutated; consider changing to 'let' constant
238 | var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
239 | var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:238:9: warning: variable 'r2' was never mutated; consider changing to 'let' constant
236 | var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
237 | var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
238 | var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
| `- warning: variable 'r2' was never mutated; consider changing to 'let' constant
239 | var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
240 | var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:239:9: warning: variable 'r3' was never mutated; consider changing to 'let' constant
237 | var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
238 | var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
239 | var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
| `- warning: variable 'r3' was never mutated; consider changing to 'let' constant
240 | var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
241 |
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:240:9: warning: variable 'r4' was never mutated; consider changing to 'let' constant
238 | var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
239 | var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
240 | var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
| `- warning: variable 'r4' was never mutated; consider changing to 'let' constant
241 |
242 | var h0: UInt32 = 0, h1: UInt32 = 0, h2: UInt32 = 0, h3: UInt32 = 0, h4: UInt32 = 0
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:303:9: warning: variable 'f0' was never mutated; consider changing to 'let' constant
301 |
302 | // Serialize h
303 | var f0 = (h0 | (h1 << 26)) & 0xffffffff
| `- warning: variable 'f0' was never mutated; consider changing to 'let' constant
304 | var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
305 | var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:304:9: warning: variable 'f1' was never mutated; consider changing to 'let' constant
302 | // Serialize h
303 | var f0 = (h0 | (h1 << 26)) & 0xffffffff
304 | var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
| `- warning: variable 'f1' was never mutated; consider changing to 'let' constant
305 | var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
306 | var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:305:9: warning: variable 'f2' was never mutated; consider changing to 'let' constant
303 | var f0 = (h0 | (h1 << 26)) & 0xffffffff
304 | var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
305 | var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
| `- warning: variable 'f2' was never mutated; consider changing to 'let' constant
306 | var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
307 |
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:306:9: warning: variable 'f3' was never mutated; consider changing to 'let' constant
304 | var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
305 | var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
306 | var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
| `- warning: variable 'f3' was never mutated; consider changing to 'let' constant
307 |
308 | // Add s
[59/63] Compiling SwiftDisc VoiceClient.swift
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:236:9: warning: variable 'r0' was never mutated; consider changing to 'let' constant
234 | let s = Array(key[16..<32])
235 |
236 | var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
| `- warning: variable 'r0' was never mutated; consider changing to 'let' constant
237 | var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
238 | var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:237:9: warning: variable 'r1' was never mutated; consider changing to 'let' constant
235 |
236 | var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
237 | var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
| `- warning: variable 'r1' was never mutated; consider changing to 'let' constant
238 | var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
239 | var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:238:9: warning: variable 'r2' was never mutated; consider changing to 'let' constant
236 | var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
237 | var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
238 | var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
| `- warning: variable 'r2' was never mutated; consider changing to 'let' constant
239 | var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
240 | var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:239:9: warning: variable 'r3' was never mutated; consider changing to 'let' constant
237 | var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
238 | var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
239 | var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
| `- warning: variable 'r3' was never mutated; consider changing to 'let' constant
240 | var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
241 |
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:240:9: warning: variable 'r4' was never mutated; consider changing to 'let' constant
238 | var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
239 | var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
240 | var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
| `- warning: variable 'r4' was never mutated; consider changing to 'let' constant
241 |
242 | var h0: UInt32 = 0, h1: UInt32 = 0, h2: UInt32 = 0, h3: UInt32 = 0, h4: UInt32 = 0
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:303:9: warning: variable 'f0' was never mutated; consider changing to 'let' constant
301 |
302 | // Serialize h
303 | var f0 = (h0 | (h1 << 26)) & 0xffffffff
| `- warning: variable 'f0' was never mutated; consider changing to 'let' constant
304 | var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
305 | var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:304:9: warning: variable 'f1' was never mutated; consider changing to 'let' constant
302 | // Serialize h
303 | var f0 = (h0 | (h1 << 26)) & 0xffffffff
304 | var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
| `- warning: variable 'f1' was never mutated; consider changing to 'let' constant
305 | var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
306 | var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:305:9: warning: variable 'f2' was never mutated; consider changing to 'let' constant
303 | var f0 = (h0 | (h1 << 26)) & 0xffffffff
304 | var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
305 | var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
| `- warning: variable 'f2' was never mutated; consider changing to 'let' constant
306 | var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
307 |
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:306:9: warning: variable 'f3' was never mutated; consider changing to 'let' constant
304 | var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
305 | var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
306 | var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
| `- warning: variable 'f3' was never mutated; consider changing to 'let' constant
307 |
308 | // Add s
[60/63] Compiling SwiftDisc VoiceGateway.swift
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:236:9: warning: variable 'r0' was never mutated; consider changing to 'let' constant
234 | let s = Array(key[16..<32])
235 |
236 | var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
| `- warning: variable 'r0' was never mutated; consider changing to 'let' constant
237 | var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
238 | var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:237:9: warning: variable 'r1' was never mutated; consider changing to 'let' constant
235 |
236 | var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
237 | var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
| `- warning: variable 'r1' was never mutated; consider changing to 'let' constant
238 | var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
239 | var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:238:9: warning: variable 'r2' was never mutated; consider changing to 'let' constant
236 | var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
237 | var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
238 | var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
| `- warning: variable 'r2' was never mutated; consider changing to 'let' constant
239 | var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
240 | var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:239:9: warning: variable 'r3' was never mutated; consider changing to 'let' constant
237 | var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
238 | var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
239 | var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
| `- warning: variable 'r3' was never mutated; consider changing to 'let' constant
240 | var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
241 |
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:240:9: warning: variable 'r4' was never mutated; consider changing to 'let' constant
238 | var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
239 | var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
240 | var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
| `- warning: variable 'r4' was never mutated; consider changing to 'let' constant
241 |
242 | var h0: UInt32 = 0, h1: UInt32 = 0, h2: UInt32 = 0, h3: UInt32 = 0, h4: UInt32 = 0
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:303:9: warning: variable 'f0' was never mutated; consider changing to 'let' constant
301 |
302 | // Serialize h
303 | var f0 = (h0 | (h1 << 26)) & 0xffffffff
| `- warning: variable 'f0' was never mutated; consider changing to 'let' constant
304 | var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
305 | var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:304:9: warning: variable 'f1' was never mutated; consider changing to 'let' constant
302 | // Serialize h
303 | var f0 = (h0 | (h1 << 26)) & 0xffffffff
304 | var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
| `- warning: variable 'f1' was never mutated; consider changing to 'let' constant
305 | var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
306 | var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:305:9: warning: variable 'f2' was never mutated; consider changing to 'let' constant
303 | var f0 = (h0 | (h1 << 26)) & 0xffffffff
304 | var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
305 | var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
| `- warning: variable 'f2' was never mutated; consider changing to 'let' constant
306 | var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
307 |
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:306:9: warning: variable 'f3' was never mutated; consider changing to 'let' constant
304 | var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
305 | var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
306 | var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
| `- warning: variable 'f3' was never mutated; consider changing to 'let' constant
307 |
308 | // Add s
[61/63] Compiling SwiftDisc VoiceModels.swift
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:236:9: warning: variable 'r0' was never mutated; consider changing to 'let' constant
234 | let s = Array(key[16..<32])
235 |
236 | var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
| `- warning: variable 'r0' was never mutated; consider changing to 'let' constant
237 | var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
238 | var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:237:9: warning: variable 'r1' was never mutated; consider changing to 'let' constant
235 |
236 | var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
237 | var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
| `- warning: variable 'r1' was never mutated; consider changing to 'let' constant
238 | var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
239 | var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:238:9: warning: variable 'r2' was never mutated; consider changing to 'let' constant
236 | var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
237 | var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
238 | var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
| `- warning: variable 'r2' was never mutated; consider changing to 'let' constant
239 | var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
240 | var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:239:9: warning: variable 'r3' was never mutated; consider changing to 'let' constant
237 | var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
238 | var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
239 | var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
| `- warning: variable 'r3' was never mutated; consider changing to 'let' constant
240 | var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
241 |
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:240:9: warning: variable 'r4' was never mutated; consider changing to 'let' constant
238 | var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
239 | var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
240 | var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
| `- warning: variable 'r4' was never mutated; consider changing to 'let' constant
241 |
242 | var h0: UInt32 = 0, h1: UInt32 = 0, h2: UInt32 = 0, h3: UInt32 = 0, h4: UInt32 = 0
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:303:9: warning: variable 'f0' was never mutated; consider changing to 'let' constant
301 |
302 | // Serialize h
303 | var f0 = (h0 | (h1 << 26)) & 0xffffffff
| `- warning: variable 'f0' was never mutated; consider changing to 'let' constant
304 | var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
305 | var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:304:9: warning: variable 'f1' was never mutated; consider changing to 'let' constant
302 | // Serialize h
303 | var f0 = (h0 | (h1 << 26)) & 0xffffffff
304 | var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
| `- warning: variable 'f1' was never mutated; consider changing to 'let' constant
305 | var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
306 | var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:305:9: warning: variable 'f2' was never mutated; consider changing to 'let' constant
303 | var f0 = (h0 | (h1 << 26)) & 0xffffffff
304 | var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
305 | var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
| `- warning: variable 'f2' was never mutated; consider changing to 'let' constant
306 | var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
307 |
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:306:9: warning: variable 'f3' was never mutated; consider changing to 'let' constant
304 | var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
305 | var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
306 | var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
| `- warning: variable 'f3' was never mutated; consider changing to 'let' constant
307 |
308 | // Add s
[62/63] Compiling SwiftDisc VoiceReceiver.swift
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:236:9: warning: variable 'r0' was never mutated; consider changing to 'let' constant
234 | let s = Array(key[16..<32])
235 |
236 | var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
| `- warning: variable 'r0' was never mutated; consider changing to 'let' constant
237 | var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
238 | var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:237:9: warning: variable 'r1' was never mutated; consider changing to 'let' constant
235 |
236 | var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
237 | var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
| `- warning: variable 'r1' was never mutated; consider changing to 'let' constant
238 | var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
239 | var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:238:9: warning: variable 'r2' was never mutated; consider changing to 'let' constant
236 | var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
237 | var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
238 | var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
| `- warning: variable 'r2' was never mutated; consider changing to 'let' constant
239 | var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
240 | var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:239:9: warning: variable 'r3' was never mutated; consider changing to 'let' constant
237 | var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
238 | var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
239 | var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
| `- warning: variable 'r3' was never mutated; consider changing to 'let' constant
240 | var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
241 |
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:240:9: warning: variable 'r4' was never mutated; consider changing to 'let' constant
238 | var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
239 | var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
240 | var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
| `- warning: variable 'r4' was never mutated; consider changing to 'let' constant
241 |
242 | var h0: UInt32 = 0, h1: UInt32 = 0, h2: UInt32 = 0, h3: UInt32 = 0, h4: UInt32 = 0
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:303:9: warning: variable 'f0' was never mutated; consider changing to 'let' constant
301 |
302 | // Serialize h
303 | var f0 = (h0 | (h1 << 26)) & 0xffffffff
| `- warning: variable 'f0' was never mutated; consider changing to 'let' constant
304 | var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
305 | var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:304:9: warning: variable 'f1' was never mutated; consider changing to 'let' constant
302 | // Serialize h
303 | var f0 = (h0 | (h1 << 26)) & 0xffffffff
304 | var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
| `- warning: variable 'f1' was never mutated; consider changing to 'let' constant
305 | var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
306 | var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:305:9: warning: variable 'f2' was never mutated; consider changing to 'let' constant
303 | var f0 = (h0 | (h1 << 26)) & 0xffffffff
304 | var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
305 | var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
| `- warning: variable 'f2' was never mutated; consider changing to 'let' constant
306 | var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
307 |
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:306:9: warning: variable 'f3' was never mutated; consider changing to 'let' constant
304 | var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
305 | var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
306 | var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
| `- warning: variable 'f3' was never mutated; consider changing to 'let' constant
307 |
308 | // Add s
[63/63] Compiling SwiftDisc VoiceSender.swift
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:236:9: warning: variable 'r0' was never mutated; consider changing to 'let' constant
234 | let s = Array(key[16..<32])
235 |
236 | var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
| `- warning: variable 'r0' was never mutated; consider changing to 'let' constant
237 | var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
238 | var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:237:9: warning: variable 'r1' was never mutated; consider changing to 'let' constant
235 |
236 | var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
237 | var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
| `- warning: variable 'r1' was never mutated; consider changing to 'let' constant
238 | var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
239 | var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:238:9: warning: variable 'r2' was never mutated; consider changing to 'let' constant
236 | var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
237 | var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
238 | var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
| `- warning: variable 'r2' was never mutated; consider changing to 'let' constant
239 | var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
240 | var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:239:9: warning: variable 'r3' was never mutated; consider changing to 'let' constant
237 | var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
238 | var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
239 | var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
| `- warning: variable 'r3' was never mutated; consider changing to 'let' constant
240 | var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
241 |
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:240:9: warning: variable 'r4' was never mutated; consider changing to 'let' constant
238 | var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
239 | var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
240 | var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
| `- warning: variable 'r4' was never mutated; consider changing to 'let' constant
241 |
242 | var h0: UInt32 = 0, h1: UInt32 = 0, h2: UInt32 = 0, h3: UInt32 = 0, h4: UInt32 = 0
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:303:9: warning: variable 'f0' was never mutated; consider changing to 'let' constant
301 |
302 | // Serialize h
303 | var f0 = (h0 | (h1 << 26)) & 0xffffffff
| `- warning: variable 'f0' was never mutated; consider changing to 'let' constant
304 | var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
305 | var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:304:9: warning: variable 'f1' was never mutated; consider changing to 'let' constant
302 | // Serialize h
303 | var f0 = (h0 | (h1 << 26)) & 0xffffffff
304 | var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
| `- warning: variable 'f1' was never mutated; consider changing to 'let' constant
305 | var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
306 | var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:305:9: warning: variable 'f2' was never mutated; consider changing to 'let' constant
303 | var f0 = (h0 | (h1 << 26)) & 0xffffffff
304 | var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
305 | var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
| `- warning: variable 'f2' was never mutated; consider changing to 'let' constant
306 | var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
307 |
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:306:9: warning: variable 'f3' was never mutated; consider changing to 'let' constant
304 | var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
305 | var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
306 | var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
| `- warning: variable 'f3' was never mutated; consider changing to 'let' constant
307 |
308 | // Add s
BUILD FAILURE 6.1 linux