The Swift Package Index logo.Swift Package Index

Build Information

Failed to build DiscordKit, reference main (58cf09), with Swift 6.1 for Linux on 7 Sep 2026 17:34:10 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344847-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

  33 |     /// with an auth failure, or when no connection info is available.
  34 |     public let onAuthFailure = EventDispatch<Void>()
     |                `- warning: stored property 'onAuthFailure' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<Void>'; this is an error in the Swift 6 language mode
  35 |
  36 |     /// An ``EventDispatch`` that is notified when the session opens/closes
/host/spi-builder-workspace/Sources/DiscordKitCore/Utils/EventDispatch.swift:15:14: note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 13 | /// as well as optimise some portions. Adapted from:
 14 | /// [swift-event-dispatch](https://github.com/gongzhang/)
 15 | public class EventDispatch<Event>: EventDispatchProtocol {
    |              `- note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 16 |     public typealias HandlerIdentifier = Int
 17 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:39:16: warning: stored property 'onConnStateChange' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<(Bool, Bool)>'; this is an error in the Swift 6 language mode
  37 |     /// or reachability status changes. Event is notified with
  38 |     /// a (sessionOpen: Bool, reachable: Bool) tuple.
  39 |     public let onConnStateChange = EventDispatch<(Bool, Bool)>()
     |                `- warning: stored property 'onConnStateChange' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<(Bool, Bool)>'; this is an error in the Swift 6 language mode
  40 |
  41 |     /// An ``EventDispatch`` that is notified when the saved session is
/host/spi-builder-workspace/Sources/DiscordKitCore/Utils/EventDispatch.swift:15:14: note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 13 | /// as well as optimise some portions. Adapted from:
 14 | /// [swift-event-dispatch](https://github.com/gongzhang/)
 15 | public class EventDispatch<Event>: EventDispatchProtocol {
    |              `- note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 16 |     public typealias HandlerIdentifier = Int
 17 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:43:16: warning: stored property 'onSessionInvalid' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<Void>'; this is an error in the Swift 6 language mode
  41 |     /// An ``EventDispatch`` that is notified when the saved session is
  42 |     /// no longer trusted and the next connection will identify fresh.
  43 |     public let onSessionInvalid = EventDispatch<Void>()
     |                `- warning: stored property 'onSessionInvalid' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<Void>'; this is an error in the Swift 6 language mode
  44 |
  45 |     private enum ConnectionState: String {
/host/spi-builder-workspace/Sources/DiscordKitCore/Utils/EventDispatch.swift:15:14: note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 13 | /// as well as optimise some portions. Adapted from:
 14 | /// [swift-event-dispatch](https://github.com/gongzhang/)
 15 | public class EventDispatch<Event>: EventDispatchProtocol {
    |              `- note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 16 |     public typealias HandlerIdentifier = Int
 17 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:83:17: warning: stored property 'session' of 'Sendable'-conforming class 'RobustWebSocket' is mutable; this is an error in the Swift 6 language mode
  81 |     private static let authFailureCloseCode = 4004
  82 |
  83 |     private var session: URLSession!
     |                 `- warning: stored property 'session' of 'Sendable'-conforming class 'RobustWebSocket' is mutable; this is an error in the Swift 6 language mode
  84 |     private var decompressor = DecompressionEngine()
  85 |
/host/spi-builder-workspace/Sources/DiscordKitCore/REST/APIAttachmentUpload.swift:102:21: warning: stored property 'progress' of 'Sendable'-conforming class 'SessionDelegate' has non-sendable type '(Double) -> Void'; this is an error in the Swift 6 language mode
100 |
101 |     private final class SessionDelegate: NSObject, URLSessionTaskDelegate {
102 |         private let progress: (Double) -> Void
    |                     |- warning: stored property 'progress' of 'Sendable'-conforming class 'SessionDelegate' has non-sendable type '(Double) -> Void'; this is an error in the Swift 6 language mode
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
103 |
104 |         init(progress: @escaping (Double) -> Void) {
/host/spi-builder-workspace/Sources/DiscordKitCore/REST/APIUserSettingsProto.swift:40:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
38 |     private func decodeUserSettingsProtoResponse(
39 |         data: Data,
40 |         response: HTTPURLResponse
   |                   `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
41 |     ) throws -> UserSettingsProtoResponse {
42 |         switch response.statusCode {
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
[550/669] Compiling DiscordKitCore MessageReadAck.swift
/host/spi-builder-workspace/Sources/DiscordKitCore/REST/APIAttachmentUpload.swift:102:21: warning: stored property 'progress' of 'Sendable'-conforming class 'SessionDelegate' has non-sendable type '(Double) -> Void'; this is an error in the Swift 6 language mode
100 |
101 |     private final class SessionDelegate: NSObject, URLSessionTaskDelegate {
102 |         private let progress: (Double) -> Void
    |                     |- warning: stored property 'progress' of 'Sendable'-conforming class 'SessionDelegate' has non-sendable type '(Double) -> Void'; this is an error in the Swift 6 language mode
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
103 |
104 |         init(progress: @escaping (Double) -> Void) {
[551/669] Compiling DiscordKitCore MessageSearch.swift
/host/spi-builder-workspace/Sources/DiscordKitCore/REST/APIAttachmentUpload.swift:102:21: warning: stored property 'progress' of 'Sendable'-conforming class 'SessionDelegate' has non-sendable type '(Double) -> Void'; this is an error in the Swift 6 language mode
100 |
101 |     private final class SessionDelegate: NSObject, URLSessionTaskDelegate {
102 |         private let progress: (Double) -> Void
    |                     |- warning: stored property 'progress' of 'Sendable'-conforming class 'SessionDelegate' has non-sendable type '(Double) -> Void'; this is an error in the Swift 6 language mode
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
103 |
104 |         init(progress: @escaping (Double) -> Void) {
[552/669] Compiling DiscordKitCore NewMessage.swift
/host/spi-builder-workspace/Sources/DiscordKitCore/REST/APIAttachmentUpload.swift:102:21: warning: stored property 'progress' of 'Sendable'-conforming class 'SessionDelegate' has non-sendable type '(Double) -> Void'; this is an error in the Swift 6 language mode
100 |
101 |     private final class SessionDelegate: NSObject, URLSessionTaskDelegate {
102 |         private let progress: (Double) -> Void
    |                     |- warning: stored property 'progress' of 'Sendable'-conforming class 'SessionDelegate' has non-sendable type '(Double) -> Void'; this is an error in the Swift 6 language mode
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
103 |
104 |         init(progress: @escaping (Double) -> Void) {
[553/669] Compiling DiscordKitCore PinnedMessages.swift
/host/spi-builder-workspace/Sources/DiscordKitCore/REST/APIAttachmentUpload.swift:102:21: warning: stored property 'progress' of 'Sendable'-conforming class 'SessionDelegate' has non-sendable type '(Double) -> Void'; this is an error in the Swift 6 language mode
100 |
101 |     private final class SessionDelegate: NSObject, URLSessionTaskDelegate {
102 |         private let progress: (Double) -> Void
    |                     |- warning: stored property 'progress' of 'Sendable'-conforming class 'SessionDelegate' has non-sendable type '(Double) -> Void'; this is an error in the Swift 6 language mode
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
103 |
104 |         init(progress: @escaping (Double) -> Void) {
[554/669] Compiling DiscordKitCore PollRequest.swift
/host/spi-builder-workspace/Sources/DiscordKitCore/REST/APIAttachmentUpload.swift:102:21: warning: stored property 'progress' of 'Sendable'-conforming class 'SessionDelegate' has non-sendable type '(Double) -> Void'; this is an error in the Swift 6 language mode
100 |
101 |     private final class SessionDelegate: NSObject, URLSessionTaskDelegate {
102 |         private let progress: (Double) -> Void
    |                     |- warning: stored property 'progress' of 'Sendable'-conforming class 'SessionDelegate' has non-sendable type '(Double) -> Void'; this is an error in the Swift 6 language mode
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
103 |
104 |         init(progress: @escaping (Double) -> Void) {
[555/669] Compiling DiscordKitCore ResolvedInvite.swift
/host/spi-builder-workspace/Sources/DiscordKitCore/REST/APIAttachmentUpload.swift:102:21: warning: stored property 'progress' of 'Sendable'-conforming class 'SessionDelegate' has non-sendable type '(Double) -> Void'; this is an error in the Swift 6 language mode
100 |
101 |     private final class SessionDelegate: NSObject, URLSessionTaskDelegate {
102 |         private let progress: (Double) -> Void
    |                     |- warning: stored property 'progress' of 'Sendable'-conforming class 'SessionDelegate' has non-sendable type '(Double) -> Void'; this is an error in the Swift 6 language mode
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
103 |
104 |         init(progress: @escaping (Double) -> Void) {
[556/669] Compiling DiscordKitCore UserSettingsProto.swift
/host/spi-builder-workspace/Sources/DiscordKitCore/REST/APIAttachmentUpload.swift:102:21: warning: stored property 'progress' of 'Sendable'-conforming class 'SessionDelegate' has non-sendable type '(Double) -> Void'; this is an error in the Swift 6 language mode
100 |
101 |     private final class SessionDelegate: NSObject, URLSessionTaskDelegate {
102 |         private let progress: (Double) -> Void
    |                     |- warning: stored property 'progress' of 'Sendable'-conforming class 'SessionDelegate' has non-sendable type '(Double) -> Void'; this is an error in the Swift 6 language mode
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
103 |
104 |         init(progress: @escaping (Double) -> Void) {
[557/669] Compiling DiscordKitCore APIAchievements.swift
/host/spi-builder-workspace/Sources/DiscordKitCore/REST/APIAttachmentUpload.swift:102:21: warning: stored property 'progress' of 'Sendable'-conforming class 'SessionDelegate' has non-sendable type '(Double) -> Void'; this is an error in the Swift 6 language mode
100 |
101 |     private final class SessionDelegate: NSObject, URLSessionTaskDelegate {
102 |         private let progress: (Double) -> Void
    |                     |- warning: stored property 'progress' of 'Sendable'-conforming class 'SessionDelegate' has non-sendable type '(Double) -> Void'; this is an error in the Swift 6 language mode
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
103 |
104 |         init(progress: @escaping (Double) -> Void) {
[558/669] Compiling DiscordKitCore APIAdministration.swift
/host/spi-builder-workspace/Sources/DiscordKitCore/REST/APIAttachmentUpload.swift:102:21: warning: stored property 'progress' of 'Sendable'-conforming class 'SessionDelegate' has non-sendable type '(Double) -> Void'; this is an error in the Swift 6 language mode
100 |
101 |     private final class SessionDelegate: NSObject, URLSessionTaskDelegate {
102 |         private let progress: (Double) -> Void
    |                     |- warning: stored property 'progress' of 'Sendable'-conforming class 'SessionDelegate' has non-sendable type '(Double) -> Void'; this is an error in the Swift 6 language mode
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
103 |
104 |         init(progress: @escaping (Double) -> Void) {
[559/669] Compiling DiscordKitCore APIApplicationCommands.swift
/host/spi-builder-workspace/Sources/DiscordKitCore/REST/APIAttachmentUpload.swift:102:21: warning: stored property 'progress' of 'Sendable'-conforming class 'SessionDelegate' has non-sendable type '(Double) -> Void'; this is an error in the Swift 6 language mode
100 |
101 |     private final class SessionDelegate: NSObject, URLSessionTaskDelegate {
102 |         private let progress: (Double) -> Void
    |                     |- warning: stored property 'progress' of 'Sendable'-conforming class 'SessionDelegate' has non-sendable type '(Double) -> Void'; this is an error in the Swift 6 language mode
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
103 |
104 |         init(progress: @escaping (Double) -> Void) {
[560/669] Compiling DiscordKitCore APIApplicationRoleConnectionMetadata.swift
/host/spi-builder-workspace/Sources/DiscordKitCore/REST/APIAttachmentUpload.swift:102:21: warning: stored property 'progress' of 'Sendable'-conforming class 'SessionDelegate' has non-sendable type '(Double) -> Void'; this is an error in the Swift 6 language mode
100 |
101 |     private final class SessionDelegate: NSObject, URLSessionTaskDelegate {
102 |         private let progress: (Double) -> Void
    |                     |- warning: stored property 'progress' of 'Sendable'-conforming class 'SessionDelegate' has non-sendable type '(Double) -> Void'; this is an error in the Swift 6 language mode
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
103 |
104 |         init(progress: @escaping (Double) -> Void) {
[561/669] Compiling DiscordKitCore APIAttachmentUpload.swift
/host/spi-builder-workspace/Sources/DiscordKitCore/REST/APIAttachmentUpload.swift:102:21: warning: stored property 'progress' of 'Sendable'-conforming class 'SessionDelegate' has non-sendable type '(Double) -> Void'; this is an error in the Swift 6 language mode
100 |
101 |     private final class SessionDelegate: NSObject, URLSessionTaskDelegate {
102 |         private let progress: (Double) -> Void
    |                     |- warning: stored property 'progress' of 'Sendable'-conforming class 'SessionDelegate' has non-sendable type '(Double) -> Void'; this is an error in the Swift 6 language mode
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
103 |
104 |         init(progress: @escaping (Double) -> Void) {
[562/669] Compiling DiscordKitCore APIAuditLog.swift
/host/spi-builder-workspace/Sources/DiscordKitCore/REST/APIAttachmentUpload.swift:102:21: warning: stored property 'progress' of 'Sendable'-conforming class 'SessionDelegate' has non-sendable type '(Double) -> Void'; this is an error in the Swift 6 language mode
100 |
101 |     private final class SessionDelegate: NSObject, URLSessionTaskDelegate {
102 |         private let progress: (Double) -> Void
    |                     |- warning: stored property 'progress' of 'Sendable'-conforming class 'SessionDelegate' has non-sendable type '(Double) -> Void'; this is an error in the Swift 6 language mode
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
103 |
104 |         init(progress: @escaping (Double) -> Void) {
[563/669] Compiling DiscordKitCore APIAutoModeration.swift
/host/spi-builder-workspace/Sources/DiscordKitCore/REST/APIAttachmentUpload.swift:102:21: warning: stored property 'progress' of 'Sendable'-conforming class 'SessionDelegate' has non-sendable type '(Double) -> Void'; this is an error in the Swift 6 language mode
100 |
101 |     private final class SessionDelegate: NSObject, URLSessionTaskDelegate {
102 |         private let progress: (Double) -> Void
    |                     |- warning: stored property 'progress' of 'Sendable'-conforming class 'SessionDelegate' has non-sendable type '(Double) -> Void'; this is an error in the Swift 6 language mode
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
103 |
104 |         init(progress: @escaping (Double) -> Void) {
[564/669] Compiling DiscordKitCore APIChannel.swift
/host/spi-builder-workspace/Sources/DiscordKitCore/REST/APIAttachmentUpload.swift:102:21: warning: stored property 'progress' of 'Sendable'-conforming class 'SessionDelegate' has non-sendable type '(Double) -> Void'; this is an error in the Swift 6 language mode
100 |
101 |     private final class SessionDelegate: NSObject, URLSessionTaskDelegate {
102 |         private let progress: (Double) -> Void
    |                     |- warning: stored property 'progress' of 'Sendable'-conforming class 'SessionDelegate' has non-sendable type '(Double) -> Void'; this is an error in the Swift 6 language mode
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
103 |
104 |         init(progress: @escaping (Double) -> Void) {
[565/669] Compiling DiscordKitCore APICollectibles.swift
/host/spi-builder-workspace/Sources/DiscordKitCore/REST/APIAttachmentUpload.swift:102:21: warning: stored property 'progress' of 'Sendable'-conforming class 'SessionDelegate' has non-sendable type '(Double) -> Void'; this is an error in the Swift 6 language mode
100 |
101 |     private final class SessionDelegate: NSObject, URLSessionTaskDelegate {
102 |         private let progress: (Double) -> Void
    |                     |- warning: stored property 'progress' of 'Sendable'-conforming class 'SessionDelegate' has non-sendable type '(Double) -> Void'; this is an error in the Swift 6 language mode
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
103 |
104 |         init(progress: @escaping (Double) -> Void) {
[566/669] Compiling DiscordKitCore APICurrentUser.swift
/host/spi-builder-workspace/Sources/DiscordKitCore/REST/APIAttachmentUpload.swift:102:21: warning: stored property 'progress' of 'Sendable'-conforming class 'SessionDelegate' has non-sendable type '(Double) -> Void'; this is an error in the Swift 6 language mode
100 |
101 |     private final class SessionDelegate: NSObject, URLSessionTaskDelegate {
102 |         private let progress: (Double) -> Void
    |                     |- warning: stored property 'progress' of 'Sendable'-conforming class 'SessionDelegate' has non-sendable type '(Double) -> Void'; this is an error in the Swift 6 language mode
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
103 |
104 |         init(progress: @escaping (Double) -> Void) {
[567/669] Compiling DiscordKitCore Voice.swift
[568/669] Compiling DiscordKitCore ApplicationObj.swift
[569/669] Compiling DiscordKitCore DataStructs.swift
[570/669] Compiling DiscordKitCore ChUnreadUpdate.swift
[571/669] Compiling DiscordKitCore ChannelPinsUpdate.swift
[572/669] Compiling DiscordKitCore GatewayEvent.swift
[573/669] Compiling DiscordKitCore GatewaySettingsProtoUpdate.swift
[574/669] Compiling DiscordKitCore GuildBan.swift
[575/669] Compiling DiscordKitCore GuildMemberEvt.swift
[576/669] Compiling DiscordKitCore GuildMembersChunk.swift
[577/669] Compiling DiscordKitCore GuildMiscUpdate.swift
[578/669] Compiling DiscordKitCore GuildRoleEvt.swift
[579/669] Compiling DiscordKitCore GuildSchEvtUserEvt.swift
[580/669] Compiling DiscordKitCore MessageACKEvt.swift
[581/669] Compiling DiscordKitCore MessageDelete.swift
[582/669] Compiling DiscordKitCore MessagePollVote.swift
[583/669] Compiling DiscordKitCore MessageReaction.swift
[584/669] Compiling DiscordKitCore APIStream.swift
/host/spi-builder-workspace/Sources/DiscordKitCore/REST/APIUserSettingsProto.swift:40:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
38 |     private func decodeUserSettingsProtoResponse(
39 |         data: Data,
40 |         response: HTTPURLResponse
   |                   `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
41 |     ) throws -> UserSettingsProtoResponse {
42 |         switch response.statusCode {
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DiscordKitCore/REST/APIUserSettingsProto.swift:42:25: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
40 |         response: HTTPURLResponse
41 |     ) throws -> UserSettingsProtoResponse {
42 |         switch response.statusCode {
   |                         `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
43 |         case 200..<300:
44 |             do {
/host/spi-builder-workspace/Sources/DiscordKitCore/REST/APIUserSettingsProto.swift:50:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
48 |             }
49 |         case 429:
50 |             let retryAfter = response.value(forHTTPHeaderField: "retry-after")
   |                                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
51 |                 .flatMap(Int.init)
52 |                 .map(TimeInterval.init) ?? 60
/host/spi-builder-workspace/Sources/DiscordKitCore/REST/APIUserSettingsProto.swift:64:64: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
62 |             fallthrough
63 |         default:
64 |             throw RequestError.unexpectedResponseCode(response.statusCode)
   |                                                                `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
65 |         }
66 |     }
[585/669] Compiling DiscordKitCore APITyping.swift
/host/spi-builder-workspace/Sources/DiscordKitCore/REST/APIUserSettingsProto.swift:40:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
38 |     private func decodeUserSettingsProtoResponse(
39 |         data: Data,
40 |         response: HTTPURLResponse
   |                   `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
41 |     ) throws -> UserSettingsProtoResponse {
42 |         switch response.statusCode {
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DiscordKitCore/REST/APIUserSettingsProto.swift:42:25: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
40 |         response: HTTPURLResponse
41 |     ) throws -> UserSettingsProtoResponse {
42 |         switch response.statusCode {
   |                         `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
43 |         case 200..<300:
44 |             do {
/host/spi-builder-workspace/Sources/DiscordKitCore/REST/APIUserSettingsProto.swift:50:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
48 |             }
49 |         case 429:
50 |             let retryAfter = response.value(forHTTPHeaderField: "retry-after")
   |                                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
51 |                 .flatMap(Int.init)
52 |                 .map(TimeInterval.init) ?? 60
/host/spi-builder-workspace/Sources/DiscordKitCore/REST/APIUserSettingsProto.swift:64:64: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
62 |             fallthrough
63 |         default:
64 |             throw RequestError.unexpectedResponseCode(response.statusCode)
   |                                                                `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
65 |         }
66 |     }
[586/669] Compiling DiscordKitCore APIUser.swift
/host/spi-builder-workspace/Sources/DiscordKitCore/REST/APIUserSettingsProto.swift:40:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
38 |     private func decodeUserSettingsProtoResponse(
39 |         data: Data,
40 |         response: HTTPURLResponse
   |                   `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
41 |     ) throws -> UserSettingsProtoResponse {
42 |         switch response.statusCode {
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DiscordKitCore/REST/APIUserSettingsProto.swift:42:25: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
40 |         response: HTTPURLResponse
41 |     ) throws -> UserSettingsProtoResponse {
42 |         switch response.statusCode {
   |                         `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
43 |         case 200..<300:
44 |             do {
/host/spi-builder-workspace/Sources/DiscordKitCore/REST/APIUserSettingsProto.swift:50:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
48 |             }
49 |         case 429:
50 |             let retryAfter = response.value(forHTTPHeaderField: "retry-after")
   |                                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
51 |                 .flatMap(Int.init)
52 |                 .map(TimeInterval.init) ?? 60
/host/spi-builder-workspace/Sources/DiscordKitCore/REST/APIUserSettingsProto.swift:64:64: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
62 |             fallthrough
63 |         default:
64 |             throw RequestError.unexpectedResponseCode(response.statusCode)
   |                                                                `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
65 |         }
66 |     }
[587/669] Compiling DiscordKitCore APIUserSettingsProto.swift
/host/spi-builder-workspace/Sources/DiscordKitCore/REST/APIUserSettingsProto.swift:40:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
38 |     private func decodeUserSettingsProtoResponse(
39 |         data: Data,
40 |         response: HTTPURLResponse
   |                   `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
41 |     ) throws -> UserSettingsProtoResponse {
42 |         switch response.statusCode {
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DiscordKitCore/REST/APIUserSettingsProto.swift:42:25: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
40 |         response: HTTPURLResponse
41 |     ) throws -> UserSettingsProtoResponse {
42 |         switch response.statusCode {
   |                         `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
43 |         case 200..<300:
44 |             do {
/host/spi-builder-workspace/Sources/DiscordKitCore/REST/APIUserSettingsProto.swift:50:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
48 |             }
49 |         case 429:
50 |             let retryAfter = response.value(forHTTPHeaderField: "retry-after")
   |                                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
51 |                 .flatMap(Int.init)
52 |                 .map(TimeInterval.init) ?? 60
/host/spi-builder-workspace/Sources/DiscordKitCore/REST/APIUserSettingsProto.swift:64:64: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
62 |             fallthrough
63 |         default:
64 |             throw RequestError.unexpectedResponseCode(response.statusCode)
   |                                                                `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
65 |         }
66 |     }
[588/669] Compiling DiscordKitCore APIVoice.swift
/host/spi-builder-workspace/Sources/DiscordKitCore/REST/APIUserSettingsProto.swift:40:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
38 |     private func decodeUserSettingsProtoResponse(
39 |         data: Data,
40 |         response: HTTPURLResponse
   |                   `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
41 |     ) throws -> UserSettingsProtoResponse {
42 |         switch response.statusCode {
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DiscordKitCore/REST/APIUserSettingsProto.swift:42:25: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
40 |         response: HTTPURLResponse
41 |     ) throws -> UserSettingsProtoResponse {
42 |         switch response.statusCode {
   |                         `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
43 |         case 200..<300:
44 |             do {
/host/spi-builder-workspace/Sources/DiscordKitCore/REST/APIUserSettingsProto.swift:50:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
48 |             }
49 |         case 429:
50 |             let retryAfter = response.value(forHTTPHeaderField: "retry-after")
   |                                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
51 |                 .flatMap(Int.init)
52 |                 .map(TimeInterval.init) ?? 60
/host/spi-builder-workspace/Sources/DiscordKitCore/REST/APIUserSettingsProto.swift:64:64: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
62 |             fallthrough
63 |         default:
64 |             throw RequestError.unexpectedResponseCode(response.statusCode)
   |                                                                `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
65 |         }
66 |     }
[589/669] Compiling DiscordKitCore APIWebhook.swift
/host/spi-builder-workspace/Sources/DiscordKitCore/REST/APIUserSettingsProto.swift:40:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
38 |     private func decodeUserSettingsProtoResponse(
39 |         data: Data,
40 |         response: HTTPURLResponse
   |                   `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
41 |     ) throws -> UserSettingsProtoResponse {
42 |         switch response.statusCode {
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DiscordKitCore/REST/APIUserSettingsProto.swift:42:25: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
40 |         response: HTTPURLResponse
41 |     ) throws -> UserSettingsProtoResponse {
42 |         switch response.statusCode {
   |                         `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
43 |         case 200..<300:
44 |             do {
/host/spi-builder-workspace/Sources/DiscordKitCore/REST/APIUserSettingsProto.swift:50:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
48 |             }
49 |         case 429:
50 |             let retryAfter = response.value(forHTTPHeaderField: "retry-after")
   |                                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
51 |                 .flatMap(Int.init)
52 |                 .map(TimeInterval.init) ?? 60
/host/spi-builder-workspace/Sources/DiscordKitCore/REST/APIUserSettingsProto.swift:64:64: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
62 |             fallthrough
63 |         default:
64 |             throw RequestError.unexpectedResponseCode(response.statusCode)
   |                                                                `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
65 |         }
66 |     }
[590/669] Compiling DiscordKitCore EditMessage.swift
/host/spi-builder-workspace/Sources/DiscordKitCore/REST/APIUserSettingsProto.swift:40:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
38 |     private func decodeUserSettingsProtoResponse(
39 |         data: Data,
40 |         response: HTTPURLResponse
   |                   `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
41 |     ) throws -> UserSettingsProtoResponse {
42 |         switch response.statusCode {
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DiscordKitCore/REST/APIUserSettingsProto.swift:42:25: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
40 |         response: HTTPURLResponse
41 |     ) throws -> UserSettingsProtoResponse {
42 |         switch response.statusCode {
   |                         `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
43 |         case 200..<300:
44 |             do {
/host/spi-builder-workspace/Sources/DiscordKitCore/REST/APIUserSettingsProto.swift:50:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
48 |             }
49 |         case 429:
50 |             let retryAfter = response.value(forHTTPHeaderField: "retry-after")
   |                                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
51 |                 .flatMap(Int.init)
52 |                 .map(TimeInterval.init) ?? 60
/host/spi-builder-workspace/Sources/DiscordKitCore/REST/APIUserSettingsProto.swift:64:64: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
62 |             fallthrough
63 |         default:
64 |             throw RequestError.unexpectedResponseCode(response.statusCode)
   |                                                                `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
65 |         }
66 |     }
[591/669] Compiling DiscordKitCore Data+Base64.swift
/host/spi-builder-workspace/Sources/DiscordKitCore/REST/APIUserSettingsProto.swift:40:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
38 |     private func decodeUserSettingsProtoResponse(
39 |         data: Data,
40 |         response: HTTPURLResponse
   |                   `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
41 |     ) throws -> UserSettingsProtoResponse {
42 |         switch response.statusCode {
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DiscordKitCore/REST/APIUserSettingsProto.swift:42:25: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
40 |         response: HTTPURLResponse
41 |     ) throws -> UserSettingsProtoResponse {
42 |         switch response.statusCode {
   |                         `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
43 |         case 200..<300:
44 |             do {
/host/spi-builder-workspace/Sources/DiscordKitCore/REST/APIUserSettingsProto.swift:50:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
48 |             }
49 |         case 429:
50 |             let retryAfter = response.value(forHTTPHeaderField: "retry-after")
   |                                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
51 |                 .flatMap(Int.init)
52 |                 .map(TimeInterval.init) ?? 60
/host/spi-builder-workspace/Sources/DiscordKitCore/REST/APIUserSettingsProto.swift:64:64: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
62 |             fallthrough
63 |         default:
64 |             throw RequestError.unexpectedResponseCode(response.statusCode)
   |                                                                `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
65 |         }
66 |     }
[592/669] Compiling DiscordKitCore DecodeThrowable.swift
/host/spi-builder-workspace/Sources/DiscordKitCore/REST/APIUserSettingsProto.swift:40:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
38 |     private func decodeUserSettingsProtoResponse(
39 |         data: Data,
40 |         response: HTTPURLResponse
   |                   `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
41 |     ) throws -> UserSettingsProtoResponse {
42 |         switch response.statusCode {
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DiscordKitCore/REST/APIUserSettingsProto.swift:42:25: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
40 |         response: HTTPURLResponse
41 |     ) throws -> UserSettingsProtoResponse {
42 |         switch response.statusCode {
   |                         `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
43 |         case 200..<300:
44 |             do {
/host/spi-builder-workspace/Sources/DiscordKitCore/REST/APIUserSettingsProto.swift:50:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
48 |             }
49 |         case 429:
50 |             let retryAfter = response.value(forHTTPHeaderField: "retry-after")
   |                                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
51 |                 .flatMap(Int.init)
52 |                 .map(TimeInterval.init) ?? 60
/host/spi-builder-workspace/Sources/DiscordKitCore/REST/APIUserSettingsProto.swift:64:64: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
62 |             fallthrough
63 |         default:
64 |             throw RequestError.unexpectedResponseCode(response.statusCode)
   |                                                                `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
65 |         }
66 |     }
[593/669] Compiling DiscordKitCore DefaultDecodable.swift
/host/spi-builder-workspace/Sources/DiscordKitCore/REST/APIUserSettingsProto.swift:40:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
38 |     private func decodeUserSettingsProtoResponse(
39 |         data: Data,
40 |         response: HTTPURLResponse
   |                   `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
41 |     ) throws -> UserSettingsProtoResponse {
42 |         switch response.statusCode {
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DiscordKitCore/REST/APIUserSettingsProto.swift:42:25: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
40 |         response: HTTPURLResponse
41 |     ) throws -> UserSettingsProtoResponse {
42 |         switch response.statusCode {
   |                         `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
43 |         case 200..<300:
44 |             do {
/host/spi-builder-workspace/Sources/DiscordKitCore/REST/APIUserSettingsProto.swift:50:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
48 |             }
49 |         case 429:
50 |             let retryAfter = response.value(forHTTPHeaderField: "retry-after")
   |                                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
51 |                 .flatMap(Int.init)
52 |                 .map(TimeInterval.init) ?? 60
/host/spi-builder-workspace/Sources/DiscordKitCore/REST/APIUserSettingsProto.swift:64:64: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
62 |             fallthrough
63 |         default:
64 |             throw RequestError.unexpectedResponseCode(response.statusCode)
   |                                                                `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
65 |         }
66 |     }
[594/669] Compiling DiscordKitCore DiscordRange.swift
/host/spi-builder-workspace/Sources/DiscordKitCore/REST/APIUserSettingsProto.swift:40:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
38 |     private func decodeUserSettingsProtoResponse(
39 |         data: Data,
40 |         response: HTTPURLResponse
   |                   `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
41 |     ) throws -> UserSettingsProtoResponse {
42 |         switch response.statusCode {
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DiscordKitCore/REST/APIUserSettingsProto.swift:42:25: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
40 |         response: HTTPURLResponse
41 |     ) throws -> UserSettingsProtoResponse {
42 |         switch response.statusCode {
   |                         `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
43 |         case 200..<300:
44 |             do {
/host/spi-builder-workspace/Sources/DiscordKitCore/REST/APIUserSettingsProto.swift:50:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
48 |             }
49 |         case 429:
50 |             let retryAfter = response.value(forHTTPHeaderField: "retry-after")
   |                                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
51 |                 .flatMap(Int.init)
52 |                 .map(TimeInterval.init) ?? 60
/host/spi-builder-workspace/Sources/DiscordKitCore/REST/APIUserSettingsProto.swift:64:64: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
62 |             fallthrough
63 |         default:
64 |             throw RequestError.unexpectedResponseCode(response.statusCode)
   |                                                                `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
65 |         }
66 |     }
[595/669] Compiling DiscordKitCore EventDispatch.swift
/host/spi-builder-workspace/Sources/DiscordKitCore/REST/APIUserSettingsProto.swift:40:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
38 |     private func decodeUserSettingsProtoResponse(
39 |         data: Data,
40 |         response: HTTPURLResponse
   |                   `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
41 |     ) throws -> UserSettingsProtoResponse {
42 |         switch response.statusCode {
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DiscordKitCore/REST/APIUserSettingsProto.swift:42:25: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
40 |         response: HTTPURLResponse
41 |     ) throws -> UserSettingsProtoResponse {
42 |         switch response.statusCode {
   |                         `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
43 |         case 200..<300:
44 |             do {
/host/spi-builder-workspace/Sources/DiscordKitCore/REST/APIUserSettingsProto.swift:50:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
48 |             }
49 |         case 429:
50 |             let retryAfter = response.value(forHTTPHeaderField: "retry-after")
   |                                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
51 |                 .flatMap(Int.init)
52 |                 .map(TimeInterval.init) ?? 60
/host/spi-builder-workspace/Sources/DiscordKitCore/REST/APIUserSettingsProto.swift:64:64: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
62 |             fallthrough
63 |         default:
64 |             throw RequestError.unexpectedResponseCode(response.statusCode)
   |                                                                `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
65 |         }
66 |     }
[596/669] Compiling DiscordKitCore HashedAsset.swift
/host/spi-builder-workspace/Sources/DiscordKitCore/REST/APIUserSettingsProto.swift:40:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
38 |     private func decodeUserSettingsProtoResponse(
39 |         data: Data,
40 |         response: HTTPURLResponse
   |                   `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
41 |     ) throws -> UserSettingsProtoResponse {
42 |         switch response.statusCode {
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DiscordKitCore/REST/APIUserSettingsProto.swift:42:25: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
40 |         response: HTTPURLResponse
41 |     ) throws -> UserSettingsProtoResponse {
42 |         switch response.statusCode {
   |                         `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
43 |         case 200..<300:
44 |             do {
/host/spi-builder-workspace/Sources/DiscordKitCore/REST/APIUserSettingsProto.swift:50:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
48 |             }
49 |         case 429:
50 |             let retryAfter = response.value(forHTTPHeaderField: "retry-after")
   |                                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
51 |                 .flatMap(Int.init)
52 |                 .map(TimeInterval.init) ?? 60
/host/spi-builder-workspace/Sources/DiscordKitCore/REST/APIUserSettingsProto.swift:64:64: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
62 |             fallthrough
63 |         default:
64 |             throw RequestError.unexpectedResponseCode(response.statusCode)
   |                                                                `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
65 |         }
66 |     }
[597/669] Compiling DiscordKitCore HashedAssetTypes.swift
/host/spi-builder-workspace/Sources/DiscordKitCore/REST/APIUserSettingsProto.swift:40:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
38 |     private func decodeUserSettingsProtoResponse(
39 |         data: Data,
40 |         response: HTTPURLResponse
   |                   `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
41 |     ) throws -> UserSettingsProtoResponse {
42 |         switch response.statusCode {
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DiscordKitCore/REST/APIUserSettingsProto.swift:42:25: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
40 |         response: HTTPURLResponse
41 |     ) throws -> UserSettingsProtoResponse {
42 |         switch response.statusCode {
   |                         `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
43 |         case 200..<300:
44 |             do {
/host/spi-builder-workspace/Sources/DiscordKitCore/REST/APIUserSettingsProto.swift:50:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
48 |             }
49 |         case 429:
50 |             let retryAfter = response.value(forHTTPHeaderField: "retry-after")
   |                                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
51 |                 .flatMap(Int.init)
52 |                 .map(TimeInterval.init) ?? 60
/host/spi-builder-workspace/Sources/DiscordKitCore/REST/APIUserSettingsProto.swift:64:64: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
62 |             fallthrough
63 |         default:
64 |             throw RequestError.unexpectedResponseCode(response.statusCode)
   |                                                                `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
65 |         }
66 |     }
[598/669] Compiling DiscordKitCore HybridSnowflake.swift
/host/spi-builder-workspace/Sources/DiscordKitCore/REST/APIUserSettingsProto.swift:40:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
38 |     private func decodeUserSettingsProtoResponse(
39 |         data: Data,
40 |         response: HTTPURLResponse
   |                   `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
41 |     ) throws -> UserSettingsProtoResponse {
42 |         switch response.statusCode {
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DiscordKitCore/REST/APIUserSettingsProto.swift:42:25: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
40 |         response: HTTPURLResponse
41 |     ) throws -> UserSettingsProtoResponse {
42 |         switch response.statusCode {
   |                         `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
43 |         case 200..<300:
44 |             do {
/host/spi-builder-workspace/Sources/DiscordKitCore/REST/APIUserSettingsProto.swift:50:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
48 |             }
49 |         case 429:
50 |             let retryAfter = response.value(forHTTPHeaderField: "retry-after")
   |                                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
51 |                 .flatMap(Int.init)
52 |                 .map(TimeInterval.init) ?? 60
/host/spi-builder-workspace/Sources/DiscordKitCore/REST/APIUserSettingsProto.swift:64:64: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
62 |             fallthrough
63 |         default:
64 |             throw RequestError.unexpectedResponseCode(response.statusCode)
   |                                                                `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
65 |         }
66 |     }
[599/669] Compiling DiscordKitCore NormalizedPresence.swift
/host/spi-builder-workspace/Sources/DiscordKitCore/REST/APIUserSettingsProto.swift:40:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
38 |     private func decodeUserSettingsProtoResponse(
39 |         data: Data,
40 |         response: HTTPURLResponse
   |                   `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
41 |     ) throws -> UserSettingsProtoResponse {
42 |         switch response.statusCode {
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DiscordKitCore/REST/APIUserSettingsProto.swift:42:25: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
40 |         response: HTTPURLResponse
41 |     ) throws -> UserSettingsProtoResponse {
42 |         switch response.statusCode {
   |                         `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
43 |         case 200..<300:
44 |             do {
/host/spi-builder-workspace/Sources/DiscordKitCore/REST/APIUserSettingsProto.swift:50:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
48 |             }
49 |         case 429:
50 |             let retryAfter = response.value(forHTTPHeaderField: "retry-after")
   |                                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
51 |                 .flatMap(Int.init)
52 |                 .map(TimeInterval.init) ?? 60
/host/spi-builder-workspace/Sources/DiscordKitCore/REST/APIUserSettingsProto.swift:64:64: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
62 |             fallthrough
63 |         default:
64 |             throw RequestError.unexpectedResponseCode(response.statusCode)
   |                                                                `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
65 |         }
66 |     }
[600/669] Compiling DiscordKitCore NullEncodable.swift
/host/spi-builder-workspace/Sources/DiscordKitCore/REST/APIUserSettingsProto.swift:40:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
38 |     private func decodeUserSettingsProtoResponse(
39 |         data: Data,
40 |         response: HTTPURLResponse
   |                   `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
41 |     ) throws -> UserSettingsProtoResponse {
42 |         switch response.statusCode {
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DiscordKitCore/REST/APIUserSettingsProto.swift:42:25: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
40 |         response: HTTPURLResponse
41 |     ) throws -> UserSettingsProtoResponse {
42 |         switch response.statusCode {
   |                         `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
43 |         case 200..<300:
44 |             do {
/host/spi-builder-workspace/Sources/DiscordKitCore/REST/APIUserSettingsProto.swift:50:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
48 |             }
49 |         case 429:
50 |             let retryAfter = response.value(forHTTPHeaderField: "retry-after")
   |                                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
51 |                 .flatMap(Int.init)
52 |                 .map(TimeInterval.init) ?? 60
/host/spi-builder-workspace/Sources/DiscordKitCore/REST/APIUserSettingsProto.swift:64:64: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
62 |             fallthrough
63 |         default:
64 |             throw RequestError.unexpectedResponseCode(response.statusCode)
   |                                                                `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
65 |         }
66 |     }
[601/669] Compiling DiscordKitCore ReadyEvt.swift
[602/669] Compiling DiscordKitCore ReadySuppEvt.swift
[603/669] Compiling DiscordKitCore ThreadListSync.swift
[604/669] Compiling DiscordKitCore ThreadMembersUpdate.swift
[605/669] Compiling DiscordKitCore TypingStart.swift
[606/669] Compiling DiscordKitCore TypingStartEvt.swift
[607/669] Compiling DiscordKitCore VoiceEvt.swift
[608/669] Compiling DiscordKitCore Gateway.swift
[609/669] Compiling DiscordKitCore GatewayIO.swift
[610/669] Compiling DiscordKitCore ReadState.swift
[611/669] Compiling DiscordKitCore UserGuildSettings.swift
[612/669] Compiling DiscordKitCore UserSettings.swift
[613/669] Compiling DiscordKitCore AttachmentUpload.swift
[614/669] Compiling DiscordKitCore CreateForumPost.swift
[615/669] Compiling DiscordKitCore ForumPostData.swift
[616/669] Compiling DiscordKitCore GIFPicker.swift
[617/669] Compiling DiscordKitCore LogOut.swift
[618/669] Compiling DiscordKitCore APIUtils.swift
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:25:14: warning: non-final class 'RobustWebSocket' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
  23 | /// A robust WebSocket that handles resuming, reconnection and heartbeats
  24 | /// with the Discord Gateway.
  25 | public class RobustWebSocket: NSObject {
     |              `- warning: non-final class 'RobustWebSocket' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
  26 |     // swiftlint:disable:previous type_body_length
  27 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:30:16: warning: stored property 'onEvent' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<GatewayIncoming.Data>'; this is an error in the Swift 6 language mode
  28 |     /// An ``EventDispatch`` that is notified when an event dispatch
  29 |     /// is received from the Gateway.
  30 |     public let onEvent = EventDispatch<GatewayIncoming.Data>()
     |                `- warning: stored property 'onEvent' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<GatewayIncoming.Data>'; this is an error in the Swift 6 language mode
  31 |
  32 |     /// An ``EventDispatch`` that is notified when the gateway closes
/host/spi-builder-workspace/Sources/DiscordKitCore/Utils/EventDispatch.swift:15:14: note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 13 | /// as well as optimise some portions. Adapted from:
 14 | /// [swift-event-dispatch](https://github.com/gongzhang/)
 15 | public class EventDispatch<Event>: EventDispatchProtocol {
    |              `- note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 16 |     public typealias HandlerIdentifier = Int
 17 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:34:16: warning: stored property 'onAuthFailure' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<Void>'; this is an error in the Swift 6 language mode
  32 |     /// An ``EventDispatch`` that is notified when the gateway closes
  33 |     /// with an auth failure, or when no connection info is available.
  34 |     public let onAuthFailure = EventDispatch<Void>()
     |                `- warning: stored property 'onAuthFailure' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<Void>'; this is an error in the Swift 6 language mode
  35 |
  36 |     /// An ``EventDispatch`` that is notified when the session opens/closes
/host/spi-builder-workspace/Sources/DiscordKitCore/Utils/EventDispatch.swift:15:14: note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 13 | /// as well as optimise some portions. Adapted from:
 14 | /// [swift-event-dispatch](https://github.com/gongzhang/)
 15 | public class EventDispatch<Event>: EventDispatchProtocol {
    |              `- note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 16 |     public typealias HandlerIdentifier = Int
 17 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:39:16: warning: stored property 'onConnStateChange' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<(Bool, Bool)>'; this is an error in the Swift 6 language mode
  37 |     /// or reachability status changes. Event is notified with
  38 |     /// a (sessionOpen: Bool, reachable: Bool) tuple.
  39 |     public let onConnStateChange = EventDispatch<(Bool, Bool)>()
     |                `- warning: stored property 'onConnStateChange' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<(Bool, Bool)>'; this is an error in the Swift 6 language mode
  40 |
  41 |     /// An ``EventDispatch`` that is notified when the saved session is
/host/spi-builder-workspace/Sources/DiscordKitCore/Utils/EventDispatch.swift:15:14: note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 13 | /// as well as optimise some portions. Adapted from:
 14 | /// [swift-event-dispatch](https://github.com/gongzhang/)
 15 | public class EventDispatch<Event>: EventDispatchProtocol {
    |              `- note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 16 |     public typealias HandlerIdentifier = Int
 17 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:43:16: warning: stored property 'onSessionInvalid' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<Void>'; this is an error in the Swift 6 language mode
  41 |     /// An ``EventDispatch`` that is notified when the saved session is
  42 |     /// no longer trusted and the next connection will identify fresh.
  43 |     public let onSessionInvalid = EventDispatch<Void>()
     |                `- warning: stored property 'onSessionInvalid' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<Void>'; this is an error in the Swift 6 language mode
  44 |
  45 |     private enum ConnectionState: String {
/host/spi-builder-workspace/Sources/DiscordKitCore/Utils/EventDispatch.swift:15:14: note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 13 | /// as well as optimise some portions. Adapted from:
 14 | /// [swift-event-dispatch](https://github.com/gongzhang/)
 15 | public class EventDispatch<Event>: EventDispatchProtocol {
    |              `- note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 16 |     public typealias HandlerIdentifier = Int
 17 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:83:17: warning: stored property 'session' of 'Sendable'-conforming class 'RobustWebSocket' is mutable; this is an error in the Swift 6 language mode
  81 |     private static let authFailureCloseCode = 4004
  82 |
  83 |     private var session: URLSession!
     |                 `- warning: stored property 'session' of 'Sendable'-conforming class 'RobustWebSocket' is mutable; this is an error in the Swift 6 language mode
  84 |     private var decompressor = DecompressionEngine()
  85 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:259:17: warning: no calls to throwing functions occur within 'try' expression
 257 |             socket = webSocket
 258 |             do {
 259 |                 try webSocket.connect(
     |                 `- warning: no calls to throwing functions occur within 'try' expression
 260 |                     url: connectionURL,
 261 |                     headers: HTTPHeaders(dictionaryLiteral: ("User-Agent", DiscordKitConfig.default.userAgent))
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:263:15: warning: 'catch' block is unreachable because no errors are thrown in 'do' block
 261 |                     headers: HTTPHeaders(dictionaryLiteral: ("User-Agent", DiscordKitConfig.default.userAgent))
 262 |                 )
 263 |             } catch {
     |               `- warning: 'catch' block is unreachable because no errors are thrown in 'do' block
 264 |                 if handleClose(
 265 |                     wasClean: false,
[619/669] Compiling DiscordKitCore DiscordKitConfig.swift
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:25:14: warning: non-final class 'RobustWebSocket' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
  23 | /// A robust WebSocket that handles resuming, reconnection and heartbeats
  24 | /// with the Discord Gateway.
  25 | public class RobustWebSocket: NSObject {
     |              `- warning: non-final class 'RobustWebSocket' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
  26 |     // swiftlint:disable:previous type_body_length
  27 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:30:16: warning: stored property 'onEvent' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<GatewayIncoming.Data>'; this is an error in the Swift 6 language mode
  28 |     /// An ``EventDispatch`` that is notified when an event dispatch
  29 |     /// is received from the Gateway.
  30 |     public let onEvent = EventDispatch<GatewayIncoming.Data>()
     |                `- warning: stored property 'onEvent' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<GatewayIncoming.Data>'; this is an error in the Swift 6 language mode
  31 |
  32 |     /// An ``EventDispatch`` that is notified when the gateway closes
/host/spi-builder-workspace/Sources/DiscordKitCore/Utils/EventDispatch.swift:15:14: note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 13 | /// as well as optimise some portions. Adapted from:
 14 | /// [swift-event-dispatch](https://github.com/gongzhang/)
 15 | public class EventDispatch<Event>: EventDispatchProtocol {
    |              `- note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 16 |     public typealias HandlerIdentifier = Int
 17 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:34:16: warning: stored property 'onAuthFailure' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<Void>'; this is an error in the Swift 6 language mode
  32 |     /// An ``EventDispatch`` that is notified when the gateway closes
  33 |     /// with an auth failure, or when no connection info is available.
  34 |     public let onAuthFailure = EventDispatch<Void>()
     |                `- warning: stored property 'onAuthFailure' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<Void>'; this is an error in the Swift 6 language mode
  35 |
  36 |     /// An ``EventDispatch`` that is notified when the session opens/closes
/host/spi-builder-workspace/Sources/DiscordKitCore/Utils/EventDispatch.swift:15:14: note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 13 | /// as well as optimise some portions. Adapted from:
 14 | /// [swift-event-dispatch](https://github.com/gongzhang/)
 15 | public class EventDispatch<Event>: EventDispatchProtocol {
    |              `- note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 16 |     public typealias HandlerIdentifier = Int
 17 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:39:16: warning: stored property 'onConnStateChange' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<(Bool, Bool)>'; this is an error in the Swift 6 language mode
  37 |     /// or reachability status changes. Event is notified with
  38 |     /// a (sessionOpen: Bool, reachable: Bool) tuple.
  39 |     public let onConnStateChange = EventDispatch<(Bool, Bool)>()
     |                `- warning: stored property 'onConnStateChange' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<(Bool, Bool)>'; this is an error in the Swift 6 language mode
  40 |
  41 |     /// An ``EventDispatch`` that is notified when the saved session is
/host/spi-builder-workspace/Sources/DiscordKitCore/Utils/EventDispatch.swift:15:14: note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 13 | /// as well as optimise some portions. Adapted from:
 14 | /// [swift-event-dispatch](https://github.com/gongzhang/)
 15 | public class EventDispatch<Event>: EventDispatchProtocol {
    |              `- note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 16 |     public typealias HandlerIdentifier = Int
 17 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:43:16: warning: stored property 'onSessionInvalid' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<Void>'; this is an error in the Swift 6 language mode
  41 |     /// An ``EventDispatch`` that is notified when the saved session is
  42 |     /// no longer trusted and the next connection will identify fresh.
  43 |     public let onSessionInvalid = EventDispatch<Void>()
     |                `- warning: stored property 'onSessionInvalid' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<Void>'; this is an error in the Swift 6 language mode
  44 |
  45 |     private enum ConnectionState: String {
/host/spi-builder-workspace/Sources/DiscordKitCore/Utils/EventDispatch.swift:15:14: note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 13 | /// as well as optimise some portions. Adapted from:
 14 | /// [swift-event-dispatch](https://github.com/gongzhang/)
 15 | public class EventDispatch<Event>: EventDispatchProtocol {
    |              `- note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 16 |     public typealias HandlerIdentifier = Int
 17 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:83:17: warning: stored property 'session' of 'Sendable'-conforming class 'RobustWebSocket' is mutable; this is an error in the Swift 6 language mode
  81 |     private static let authFailureCloseCode = 4004
  82 |
  83 |     private var session: URLSession!
     |                 `- warning: stored property 'session' of 'Sendable'-conforming class 'RobustWebSocket' is mutable; this is an error in the Swift 6 language mode
  84 |     private var decompressor = DecompressionEngine()
  85 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:259:17: warning: no calls to throwing functions occur within 'try' expression
 257 |             socket = webSocket
 258 |             do {
 259 |                 try webSocket.connect(
     |                 `- warning: no calls to throwing functions occur within 'try' expression
 260 |                     url: connectionURL,
 261 |                     headers: HTTPHeaders(dictionaryLiteral: ("User-Agent", DiscordKitConfig.default.userAgent))
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:263:15: warning: 'catch' block is unreachable because no errors are thrown in 'do' block
 261 |                     headers: HTTPHeaders(dictionaryLiteral: ("User-Agent", DiscordKitConfig.default.userAgent))
 262 |                 )
 263 |             } catch {
     |               `- warning: 'catch' block is unreachable because no errors are thrown in 'do' block
 264 |                 if handleClose(
 265 |                     wasClean: false,
[620/669] Compiling DiscordKitCore DiscordREST.swift
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:25:14: warning: non-final class 'RobustWebSocket' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
  23 | /// A robust WebSocket that handles resuming, reconnection and heartbeats
  24 | /// with the Discord Gateway.
  25 | public class RobustWebSocket: NSObject {
     |              `- warning: non-final class 'RobustWebSocket' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
  26 |     // swiftlint:disable:previous type_body_length
  27 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:30:16: warning: stored property 'onEvent' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<GatewayIncoming.Data>'; this is an error in the Swift 6 language mode
  28 |     /// An ``EventDispatch`` that is notified when an event dispatch
  29 |     /// is received from the Gateway.
  30 |     public let onEvent = EventDispatch<GatewayIncoming.Data>()
     |                `- warning: stored property 'onEvent' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<GatewayIncoming.Data>'; this is an error in the Swift 6 language mode
  31 |
  32 |     /// An ``EventDispatch`` that is notified when the gateway closes
/host/spi-builder-workspace/Sources/DiscordKitCore/Utils/EventDispatch.swift:15:14: note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 13 | /// as well as optimise some portions. Adapted from:
 14 | /// [swift-event-dispatch](https://github.com/gongzhang/)
 15 | public class EventDispatch<Event>: EventDispatchProtocol {
    |              `- note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 16 |     public typealias HandlerIdentifier = Int
 17 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:34:16: warning: stored property 'onAuthFailure' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<Void>'; this is an error in the Swift 6 language mode
  32 |     /// An ``EventDispatch`` that is notified when the gateway closes
  33 |     /// with an auth failure, or when no connection info is available.
  34 |     public let onAuthFailure = EventDispatch<Void>()
     |                `- warning: stored property 'onAuthFailure' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<Void>'; this is an error in the Swift 6 language mode
  35 |
  36 |     /// An ``EventDispatch`` that is notified when the session opens/closes
/host/spi-builder-workspace/Sources/DiscordKitCore/Utils/EventDispatch.swift:15:14: note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 13 | /// as well as optimise some portions. Adapted from:
 14 | /// [swift-event-dispatch](https://github.com/gongzhang/)
 15 | public class EventDispatch<Event>: EventDispatchProtocol {
    |              `- note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 16 |     public typealias HandlerIdentifier = Int
 17 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:39:16: warning: stored property 'onConnStateChange' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<(Bool, Bool)>'; this is an error in the Swift 6 language mode
  37 |     /// or reachability status changes. Event is notified with
  38 |     /// a (sessionOpen: Bool, reachable: Bool) tuple.
  39 |     public let onConnStateChange = EventDispatch<(Bool, Bool)>()
     |                `- warning: stored property 'onConnStateChange' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<(Bool, Bool)>'; this is an error in the Swift 6 language mode
  40 |
  41 |     /// An ``EventDispatch`` that is notified when the saved session is
/host/spi-builder-workspace/Sources/DiscordKitCore/Utils/EventDispatch.swift:15:14: note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 13 | /// as well as optimise some portions. Adapted from:
 14 | /// [swift-event-dispatch](https://github.com/gongzhang/)
 15 | public class EventDispatch<Event>: EventDispatchProtocol {
    |              `- note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 16 |     public typealias HandlerIdentifier = Int
 17 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:43:16: warning: stored property 'onSessionInvalid' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<Void>'; this is an error in the Swift 6 language mode
  41 |     /// An ``EventDispatch`` that is notified when the saved session is
  42 |     /// no longer trusted and the next connection will identify fresh.
  43 |     public let onSessionInvalid = EventDispatch<Void>()
     |                `- warning: stored property 'onSessionInvalid' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<Void>'; this is an error in the Swift 6 language mode
  44 |
  45 |     private enum ConnectionState: String {
/host/spi-builder-workspace/Sources/DiscordKitCore/Utils/EventDispatch.swift:15:14: note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 13 | /// as well as optimise some portions. Adapted from:
 14 | /// [swift-event-dispatch](https://github.com/gongzhang/)
 15 | public class EventDispatch<Event>: EventDispatchProtocol {
    |              `- note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 16 |     public typealias HandlerIdentifier = Int
 17 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:83:17: warning: stored property 'session' of 'Sendable'-conforming class 'RobustWebSocket' is mutable; this is an error in the Swift 6 language mode
  81 |     private static let authFailureCloseCode = 4004
  82 |
  83 |     private var session: URLSession!
     |                 `- warning: stored property 'session' of 'Sendable'-conforming class 'RobustWebSocket' is mutable; this is an error in the Swift 6 language mode
  84 |     private var decompressor = DecompressionEngine()
  85 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:259:17: warning: no calls to throwing functions occur within 'try' expression
 257 |             socket = webSocket
 258 |             do {
 259 |                 try webSocket.connect(
     |                 `- warning: no calls to throwing functions occur within 'try' expression
 260 |                     url: connectionURL,
 261 |                     headers: HTTPHeaders(dictionaryLiteral: ("User-Agent", DiscordKitConfig.default.userAgent))
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:263:15: warning: 'catch' block is unreachable because no errors are thrown in 'do' block
 261 |                     headers: HTTPHeaders(dictionaryLiteral: ("User-Agent", DiscordKitConfig.default.userAgent))
 262 |                 )
 263 |             } catch {
     |               `- warning: 'catch' block is unreachable because no errors are thrown in 'do' block
 264 |                 if handleClose(
 265 |                     wasClean: false,
[621/669] Compiling DiscordKitCore Collection+Identifiable.swift
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:25:14: warning: non-final class 'RobustWebSocket' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
  23 | /// A robust WebSocket that handles resuming, reconnection and heartbeats
  24 | /// with the Discord Gateway.
  25 | public class RobustWebSocket: NSObject {
     |              `- warning: non-final class 'RobustWebSocket' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
  26 |     // swiftlint:disable:previous type_body_length
  27 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:30:16: warning: stored property 'onEvent' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<GatewayIncoming.Data>'; this is an error in the Swift 6 language mode
  28 |     /// An ``EventDispatch`` that is notified when an event dispatch
  29 |     /// is received from the Gateway.
  30 |     public let onEvent = EventDispatch<GatewayIncoming.Data>()
     |                `- warning: stored property 'onEvent' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<GatewayIncoming.Data>'; this is an error in the Swift 6 language mode
  31 |
  32 |     /// An ``EventDispatch`` that is notified when the gateway closes
/host/spi-builder-workspace/Sources/DiscordKitCore/Utils/EventDispatch.swift:15:14: note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 13 | /// as well as optimise some portions. Adapted from:
 14 | /// [swift-event-dispatch](https://github.com/gongzhang/)
 15 | public class EventDispatch<Event>: EventDispatchProtocol {
    |              `- note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 16 |     public typealias HandlerIdentifier = Int
 17 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:34:16: warning: stored property 'onAuthFailure' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<Void>'; this is an error in the Swift 6 language mode
  32 |     /// An ``EventDispatch`` that is notified when the gateway closes
  33 |     /// with an auth failure, or when no connection info is available.
  34 |     public let onAuthFailure = EventDispatch<Void>()
     |                `- warning: stored property 'onAuthFailure' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<Void>'; this is an error in the Swift 6 language mode
  35 |
  36 |     /// An ``EventDispatch`` that is notified when the session opens/closes
/host/spi-builder-workspace/Sources/DiscordKitCore/Utils/EventDispatch.swift:15:14: note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 13 | /// as well as optimise some portions. Adapted from:
 14 | /// [swift-event-dispatch](https://github.com/gongzhang/)
 15 | public class EventDispatch<Event>: EventDispatchProtocol {
    |              `- note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 16 |     public typealias HandlerIdentifier = Int
 17 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:39:16: warning: stored property 'onConnStateChange' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<(Bool, Bool)>'; this is an error in the Swift 6 language mode
  37 |     /// or reachability status changes. Event is notified with
  38 |     /// a (sessionOpen: Bool, reachable: Bool) tuple.
  39 |     public let onConnStateChange = EventDispatch<(Bool, Bool)>()
     |                `- warning: stored property 'onConnStateChange' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<(Bool, Bool)>'; this is an error in the Swift 6 language mode
  40 |
  41 |     /// An ``EventDispatch`` that is notified when the saved session is
/host/spi-builder-workspace/Sources/DiscordKitCore/Utils/EventDispatch.swift:15:14: note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 13 | /// as well as optimise some portions. Adapted from:
 14 | /// [swift-event-dispatch](https://github.com/gongzhang/)
 15 | public class EventDispatch<Event>: EventDispatchProtocol {
    |              `- note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 16 |     public typealias HandlerIdentifier = Int
 17 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:43:16: warning: stored property 'onSessionInvalid' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<Void>'; this is an error in the Swift 6 language mode
  41 |     /// An ``EventDispatch`` that is notified when the saved session is
  42 |     /// no longer trusted and the next connection will identify fresh.
  43 |     public let onSessionInvalid = EventDispatch<Void>()
     |                `- warning: stored property 'onSessionInvalid' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<Void>'; this is an error in the Swift 6 language mode
  44 |
  45 |     private enum ConnectionState: String {
/host/spi-builder-workspace/Sources/DiscordKitCore/Utils/EventDispatch.swift:15:14: note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 13 | /// as well as optimise some portions. Adapted from:
 14 | /// [swift-event-dispatch](https://github.com/gongzhang/)
 15 | public class EventDispatch<Event>: EventDispatchProtocol {
    |              `- note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 16 |     public typealias HandlerIdentifier = Int
 17 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:83:17: warning: stored property 'session' of 'Sendable'-conforming class 'RobustWebSocket' is mutable; this is an error in the Swift 6 language mode
  81 |     private static let authFailureCloseCode = 4004
  82 |
  83 |     private var session: URLSession!
     |                 `- warning: stored property 'session' of 'Sendable'-conforming class 'RobustWebSocket' is mutable; this is an error in the Swift 6 language mode
  84 |     private var decompressor = DecompressionEngine()
  85 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:259:17: warning: no calls to throwing functions occur within 'try' expression
 257 |             socket = webSocket
 258 |             do {
 259 |                 try webSocket.connect(
     |                 `- warning: no calls to throwing functions occur within 'try' expression
 260 |                     url: connectionURL,
 261 |                     headers: HTTPHeaders(dictionaryLiteral: ("User-Agent", DiscordKitConfig.default.userAgent))
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:263:15: warning: 'catch' block is unreachable because no errors are thrown in 'do' block
 261 |                     headers: HTTPHeaders(dictionaryLiteral: ("User-Agent", DiscordKitConfig.default.userAgent))
 262 |                 )
 263 |             } catch {
     |               `- warning: 'catch' block is unreachable because no errors are thrown in 'do' block
 264 |                 if handleClose(
 265 |                     wasClean: false,
[622/669] Compiling DiscordKitCore Int+decodeFlags.swift
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:25:14: warning: non-final class 'RobustWebSocket' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
  23 | /// A robust WebSocket that handles resuming, reconnection and heartbeats
  24 | /// with the Discord Gateway.
  25 | public class RobustWebSocket: NSObject {
     |              `- warning: non-final class 'RobustWebSocket' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
  26 |     // swiftlint:disable:previous type_body_length
  27 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:30:16: warning: stored property 'onEvent' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<GatewayIncoming.Data>'; this is an error in the Swift 6 language mode
  28 |     /// An ``EventDispatch`` that is notified when an event dispatch
  29 |     /// is received from the Gateway.
  30 |     public let onEvent = EventDispatch<GatewayIncoming.Data>()
     |                `- warning: stored property 'onEvent' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<GatewayIncoming.Data>'; this is an error in the Swift 6 language mode
  31 |
  32 |     /// An ``EventDispatch`` that is notified when the gateway closes
/host/spi-builder-workspace/Sources/DiscordKitCore/Utils/EventDispatch.swift:15:14: note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 13 | /// as well as optimise some portions. Adapted from:
 14 | /// [swift-event-dispatch](https://github.com/gongzhang/)
 15 | public class EventDispatch<Event>: EventDispatchProtocol {
    |              `- note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 16 |     public typealias HandlerIdentifier = Int
 17 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:34:16: warning: stored property 'onAuthFailure' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<Void>'; this is an error in the Swift 6 language mode
  32 |     /// An ``EventDispatch`` that is notified when the gateway closes
  33 |     /// with an auth failure, or when no connection info is available.
  34 |     public let onAuthFailure = EventDispatch<Void>()
     |                `- warning: stored property 'onAuthFailure' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<Void>'; this is an error in the Swift 6 language mode
  35 |
  36 |     /// An ``EventDispatch`` that is notified when the session opens/closes
/host/spi-builder-workspace/Sources/DiscordKitCore/Utils/EventDispatch.swift:15:14: note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 13 | /// as well as optimise some portions. Adapted from:
 14 | /// [swift-event-dispatch](https://github.com/gongzhang/)
 15 | public class EventDispatch<Event>: EventDispatchProtocol {
    |              `- note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 16 |     public typealias HandlerIdentifier = Int
 17 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:39:16: warning: stored property 'onConnStateChange' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<(Bool, Bool)>'; this is an error in the Swift 6 language mode
  37 |     /// or reachability status changes. Event is notified with
  38 |     /// a (sessionOpen: Bool, reachable: Bool) tuple.
  39 |     public let onConnStateChange = EventDispatch<(Bool, Bool)>()
     |                `- warning: stored property 'onConnStateChange' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<(Bool, Bool)>'; this is an error in the Swift 6 language mode
  40 |
  41 |     /// An ``EventDispatch`` that is notified when the saved session is
/host/spi-builder-workspace/Sources/DiscordKitCore/Utils/EventDispatch.swift:15:14: note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 13 | /// as well as optimise some portions. Adapted from:
 14 | /// [swift-event-dispatch](https://github.com/gongzhang/)
 15 | public class EventDispatch<Event>: EventDispatchProtocol {
    |              `- note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 16 |     public typealias HandlerIdentifier = Int
 17 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:43:16: warning: stored property 'onSessionInvalid' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<Void>'; this is an error in the Swift 6 language mode
  41 |     /// An ``EventDispatch`` that is notified when the saved session is
  42 |     /// no longer trusted and the next connection will identify fresh.
  43 |     public let onSessionInvalid = EventDispatch<Void>()
     |                `- warning: stored property 'onSessionInvalid' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<Void>'; this is an error in the Swift 6 language mode
  44 |
  45 |     private enum ConnectionState: String {
/host/spi-builder-workspace/Sources/DiscordKitCore/Utils/EventDispatch.swift:15:14: note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 13 | /// as well as optimise some portions. Adapted from:
 14 | /// [swift-event-dispatch](https://github.com/gongzhang/)
 15 | public class EventDispatch<Event>: EventDispatchProtocol {
    |              `- note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 16 |     public typealias HandlerIdentifier = Int
 17 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:83:17: warning: stored property 'session' of 'Sendable'-conforming class 'RobustWebSocket' is mutable; this is an error in the Swift 6 language mode
  81 |     private static let authFailureCloseCode = 4004
  82 |
  83 |     private var session: URLSession!
     |                 `- warning: stored property 'session' of 'Sendable'-conforming class 'RobustWebSocket' is mutable; this is an error in the Swift 6 language mode
  84 |     private var decompressor = DecompressionEngine()
  85 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:259:17: warning: no calls to throwing functions occur within 'try' expression
 257 |             socket = webSocket
 258 |             do {
 259 |                 try webSocket.connect(
     |                 `- warning: no calls to throwing functions occur within 'try' expression
 260 |                     url: connectionURL,
 261 |                     headers: HTTPHeaders(dictionaryLiteral: ("User-Agent", DiscordKitConfig.default.userAgent))
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:263:15: warning: 'catch' block is unreachable because no errors are thrown in 'do' block
 261 |                     headers: HTTPHeaders(dictionaryLiteral: ("User-Agent", DiscordKitConfig.default.userAgent))
 262 |                 )
 263 |             } catch {
     |               `- warning: 'catch' block is unreachable because no errors are thrown in 'do' block
 264 |                 if handleClose(
 265 |                     wasClean: false,
[623/669] Compiling DiscordKitCore Logger+.swift
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:25:14: warning: non-final class 'RobustWebSocket' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
  23 | /// A robust WebSocket that handles resuming, reconnection and heartbeats
  24 | /// with the Discord Gateway.
  25 | public class RobustWebSocket: NSObject {
     |              `- warning: non-final class 'RobustWebSocket' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
  26 |     // swiftlint:disable:previous type_body_length
  27 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:30:16: warning: stored property 'onEvent' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<GatewayIncoming.Data>'; this is an error in the Swift 6 language mode
  28 |     /// An ``EventDispatch`` that is notified when an event dispatch
  29 |     /// is received from the Gateway.
  30 |     public let onEvent = EventDispatch<GatewayIncoming.Data>()
     |                `- warning: stored property 'onEvent' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<GatewayIncoming.Data>'; this is an error in the Swift 6 language mode
  31 |
  32 |     /// An ``EventDispatch`` that is notified when the gateway closes
/host/spi-builder-workspace/Sources/DiscordKitCore/Utils/EventDispatch.swift:15:14: note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 13 | /// as well as optimise some portions. Adapted from:
 14 | /// [swift-event-dispatch](https://github.com/gongzhang/)
 15 | public class EventDispatch<Event>: EventDispatchProtocol {
    |              `- note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 16 |     public typealias HandlerIdentifier = Int
 17 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:34:16: warning: stored property 'onAuthFailure' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<Void>'; this is an error in the Swift 6 language mode
  32 |     /// An ``EventDispatch`` that is notified when the gateway closes
  33 |     /// with an auth failure, or when no connection info is available.
  34 |     public let onAuthFailure = EventDispatch<Void>()
     |                `- warning: stored property 'onAuthFailure' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<Void>'; this is an error in the Swift 6 language mode
  35 |
  36 |     /// An ``EventDispatch`` that is notified when the session opens/closes
/host/spi-builder-workspace/Sources/DiscordKitCore/Utils/EventDispatch.swift:15:14: note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 13 | /// as well as optimise some portions. Adapted from:
 14 | /// [swift-event-dispatch](https://github.com/gongzhang/)
 15 | public class EventDispatch<Event>: EventDispatchProtocol {
    |              `- note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 16 |     public typealias HandlerIdentifier = Int
 17 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:39:16: warning: stored property 'onConnStateChange' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<(Bool, Bool)>'; this is an error in the Swift 6 language mode
  37 |     /// or reachability status changes. Event is notified with
  38 |     /// a (sessionOpen: Bool, reachable: Bool) tuple.
  39 |     public let onConnStateChange = EventDispatch<(Bool, Bool)>()
     |                `- warning: stored property 'onConnStateChange' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<(Bool, Bool)>'; this is an error in the Swift 6 language mode
  40 |
  41 |     /// An ``EventDispatch`` that is notified when the saved session is
/host/spi-builder-workspace/Sources/DiscordKitCore/Utils/EventDispatch.swift:15:14: note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 13 | /// as well as optimise some portions. Adapted from:
 14 | /// [swift-event-dispatch](https://github.com/gongzhang/)
 15 | public class EventDispatch<Event>: EventDispatchProtocol {
    |              `- note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 16 |     public typealias HandlerIdentifier = Int
 17 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:43:16: warning: stored property 'onSessionInvalid' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<Void>'; this is an error in the Swift 6 language mode
  41 |     /// An ``EventDispatch`` that is notified when the saved session is
  42 |     /// no longer trusted and the next connection will identify fresh.
  43 |     public let onSessionInvalid = EventDispatch<Void>()
     |                `- warning: stored property 'onSessionInvalid' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<Void>'; this is an error in the Swift 6 language mode
  44 |
  45 |     private enum ConnectionState: String {
/host/spi-builder-workspace/Sources/DiscordKitCore/Utils/EventDispatch.swift:15:14: note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 13 | /// as well as optimise some portions. Adapted from:
 14 | /// [swift-event-dispatch](https://github.com/gongzhang/)
 15 | public class EventDispatch<Event>: EventDispatchProtocol {
    |              `- note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 16 |     public typealias HandlerIdentifier = Int
 17 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:83:17: warning: stored property 'session' of 'Sendable'-conforming class 'RobustWebSocket' is mutable; this is an error in the Swift 6 language mode
  81 |     private static let authFailureCloseCode = 4004
  82 |
  83 |     private var session: URLSession!
     |                 `- warning: stored property 'session' of 'Sendable'-conforming class 'RobustWebSocket' is mutable; this is an error in the Swift 6 language mode
  84 |     private var decompressor = DecompressionEngine()
  85 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:259:17: warning: no calls to throwing functions occur within 'try' expression
 257 |             socket = webSocket
 258 |             do {
 259 |                 try webSocket.connect(
     |                 `- warning: no calls to throwing functions occur within 'try' expression
 260 |                     url: connectionURL,
 261 |                     headers: HTTPHeaders(dictionaryLiteral: ("User-Agent", DiscordKitConfig.default.userAgent))
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:263:15: warning: 'catch' block is unreachable because no errors are thrown in 'do' block
 261 |                     headers: HTTPHeaders(dictionaryLiteral: ("User-Agent", DiscordKitConfig.default.userAgent))
 262 |                 )
 263 |             } catch {
     |               `- warning: 'catch' block is unreachable because no errors are thrown in 'do' block
 264 |                 if handleClose(
 265 |                     wasClean: false,
[624/669] Compiling DiscordKitCore Activity+.swift
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:25:14: warning: non-final class 'RobustWebSocket' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
  23 | /// A robust WebSocket that handles resuming, reconnection and heartbeats
  24 | /// with the Discord Gateway.
  25 | public class RobustWebSocket: NSObject {
     |              `- warning: non-final class 'RobustWebSocket' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
  26 |     // swiftlint:disable:previous type_body_length
  27 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:30:16: warning: stored property 'onEvent' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<GatewayIncoming.Data>'; this is an error in the Swift 6 language mode
  28 |     /// An ``EventDispatch`` that is notified when an event dispatch
  29 |     /// is received from the Gateway.
  30 |     public let onEvent = EventDispatch<GatewayIncoming.Data>()
     |                `- warning: stored property 'onEvent' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<GatewayIncoming.Data>'; this is an error in the Swift 6 language mode
  31 |
  32 |     /// An ``EventDispatch`` that is notified when the gateway closes
/host/spi-builder-workspace/Sources/DiscordKitCore/Utils/EventDispatch.swift:15:14: note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 13 | /// as well as optimise some portions. Adapted from:
 14 | /// [swift-event-dispatch](https://github.com/gongzhang/)
 15 | public class EventDispatch<Event>: EventDispatchProtocol {
    |              `- note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 16 |     public typealias HandlerIdentifier = Int
 17 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:34:16: warning: stored property 'onAuthFailure' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<Void>'; this is an error in the Swift 6 language mode
  32 |     /// An ``EventDispatch`` that is notified when the gateway closes
  33 |     /// with an auth failure, or when no connection info is available.
  34 |     public let onAuthFailure = EventDispatch<Void>()
     |                `- warning: stored property 'onAuthFailure' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<Void>'; this is an error in the Swift 6 language mode
  35 |
  36 |     /// An ``EventDispatch`` that is notified when the session opens/closes
/host/spi-builder-workspace/Sources/DiscordKitCore/Utils/EventDispatch.swift:15:14: note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 13 | /// as well as optimise some portions. Adapted from:
 14 | /// [swift-event-dispatch](https://github.com/gongzhang/)
 15 | public class EventDispatch<Event>: EventDispatchProtocol {
    |              `- note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 16 |     public typealias HandlerIdentifier = Int
 17 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:39:16: warning: stored property 'onConnStateChange' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<(Bool, Bool)>'; this is an error in the Swift 6 language mode
  37 |     /// or reachability status changes. Event is notified with
  38 |     /// a (sessionOpen: Bool, reachable: Bool) tuple.
  39 |     public let onConnStateChange = EventDispatch<(Bool, Bool)>()
     |                `- warning: stored property 'onConnStateChange' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<(Bool, Bool)>'; this is an error in the Swift 6 language mode
  40 |
  41 |     /// An ``EventDispatch`` that is notified when the saved session is
/host/spi-builder-workspace/Sources/DiscordKitCore/Utils/EventDispatch.swift:15:14: note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 13 | /// as well as optimise some portions. Adapted from:
 14 | /// [swift-event-dispatch](https://github.com/gongzhang/)
 15 | public class EventDispatch<Event>: EventDispatchProtocol {
    |              `- note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 16 |     public typealias HandlerIdentifier = Int
 17 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:43:16: warning: stored property 'onSessionInvalid' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<Void>'; this is an error in the Swift 6 language mode
  41 |     /// An ``EventDispatch`` that is notified when the saved session is
  42 |     /// no longer trusted and the next connection will identify fresh.
  43 |     public let onSessionInvalid = EventDispatch<Void>()
     |                `- warning: stored property 'onSessionInvalid' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<Void>'; this is an error in the Swift 6 language mode
  44 |
  45 |     private enum ConnectionState: String {
/host/spi-builder-workspace/Sources/DiscordKitCore/Utils/EventDispatch.swift:15:14: note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 13 | /// as well as optimise some portions. Adapted from:
 14 | /// [swift-event-dispatch](https://github.com/gongzhang/)
 15 | public class EventDispatch<Event>: EventDispatchProtocol {
    |              `- note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 16 |     public typealias HandlerIdentifier = Int
 17 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:83:17: warning: stored property 'session' of 'Sendable'-conforming class 'RobustWebSocket' is mutable; this is an error in the Swift 6 language mode
  81 |     private static let authFailureCloseCode = 4004
  82 |
  83 |     private var session: URLSession!
     |                 `- warning: stored property 'session' of 'Sendable'-conforming class 'RobustWebSocket' is mutable; this is an error in the Swift 6 language mode
  84 |     private var decompressor = DecompressionEngine()
  85 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:259:17: warning: no calls to throwing functions occur within 'try' expression
 257 |             socket = webSocket
 258 |             do {
 259 |                 try webSocket.connect(
     |                 `- warning: no calls to throwing functions occur within 'try' expression
 260 |                     url: connectionURL,
 261 |                     headers: HTTPHeaders(dictionaryLiteral: ("User-Agent", DiscordKitConfig.default.userAgent))
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:263:15: warning: 'catch' block is unreachable because no errors are thrown in 'do' block
 261 |                     headers: HTTPHeaders(dictionaryLiteral: ("User-Agent", DiscordKitConfig.default.userAgent))
 262 |                 )
 263 |             } catch {
     |               `- warning: 'catch' block is unreachable because no errors are thrown in 'do' block
 264 |                 if handleClose(
 265 |                     wasClean: false,
[625/669] Compiling DiscordKitCore HashedAssetScopes+.swift
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:25:14: warning: non-final class 'RobustWebSocket' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
  23 | /// A robust WebSocket that handles resuming, reconnection and heartbeats
  24 | /// with the Discord Gateway.
  25 | public class RobustWebSocket: NSObject {
     |              `- warning: non-final class 'RobustWebSocket' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
  26 |     // swiftlint:disable:previous type_body_length
  27 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:30:16: warning: stored property 'onEvent' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<GatewayIncoming.Data>'; this is an error in the Swift 6 language mode
  28 |     /// An ``EventDispatch`` that is notified when an event dispatch
  29 |     /// is received from the Gateway.
  30 |     public let onEvent = EventDispatch<GatewayIncoming.Data>()
     |                `- warning: stored property 'onEvent' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<GatewayIncoming.Data>'; this is an error in the Swift 6 language mode
  31 |
  32 |     /// An ``EventDispatch`` that is notified when the gateway closes
/host/spi-builder-workspace/Sources/DiscordKitCore/Utils/EventDispatch.swift:15:14: note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 13 | /// as well as optimise some portions. Adapted from:
 14 | /// [swift-event-dispatch](https://github.com/gongzhang/)
 15 | public class EventDispatch<Event>: EventDispatchProtocol {
    |              `- note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 16 |     public typealias HandlerIdentifier = Int
 17 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:34:16: warning: stored property 'onAuthFailure' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<Void>'; this is an error in the Swift 6 language mode
  32 |     /// An ``EventDispatch`` that is notified when the gateway closes
  33 |     /// with an auth failure, or when no connection info is available.
  34 |     public let onAuthFailure = EventDispatch<Void>()
     |                `- warning: stored property 'onAuthFailure' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<Void>'; this is an error in the Swift 6 language mode
  35 |
  36 |     /// An ``EventDispatch`` that is notified when the session opens/closes
/host/spi-builder-workspace/Sources/DiscordKitCore/Utils/EventDispatch.swift:15:14: note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 13 | /// as well as optimise some portions. Adapted from:
 14 | /// [swift-event-dispatch](https://github.com/gongzhang/)
 15 | public class EventDispatch<Event>: EventDispatchProtocol {
    |              `- note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 16 |     public typealias HandlerIdentifier = Int
 17 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:39:16: warning: stored property 'onConnStateChange' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<(Bool, Bool)>'; this is an error in the Swift 6 language mode
  37 |     /// or reachability status changes. Event is notified with
  38 |     /// a (sessionOpen: Bool, reachable: Bool) tuple.
  39 |     public let onConnStateChange = EventDispatch<(Bool, Bool)>()
     |                `- warning: stored property 'onConnStateChange' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<(Bool, Bool)>'; this is an error in the Swift 6 language mode
  40 |
  41 |     /// An ``EventDispatch`` that is notified when the saved session is
/host/spi-builder-workspace/Sources/DiscordKitCore/Utils/EventDispatch.swift:15:14: note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 13 | /// as well as optimise some portions. Adapted from:
 14 | /// [swift-event-dispatch](https://github.com/gongzhang/)
 15 | public class EventDispatch<Event>: EventDispatchProtocol {
    |              `- note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 16 |     public typealias HandlerIdentifier = Int
 17 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:43:16: warning: stored property 'onSessionInvalid' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<Void>'; this is an error in the Swift 6 language mode
  41 |     /// An ``EventDispatch`` that is notified when the saved session is
  42 |     /// no longer trusted and the next connection will identify fresh.
  43 |     public let onSessionInvalid = EventDispatch<Void>()
     |                `- warning: stored property 'onSessionInvalid' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<Void>'; this is an error in the Swift 6 language mode
  44 |
  45 |     private enum ConnectionState: String {
/host/spi-builder-workspace/Sources/DiscordKitCore/Utils/EventDispatch.swift:15:14: note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 13 | /// as well as optimise some portions. Adapted from:
 14 | /// [swift-event-dispatch](https://github.com/gongzhang/)
 15 | public class EventDispatch<Event>: EventDispatchProtocol {
    |              `- note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 16 |     public typealias HandlerIdentifier = Int
 17 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:83:17: warning: stored property 'session' of 'Sendable'-conforming class 'RobustWebSocket' is mutable; this is an error in the Swift 6 language mode
  81 |     private static let authFailureCloseCode = 4004
  82 |
  83 |     private var session: URLSession!
     |                 `- warning: stored property 'session' of 'Sendable'-conforming class 'RobustWebSocket' is mutable; this is an error in the Swift 6 language mode
  84 |     private var decompressor = DecompressionEngine()
  85 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:259:17: warning: no calls to throwing functions occur within 'try' expression
 257 |             socket = webSocket
 258 |             do {
 259 |                 try webSocket.connect(
     |                 `- warning: no calls to throwing functions occur within 'try' expression
 260 |                     url: connectionURL,
 261 |                     headers: HTTPHeaders(dictionaryLiteral: ("User-Agent", DiscordKitConfig.default.userAgent))
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:263:15: warning: 'catch' block is unreachable because no errors are thrown in 'do' block
 261 |                     headers: HTTPHeaders(dictionaryLiteral: ("User-Agent", DiscordKitConfig.default.userAgent))
 262 |                 )
 263 |             } catch {
     |               `- warning: 'catch' block is unreachable because no errors are thrown in 'do' block
 264 |                 if handleClose(
 265 |                     wasClean: false,
[626/669] Compiling DiscordKitCore Message+.swift
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:25:14: warning: non-final class 'RobustWebSocket' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
  23 | /// A robust WebSocket that handles resuming, reconnection and heartbeats
  24 | /// with the Discord Gateway.
  25 | public class RobustWebSocket: NSObject {
     |              `- warning: non-final class 'RobustWebSocket' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
  26 |     // swiftlint:disable:previous type_body_length
  27 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:30:16: warning: stored property 'onEvent' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<GatewayIncoming.Data>'; this is an error in the Swift 6 language mode
  28 |     /// An ``EventDispatch`` that is notified when an event dispatch
  29 |     /// is received from the Gateway.
  30 |     public let onEvent = EventDispatch<GatewayIncoming.Data>()
     |                `- warning: stored property 'onEvent' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<GatewayIncoming.Data>'; this is an error in the Swift 6 language mode
  31 |
  32 |     /// An ``EventDispatch`` that is notified when the gateway closes
/host/spi-builder-workspace/Sources/DiscordKitCore/Utils/EventDispatch.swift:15:14: note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 13 | /// as well as optimise some portions. Adapted from:
 14 | /// [swift-event-dispatch](https://github.com/gongzhang/)
 15 | public class EventDispatch<Event>: EventDispatchProtocol {
    |              `- note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 16 |     public typealias HandlerIdentifier = Int
 17 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:34:16: warning: stored property 'onAuthFailure' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<Void>'; this is an error in the Swift 6 language mode
  32 |     /// An ``EventDispatch`` that is notified when the gateway closes
  33 |     /// with an auth failure, or when no connection info is available.
  34 |     public let onAuthFailure = EventDispatch<Void>()
     |                `- warning: stored property 'onAuthFailure' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<Void>'; this is an error in the Swift 6 language mode
  35 |
  36 |     /// An ``EventDispatch`` that is notified when the session opens/closes
/host/spi-builder-workspace/Sources/DiscordKitCore/Utils/EventDispatch.swift:15:14: note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 13 | /// as well as optimise some portions. Adapted from:
 14 | /// [swift-event-dispatch](https://github.com/gongzhang/)
 15 | public class EventDispatch<Event>: EventDispatchProtocol {
    |              `- note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 16 |     public typealias HandlerIdentifier = Int
 17 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:39:16: warning: stored property 'onConnStateChange' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<(Bool, Bool)>'; this is an error in the Swift 6 language mode
  37 |     /// or reachability status changes. Event is notified with
  38 |     /// a (sessionOpen: Bool, reachable: Bool) tuple.
  39 |     public let onConnStateChange = EventDispatch<(Bool, Bool)>()
     |                `- warning: stored property 'onConnStateChange' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<(Bool, Bool)>'; this is an error in the Swift 6 language mode
  40 |
  41 |     /// An ``EventDispatch`` that is notified when the saved session is
/host/spi-builder-workspace/Sources/DiscordKitCore/Utils/EventDispatch.swift:15:14: note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 13 | /// as well as optimise some portions. Adapted from:
 14 | /// [swift-event-dispatch](https://github.com/gongzhang/)
 15 | public class EventDispatch<Event>: EventDispatchProtocol {
    |              `- note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 16 |     public typealias HandlerIdentifier = Int
 17 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:43:16: warning: stored property 'onSessionInvalid' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<Void>'; this is an error in the Swift 6 language mode
  41 |     /// An ``EventDispatch`` that is notified when the saved session is
  42 |     /// no longer trusted and the next connection will identify fresh.
  43 |     public let onSessionInvalid = EventDispatch<Void>()
     |                `- warning: stored property 'onSessionInvalid' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<Void>'; this is an error in the Swift 6 language mode
  44 |
  45 |     private enum ConnectionState: String {
/host/spi-builder-workspace/Sources/DiscordKitCore/Utils/EventDispatch.swift:15:14: note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 13 | /// as well as optimise some portions. Adapted from:
 14 | /// [swift-event-dispatch](https://github.com/gongzhang/)
 15 | public class EventDispatch<Event>: EventDispatchProtocol {
    |              `- note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 16 |     public typealias HandlerIdentifier = Int
 17 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:83:17: warning: stored property 'session' of 'Sendable'-conforming class 'RobustWebSocket' is mutable; this is an error in the Swift 6 language mode
  81 |     private static let authFailureCloseCode = 4004
  82 |
  83 |     private var session: URLSession!
     |                 `- warning: stored property 'session' of 'Sendable'-conforming class 'RobustWebSocket' is mutable; this is an error in the Swift 6 language mode
  84 |     private var decompressor = DecompressionEngine()
  85 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:259:17: warning: no calls to throwing functions occur within 'try' expression
 257 |             socket = webSocket
 258 |             do {
 259 |                 try webSocket.connect(
     |                 `- warning: no calls to throwing functions occur within 'try' expression
 260 |                     url: connectionURL,
 261 |                     headers: HTTPHeaders(dictionaryLiteral: ("User-Agent", DiscordKitConfig.default.userAgent))
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:263:15: warning: 'catch' block is unreachable because no errors are thrown in 'do' block
 261 |                     headers: HTTPHeaders(dictionaryLiteral: ("User-Agent", DiscordKitConfig.default.userAgent))
 262 |                 )
 263 |             } catch {
     |               `- warning: 'catch' block is unreachable because no errors are thrown in 'do' block
 264 |                 if handleClose(
 265 |                     wasClean: false,
[627/669] Compiling DiscordKitCore User+.swift
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:25:14: warning: non-final class 'RobustWebSocket' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
  23 | /// A robust WebSocket that handles resuming, reconnection and heartbeats
  24 | /// with the Discord Gateway.
  25 | public class RobustWebSocket: NSObject {
     |              `- warning: non-final class 'RobustWebSocket' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
  26 |     // swiftlint:disable:previous type_body_length
  27 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:30:16: warning: stored property 'onEvent' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<GatewayIncoming.Data>'; this is an error in the Swift 6 language mode
  28 |     /// An ``EventDispatch`` that is notified when an event dispatch
  29 |     /// is received from the Gateway.
  30 |     public let onEvent = EventDispatch<GatewayIncoming.Data>()
     |                `- warning: stored property 'onEvent' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<GatewayIncoming.Data>'; this is an error in the Swift 6 language mode
  31 |
  32 |     /// An ``EventDispatch`` that is notified when the gateway closes
/host/spi-builder-workspace/Sources/DiscordKitCore/Utils/EventDispatch.swift:15:14: note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 13 | /// as well as optimise some portions. Adapted from:
 14 | /// [swift-event-dispatch](https://github.com/gongzhang/)
 15 | public class EventDispatch<Event>: EventDispatchProtocol {
    |              `- note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 16 |     public typealias HandlerIdentifier = Int
 17 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:34:16: warning: stored property 'onAuthFailure' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<Void>'; this is an error in the Swift 6 language mode
  32 |     /// An ``EventDispatch`` that is notified when the gateway closes
  33 |     /// with an auth failure, or when no connection info is available.
  34 |     public let onAuthFailure = EventDispatch<Void>()
     |                `- warning: stored property 'onAuthFailure' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<Void>'; this is an error in the Swift 6 language mode
  35 |
  36 |     /// An ``EventDispatch`` that is notified when the session opens/closes
/host/spi-builder-workspace/Sources/DiscordKitCore/Utils/EventDispatch.swift:15:14: note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 13 | /// as well as optimise some portions. Adapted from:
 14 | /// [swift-event-dispatch](https://github.com/gongzhang/)
 15 | public class EventDispatch<Event>: EventDispatchProtocol {
    |              `- note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 16 |     public typealias HandlerIdentifier = Int
 17 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:39:16: warning: stored property 'onConnStateChange' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<(Bool, Bool)>'; this is an error in the Swift 6 language mode
  37 |     /// or reachability status changes. Event is notified with
  38 |     /// a (sessionOpen: Bool, reachable: Bool) tuple.
  39 |     public let onConnStateChange = EventDispatch<(Bool, Bool)>()
     |                `- warning: stored property 'onConnStateChange' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<(Bool, Bool)>'; this is an error in the Swift 6 language mode
  40 |
  41 |     /// An ``EventDispatch`` that is notified when the saved session is
/host/spi-builder-workspace/Sources/DiscordKitCore/Utils/EventDispatch.swift:15:14: note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 13 | /// as well as optimise some portions. Adapted from:
 14 | /// [swift-event-dispatch](https://github.com/gongzhang/)
 15 | public class EventDispatch<Event>: EventDispatchProtocol {
    |              `- note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 16 |     public typealias HandlerIdentifier = Int
 17 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:43:16: warning: stored property 'onSessionInvalid' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<Void>'; this is an error in the Swift 6 language mode
  41 |     /// An ``EventDispatch`` that is notified when the saved session is
  42 |     /// no longer trusted and the next connection will identify fresh.
  43 |     public let onSessionInvalid = EventDispatch<Void>()
     |                `- warning: stored property 'onSessionInvalid' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<Void>'; this is an error in the Swift 6 language mode
  44 |
  45 |     private enum ConnectionState: String {
/host/spi-builder-workspace/Sources/DiscordKitCore/Utils/EventDispatch.swift:15:14: note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 13 | /// as well as optimise some portions. Adapted from:
 14 | /// [swift-event-dispatch](https://github.com/gongzhang/)
 15 | public class EventDispatch<Event>: EventDispatchProtocol {
    |              `- note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 16 |     public typealias HandlerIdentifier = Int
 17 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:83:17: warning: stored property 'session' of 'Sendable'-conforming class 'RobustWebSocket' is mutable; this is an error in the Swift 6 language mode
  81 |     private static let authFailureCloseCode = 4004
  82 |
  83 |     private var session: URLSession!
     |                 `- warning: stored property 'session' of 'Sendable'-conforming class 'RobustWebSocket' is mutable; this is an error in the Swift 6 language mode
  84 |     private var decompressor = DecompressionEngine()
  85 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:259:17: warning: no calls to throwing functions occur within 'try' expression
 257 |             socket = webSocket
 258 |             do {
 259 |                 try webSocket.connect(
     |                 `- warning: no calls to throwing functions occur within 'try' expression
 260 |                     url: connectionURL,
 261 |                     headers: HTTPHeaders(dictionaryLiteral: ("User-Agent", DiscordKitConfig.default.userAgent))
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:263:15: warning: 'catch' block is unreachable because no errors are thrown in 'do' block
 261 |                     headers: HTTPHeaders(dictionaryLiteral: ("User-Agent", DiscordKitConfig.default.userAgent))
 262 |                 )
 263 |             } catch {
     |               `- warning: 'catch' block is unreachable because no errors are thrown in 'do' block
 264 |                 if handleClose(
 265 |                     wasClean: false,
[628/669] Compiling DiscordKitCore Snowflake+decode.swift
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:25:14: warning: non-final class 'RobustWebSocket' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
  23 | /// A robust WebSocket that handles resuming, reconnection and heartbeats
  24 | /// with the Discord Gateway.
  25 | public class RobustWebSocket: NSObject {
     |              `- warning: non-final class 'RobustWebSocket' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
  26 |     // swiftlint:disable:previous type_body_length
  27 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:30:16: warning: stored property 'onEvent' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<GatewayIncoming.Data>'; this is an error in the Swift 6 language mode
  28 |     /// An ``EventDispatch`` that is notified when an event dispatch
  29 |     /// is received from the Gateway.
  30 |     public let onEvent = EventDispatch<GatewayIncoming.Data>()
     |                `- warning: stored property 'onEvent' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<GatewayIncoming.Data>'; this is an error in the Swift 6 language mode
  31 |
  32 |     /// An ``EventDispatch`` that is notified when the gateway closes
/host/spi-builder-workspace/Sources/DiscordKitCore/Utils/EventDispatch.swift:15:14: note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 13 | /// as well as optimise some portions. Adapted from:
 14 | /// [swift-event-dispatch](https://github.com/gongzhang/)
 15 | public class EventDispatch<Event>: EventDispatchProtocol {
    |              `- note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 16 |     public typealias HandlerIdentifier = Int
 17 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:34:16: warning: stored property 'onAuthFailure' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<Void>'; this is an error in the Swift 6 language mode
  32 |     /// An ``EventDispatch`` that is notified when the gateway closes
  33 |     /// with an auth failure, or when no connection info is available.
  34 |     public let onAuthFailure = EventDispatch<Void>()
     |                `- warning: stored property 'onAuthFailure' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<Void>'; this is an error in the Swift 6 language mode
  35 |
  36 |     /// An ``EventDispatch`` that is notified when the session opens/closes
/host/spi-builder-workspace/Sources/DiscordKitCore/Utils/EventDispatch.swift:15:14: note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 13 | /// as well as optimise some portions. Adapted from:
 14 | /// [swift-event-dispatch](https://github.com/gongzhang/)
 15 | public class EventDispatch<Event>: EventDispatchProtocol {
    |              `- note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 16 |     public typealias HandlerIdentifier = Int
 17 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:39:16: warning: stored property 'onConnStateChange' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<(Bool, Bool)>'; this is an error in the Swift 6 language mode
  37 |     /// or reachability status changes. Event is notified with
  38 |     /// a (sessionOpen: Bool, reachable: Bool) tuple.
  39 |     public let onConnStateChange = EventDispatch<(Bool, Bool)>()
     |                `- warning: stored property 'onConnStateChange' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<(Bool, Bool)>'; this is an error in the Swift 6 language mode
  40 |
  41 |     /// An ``EventDispatch`` that is notified when the saved session is
/host/spi-builder-workspace/Sources/DiscordKitCore/Utils/EventDispatch.swift:15:14: note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 13 | /// as well as optimise some portions. Adapted from:
 14 | /// [swift-event-dispatch](https://github.com/gongzhang/)
 15 | public class EventDispatch<Event>: EventDispatchProtocol {
    |              `- note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 16 |     public typealias HandlerIdentifier = Int
 17 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:43:16: warning: stored property 'onSessionInvalid' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<Void>'; this is an error in the Swift 6 language mode
  41 |     /// An ``EventDispatch`` that is notified when the saved session is
  42 |     /// no longer trusted and the next connection will identify fresh.
  43 |     public let onSessionInvalid = EventDispatch<Void>()
     |                `- warning: stored property 'onSessionInvalid' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<Void>'; this is an error in the Swift 6 language mode
  44 |
  45 |     private enum ConnectionState: String {
/host/spi-builder-workspace/Sources/DiscordKitCore/Utils/EventDispatch.swift:15:14: note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 13 | /// as well as optimise some portions. Adapted from:
 14 | /// [swift-event-dispatch](https://github.com/gongzhang/)
 15 | public class EventDispatch<Event>: EventDispatchProtocol {
    |              `- note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 16 |     public typealias HandlerIdentifier = Int
 17 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:83:17: warning: stored property 'session' of 'Sendable'-conforming class 'RobustWebSocket' is mutable; this is an error in the Swift 6 language mode
  81 |     private static let authFailureCloseCode = 4004
  82 |
  83 |     private var session: URLSession!
     |                 `- warning: stored property 'session' of 'Sendable'-conforming class 'RobustWebSocket' is mutable; this is an error in the Swift 6 language mode
  84 |     private var decompressor = DecompressionEngine()
  85 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:259:17: warning: no calls to throwing functions occur within 'try' expression
 257 |             socket = webSocket
 258 |             do {
 259 |                 try webSocket.connect(
     |                 `- warning: no calls to throwing functions occur within 'try' expression
 260 |                     url: connectionURL,
 261 |                     headers: HTTPHeaders(dictionaryLiteral: ("User-Agent", DiscordKitConfig.default.userAgent))
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:263:15: warning: 'catch' block is unreachable because no errors are thrown in 'do' block
 261 |                     headers: HTTPHeaders(dictionaryLiteral: ("User-Agent", DiscordKitConfig.default.userAgent))
 262 |                 )
 263 |             } catch {
     |               `- warning: 'catch' block is unreachable because no errors are thrown in 'do' block
 264 |                 if handleClose(
 265 |                     wasClean: false,
[629/669] Compiling DiscordKitCore String+random.swift
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:25:14: warning: non-final class 'RobustWebSocket' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
  23 | /// A robust WebSocket that handles resuming, reconnection and heartbeats
  24 | /// with the Discord Gateway.
  25 | public class RobustWebSocket: NSObject {
     |              `- warning: non-final class 'RobustWebSocket' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
  26 |     // swiftlint:disable:previous type_body_length
  27 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:30:16: warning: stored property 'onEvent' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<GatewayIncoming.Data>'; this is an error in the Swift 6 language mode
  28 |     /// An ``EventDispatch`` that is notified when an event dispatch
  29 |     /// is received from the Gateway.
  30 |     public let onEvent = EventDispatch<GatewayIncoming.Data>()
     |                `- warning: stored property 'onEvent' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<GatewayIncoming.Data>'; this is an error in the Swift 6 language mode
  31 |
  32 |     /// An ``EventDispatch`` that is notified when the gateway closes
/host/spi-builder-workspace/Sources/DiscordKitCore/Utils/EventDispatch.swift:15:14: note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 13 | /// as well as optimise some portions. Adapted from:
 14 | /// [swift-event-dispatch](https://github.com/gongzhang/)
 15 | public class EventDispatch<Event>: EventDispatchProtocol {
    |              `- note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 16 |     public typealias HandlerIdentifier = Int
 17 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:34:16: warning: stored property 'onAuthFailure' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<Void>'; this is an error in the Swift 6 language mode
  32 |     /// An ``EventDispatch`` that is notified when the gateway closes
  33 |     /// with an auth failure, or when no connection info is available.
  34 |     public let onAuthFailure = EventDispatch<Void>()
     |                `- warning: stored property 'onAuthFailure' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<Void>'; this is an error in the Swift 6 language mode
  35 |
  36 |     /// An ``EventDispatch`` that is notified when the session opens/closes
/host/spi-builder-workspace/Sources/DiscordKitCore/Utils/EventDispatch.swift:15:14: note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 13 | /// as well as optimise some portions. Adapted from:
 14 | /// [swift-event-dispatch](https://github.com/gongzhang/)
 15 | public class EventDispatch<Event>: EventDispatchProtocol {
    |              `- note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 16 |     public typealias HandlerIdentifier = Int
 17 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:39:16: warning: stored property 'onConnStateChange' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<(Bool, Bool)>'; this is an error in the Swift 6 language mode
  37 |     /// or reachability status changes. Event is notified with
  38 |     /// a (sessionOpen: Bool, reachable: Bool) tuple.
  39 |     public let onConnStateChange = EventDispatch<(Bool, Bool)>()
     |                `- warning: stored property 'onConnStateChange' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<(Bool, Bool)>'; this is an error in the Swift 6 language mode
  40 |
  41 |     /// An ``EventDispatch`` that is notified when the saved session is
/host/spi-builder-workspace/Sources/DiscordKitCore/Utils/EventDispatch.swift:15:14: note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 13 | /// as well as optimise some portions. Adapted from:
 14 | /// [swift-event-dispatch](https://github.com/gongzhang/)
 15 | public class EventDispatch<Event>: EventDispatchProtocol {
    |              `- note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 16 |     public typealias HandlerIdentifier = Int
 17 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:43:16: warning: stored property 'onSessionInvalid' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<Void>'; this is an error in the Swift 6 language mode
  41 |     /// An ``EventDispatch`` that is notified when the saved session is
  42 |     /// no longer trusted and the next connection will identify fresh.
  43 |     public let onSessionInvalid = EventDispatch<Void>()
     |                `- warning: stored property 'onSessionInvalid' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<Void>'; this is an error in the Swift 6 language mode
  44 |
  45 |     private enum ConnectionState: String {
/host/spi-builder-workspace/Sources/DiscordKitCore/Utils/EventDispatch.swift:15:14: note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 13 | /// as well as optimise some portions. Adapted from:
 14 | /// [swift-event-dispatch](https://github.com/gongzhang/)
 15 | public class EventDispatch<Event>: EventDispatchProtocol {
    |              `- note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 16 |     public typealias HandlerIdentifier = Int
 17 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:83:17: warning: stored property 'session' of 'Sendable'-conforming class 'RobustWebSocket' is mutable; this is an error in the Swift 6 language mode
  81 |     private static let authFailureCloseCode = 4004
  82 |
  83 |     private var session: URLSession!
     |                 `- warning: stored property 'session' of 'Sendable'-conforming class 'RobustWebSocket' is mutable; this is an error in the Swift 6 language mode
  84 |     private var decompressor = DecompressionEngine()
  85 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:259:17: warning: no calls to throwing functions occur within 'try' expression
 257 |             socket = webSocket
 258 |             do {
 259 |                 try webSocket.connect(
     |                 `- warning: no calls to throwing functions occur within 'try' expression
 260 |                     url: connectionURL,
 261 |                     headers: HTTPHeaders(dictionaryLiteral: ("User-Agent", DiscordKitConfig.default.userAgent))
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:263:15: warning: 'catch' block is unreachable because no errors are thrown in 'do' block
 261 |                     headers: HTTPHeaders(dictionaryLiteral: ("User-Agent", DiscordKitConfig.default.userAgent))
 262 |                 )
 263 |             } catch {
     |               `- warning: 'catch' block is unreachable because no errors are thrown in 'do' block
 264 |                 if handleClose(
 265 |                     wasClean: false,
[630/669] Compiling DiscordKitCore URL+.swift
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:25:14: warning: non-final class 'RobustWebSocket' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
  23 | /// A robust WebSocket that handles resuming, reconnection and heartbeats
  24 | /// with the Discord Gateway.
  25 | public class RobustWebSocket: NSObject {
     |              `- warning: non-final class 'RobustWebSocket' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
  26 |     // swiftlint:disable:previous type_body_length
  27 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:30:16: warning: stored property 'onEvent' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<GatewayIncoming.Data>'; this is an error in the Swift 6 language mode
  28 |     /// An ``EventDispatch`` that is notified when an event dispatch
  29 |     /// is received from the Gateway.
  30 |     public let onEvent = EventDispatch<GatewayIncoming.Data>()
     |                `- warning: stored property 'onEvent' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<GatewayIncoming.Data>'; this is an error in the Swift 6 language mode
  31 |
  32 |     /// An ``EventDispatch`` that is notified when the gateway closes
/host/spi-builder-workspace/Sources/DiscordKitCore/Utils/EventDispatch.swift:15:14: note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 13 | /// as well as optimise some portions. Adapted from:
 14 | /// [swift-event-dispatch](https://github.com/gongzhang/)
 15 | public class EventDispatch<Event>: EventDispatchProtocol {
    |              `- note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 16 |     public typealias HandlerIdentifier = Int
 17 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:34:16: warning: stored property 'onAuthFailure' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<Void>'; this is an error in the Swift 6 language mode
  32 |     /// An ``EventDispatch`` that is notified when the gateway closes
  33 |     /// with an auth failure, or when no connection info is available.
  34 |     public let onAuthFailure = EventDispatch<Void>()
     |                `- warning: stored property 'onAuthFailure' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<Void>'; this is an error in the Swift 6 language mode
  35 |
  36 |     /// An ``EventDispatch`` that is notified when the session opens/closes
/host/spi-builder-workspace/Sources/DiscordKitCore/Utils/EventDispatch.swift:15:14: note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 13 | /// as well as optimise some portions. Adapted from:
 14 | /// [swift-event-dispatch](https://github.com/gongzhang/)
 15 | public class EventDispatch<Event>: EventDispatchProtocol {
    |              `- note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 16 |     public typealias HandlerIdentifier = Int
 17 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:39:16: warning: stored property 'onConnStateChange' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<(Bool, Bool)>'; this is an error in the Swift 6 language mode
  37 |     /// or reachability status changes. Event is notified with
  38 |     /// a (sessionOpen: Bool, reachable: Bool) tuple.
  39 |     public let onConnStateChange = EventDispatch<(Bool, Bool)>()
     |                `- warning: stored property 'onConnStateChange' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<(Bool, Bool)>'; this is an error in the Swift 6 language mode
  40 |
  41 |     /// An ``EventDispatch`` that is notified when the saved session is
/host/spi-builder-workspace/Sources/DiscordKitCore/Utils/EventDispatch.swift:15:14: note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 13 | /// as well as optimise some portions. Adapted from:
 14 | /// [swift-event-dispatch](https://github.com/gongzhang/)
 15 | public class EventDispatch<Event>: EventDispatchProtocol {
    |              `- note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 16 |     public typealias HandlerIdentifier = Int
 17 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:43:16: warning: stored property 'onSessionInvalid' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<Void>'; this is an error in the Swift 6 language mode
  41 |     /// An ``EventDispatch`` that is notified when the saved session is
  42 |     /// no longer trusted and the next connection will identify fresh.
  43 |     public let onSessionInvalid = EventDispatch<Void>()
     |                `- warning: stored property 'onSessionInvalid' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<Void>'; this is an error in the Swift 6 language mode
  44 |
  45 |     private enum ConnectionState: String {
/host/spi-builder-workspace/Sources/DiscordKitCore/Utils/EventDispatch.swift:15:14: note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 13 | /// as well as optimise some portions. Adapted from:
 14 | /// [swift-event-dispatch](https://github.com/gongzhang/)
 15 | public class EventDispatch<Event>: EventDispatchProtocol {
    |              `- note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 16 |     public typealias HandlerIdentifier = Int
 17 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:83:17: warning: stored property 'session' of 'Sendable'-conforming class 'RobustWebSocket' is mutable; this is an error in the Swift 6 language mode
  81 |     private static let authFailureCloseCode = 4004
  82 |
  83 |     private var session: URLSession!
     |                 `- warning: stored property 'session' of 'Sendable'-conforming class 'RobustWebSocket' is mutable; this is an error in the Swift 6 language mode
  84 |     private var decompressor = DecompressionEngine()
  85 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:259:17: warning: no calls to throwing functions occur within 'try' expression
 257 |             socket = webSocket
 258 |             do {
 259 |                 try webSocket.connect(
     |                 `- warning: no calls to throwing functions occur within 'try' expression
 260 |                     url: connectionURL,
 261 |                     headers: HTTPHeaders(dictionaryLiteral: ("User-Agent", DiscordKitConfig.default.userAgent))
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:263:15: warning: 'catch' block is unreachable because no errors are thrown in 'do' block
 261 |                     headers: HTTPHeaders(dictionaryLiteral: ("User-Agent", DiscordKitConfig.default.userAgent))
 262 |                 )
 263 |             } catch {
     |               `- warning: 'catch' block is unreachable because no errors are thrown in 'do' block
 264 |                 if handleClose(
 265 |                     wasClean: false,
[631/669] Compiling DiscordKitCore URLSession+.swift
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:25:14: warning: non-final class 'RobustWebSocket' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
  23 | /// A robust WebSocket that handles resuming, reconnection and heartbeats
  24 | /// with the Discord Gateway.
  25 | public class RobustWebSocket: NSObject {
     |              `- warning: non-final class 'RobustWebSocket' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
  26 |     // swiftlint:disable:previous type_body_length
  27 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:30:16: warning: stored property 'onEvent' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<GatewayIncoming.Data>'; this is an error in the Swift 6 language mode
  28 |     /// An ``EventDispatch`` that is notified when an event dispatch
  29 |     /// is received from the Gateway.
  30 |     public let onEvent = EventDispatch<GatewayIncoming.Data>()
     |                `- warning: stored property 'onEvent' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<GatewayIncoming.Data>'; this is an error in the Swift 6 language mode
  31 |
  32 |     /// An ``EventDispatch`` that is notified when the gateway closes
/host/spi-builder-workspace/Sources/DiscordKitCore/Utils/EventDispatch.swift:15:14: note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 13 | /// as well as optimise some portions. Adapted from:
 14 | /// [swift-event-dispatch](https://github.com/gongzhang/)
 15 | public class EventDispatch<Event>: EventDispatchProtocol {
    |              `- note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 16 |     public typealias HandlerIdentifier = Int
 17 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:34:16: warning: stored property 'onAuthFailure' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<Void>'; this is an error in the Swift 6 language mode
  32 |     /// An ``EventDispatch`` that is notified when the gateway closes
  33 |     /// with an auth failure, or when no connection info is available.
  34 |     public let onAuthFailure = EventDispatch<Void>()
     |                `- warning: stored property 'onAuthFailure' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<Void>'; this is an error in the Swift 6 language mode
  35 |
  36 |     /// An ``EventDispatch`` that is notified when the session opens/closes
/host/spi-builder-workspace/Sources/DiscordKitCore/Utils/EventDispatch.swift:15:14: note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 13 | /// as well as optimise some portions. Adapted from:
 14 | /// [swift-event-dispatch](https://github.com/gongzhang/)
 15 | public class EventDispatch<Event>: EventDispatchProtocol {
    |              `- note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 16 |     public typealias HandlerIdentifier = Int
 17 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:39:16: warning: stored property 'onConnStateChange' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<(Bool, Bool)>'; this is an error in the Swift 6 language mode
  37 |     /// or reachability status changes. Event is notified with
  38 |     /// a (sessionOpen: Bool, reachable: Bool) tuple.
  39 |     public let onConnStateChange = EventDispatch<(Bool, Bool)>()
     |                `- warning: stored property 'onConnStateChange' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<(Bool, Bool)>'; this is an error in the Swift 6 language mode
  40 |
  41 |     /// An ``EventDispatch`` that is notified when the saved session is
/host/spi-builder-workspace/Sources/DiscordKitCore/Utils/EventDispatch.swift:15:14: note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 13 | /// as well as optimise some portions. Adapted from:
 14 | /// [swift-event-dispatch](https://github.com/gongzhang/)
 15 | public class EventDispatch<Event>: EventDispatchProtocol {
    |              `- note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 16 |     public typealias HandlerIdentifier = Int
 17 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:43:16: warning: stored property 'onSessionInvalid' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<Void>'; this is an error in the Swift 6 language mode
  41 |     /// An ``EventDispatch`` that is notified when the saved session is
  42 |     /// no longer trusted and the next connection will identify fresh.
  43 |     public let onSessionInvalid = EventDispatch<Void>()
     |                `- warning: stored property 'onSessionInvalid' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<Void>'; this is an error in the Swift 6 language mode
  44 |
  45 |     private enum ConnectionState: String {
/host/spi-builder-workspace/Sources/DiscordKitCore/Utils/EventDispatch.swift:15:14: note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 13 | /// as well as optimise some portions. Adapted from:
 14 | /// [swift-event-dispatch](https://github.com/gongzhang/)
 15 | public class EventDispatch<Event>: EventDispatchProtocol {
    |              `- note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 16 |     public typealias HandlerIdentifier = Int
 17 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:83:17: warning: stored property 'session' of 'Sendable'-conforming class 'RobustWebSocket' is mutable; this is an error in the Swift 6 language mode
  81 |     private static let authFailureCloseCode = 4004
  82 |
  83 |     private var session: URLSession!
     |                 `- warning: stored property 'session' of 'Sendable'-conforming class 'RobustWebSocket' is mutable; this is an error in the Swift 6 language mode
  84 |     private var decompressor = DecompressionEngine()
  85 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:259:17: warning: no calls to throwing functions occur within 'try' expression
 257 |             socket = webSocket
 258 |             do {
 259 |                 try webSocket.connect(
     |                 `- warning: no calls to throwing functions occur within 'try' expression
 260 |                     url: connectionURL,
 261 |                     headers: HTTPHeaders(dictionaryLiteral: ("User-Agent", DiscordKitConfig.default.userAgent))
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:263:15: warning: 'catch' block is unreachable because no errors are thrown in 'do' block
 261 |                     headers: HTTPHeaders(dictionaryLiteral: ("User-Agent", DiscordKitConfig.default.userAgent))
 262 |                 )
 263 |             } catch {
     |               `- warning: 'catch' block is unreachable because no errors are thrown in 'do' block
 264 |                 if handleClose(
 265 |                     wasClean: false,
[632/669] Compiling DiscordKitCore DecompressionEngine.swift
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:25:14: warning: non-final class 'RobustWebSocket' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
  23 | /// A robust WebSocket that handles resuming, reconnection and heartbeats
  24 | /// with the Discord Gateway.
  25 | public class RobustWebSocket: NSObject {
     |              `- warning: non-final class 'RobustWebSocket' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
  26 |     // swiftlint:disable:previous type_body_length
  27 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:30:16: warning: stored property 'onEvent' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<GatewayIncoming.Data>'; this is an error in the Swift 6 language mode
  28 |     /// An ``EventDispatch`` that is notified when an event dispatch
  29 |     /// is received from the Gateway.
  30 |     public let onEvent = EventDispatch<GatewayIncoming.Data>()
     |                `- warning: stored property 'onEvent' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<GatewayIncoming.Data>'; this is an error in the Swift 6 language mode
  31 |
  32 |     /// An ``EventDispatch`` that is notified when the gateway closes
/host/spi-builder-workspace/Sources/DiscordKitCore/Utils/EventDispatch.swift:15:14: note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 13 | /// as well as optimise some portions. Adapted from:
 14 | /// [swift-event-dispatch](https://github.com/gongzhang/)
 15 | public class EventDispatch<Event>: EventDispatchProtocol {
    |              `- note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 16 |     public typealias HandlerIdentifier = Int
 17 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:34:16: warning: stored property 'onAuthFailure' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<Void>'; this is an error in the Swift 6 language mode
  32 |     /// An ``EventDispatch`` that is notified when the gateway closes
  33 |     /// with an auth failure, or when no connection info is available.
  34 |     public let onAuthFailure = EventDispatch<Void>()
     |                `- warning: stored property 'onAuthFailure' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<Void>'; this is an error in the Swift 6 language mode
  35 |
  36 |     /// An ``EventDispatch`` that is notified when the session opens/closes
/host/spi-builder-workspace/Sources/DiscordKitCore/Utils/EventDispatch.swift:15:14: note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 13 | /// as well as optimise some portions. Adapted from:
 14 | /// [swift-event-dispatch](https://github.com/gongzhang/)
 15 | public class EventDispatch<Event>: EventDispatchProtocol {
    |              `- note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 16 |     public typealias HandlerIdentifier = Int
 17 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:39:16: warning: stored property 'onConnStateChange' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<(Bool, Bool)>'; this is an error in the Swift 6 language mode
  37 |     /// or reachability status changes. Event is notified with
  38 |     /// a (sessionOpen: Bool, reachable: Bool) tuple.
  39 |     public let onConnStateChange = EventDispatch<(Bool, Bool)>()
     |                `- warning: stored property 'onConnStateChange' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<(Bool, Bool)>'; this is an error in the Swift 6 language mode
  40 |
  41 |     /// An ``EventDispatch`` that is notified when the saved session is
/host/spi-builder-workspace/Sources/DiscordKitCore/Utils/EventDispatch.swift:15:14: note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 13 | /// as well as optimise some portions. Adapted from:
 14 | /// [swift-event-dispatch](https://github.com/gongzhang/)
 15 | public class EventDispatch<Event>: EventDispatchProtocol {
    |              `- note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 16 |     public typealias HandlerIdentifier = Int
 17 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:43:16: warning: stored property 'onSessionInvalid' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<Void>'; this is an error in the Swift 6 language mode
  41 |     /// An ``EventDispatch`` that is notified when the saved session is
  42 |     /// no longer trusted and the next connection will identify fresh.
  43 |     public let onSessionInvalid = EventDispatch<Void>()
     |                `- warning: stored property 'onSessionInvalid' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<Void>'; this is an error in the Swift 6 language mode
  44 |
  45 |     private enum ConnectionState: String {
/host/spi-builder-workspace/Sources/DiscordKitCore/Utils/EventDispatch.swift:15:14: note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 13 | /// as well as optimise some portions. Adapted from:
 14 | /// [swift-event-dispatch](https://github.com/gongzhang/)
 15 | public class EventDispatch<Event>: EventDispatchProtocol {
    |              `- note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 16 |     public typealias HandlerIdentifier = Int
 17 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:83:17: warning: stored property 'session' of 'Sendable'-conforming class 'RobustWebSocket' is mutable; this is an error in the Swift 6 language mode
  81 |     private static let authFailureCloseCode = 4004
  82 |
  83 |     private var session: URLSession!
     |                 `- warning: stored property 'session' of 'Sendable'-conforming class 'RobustWebSocket' is mutable; this is an error in the Swift 6 language mode
  84 |     private var decompressor = DecompressionEngine()
  85 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:259:17: warning: no calls to throwing functions occur within 'try' expression
 257 |             socket = webSocket
 258 |             do {
 259 |                 try webSocket.connect(
     |                 `- warning: no calls to throwing functions occur within 'try' expression
 260 |                     url: connectionURL,
 261 |                     headers: HTTPHeaders(dictionaryLiteral: ("User-Agent", DiscordKitConfig.default.userAgent))
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:263:15: warning: 'catch' block is unreachable because no errors are thrown in 'do' block
 261 |                     headers: HTTPHeaders(dictionaryLiteral: ("User-Agent", DiscordKitConfig.default.userAgent))
 262 |                 )
 263 |             } catch {
     |               `- warning: 'catch' block is unreachable because no errors are thrown in 'do' block
 264 |                 if handleClose(
 265 |                     wasClean: false,
[633/669] Compiling DiscordKitCore GatewayIdentify.swift
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:25:14: warning: non-final class 'RobustWebSocket' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
  23 | /// A robust WebSocket that handles resuming, reconnection and heartbeats
  24 | /// with the Discord Gateway.
  25 | public class RobustWebSocket: NSObject {
     |              `- warning: non-final class 'RobustWebSocket' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
  26 |     // swiftlint:disable:previous type_body_length
  27 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:30:16: warning: stored property 'onEvent' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<GatewayIncoming.Data>'; this is an error in the Swift 6 language mode
  28 |     /// An ``EventDispatch`` that is notified when an event dispatch
  29 |     /// is received from the Gateway.
  30 |     public let onEvent = EventDispatch<GatewayIncoming.Data>()
     |                `- warning: stored property 'onEvent' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<GatewayIncoming.Data>'; this is an error in the Swift 6 language mode
  31 |
  32 |     /// An ``EventDispatch`` that is notified when the gateway closes
/host/spi-builder-workspace/Sources/DiscordKitCore/Utils/EventDispatch.swift:15:14: note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 13 | /// as well as optimise some portions. Adapted from:
 14 | /// [swift-event-dispatch](https://github.com/gongzhang/)
 15 | public class EventDispatch<Event>: EventDispatchProtocol {
    |              `- note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 16 |     public typealias HandlerIdentifier = Int
 17 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:34:16: warning: stored property 'onAuthFailure' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<Void>'; this is an error in the Swift 6 language mode
  32 |     /// An ``EventDispatch`` that is notified when the gateway closes
  33 |     /// with an auth failure, or when no connection info is available.
  34 |     public let onAuthFailure = EventDispatch<Void>()
     |                `- warning: stored property 'onAuthFailure' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<Void>'; this is an error in the Swift 6 language mode
  35 |
  36 |     /// An ``EventDispatch`` that is notified when the session opens/closes
/host/spi-builder-workspace/Sources/DiscordKitCore/Utils/EventDispatch.swift:15:14: note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 13 | /// as well as optimise some portions. Adapted from:
 14 | /// [swift-event-dispatch](https://github.com/gongzhang/)
 15 | public class EventDispatch<Event>: EventDispatchProtocol {
    |              `- note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 16 |     public typealias HandlerIdentifier = Int
 17 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:39:16: warning: stored property 'onConnStateChange' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<(Bool, Bool)>'; this is an error in the Swift 6 language mode
  37 |     /// or reachability status changes. Event is notified with
  38 |     /// a (sessionOpen: Bool, reachable: Bool) tuple.
  39 |     public let onConnStateChange = EventDispatch<(Bool, Bool)>()
     |                `- warning: stored property 'onConnStateChange' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<(Bool, Bool)>'; this is an error in the Swift 6 language mode
  40 |
  41 |     /// An ``EventDispatch`` that is notified when the saved session is
/host/spi-builder-workspace/Sources/DiscordKitCore/Utils/EventDispatch.swift:15:14: note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 13 | /// as well as optimise some portions. Adapted from:
 14 | /// [swift-event-dispatch](https://github.com/gongzhang/)
 15 | public class EventDispatch<Event>: EventDispatchProtocol {
    |              `- note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 16 |     public typealias HandlerIdentifier = Int
 17 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:43:16: warning: stored property 'onSessionInvalid' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<Void>'; this is an error in the Swift 6 language mode
  41 |     /// An ``EventDispatch`` that is notified when the saved session is
  42 |     /// no longer trusted and the next connection will identify fresh.
  43 |     public let onSessionInvalid = EventDispatch<Void>()
     |                `- warning: stored property 'onSessionInvalid' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<Void>'; this is an error in the Swift 6 language mode
  44 |
  45 |     private enum ConnectionState: String {
/host/spi-builder-workspace/Sources/DiscordKitCore/Utils/EventDispatch.swift:15:14: note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 13 | /// as well as optimise some portions. Adapted from:
 14 | /// [swift-event-dispatch](https://github.com/gongzhang/)
 15 | public class EventDispatch<Event>: EventDispatchProtocol {
    |              `- note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 16 |     public typealias HandlerIdentifier = Int
 17 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:83:17: warning: stored property 'session' of 'Sendable'-conforming class 'RobustWebSocket' is mutable; this is an error in the Swift 6 language mode
  81 |     private static let authFailureCloseCode = 4004
  82 |
  83 |     private var session: URLSession!
     |                 `- warning: stored property 'session' of 'Sendable'-conforming class 'RobustWebSocket' is mutable; this is an error in the Swift 6 language mode
  84 |     private var decompressor = DecompressionEngine()
  85 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:259:17: warning: no calls to throwing functions occur within 'try' expression
 257 |             socket = webSocket
 258 |             do {
 259 |                 try webSocket.connect(
     |                 `- warning: no calls to throwing functions occur within 'try' expression
 260 |                     url: connectionURL,
 261 |                     headers: HTTPHeaders(dictionaryLiteral: ("User-Agent", DiscordKitConfig.default.userAgent))
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:263:15: warning: 'catch' block is unreachable because no errors are thrown in 'do' block
 261 |                     headers: HTTPHeaders(dictionaryLiteral: ("User-Agent", DiscordKitConfig.default.userAgent))
 262 |                 )
 263 |             } catch {
     |               `- warning: 'catch' block is unreachable because no errors are thrown in 'do' block
 264 |                 if handleClose(
 265 |                     wasClean: false,
[634/669] Compiling DiscordKitCore Intents.swift
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:25:14: warning: non-final class 'RobustWebSocket' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
  23 | /// A robust WebSocket that handles resuming, reconnection and heartbeats
  24 | /// with the Discord Gateway.
  25 | public class RobustWebSocket: NSObject {
     |              `- warning: non-final class 'RobustWebSocket' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
  26 |     // swiftlint:disable:previous type_body_length
  27 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:30:16: warning: stored property 'onEvent' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<GatewayIncoming.Data>'; this is an error in the Swift 6 language mode
  28 |     /// An ``EventDispatch`` that is notified when an event dispatch
  29 |     /// is received from the Gateway.
  30 |     public let onEvent = EventDispatch<GatewayIncoming.Data>()
     |                `- warning: stored property 'onEvent' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<GatewayIncoming.Data>'; this is an error in the Swift 6 language mode
  31 |
  32 |     /// An ``EventDispatch`` that is notified when the gateway closes
/host/spi-builder-workspace/Sources/DiscordKitCore/Utils/EventDispatch.swift:15:14: note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 13 | /// as well as optimise some portions. Adapted from:
 14 | /// [swift-event-dispatch](https://github.com/gongzhang/)
 15 | public class EventDispatch<Event>: EventDispatchProtocol {
    |              `- note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 16 |     public typealias HandlerIdentifier = Int
 17 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:34:16: warning: stored property 'onAuthFailure' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<Void>'; this is an error in the Swift 6 language mode
  32 |     /// An ``EventDispatch`` that is notified when the gateway closes
  33 |     /// with an auth failure, or when no connection info is available.
  34 |     public let onAuthFailure = EventDispatch<Void>()
     |                `- warning: stored property 'onAuthFailure' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<Void>'; this is an error in the Swift 6 language mode
  35 |
  36 |     /// An ``EventDispatch`` that is notified when the session opens/closes
/host/spi-builder-workspace/Sources/DiscordKitCore/Utils/EventDispatch.swift:15:14: note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 13 | /// as well as optimise some portions. Adapted from:
 14 | /// [swift-event-dispatch](https://github.com/gongzhang/)
 15 | public class EventDispatch<Event>: EventDispatchProtocol {
    |              `- note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 16 |     public typealias HandlerIdentifier = Int
 17 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:39:16: warning: stored property 'onConnStateChange' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<(Bool, Bool)>'; this is an error in the Swift 6 language mode
  37 |     /// or reachability status changes. Event is notified with
  38 |     /// a (sessionOpen: Bool, reachable: Bool) tuple.
  39 |     public let onConnStateChange = EventDispatch<(Bool, Bool)>()
     |                `- warning: stored property 'onConnStateChange' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<(Bool, Bool)>'; this is an error in the Swift 6 language mode
  40 |
  41 |     /// An ``EventDispatch`` that is notified when the saved session is
/host/spi-builder-workspace/Sources/DiscordKitCore/Utils/EventDispatch.swift:15:14: note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 13 | /// as well as optimise some portions. Adapted from:
 14 | /// [swift-event-dispatch](https://github.com/gongzhang/)
 15 | public class EventDispatch<Event>: EventDispatchProtocol {
    |              `- note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 16 |     public typealias HandlerIdentifier = Int
 17 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:43:16: warning: stored property 'onSessionInvalid' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<Void>'; this is an error in the Swift 6 language mode
  41 |     /// An ``EventDispatch`` that is notified when the saved session is
  42 |     /// no longer trusted and the next connection will identify fresh.
  43 |     public let onSessionInvalid = EventDispatch<Void>()
     |                `- warning: stored property 'onSessionInvalid' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<Void>'; this is an error in the Swift 6 language mode
  44 |
  45 |     private enum ConnectionState: String {
/host/spi-builder-workspace/Sources/DiscordKitCore/Utils/EventDispatch.swift:15:14: note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 13 | /// as well as optimise some portions. Adapted from:
 14 | /// [swift-event-dispatch](https://github.com/gongzhang/)
 15 | public class EventDispatch<Event>: EventDispatchProtocol {
    |              `- note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 16 |     public typealias HandlerIdentifier = Int
 17 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:83:17: warning: stored property 'session' of 'Sendable'-conforming class 'RobustWebSocket' is mutable; this is an error in the Swift 6 language mode
  81 |     private static let authFailureCloseCode = 4004
  82 |
  83 |     private var session: URLSession!
     |                 `- warning: stored property 'session' of 'Sendable'-conforming class 'RobustWebSocket' is mutable; this is an error in the Swift 6 language mode
  84 |     private var decompressor = DecompressionEngine()
  85 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:259:17: warning: no calls to throwing functions occur within 'try' expression
 257 |             socket = webSocket
 258 |             do {
 259 |                 try webSocket.connect(
     |                 `- warning: no calls to throwing functions occur within 'try' expression
 260 |                     url: connectionURL,
 261 |                     headers: HTTPHeaders(dictionaryLiteral: ("User-Agent", DiscordKitConfig.default.userAgent))
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:263:15: warning: 'catch' block is unreachable because no errors are thrown in 'do' block
 261 |                     headers: HTTPHeaders(dictionaryLiteral: ("User-Agent", DiscordKitConfig.default.userAgent))
 262 |                 )
 263 |             } catch {
     |               `- warning: 'catch' block is unreachable because no errors are thrown in 'do' block
 264 |                 if handleClose(
 265 |                     wasClean: false,
[635/669] Compiling DiscordKitCore RobustWebSocket.swift
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:25:14: warning: non-final class 'RobustWebSocket' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
  23 | /// A robust WebSocket that handles resuming, reconnection and heartbeats
  24 | /// with the Discord Gateway.
  25 | public class RobustWebSocket: NSObject {
     |              `- warning: non-final class 'RobustWebSocket' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
  26 |     // swiftlint:disable:previous type_body_length
  27 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:30:16: warning: stored property 'onEvent' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<GatewayIncoming.Data>'; this is an error in the Swift 6 language mode
  28 |     /// An ``EventDispatch`` that is notified when an event dispatch
  29 |     /// is received from the Gateway.
  30 |     public let onEvent = EventDispatch<GatewayIncoming.Data>()
     |                `- warning: stored property 'onEvent' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<GatewayIncoming.Data>'; this is an error in the Swift 6 language mode
  31 |
  32 |     /// An ``EventDispatch`` that is notified when the gateway closes
/host/spi-builder-workspace/Sources/DiscordKitCore/Utils/EventDispatch.swift:15:14: note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 13 | /// as well as optimise some portions. Adapted from:
 14 | /// [swift-event-dispatch](https://github.com/gongzhang/)
 15 | public class EventDispatch<Event>: EventDispatchProtocol {
    |              `- note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 16 |     public typealias HandlerIdentifier = Int
 17 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:34:16: warning: stored property 'onAuthFailure' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<Void>'; this is an error in the Swift 6 language mode
  32 |     /// An ``EventDispatch`` that is notified when the gateway closes
  33 |     /// with an auth failure, or when no connection info is available.
  34 |     public let onAuthFailure = EventDispatch<Void>()
     |                `- warning: stored property 'onAuthFailure' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<Void>'; this is an error in the Swift 6 language mode
  35 |
  36 |     /// An ``EventDispatch`` that is notified when the session opens/closes
/host/spi-builder-workspace/Sources/DiscordKitCore/Utils/EventDispatch.swift:15:14: note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 13 | /// as well as optimise some portions. Adapted from:
 14 | /// [swift-event-dispatch](https://github.com/gongzhang/)
 15 | public class EventDispatch<Event>: EventDispatchProtocol {
    |              `- note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 16 |     public typealias HandlerIdentifier = Int
 17 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:39:16: warning: stored property 'onConnStateChange' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<(Bool, Bool)>'; this is an error in the Swift 6 language mode
  37 |     /// or reachability status changes. Event is notified with
  38 |     /// a (sessionOpen: Bool, reachable: Bool) tuple.
  39 |     public let onConnStateChange = EventDispatch<(Bool, Bool)>()
     |                `- warning: stored property 'onConnStateChange' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<(Bool, Bool)>'; this is an error in the Swift 6 language mode
  40 |
  41 |     /// An ``EventDispatch`` that is notified when the saved session is
/host/spi-builder-workspace/Sources/DiscordKitCore/Utils/EventDispatch.swift:15:14: note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 13 | /// as well as optimise some portions. Adapted from:
 14 | /// [swift-event-dispatch](https://github.com/gongzhang/)
 15 | public class EventDispatch<Event>: EventDispatchProtocol {
    |              `- note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 16 |     public typealias HandlerIdentifier = Int
 17 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:43:16: warning: stored property 'onSessionInvalid' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<Void>'; this is an error in the Swift 6 language mode
  41 |     /// An ``EventDispatch`` that is notified when the saved session is
  42 |     /// no longer trusted and the next connection will identify fresh.
  43 |     public let onSessionInvalid = EventDispatch<Void>()
     |                `- warning: stored property 'onSessionInvalid' of 'Sendable'-conforming class 'RobustWebSocket' has non-sendable type 'EventDispatch<Void>'; this is an error in the Swift 6 language mode
  44 |
  45 |     private enum ConnectionState: String {
/host/spi-builder-workspace/Sources/DiscordKitCore/Utils/EventDispatch.swift:15:14: note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 13 | /// as well as optimise some portions. Adapted from:
 14 | /// [swift-event-dispatch](https://github.com/gongzhang/)
 15 | public class EventDispatch<Event>: EventDispatchProtocol {
    |              `- note: generic class 'EventDispatch' does not conform to the 'Sendable' protocol
 16 |     public typealias HandlerIdentifier = Int
 17 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:83:17: warning: stored property 'session' of 'Sendable'-conforming class 'RobustWebSocket' is mutable; this is an error in the Swift 6 language mode
  81 |     private static let authFailureCloseCode = 4004
  82 |
  83 |     private var session: URLSession!
     |                 `- warning: stored property 'session' of 'Sendable'-conforming class 'RobustWebSocket' is mutable; this is an error in the Swift 6 language mode
  84 |     private var decompressor = DecompressionEngine()
  85 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:259:17: warning: no calls to throwing functions occur within 'try' expression
 257 |             socket = webSocket
 258 |             do {
 259 |                 try webSocket.connect(
     |                 `- warning: no calls to throwing functions occur within 'try' expression
 260 |                     url: connectionURL,
 261 |                     headers: HTTPHeaders(dictionaryLiteral: ("User-Agent", DiscordKitConfig.default.userAgent))
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:263:15: warning: 'catch' block is unreachable because no errors are thrown in 'do' block
 261 |                     headers: HTTPHeaders(dictionaryLiteral: ("User-Agent", DiscordKitConfig.default.userAgent))
 262 |                 )
 263 |             } catch {
     |               `- warning: 'catch' block is unreachable because no errors are thrown in 'do' block
 264 |                 if handleClose(
 265 |                     wasClean: false,
[636/669] Compiling DiscordKitCore Activity.swift
[637/669] Compiling DiscordKitCore AppCommand.swift
[638/669] Compiling DiscordKitCore Application.swift
[639/669] Compiling DiscordKitCore Attachment.swift
[640/669] Compiling DiscordKitCore Channel.swift
[641/669] Compiling DiscordKitCore ClientProperties.swift
[642/669] Compiling DiscordKitCore Collectibles.swift
[643/669] Compiling DiscordKitCore Connection.swift
[644/669] Compiling DiscordKitCore Embed.swift
[645/669] Compiling DiscordKitCore Emoji.swift
[646/669] Compiling DiscordKitCore Guild.swift
[647/669] Compiling DiscordKitCore Integration.swift
[648/669] Compiling DiscordKitCore Interaction.swift
[649/669] Compiling DiscordKitCore Levels.swift
[650/669] Compiling DiscordKitCore Locale.swift
[651/669] Compiling DiscordKitCore Member+Flags.swift
[652/669] Compiling DiscordKitCore Member.swift
[653/669] Compiling DiscordKitCore Mention.swift
[654/669] Compiling DiscordKitCore Message.swift
[655/669] Compiling DiscordKitCore MessageSnapshot.swift
[656/669] Compiling DiscordKitCore Nonce.swift
[657/669] Compiling DiscordKitCore Permission.swift
[658/669] Compiling DiscordKitCore Poll.swift
[659/669] Compiling DiscordKitCore Presence.swift
[660/669] Compiling DiscordKitCore Reaction.swift
[661/669] Compiling DiscordKitCore Snowflake.swift
[662/669] Compiling DiscordKitCore Soundboard.swift
[663/669] Compiling DiscordKitCore Stage.swift
[664/669] Compiling DiscordKitCore Sticker.swift
[665/669] Compiling DiscordKitCore Stream.swift
[666/669] Compiling DiscordKitCore Team.swift
[667/669] Compiling DiscordKitCore User+Flags.swift
[668/669] Compiling DiscordKitCore User+PremiumType.swift
[669/669] Compiling DiscordKitCore User.swift
BUILD FAILURE 6.1 linux