Build Information
Failed to build DiscordKit, reference main (2da56f), with Swift 6.3 for Linux on 13 Apr 2026 16:01:52 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
45 | // swiftlint:disable:previous type_body_length
46 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:49: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
47 | /// An ``EventDispatch`` that is notified when an event dispatch
48 | /// is received from the Gateway
49 | 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
50 |
51 | /// 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:54:16: warning: stored property 'onAuthFailure' of 'Sendable'-conforming class 'RobustWebSocket' has non-Sendable type 'EventDispatch<()>'; this is an error in the Swift 6 language mode
52 | /// with an auth failure, or when the token is not present
53 | /// in the keychain
54 | public let onAuthFailure = EventDispatch<Void>()
| `- warning: stored property 'onAuthFailure' of 'Sendable'-conforming class 'RobustWebSocket' has non-Sendable type 'EventDispatch<()>'; this is an error in the Swift 6 language mode
55 |
56 | /// 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:59: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
57 | /// or reachability status changes. Event is notified with
58 | /// a (sessionOpen: Bool, reachable: Bool) tuple.
59 | 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
60 |
61 | /// An ``EventDispatch`` that is notified when the session cannot be
/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:65:16: warning: stored property 'onSessionInvalid' of 'Sendable'-conforming class 'RobustWebSocket' has non-Sendable type 'EventDispatch<()>'; this is an error in the Swift 6 language mode
63 | /// long and the session is invalidated. A fresh reconnection will
64 | /// be attempted if/when this happens.
65 | public let onSessionInvalid = EventDispatch<Void>()
| `- warning: stored property 'onSessionInvalid' of 'Sendable'-conforming class 'RobustWebSocket' has non-Sendable type 'EventDispatch<()>'; this is an error in the Swift 6 language mode
66 |
67 | private var session: URLSession!, decompressor: DecompressionEngine!
/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:67:17: warning: stored property 'session' of 'Sendable'-conforming class 'RobustWebSocket' is mutable; this is an error in the Swift 6 language mode
65 | public let onSessionInvalid = EventDispatch<Void>()
66 |
67 | private var session: URLSession!, decompressor: DecompressionEngine!
| `- warning: stored property 'session' of 'Sendable'-conforming class 'RobustWebSocket' is mutable; this is an error in the Swift 6 language mode
68 |
69 | #if canImport(WebSocket)
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:274:13: warning: no calls to throwing functions occur within 'try' expression
272 | socket = WebSocket()
273 | do {
274 | try socket.connect(url: connectionURL, headers: HTTPHeaders(dictionaryLiteral: ("User-Agent", DiscordKitConfig.default.userAgent)))
| `- warning: no calls to throwing functions occur within 'try' expression
275 | } catch {
276 | Self.log.critical("Failed to connect to Gateway", metadata: ["Reason": "\(error.localizedDescription)"])
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:275:11: warning: 'catch' block is unreachable because no errors are thrown in 'do' block
273 | do {
274 | try socket.connect(url: connectionURL, headers: HTTPHeaders(dictionaryLiteral: ("User-Agent", DiscordKitConfig.default.userAgent)))
275 | } catch {
| `- warning: 'catch' block is unreachable because no errors are thrown in 'do' block
276 | Self.log.critical("Failed to connect to Gateway", metadata: ["Reason": "\(error.localizedDescription)"])
277 | }
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:643:24: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
641 | Self.log.trace("Outgoing Payload", metadata: [
642 | "opcode": "\(opcode)",
643 | "data": "\((T.self == GatewayIdentify.self ? nil : data))", // Don't log tokens.
| | |- note: use a default value parameter to avoid this warning
| | |- note: provide a default value to avoid this warning
| | `- note: use 'String(describing:)' to silence this warning
| `- warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
644 | "seq": "\(seq ?? -1)"
645 | ])
[1092/1096] Compiling DiscordKitCore Connection.swift
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:44:14: warning: non-final class 'RobustWebSocket' cannot conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
42 | /// > Use ``DiscordGateway`` instead of this class - it uses ``RobustWebSocket``
43 | /// > underlyingly and is higher-level for more ease of use.
44 | public class RobustWebSocket: NSObject {
| `- warning: non-final class 'RobustWebSocket' cannot conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
45 | // swiftlint:disable:previous type_body_length
46 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:49: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
47 | /// An ``EventDispatch`` that is notified when an event dispatch
48 | /// is received from the Gateway
49 | 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
50 |
51 | /// 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:54:16: warning: stored property 'onAuthFailure' of 'Sendable'-conforming class 'RobustWebSocket' has non-Sendable type 'EventDispatch<()>'; this is an error in the Swift 6 language mode
52 | /// with an auth failure, or when the token is not present
53 | /// in the keychain
54 | public let onAuthFailure = EventDispatch<Void>()
| `- warning: stored property 'onAuthFailure' of 'Sendable'-conforming class 'RobustWebSocket' has non-Sendable type 'EventDispatch<()>'; this is an error in the Swift 6 language mode
55 |
56 | /// 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:59: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
57 | /// or reachability status changes. Event is notified with
58 | /// a (sessionOpen: Bool, reachable: Bool) tuple.
59 | 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
60 |
61 | /// An ``EventDispatch`` that is notified when the session cannot be
/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:65:16: warning: stored property 'onSessionInvalid' of 'Sendable'-conforming class 'RobustWebSocket' has non-Sendable type 'EventDispatch<()>'; this is an error in the Swift 6 language mode
63 | /// long and the session is invalidated. A fresh reconnection will
64 | /// be attempted if/when this happens.
65 | public let onSessionInvalid = EventDispatch<Void>()
| `- warning: stored property 'onSessionInvalid' of 'Sendable'-conforming class 'RobustWebSocket' has non-Sendable type 'EventDispatch<()>'; this is an error in the Swift 6 language mode
66 |
67 | private var session: URLSession!, decompressor: DecompressionEngine!
/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:67:17: warning: stored property 'session' of 'Sendable'-conforming class 'RobustWebSocket' is mutable; this is an error in the Swift 6 language mode
65 | public let onSessionInvalid = EventDispatch<Void>()
66 |
67 | private var session: URLSession!, decompressor: DecompressionEngine!
| `- warning: stored property 'session' of 'Sendable'-conforming class 'RobustWebSocket' is mutable; this is an error in the Swift 6 language mode
68 |
69 | #if canImport(WebSocket)
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:274:13: warning: no calls to throwing functions occur within 'try' expression
272 | socket = WebSocket()
273 | do {
274 | try socket.connect(url: connectionURL, headers: HTTPHeaders(dictionaryLiteral: ("User-Agent", DiscordKitConfig.default.userAgent)))
| `- warning: no calls to throwing functions occur within 'try' expression
275 | } catch {
276 | Self.log.critical("Failed to connect to Gateway", metadata: ["Reason": "\(error.localizedDescription)"])
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:275:11: warning: 'catch' block is unreachable because no errors are thrown in 'do' block
273 | do {
274 | try socket.connect(url: connectionURL, headers: HTTPHeaders(dictionaryLiteral: ("User-Agent", DiscordKitConfig.default.userAgent)))
275 | } catch {
| `- warning: 'catch' block is unreachable because no errors are thrown in 'do' block
276 | Self.log.critical("Failed to connect to Gateway", metadata: ["Reason": "\(error.localizedDescription)"])
277 | }
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:643:24: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
641 | Self.log.trace("Outgoing Payload", metadata: [
642 | "opcode": "\(opcode)",
643 | "data": "\((T.self == GatewayIdentify.self ? nil : data))", // Don't log tokens.
| | |- note: use a default value parameter to avoid this warning
| | |- note: provide a default value to avoid this warning
| | `- note: use 'String(describing:)' to silence this warning
| `- warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
644 | "seq": "\(seq ?? -1)"
645 | ])
[1093/1096] Compiling DiscordKitCore Embed.swift
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:44:14: warning: non-final class 'RobustWebSocket' cannot conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
42 | /// > Use ``DiscordGateway`` instead of this class - it uses ``RobustWebSocket``
43 | /// > underlyingly and is higher-level for more ease of use.
44 | public class RobustWebSocket: NSObject {
| `- warning: non-final class 'RobustWebSocket' cannot conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
45 | // swiftlint:disable:previous type_body_length
46 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:49: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
47 | /// An ``EventDispatch`` that is notified when an event dispatch
48 | /// is received from the Gateway
49 | 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
50 |
51 | /// 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:54:16: warning: stored property 'onAuthFailure' of 'Sendable'-conforming class 'RobustWebSocket' has non-Sendable type 'EventDispatch<()>'; this is an error in the Swift 6 language mode
52 | /// with an auth failure, or when the token is not present
53 | /// in the keychain
54 | public let onAuthFailure = EventDispatch<Void>()
| `- warning: stored property 'onAuthFailure' of 'Sendable'-conforming class 'RobustWebSocket' has non-Sendable type 'EventDispatch<()>'; this is an error in the Swift 6 language mode
55 |
56 | /// 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:59: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
57 | /// or reachability status changes. Event is notified with
58 | /// a (sessionOpen: Bool, reachable: Bool) tuple.
59 | 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
60 |
61 | /// An ``EventDispatch`` that is notified when the session cannot be
/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:65:16: warning: stored property 'onSessionInvalid' of 'Sendable'-conforming class 'RobustWebSocket' has non-Sendable type 'EventDispatch<()>'; this is an error in the Swift 6 language mode
63 | /// long and the session is invalidated. A fresh reconnection will
64 | /// be attempted if/when this happens.
65 | public let onSessionInvalid = EventDispatch<Void>()
| `- warning: stored property 'onSessionInvalid' of 'Sendable'-conforming class 'RobustWebSocket' has non-Sendable type 'EventDispatch<()>'; this is an error in the Swift 6 language mode
66 |
67 | private var session: URLSession!, decompressor: DecompressionEngine!
/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:67:17: warning: stored property 'session' of 'Sendable'-conforming class 'RobustWebSocket' is mutable; this is an error in the Swift 6 language mode
65 | public let onSessionInvalid = EventDispatch<Void>()
66 |
67 | private var session: URLSession!, decompressor: DecompressionEngine!
| `- warning: stored property 'session' of 'Sendable'-conforming class 'RobustWebSocket' is mutable; this is an error in the Swift 6 language mode
68 |
69 | #if canImport(WebSocket)
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:274:13: warning: no calls to throwing functions occur within 'try' expression
272 | socket = WebSocket()
273 | do {
274 | try socket.connect(url: connectionURL, headers: HTTPHeaders(dictionaryLiteral: ("User-Agent", DiscordKitConfig.default.userAgent)))
| `- warning: no calls to throwing functions occur within 'try' expression
275 | } catch {
276 | Self.log.critical("Failed to connect to Gateway", metadata: ["Reason": "\(error.localizedDescription)"])
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:275:11: warning: 'catch' block is unreachable because no errors are thrown in 'do' block
273 | do {
274 | try socket.connect(url: connectionURL, headers: HTTPHeaders(dictionaryLiteral: ("User-Agent", DiscordKitConfig.default.userAgent)))
275 | } catch {
| `- warning: 'catch' block is unreachable because no errors are thrown in 'do' block
276 | Self.log.critical("Failed to connect to Gateway", metadata: ["Reason": "\(error.localizedDescription)"])
277 | }
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:643:24: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
641 | Self.log.trace("Outgoing Payload", metadata: [
642 | "opcode": "\(opcode)",
643 | "data": "\((T.self == GatewayIdentify.self ? nil : data))", // Don't log tokens.
| | |- note: use a default value parameter to avoid this warning
| | |- note: provide a default value to avoid this warning
| | `- note: use 'String(describing:)' to silence this warning
| `- warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
644 | "seq": "\(seq ?? -1)"
645 | ])
[1094/1096] Compiling DiscordKitCore Emoji.swift
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:44:14: warning: non-final class 'RobustWebSocket' cannot conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
42 | /// > Use ``DiscordGateway`` instead of this class - it uses ``RobustWebSocket``
43 | /// > underlyingly and is higher-level for more ease of use.
44 | public class RobustWebSocket: NSObject {
| `- warning: non-final class 'RobustWebSocket' cannot conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
45 | // swiftlint:disable:previous type_body_length
46 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:49: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
47 | /// An ``EventDispatch`` that is notified when an event dispatch
48 | /// is received from the Gateway
49 | 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
50 |
51 | /// 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:54:16: warning: stored property 'onAuthFailure' of 'Sendable'-conforming class 'RobustWebSocket' has non-Sendable type 'EventDispatch<()>'; this is an error in the Swift 6 language mode
52 | /// with an auth failure, or when the token is not present
53 | /// in the keychain
54 | public let onAuthFailure = EventDispatch<Void>()
| `- warning: stored property 'onAuthFailure' of 'Sendable'-conforming class 'RobustWebSocket' has non-Sendable type 'EventDispatch<()>'; this is an error in the Swift 6 language mode
55 |
56 | /// 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:59: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
57 | /// or reachability status changes. Event is notified with
58 | /// a (sessionOpen: Bool, reachable: Bool) tuple.
59 | 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
60 |
61 | /// An ``EventDispatch`` that is notified when the session cannot be
/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:65:16: warning: stored property 'onSessionInvalid' of 'Sendable'-conforming class 'RobustWebSocket' has non-Sendable type 'EventDispatch<()>'; this is an error in the Swift 6 language mode
63 | /// long and the session is invalidated. A fresh reconnection will
64 | /// be attempted if/when this happens.
65 | public let onSessionInvalid = EventDispatch<Void>()
| `- warning: stored property 'onSessionInvalid' of 'Sendable'-conforming class 'RobustWebSocket' has non-Sendable type 'EventDispatch<()>'; this is an error in the Swift 6 language mode
66 |
67 | private var session: URLSession!, decompressor: DecompressionEngine!
/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:67:17: warning: stored property 'session' of 'Sendable'-conforming class 'RobustWebSocket' is mutable; this is an error in the Swift 6 language mode
65 | public let onSessionInvalid = EventDispatch<Void>()
66 |
67 | private var session: URLSession!, decompressor: DecompressionEngine!
| `- warning: stored property 'session' of 'Sendable'-conforming class 'RobustWebSocket' is mutable; this is an error in the Swift 6 language mode
68 |
69 | #if canImport(WebSocket)
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:274:13: warning: no calls to throwing functions occur within 'try' expression
272 | socket = WebSocket()
273 | do {
274 | try socket.connect(url: connectionURL, headers: HTTPHeaders(dictionaryLiteral: ("User-Agent", DiscordKitConfig.default.userAgent)))
| `- warning: no calls to throwing functions occur within 'try' expression
275 | } catch {
276 | Self.log.critical("Failed to connect to Gateway", metadata: ["Reason": "\(error.localizedDescription)"])
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:275:11: warning: 'catch' block is unreachable because no errors are thrown in 'do' block
273 | do {
274 | try socket.connect(url: connectionURL, headers: HTTPHeaders(dictionaryLiteral: ("User-Agent", DiscordKitConfig.default.userAgent)))
275 | } catch {
| `- warning: 'catch' block is unreachable because no errors are thrown in 'do' block
276 | Self.log.critical("Failed to connect to Gateway", metadata: ["Reason": "\(error.localizedDescription)"])
277 | }
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:643:24: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
641 | Self.log.trace("Outgoing Payload", metadata: [
642 | "opcode": "\(opcode)",
643 | "data": "\((T.self == GatewayIdentify.self ? nil : data))", // Don't log tokens.
| | |- note: use a default value parameter to avoid this warning
| | |- note: provide a default value to avoid this warning
| | `- note: use 'String(describing:)' to silence this warning
| `- warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
644 | "seq": "\(seq ?? -1)"
645 | ])
[1095/1096] Compiling DiscordKitCore Guild.swift
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:44:14: warning: non-final class 'RobustWebSocket' cannot conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
42 | /// > Use ``DiscordGateway`` instead of this class - it uses ``RobustWebSocket``
43 | /// > underlyingly and is higher-level for more ease of use.
44 | public class RobustWebSocket: NSObject {
| `- warning: non-final class 'RobustWebSocket' cannot conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
45 | // swiftlint:disable:previous type_body_length
46 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:49: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
47 | /// An ``EventDispatch`` that is notified when an event dispatch
48 | /// is received from the Gateway
49 | 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
50 |
51 | /// 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:54:16: warning: stored property 'onAuthFailure' of 'Sendable'-conforming class 'RobustWebSocket' has non-Sendable type 'EventDispatch<()>'; this is an error in the Swift 6 language mode
52 | /// with an auth failure, or when the token is not present
53 | /// in the keychain
54 | public let onAuthFailure = EventDispatch<Void>()
| `- warning: stored property 'onAuthFailure' of 'Sendable'-conforming class 'RobustWebSocket' has non-Sendable type 'EventDispatch<()>'; this is an error in the Swift 6 language mode
55 |
56 | /// 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:59: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
57 | /// or reachability status changes. Event is notified with
58 | /// a (sessionOpen: Bool, reachable: Bool) tuple.
59 | 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
60 |
61 | /// An ``EventDispatch`` that is notified when the session cannot be
/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:65:16: warning: stored property 'onSessionInvalid' of 'Sendable'-conforming class 'RobustWebSocket' has non-Sendable type 'EventDispatch<()>'; this is an error in the Swift 6 language mode
63 | /// long and the session is invalidated. A fresh reconnection will
64 | /// be attempted if/when this happens.
65 | public let onSessionInvalid = EventDispatch<Void>()
| `- warning: stored property 'onSessionInvalid' of 'Sendable'-conforming class 'RobustWebSocket' has non-Sendable type 'EventDispatch<()>'; this is an error in the Swift 6 language mode
66 |
67 | private var session: URLSession!, decompressor: DecompressionEngine!
/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:67:17: warning: stored property 'session' of 'Sendable'-conforming class 'RobustWebSocket' is mutable; this is an error in the Swift 6 language mode
65 | public let onSessionInvalid = EventDispatch<Void>()
66 |
67 | private var session: URLSession!, decompressor: DecompressionEngine!
| `- warning: stored property 'session' of 'Sendable'-conforming class 'RobustWebSocket' is mutable; this is an error in the Swift 6 language mode
68 |
69 | #if canImport(WebSocket)
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:274:13: warning: no calls to throwing functions occur within 'try' expression
272 | socket = WebSocket()
273 | do {
274 | try socket.connect(url: connectionURL, headers: HTTPHeaders(dictionaryLiteral: ("User-Agent", DiscordKitConfig.default.userAgent)))
| `- warning: no calls to throwing functions occur within 'try' expression
275 | } catch {
276 | Self.log.critical("Failed to connect to Gateway", metadata: ["Reason": "\(error.localizedDescription)"])
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:275:11: warning: 'catch' block is unreachable because no errors are thrown in 'do' block
273 | do {
274 | try socket.connect(url: connectionURL, headers: HTTPHeaders(dictionaryLiteral: ("User-Agent", DiscordKitConfig.default.userAgent)))
275 | } catch {
| `- warning: 'catch' block is unreachable because no errors are thrown in 'do' block
276 | Self.log.critical("Failed to connect to Gateway", metadata: ["Reason": "\(error.localizedDescription)"])
277 | }
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:643:24: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
641 | Self.log.trace("Outgoing Payload", metadata: [
642 | "opcode": "\(opcode)",
643 | "data": "\((T.self == GatewayIdentify.self ? nil : data))", // Don't log tokens.
| | |- note: use a default value parameter to avoid this warning
| | |- note: provide a default value to avoid this warning
| | `- note: use 'String(describing:)' to silence this warning
| `- warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
644 | "seq": "\(seq ?? -1)"
645 | ])
[1096/1096] Compiling DiscordKitCore Integration.swift
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:44:14: warning: non-final class 'RobustWebSocket' cannot conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
42 | /// > Use ``DiscordGateway`` instead of this class - it uses ``RobustWebSocket``
43 | /// > underlyingly and is higher-level for more ease of use.
44 | public class RobustWebSocket: NSObject {
| `- warning: non-final class 'RobustWebSocket' cannot conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
45 | // swiftlint:disable:previous type_body_length
46 |
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:49: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
47 | /// An ``EventDispatch`` that is notified when an event dispatch
48 | /// is received from the Gateway
49 | 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
50 |
51 | /// 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:54:16: warning: stored property 'onAuthFailure' of 'Sendable'-conforming class 'RobustWebSocket' has non-Sendable type 'EventDispatch<()>'; this is an error in the Swift 6 language mode
52 | /// with an auth failure, or when the token is not present
53 | /// in the keychain
54 | public let onAuthFailure = EventDispatch<Void>()
| `- warning: stored property 'onAuthFailure' of 'Sendable'-conforming class 'RobustWebSocket' has non-Sendable type 'EventDispatch<()>'; this is an error in the Swift 6 language mode
55 |
56 | /// 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:59: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
57 | /// or reachability status changes. Event is notified with
58 | /// a (sessionOpen: Bool, reachable: Bool) tuple.
59 | 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
60 |
61 | /// An ``EventDispatch`` that is notified when the session cannot be
/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:65:16: warning: stored property 'onSessionInvalid' of 'Sendable'-conforming class 'RobustWebSocket' has non-Sendable type 'EventDispatch<()>'; this is an error in the Swift 6 language mode
63 | /// long and the session is invalidated. A fresh reconnection will
64 | /// be attempted if/when this happens.
65 | public let onSessionInvalid = EventDispatch<Void>()
| `- warning: stored property 'onSessionInvalid' of 'Sendable'-conforming class 'RobustWebSocket' has non-Sendable type 'EventDispatch<()>'; this is an error in the Swift 6 language mode
66 |
67 | private var session: URLSession!, decompressor: DecompressionEngine!
/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:67:17: warning: stored property 'session' of 'Sendable'-conforming class 'RobustWebSocket' is mutable; this is an error in the Swift 6 language mode
65 | public let onSessionInvalid = EventDispatch<Void>()
66 |
67 | private var session: URLSession!, decompressor: DecompressionEngine!
| `- warning: stored property 'session' of 'Sendable'-conforming class 'RobustWebSocket' is mutable; this is an error in the Swift 6 language mode
68 |
69 | #if canImport(WebSocket)
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:274:13: warning: no calls to throwing functions occur within 'try' expression
272 | socket = WebSocket()
273 | do {
274 | try socket.connect(url: connectionURL, headers: HTTPHeaders(dictionaryLiteral: ("User-Agent", DiscordKitConfig.default.userAgent)))
| `- warning: no calls to throwing functions occur within 'try' expression
275 | } catch {
276 | Self.log.critical("Failed to connect to Gateway", metadata: ["Reason": "\(error.localizedDescription)"])
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:275:11: warning: 'catch' block is unreachable because no errors are thrown in 'do' block
273 | do {
274 | try socket.connect(url: connectionURL, headers: HTTPHeaders(dictionaryLiteral: ("User-Agent", DiscordKitConfig.default.userAgent)))
275 | } catch {
| `- warning: 'catch' block is unreachable because no errors are thrown in 'do' block
276 | Self.log.critical("Failed to connect to Gateway", metadata: ["Reason": "\(error.localizedDescription)"])
277 | }
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:643:24: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
641 | Self.log.trace("Outgoing Payload", metadata: [
642 | "opcode": "\(opcode)",
643 | "data": "\((T.self == GatewayIdentify.self ? nil : data))", // Don't log tokens.
| | |- note: use a default value parameter to avoid this warning
| | |- note: provide a default value to avoid this warning
| | `- note: use 'String(describing:)' to silence this warning
| `- warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
644 | "seq": "\(seq ?? -1)"
645 | ])
[1098/1140] Emitting module DiscordKitBot
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1099/1142] Emitting module DiscordKit
/host/spi-builder-workspace/Sources/DiscordKit/Gateway/DiscordGateway.swift:20:30: error: cannot find type 'ObservableObject' in scope
18 | ///
19 | /// Conforms to `ObservableObject` for use in SwiftUI projects.
20 | public class DiscordGateway: ObservableObject {
| `- error: cannot find type 'ObservableObject' in scope
21 | // Events
22 | /// An ``EventDispatch`` that is notified when an event is dispatched
/host/spi-builder-workspace/Sources/DiscordKit/Gateway/DiscordGateway.swift:44:6: error: unknown attribute 'Published'
42 | /// > since it doesn't seem to play well with SwiftUI, causing all sorts of
43 | /// > stale UI issues (i.e. stale UI)
44 | @Published public var cache: CachedState = CachedState()
| `- error: unknown attribute 'Published'
45 |
46 | /// An array of presences, kept updated as long as the Gateway connection is active
/host/spi-builder-workspace/Sources/DiscordKit/Gateway/DiscordGateway.swift:49:6: error: unknown attribute 'Published'
47 | ///
48 | /// Contains a dict of user presences, keyed by their respective user IDs
49 | @Published public var presences: [Snowflake: Presence] = [:]
| `- error: unknown attribute 'Published'
50 |
51 | /// An array of guild folders
/host/spi-builder-workspace/Sources/DiscordKit/Gateway/DiscordGateway.swift:52:6: error: unknown attribute 'Published'
50 |
51 | /// An array of guild folders
52 | @Published public var guildFolders: [GuildFolderItem] = []
| `- error: unknown attribute 'Published'
53 |
54 | /// An array of the current user's DMs
/host/spi-builder-workspace/Sources/DiscordKit/Gateway/DiscordGateway.swift:57:6: error: unknown attribute 'Published'
55 | ///
56 | /// Includes both single DMs and group DMs
57 | @Published public var privateChannels: [Channel] = []
| `- error: unknown attribute 'Published'
58 |
59 | /// Read state
/host/spi-builder-workspace/Sources/DiscordKit/Gateway/DiscordGateway.swift:60:6: error: unknown attribute 'Published'
58 |
59 | /// Read state
60 | @Published public var readState: [Snowflake: ReadState.Entry] = [:]
| `- error: unknown attribute 'Published'
61 |
62 | private var evtListenerID: EventDispatch.HandlerIdentifier?,
/host/spi-builder-workspace/Sources/DiscordKit/Gateway/DiscordGateway.swift:69:6: error: unknown attribute 'Published'
67 | ///
68 | /// `@Published` proxy of ``RobustWebSocket/sessionOpen``
69 | @Published public var connected = false
| `- error: unknown attribute 'Published'
70 | /// If the network is reachable (has network connectivity)
71 | ///
/host/spi-builder-workspace/Sources/DiscordKit/Gateway/DiscordGateway.swift:73:6: error: unknown attribute 'Published'
71 | ///
72 | /// `@Published` proxy of ``RobustWebSocket/reachable``
73 | @Published public var reachable = false
| `- error: unknown attribute 'Published'
74 |
75 | // Logger
/host/spi-builder-workspace/Sources/DiscordKit/Gateway/GatewayCachedState.swift:14:27: error: cannot find type 'ObservableObject' in scope
12 | ///
13 | /// Used in ``DiscordGateway/cache``.
14 | public class CachedState: ObservableObject {
| `- error: cannot find type 'ObservableObject' in scope
15 | /// Dictionary of guilds the user is in
16 | ///
/host/spi-builder-workspace/Sources/DiscordKit/Gateway/GatewayCachedState.swift:18:6: error: unknown attribute 'Published'
16 | ///
17 | /// > The guild's ID is its key
18 | @Published public private(set) var guilds: [Snowflake: PreloadedGuild] = [:]
| `- error: unknown attribute 'Published'
19 |
20 | @Published public private(set) var members: [Snowflake: Member] = [:]
/host/spi-builder-workspace/Sources/DiscordKit/Gateway/GatewayCachedState.swift:20:6: error: unknown attribute 'Published'
18 | @Published public private(set) var guilds: [Snowflake: PreloadedGuild] = [:]
19 |
20 | @Published public private(set) var members: [Snowflake: Member] = [:]
| `- error: unknown attribute 'Published'
21 |
22 | /// DM channels the user is in
/host/spi-builder-workspace/Sources/DiscordKit/Gateway/GatewayCachedState.swift:23:6: error: unknown attribute 'Published'
21 |
22 | /// DM channels the user is in
23 | @Published public private(set) var dms: [Channel] = []
| `- error: unknown attribute 'Published'
24 |
25 | /// Cached object of current user
/host/spi-builder-workspace/Sources/DiscordKit/Gateway/GatewayCachedState.swift:26:6: error: unknown attribute 'Published'
24 |
25 | /// Cached object of current user
26 | @Published public private(set) var user: CurrentUser?
| `- error: unknown attribute 'Published'
27 |
28 | /// Cached users, initially populated from `READY` event and might
/host/spi-builder-workspace/Sources/DiscordKit/Gateway/GatewayCachedState.swift:30:6: error: unknown attribute 'Published'
28 | /// Cached users, initially populated from `READY` event and might
29 | /// grow over time
30 | @Published public private(set) var users: [Snowflake: User] = [:]
| `- error: unknown attribute 'Published'
31 |
32 | /// Populates the cache using the provided event.
/host/spi-builder-workspace/Sources/DiscordKit/protos/DiscordProtos.pb.swift:206:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
204 | extension Discord_UserSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
205 | public static let protoMessageName: String = _protobuf_package + ".UserSettings"
206 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
207 | 1: .same(proto: "versions"),
208 | 2: .same(proto: "inbox"),
/host/spi-builder-workspace/Sources/DiscordKit/protos/DiscordProtos.pb.swift:394:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
392 | extension Discord_UserSettings.Versions: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
393 | public static let protoMessageName: String = Discord_UserSettings.protoMessageName + ".Versions"
394 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
395 | 1: .standard(proto: "client_version"),
396 | 2: .standard(proto: "server_version"),
/host/spi-builder-workspace/Sources/DiscordKit/protos/FavoriteChannel.pb.swift:108:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
106 |
107 | extension FavoriteChannelType: SwiftProtobuf._ProtoNameProviding {
108 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
109 | 0: .same(proto: "UNSET_FAVORITE_CHANNEL_TYPE"),
110 | 1: .same(proto: "REFERENCE_ORIGINAL"),
/host/spi-builder-workspace/Sources/DiscordKit/protos/FavoriteChannel.pb.swift:117:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
115 | extension Favorites: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
116 | public static let protoMessageName: String = "Favorites"
117 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
118 | 1: .standard(proto: "favorite_channels"),
119 | 2: .same(proto: "muted"),
/host/spi-builder-workspace/Sources/DiscordKit/protos/FavoriteChannel.pb.swift:155:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
153 | extension FavoriteChannel: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
154 | public static let protoMessageName: String = "FavoriteChannel"
155 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
156 | 1: .same(proto: "nickname"),
157 | 2: .same(proto: "type"),
/host/spi-builder-workspace/Sources/DiscordKit/protos/FavoriteGIFs.pb.swift:111:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
109 |
110 | extension GIFType: SwiftProtobuf._ProtoNameProviding {
111 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
112 | 0: .same(proto: "NONE"),
113 | 1: .same(proto: "IMAGE"),
/host/spi-builder-workspace/Sources/DiscordKit/protos/FavoriteGIFs.pb.swift:120:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
118 | extension FavoriteGIFs: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
119 | public static let protoMessageName: String = "FavoriteGIFs"
120 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
121 | 1: .same(proto: "gifs"),
122 | 2: .standard(proto: "hide_tooltip"),
/host/spi-builder-workspace/Sources/DiscordKit/protos/FavoriteGIFs.pb.swift:158:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
156 | extension FavoriteGIF: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
157 | public static let protoMessageName: String = "FavoriteGIF"
158 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
159 | 1: .same(proto: "type"),
160 | 2: .same(proto: "src"),
/host/spi-builder-workspace/Sources/DiscordKit/protos/GuildFolders.pb.swift:91:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
89 | extension GuildFolders: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
90 | public static let protoMessageName: String = "GuildFolders"
91 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
92 | 1: .same(proto: "folders"),
93 | 2: .standard(proto: "guild_positions"),
/host/spi-builder-workspace/Sources/DiscordKit/protos/GuildFolders.pb.swift:129:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
127 | extension GuildFolder: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
128 | public static let protoMessageName: String = "GuildFolder"
129 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
130 | 1: .standard(proto: "guild_ids"),
131 | 2: .same(proto: "id"),
/host/spi-builder-workspace/Sources/DiscordKit/protos/Settings/AllGuildSettings.pb.swift:73:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
71 | extension AllGuildSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
72 | public static let protoMessageName: String = "AllGuildSettings"
73 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
74 | 1: .same(proto: "guilds"),
75 | ]
/host/spi-builder-workspace/Sources/DiscordKit/protos/Settings/AllGuildSettings.pb.swift:105:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
103 | extension GuildSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
104 | public static let protoMessageName: String = "GuildSettings"
105 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
106 | 1: .same(proto: "channels"),
107 | 2: .standard(proto: "hub_progress"),
/host/spi-builder-workspace/Sources/DiscordKit/protos/Settings/AllGuildSettings.pb.swift:149:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
147 | extension ChannelSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
148 | public static let protoMessageName: String = "ChannelSettings"
149 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
150 | 1: .standard(proto: "collapsed_in_inbox"),
151 | ]
/host/spi-builder-workspace/Sources/DiscordKit/protos/Settings/Appearance.pb.swift:90:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
88 |
89 | extension Theme: SwiftProtobuf._ProtoNameProviding {
90 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
91 | 0: .same(proto: "UNSET"),
92 | 1: .same(proto: "DARK"),
/host/spi-builder-workspace/Sources/DiscordKit/protos/Settings/Appearance.pb.swift:99:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
97 | extension AppearanceSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
98 | public static let protoMessageName: String = "AppearanceSettings"
99 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
100 | 1: .same(proto: "theme"),
101 | 2: .standard(proto: "developer_mode"),
/host/spi-builder-workspace/Sources/DiscordKit/protos/Settings/Audio.pb.swift:62:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
60 | extension AudioSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
61 | public static let protoMessageName: String = "AudioSettings"
62 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
63 | 1: .same(proto: "user"),
64 | 2: .same(proto: "stream"),
/host/spi-builder-workspace/Sources/DiscordKit/protos/Settings/Audio.pb.swift:100:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
98 | extension AudioContextSetting: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
99 | public static let protoMessageName: String = "AudioContextSetting"
100 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
101 | 1: .same(proto: "muted"),
102 | 2: .same(proto: "volume"),
/host/spi-builder-workspace/Sources/DiscordKit/protos/Settings/Debug.pb.swift:52:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
50 | extension DebugSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
51 | public static let protoMessageName: String = "DebugSettings"
52 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
53 | 1: .standard(proto: "rtc_panel_show_voice_states"),
54 | ]
/host/spi-builder-workspace/Sources/DiscordKit/protos/Settings/GameLibrary.pb.swift:72:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
70 | extension GameLibrarySettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
71 | public static let protoMessageName: String = "GameLibrarySettings"
72 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
73 | 1: .standard(proto: "install_shortcut_desktop"),
74 | 2: .standard(proto: "install_shortcut_start_menu"),
/host/spi-builder-workspace/Sources/DiscordKit/protos/Settings/Inbox.pb.swift:94:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
92 |
93 | extension InboxTab: SwiftProtobuf._ProtoNameProviding {
94 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
95 | 0: .same(proto: "UNSPECIFIED"),
96 | 1: .same(proto: "MENTIONS"),
/host/spi-builder-workspace/Sources/DiscordKit/protos/Settings/Inbox.pb.swift:104:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
102 | extension InboxSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
103 | public static let protoMessageName: String = "InboxSettings"
104 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
105 | 1: .standard(proto: "current_tab"),
106 | 2: .standard(proto: "viewed_tutorial"),
/host/spi-builder-workspace/Sources/DiscordKit/protos/Settings/Localization.pb.swift:63:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
61 | extension LocalizationSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
62 | public static let protoMessageName: String = "LocalizationSettings"
63 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
64 | 1: .same(proto: "locale"),
65 | 2: .standard(proto: "timezone_offset"),
/host/spi-builder-workspace/Sources/DiscordKit/protos/Settings/Notification.pb.swift:64:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
62 | extension NotificationSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
63 | public static let protoMessageName: String = "NotificationSettings"
64 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
65 | 1: .standard(proto: "show_in_app_notifications"),
66 | 2: .standard(proto: "notify_friends_on_go_live"),
/host/spi-builder-workspace/Sources/DiscordKit/protos/Settings/Privacy.pb.swift:179:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
177 |
178 | extension GuildActivityStatusRestrictionDefault: SwiftProtobuf._ProtoNameProviding {
179 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
180 | 0: .same(proto: "OFF"),
181 | 1: .same(proto: "ON_FOR_LARGE_GUILDS"),
/host/spi-builder-workspace/Sources/DiscordKit/protos/Settings/Privacy.pb.swift:187:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
185 | extension PrivacySettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
186 | public static let protoMessageName: String = "PrivacySettings"
187 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
188 | 1: .standard(proto: "allow_activity_party_privacy_friends"),
189 | 2: .standard(proto: "allow_activity_party_privacy_voice_channel"),
/host/spi-builder-workspace/Sources/DiscordKit/protos/Settings/TextAndImages.pb.swift:244:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
242 | extension TextAndImagesSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
243 | public static let protoMessageName: String = "TextAndImagesSettings"
244 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
245 | 1: .standard(proto: "diversity_surrogate"),
246 | 2: .standard(proto: "use_rich_chat_input"),
/host/spi-builder-workspace/Sources/DiscordKit/protos/Settings/UserContent.pb.swift:64:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
62 | extension UserContentSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
63 | public static let protoMessageName: String = "UserContentSettings"
64 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
65 | 1: .standard(proto: "dismissed_contents"),
66 | 2: .standard(proto: "last_dismissed_outbound_promotion_start_date"),
/host/spi-builder-workspace/Sources/DiscordKit/protos/Settings/VoiceAndVideo.pb.swift:167:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
165 | extension VoiceAndVideoSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
166 | public static let protoMessageName: String = "VoiceAndVideoSettings"
167 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
168 | 1: .same(proto: "blur"),
169 | 2: .standard(proto: "preset_option"),
/host/spi-builder-workspace/Sources/DiscordKit/protos/Settings/VoiceAndVideo.pb.swift:274:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
272 | extension VideoFilterBackgroundBlur: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
273 | public static let protoMessageName: String = "VideoFilterBackgroundBlur"
274 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
275 | 1: .standard(proto: "use_blur"),
276 | ]
/host/spi-builder-workspace/Sources/DiscordKit/protos/Settings/VoiceAndVideo.pb.swift:306:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
304 | extension VideoFilterAsset: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
305 | public static let protoMessageName: String = "VideoFilterAsset"
306 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
307 | 1: .same(proto: "id"),
308 | 2: .standard(proto: "asset_hash"),
/host/spi-builder-workspace/Sources/DiscordKit/protos/Status.pb.swift:94:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
92 | extension CustomStatus: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
93 | public static let protoMessageName: String = "CustomStatus"
94 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
95 | 1: .same(proto: "text"),
96 | 2: .standard(proto: "emoji_id"),
/host/spi-builder-workspace/Sources/DiscordKit/protos/Status.pb.swift:144:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
142 | extension StatusSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
143 | public static let protoMessageName: String = "StatusSettings"
144 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
145 | 1: .same(proto: "status"),
146 | 2: .standard(proto: "custom_status"),
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1100/1144] Compiling DiscordKit Presence+.swift
[1101/1144] Compiling DiscordKit DiscordGateway.swift
[1102/1144] Compiling DiscordKit GatewayCachedState.swift
/host/spi-builder-workspace/Sources/DiscordKit/Gateway/DiscordGateway.swift:20:30: error: cannot find type 'ObservableObject' in scope
18 | ///
19 | /// Conforms to `ObservableObject` for use in SwiftUI projects.
20 | public class DiscordGateway: ObservableObject {
| `- error: cannot find type 'ObservableObject' in scope
21 | // Events
22 | /// An ``EventDispatch`` that is notified when an event is dispatched
/host/spi-builder-workspace/Sources/DiscordKit/Gateway/DiscordGateway.swift:44:6: error: unknown attribute 'Published'
42 | /// > since it doesn't seem to play well with SwiftUI, causing all sorts of
43 | /// > stale UI issues (i.e. stale UI)
44 | @Published public var cache: CachedState = CachedState()
| `- error: unknown attribute 'Published'
45 |
46 | /// An array of presences, kept updated as long as the Gateway connection is active
/host/spi-builder-workspace/Sources/DiscordKit/Gateway/DiscordGateway.swift:49:6: error: unknown attribute 'Published'
47 | ///
48 | /// Contains a dict of user presences, keyed by their respective user IDs
49 | @Published public var presences: [Snowflake: Presence] = [:]
| `- error: unknown attribute 'Published'
50 |
51 | /// An array of guild folders
/host/spi-builder-workspace/Sources/DiscordKit/Gateway/DiscordGateway.swift:52:6: error: unknown attribute 'Published'
50 |
51 | /// An array of guild folders
52 | @Published public var guildFolders: [GuildFolderItem] = []
| `- error: unknown attribute 'Published'
53 |
54 | /// An array of the current user's DMs
/host/spi-builder-workspace/Sources/DiscordKit/Gateway/DiscordGateway.swift:57:6: error: unknown attribute 'Published'
55 | ///
56 | /// Includes both single DMs and group DMs
57 | @Published public var privateChannels: [Channel] = []
| `- error: unknown attribute 'Published'
58 |
59 | /// Read state
/host/spi-builder-workspace/Sources/DiscordKit/Gateway/DiscordGateway.swift:60:6: error: unknown attribute 'Published'
58 |
59 | /// Read state
60 | @Published public var readState: [Snowflake: ReadState.Entry] = [:]
| `- error: unknown attribute 'Published'
61 |
62 | private var evtListenerID: EventDispatch.HandlerIdentifier?,
/host/spi-builder-workspace/Sources/DiscordKit/Gateway/DiscordGateway.swift:69:6: error: unknown attribute 'Published'
67 | ///
68 | /// `@Published` proxy of ``RobustWebSocket/sessionOpen``
69 | @Published public var connected = false
| `- error: unknown attribute 'Published'
70 | /// If the network is reachable (has network connectivity)
71 | ///
/host/spi-builder-workspace/Sources/DiscordKit/Gateway/DiscordGateway.swift:73:6: error: unknown attribute 'Published'
71 | ///
72 | /// `@Published` proxy of ``RobustWebSocket/reachable``
73 | @Published public var reachable = false
| `- error: unknown attribute 'Published'
74 |
75 | // Logger
/host/spi-builder-workspace/Sources/DiscordKit/Gateway/DiscordGateway.swift:112:15: error: value of type 'CachedState' has no member 'objectWillChange'
110 | // Clear cache
111 | cache = CachedState()
112 | cache.objectWillChange.send()
| `- error: value of type 'CachedState' has no member 'objectWillChange'
113 | socket?.close(code: .normalClosure)
114 | }
/host/spi-builder-workspace/Sources/DiscordKit/Gateway/DiscordGateway.swift:196:19: warning: value 'existingGuild' was defined but never used; consider replacing with boolean test [#no-usage]
194 |
195 | private func handleGuildUpdate(_ updatedGuild: Guild) {
196 | guard let existingGuild = cache.guilds[updatedGuild.id] else {
| `- warning: value 'existingGuild' was defined but never used; consider replacing with boolean test [#no-usage]
197 | return
198 | }
/host/spi-builder-workspace/Sources/DiscordKit/Gateway/DiscordGateway.swift:200:13: warning: initialization of variable 'modifiedGuild' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
198 | }
199 |
200 | var modifiedGuild = updatedGuild
| `- warning: initialization of variable 'modifiedGuild' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
201 |
202 | // ``GatewayEvent.guildUpdate`` events are missing data that is only present in the initial ``GatewayEvent.ready`` event, so we need to copy those properties over manually.
/host/spi-builder-workspace/Sources/DiscordKit/Gateway/DiscordGateway.swift:221:28: warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)' [#DeprecatedDeclaration]
219 | let settings: Discord_UserSettings
220 | do {
221 | settings = try Discord_UserSettings(serializedData: Data(base64Encoded: proto)!)
| |- warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)' [#DeprecatedDeclaration]
| `- note: use 'init(serializedBytes:extensions:partial:options:)' instead
222 | } catch {
223 | log.error("Proto decode error! \(String(describing: error))")
/host/spi-builder-workspace/Sources/DiscordKit/Gateway/DiscordGateway.swift:303:15: error: value of type 'CachedState' has no member 'objectWillChange'
301 | }
302 |
303 | cache.objectWillChange.send()
| `- error: value of type 'CachedState' has no member 'objectWillChange'
304 | onEvent.notify(event: data)
305 | log.trace("[EVENT] Dispatched event")
/host/spi-builder-workspace/Sources/DiscordKit/Gateway/GatewayCachedState.swift:14:27: error: cannot find type 'ObservableObject' in scope
12 | ///
13 | /// Used in ``DiscordGateway/cache``.
14 | public class CachedState: ObservableObject {
| `- error: cannot find type 'ObservableObject' in scope
15 | /// Dictionary of guilds the user is in
16 | ///
/host/spi-builder-workspace/Sources/DiscordKit/Gateway/GatewayCachedState.swift:18:6: error: unknown attribute 'Published'
16 | ///
17 | /// > The guild's ID is its key
18 | @Published public private(set) var guilds: [Snowflake: PreloadedGuild] = [:]
| `- error: unknown attribute 'Published'
19 |
20 | @Published public private(set) var members: [Snowflake: Member] = [:]
/host/spi-builder-workspace/Sources/DiscordKit/Gateway/GatewayCachedState.swift:20:6: error: unknown attribute 'Published'
18 | @Published public private(set) var guilds: [Snowflake: PreloadedGuild] = [:]
19 |
20 | @Published public private(set) var members: [Snowflake: Member] = [:]
| `- error: unknown attribute 'Published'
21 |
22 | /// DM channels the user is in
/host/spi-builder-workspace/Sources/DiscordKit/Gateway/GatewayCachedState.swift:23:6: error: unknown attribute 'Published'
21 |
22 | /// DM channels the user is in
23 | @Published public private(set) var dms: [Channel] = []
| `- error: unknown attribute 'Published'
24 |
25 | /// Cached object of current user
/host/spi-builder-workspace/Sources/DiscordKit/Gateway/GatewayCachedState.swift:26:6: error: unknown attribute 'Published'
24 |
25 | /// Cached object of current user
26 | @Published public private(set) var user: CurrentUser?
| `- error: unknown attribute 'Published'
27 |
28 | /// Cached users, initially populated from `READY` event and might
/host/spi-builder-workspace/Sources/DiscordKit/Gateway/GatewayCachedState.swift:30:6: error: unknown attribute 'Published'
28 | /// Cached users, initially populated from `READY` event and might
29 | /// grow over time
30 | @Published public private(set) var users: [Snowflake: User] = [:]
| `- error: unknown attribute 'Published'
31 |
32 | /// Populates the cache using the provided event.
/host/spi-builder-workspace/Sources/DiscordKit/Gateway/GatewayCachedState.swift:35:22: error: no 'appendOrReplace' candidates produce the expected type '(DecodeThrowable<PreloadedGuild>) throws -> Void' for parameter #0
33 | /// - Parameter event: An incoming Gateway "ready" event.
34 | func configure(using event: ReadyEvt) {
35 | event.guilds.forEach(appendOrReplace(_:))
| `- error: no 'appendOrReplace' candidates produce the expected type '(DecodeThrowable<PreloadedGuild>) throws -> Void' for parameter #0
36 | dms = event.private_channels
37 | user = event.user
:
47 | /// Updates or appends the provided guild.
48 | /// - Parameter guild: The guild you want to update or append to the cache.
49 | func appendOrReplace(_ guild: PreloadedGuild) {
| `- note: found candidate with type '(PreloadedGuild) -> ()'
50 | guilds.updateValue(guild, forKey: guild.id)
51 | }
:
100 | /// Appends or replaces the given message within the appropriate channel.
101 | /// - Parameter message: The message to append.
102 | func appendOrReplace(_ message: Message) {
| `- note: found candidate with type '(Message) -> ()'
103 | if let idx = dms.firstIndex(where: { $0.id == message.channel_id }) {
104 | dms[idx].last_message_id = message.id
:
110 | /// Appends or replaces the provided user in the cache.
111 | /// - Parameter user: The user to cache.
112 | func appendOrReplace(_ user: User) {
| `- note: found candidate with type '(User) -> ()'
113 | users.updateValue(user, forKey: user.id)
114 | }
/host/spi-builder-workspace/Sources/DiscordKit/Gateway/GatewayCachedState.swift:36:13: error: cannot assign value of type '[DecodeThrowable<Channel>]' to type '[Channel]'
34 | func configure(using event: ReadyEvt) {
35 | event.guilds.forEach(appendOrReplace(_:))
36 | dms = event.private_channels
| |- error: cannot assign value of type '[DecodeThrowable<Channel>]' to type '[Channel]'
| `- note: arguments to generic parameter 'Element' ('DecodeThrowable<Channel>' and 'Channel') are expected to be equal
37 | user = event.user
38 | event.users.forEach(appendOrReplace(_:))
/host/spi-builder-workspace/Sources/DiscordKit/Gateway/GatewayCachedState.swift:40:39: error: value of type 'DecodeThrowable<PreloadedGuild>' has no member 'id'
38 | event.users.forEach(appendOrReplace(_:))
39 | event.merged_members.enumerated().forEach { (idx, guildMembers) in
40 | members[event.guilds[idx].id] = guildMembers.first(where: { $0.user_id == event.user.id })
| `- error: value of type 'DecodeThrowable<PreloadedGuild>' has no member 'id'
41 | }
42 | print(members)
/host/spi-builder-workspace/Sources/DiscordKit/Gateway/GatewayCachedState.swift:64:19: warning: value 'identifier' was defined but never used; consider replacing with boolean test [#no-usage]
62 | /// - Parameter channel: The channel to append.
63 | func append(_ channel: Channel) {
64 | guard let identifier = channel.guild_id else {
| `- warning: value 'identifier' was defined but never used; consider replacing with boolean test [#no-usage]
65 | return
66 | }
/host/spi-builder-workspace/Sources/DiscordKit/Gateway/GatewayCachedState.swift:74:19: warning: value 'identifier' was defined but never used; consider replacing with boolean test [#no-usage]
72 | /// - Parameter channel: The channel to remove.
73 | func remove(_ channel: Channel) {
74 | guard let identifier = channel.guild_id else {
| `- warning: value 'identifier' was defined but never used; consider replacing with boolean test [#no-usage]
75 | return
76 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/host/spi-builder-workspace/Sources/DiscordKit/Gateway/DiscordGateway.swift:20:30: error: cannot find type 'ObservableObject' in scope
18 | ///
19 | /// Conforms to `ObservableObject` for use in SwiftUI projects.
20 | public class DiscordGateway: ObservableObject {
| `- error: cannot find type 'ObservableObject' in scope
21 | // Events
22 | /// An ``EventDispatch`` that is notified when an event is dispatched
/host/spi-builder-workspace/Sources/DiscordKit/Gateway/DiscordGateway.swift:44:6: error: unknown attribute 'Published'
42 | /// > since it doesn't seem to play well with SwiftUI, causing all sorts of
43 | /// > stale UI issues (i.e. stale UI)
44 | @Published public var cache: CachedState = CachedState()
| `- error: unknown attribute 'Published'
45 |
46 | /// An array of presences, kept updated as long as the Gateway connection is active
/host/spi-builder-workspace/Sources/DiscordKit/Gateway/DiscordGateway.swift:49:6: error: unknown attribute 'Published'
47 | ///
48 | /// Contains a dict of user presences, keyed by their respective user IDs
49 | @Published public var presences: [Snowflake: Presence] = [:]
| `- error: unknown attribute 'Published'
50 |
51 | /// An array of guild folders
/host/spi-builder-workspace/Sources/DiscordKit/Gateway/DiscordGateway.swift:52:6: error: unknown attribute 'Published'
50 |
51 | /// An array of guild folders
52 | @Published public var guildFolders: [GuildFolderItem] = []
| `- error: unknown attribute 'Published'
53 |
54 | /// An array of the current user's DMs
/host/spi-builder-workspace/Sources/DiscordKit/Gateway/DiscordGateway.swift:57:6: error: unknown attribute 'Published'
55 | ///
56 | /// Includes both single DMs and group DMs
57 | @Published public var privateChannels: [Channel] = []
| `- error: unknown attribute 'Published'
58 |
59 | /// Read state
/host/spi-builder-workspace/Sources/DiscordKit/Gateway/DiscordGateway.swift:60:6: error: unknown attribute 'Published'
58 |
59 | /// Read state
60 | @Published public var readState: [Snowflake: ReadState.Entry] = [:]
| `- error: unknown attribute 'Published'
61 |
62 | private var evtListenerID: EventDispatch.HandlerIdentifier?,
/host/spi-builder-workspace/Sources/DiscordKit/Gateway/DiscordGateway.swift:69:6: error: unknown attribute 'Published'
67 | ///
68 | /// `@Published` proxy of ``RobustWebSocket/sessionOpen``
69 | @Published public var connected = false
| `- error: unknown attribute 'Published'
70 | /// If the network is reachable (has network connectivity)
71 | ///
/host/spi-builder-workspace/Sources/DiscordKit/Gateway/DiscordGateway.swift:73:6: error: unknown attribute 'Published'
71 | ///
72 | /// `@Published` proxy of ``RobustWebSocket/reachable``
73 | @Published public var reachable = false
| `- error: unknown attribute 'Published'
74 |
75 | // Logger
/host/spi-builder-workspace/Sources/DiscordKit/Gateway/DiscordGateway.swift:112:15: error: value of type 'CachedState' has no member 'objectWillChange'
110 | // Clear cache
111 | cache = CachedState()
112 | cache.objectWillChange.send()
| `- error: value of type 'CachedState' has no member 'objectWillChange'
113 | socket?.close(code: .normalClosure)
114 | }
/host/spi-builder-workspace/Sources/DiscordKit/Gateway/DiscordGateway.swift:196:19: warning: value 'existingGuild' was defined but never used; consider replacing with boolean test [#no-usage]
194 |
195 | private func handleGuildUpdate(_ updatedGuild: Guild) {
196 | guard let existingGuild = cache.guilds[updatedGuild.id] else {
| `- warning: value 'existingGuild' was defined but never used; consider replacing with boolean test [#no-usage]
197 | return
198 | }
/host/spi-builder-workspace/Sources/DiscordKit/Gateway/DiscordGateway.swift:200:13: warning: initialization of variable 'modifiedGuild' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
198 | }
199 |
200 | var modifiedGuild = updatedGuild
| `- warning: initialization of variable 'modifiedGuild' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
201 |
202 | // ``GatewayEvent.guildUpdate`` events are missing data that is only present in the initial ``GatewayEvent.ready`` event, so we need to copy those properties over manually.
/host/spi-builder-workspace/Sources/DiscordKit/Gateway/DiscordGateway.swift:221:28: warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)' [#DeprecatedDeclaration]
219 | let settings: Discord_UserSettings
220 | do {
221 | settings = try Discord_UserSettings(serializedData: Data(base64Encoded: proto)!)
| |- warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)' [#DeprecatedDeclaration]
| `- note: use 'init(serializedBytes:extensions:partial:options:)' instead
222 | } catch {
223 | log.error("Proto decode error! \(String(describing: error))")
/host/spi-builder-workspace/Sources/DiscordKit/Gateway/DiscordGateway.swift:303:15: error: value of type 'CachedState' has no member 'objectWillChange'
301 | }
302 |
303 | cache.objectWillChange.send()
| `- error: value of type 'CachedState' has no member 'objectWillChange'
304 | onEvent.notify(event: data)
305 | log.trace("[EVENT] Dispatched event")
/host/spi-builder-workspace/Sources/DiscordKit/Gateway/GatewayCachedState.swift:14:27: error: cannot find type 'ObservableObject' in scope
12 | ///
13 | /// Used in ``DiscordGateway/cache``.
14 | public class CachedState: ObservableObject {
| `- error: cannot find type 'ObservableObject' in scope
15 | /// Dictionary of guilds the user is in
16 | ///
/host/spi-builder-workspace/Sources/DiscordKit/Gateway/GatewayCachedState.swift:18:6: error: unknown attribute 'Published'
16 | ///
17 | /// > The guild's ID is its key
18 | @Published public private(set) var guilds: [Snowflake: PreloadedGuild] = [:]
| `- error: unknown attribute 'Published'
19 |
20 | @Published public private(set) var members: [Snowflake: Member] = [:]
/host/spi-builder-workspace/Sources/DiscordKit/Gateway/GatewayCachedState.swift:20:6: error: unknown attribute 'Published'
18 | @Published public private(set) var guilds: [Snowflake: PreloadedGuild] = [:]
19 |
20 | @Published public private(set) var members: [Snowflake: Member] = [:]
| `- error: unknown attribute 'Published'
21 |
22 | /// DM channels the user is in
/host/spi-builder-workspace/Sources/DiscordKit/Gateway/GatewayCachedState.swift:23:6: error: unknown attribute 'Published'
21 |
22 | /// DM channels the user is in
23 | @Published public private(set) var dms: [Channel] = []
| `- error: unknown attribute 'Published'
24 |
25 | /// Cached object of current user
/host/spi-builder-workspace/Sources/DiscordKit/Gateway/GatewayCachedState.swift:26:6: error: unknown attribute 'Published'
24 |
25 | /// Cached object of current user
26 | @Published public private(set) var user: CurrentUser?
| `- error: unknown attribute 'Published'
27 |
28 | /// Cached users, initially populated from `READY` event and might
/host/spi-builder-workspace/Sources/DiscordKit/Gateway/GatewayCachedState.swift:30:6: error: unknown attribute 'Published'
28 | /// Cached users, initially populated from `READY` event and might
29 | /// grow over time
30 | @Published public private(set) var users: [Snowflake: User] = [:]
| `- error: unknown attribute 'Published'
31 |
32 | /// Populates the cache using the provided event.
/host/spi-builder-workspace/Sources/DiscordKit/Gateway/GatewayCachedState.swift:35:22: error: no 'appendOrReplace' candidates produce the expected type '(DecodeThrowable<PreloadedGuild>) throws -> Void' for parameter #0
33 | /// - Parameter event: An incoming Gateway "ready" event.
34 | func configure(using event: ReadyEvt) {
35 | event.guilds.forEach(appendOrReplace(_:))
| `- error: no 'appendOrReplace' candidates produce the expected type '(DecodeThrowable<PreloadedGuild>) throws -> Void' for parameter #0
36 | dms = event.private_channels
37 | user = event.user
:
47 | /// Updates or appends the provided guild.
48 | /// - Parameter guild: The guild you want to update or append to the cache.
49 | func appendOrReplace(_ guild: PreloadedGuild) {
| `- note: found candidate with type '(PreloadedGuild) -> ()'
50 | guilds.updateValue(guild, forKey: guild.id)
51 | }
:
100 | /// Appends or replaces the given message within the appropriate channel.
101 | /// - Parameter message: The message to append.
102 | func appendOrReplace(_ message: Message) {
| `- note: found candidate with type '(Message) -> ()'
103 | if let idx = dms.firstIndex(where: { $0.id == message.channel_id }) {
104 | dms[idx].last_message_id = message.id
:
110 | /// Appends or replaces the provided user in the cache.
111 | /// - Parameter user: The user to cache.
112 | func appendOrReplace(_ user: User) {
| `- note: found candidate with type '(User) -> ()'
113 | users.updateValue(user, forKey: user.id)
114 | }
/host/spi-builder-workspace/Sources/DiscordKit/Gateway/GatewayCachedState.swift:36:13: error: cannot assign value of type '[DecodeThrowable<Channel>]' to type '[Channel]'
34 | func configure(using event: ReadyEvt) {
35 | event.guilds.forEach(appendOrReplace(_:))
36 | dms = event.private_channels
| |- error: cannot assign value of type '[DecodeThrowable<Channel>]' to type '[Channel]'
| `- note: arguments to generic parameter 'Element' ('DecodeThrowable<Channel>' and 'Channel') are expected to be equal
37 | user = event.user
38 | event.users.forEach(appendOrReplace(_:))
/host/spi-builder-workspace/Sources/DiscordKit/Gateway/GatewayCachedState.swift:40:39: error: value of type 'DecodeThrowable<PreloadedGuild>' has no member 'id'
38 | event.users.forEach(appendOrReplace(_:))
39 | event.merged_members.enumerated().forEach { (idx, guildMembers) in
40 | members[event.guilds[idx].id] = guildMembers.first(where: { $0.user_id == event.user.id })
| `- error: value of type 'DecodeThrowable<PreloadedGuild>' has no member 'id'
41 | }
42 | print(members)
/host/spi-builder-workspace/Sources/DiscordKit/Gateway/GatewayCachedState.swift:64:19: warning: value 'identifier' was defined but never used; consider replacing with boolean test [#no-usage]
62 | /// - Parameter channel: The channel to append.
63 | func append(_ channel: Channel) {
64 | guard let identifier = channel.guild_id else {
| `- warning: value 'identifier' was defined but never used; consider replacing with boolean test [#no-usage]
65 | return
66 | }
/host/spi-builder-workspace/Sources/DiscordKit/Gateway/GatewayCachedState.swift:74:19: warning: value 'identifier' was defined but never used; consider replacing with boolean test [#no-usage]
72 | /// - Parameter channel: The channel to remove.
73 | func remove(_ channel: Channel) {
74 | guard let identifier = channel.guild_id else {
| `- warning: value 'identifier' was defined but never used; consider replacing with boolean test [#no-usage]
75 | return
76 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/host/spi-builder-workspace/Sources/DiscordKit/Gateway/DiscordGateway.swift:20:30: error: cannot find type 'ObservableObject' in scope
18 | ///
19 | /// Conforms to `ObservableObject` for use in SwiftUI projects.
20 | public class DiscordGateway: ObservableObject {
| `- error: cannot find type 'ObservableObject' in scope
21 | // Events
22 | /// An ``EventDispatch`` that is notified when an event is dispatched
/host/spi-builder-workspace/Sources/DiscordKit/Gateway/DiscordGateway.swift:44:6: error: unknown attribute 'Published'
42 | /// > since it doesn't seem to play well with SwiftUI, causing all sorts of
43 | /// > stale UI issues (i.e. stale UI)
44 | @Published public var cache: CachedState = CachedState()
| `- error: unknown attribute 'Published'
45 |
46 | /// An array of presences, kept updated as long as the Gateway connection is active
/host/spi-builder-workspace/Sources/DiscordKit/Gateway/DiscordGateway.swift:49:6: error: unknown attribute 'Published'
47 | ///
48 | /// Contains a dict of user presences, keyed by their respective user IDs
49 | @Published public var presences: [Snowflake: Presence] = [:]
| `- error: unknown attribute 'Published'
50 |
51 | /// An array of guild folders
/host/spi-builder-workspace/Sources/DiscordKit/Gateway/DiscordGateway.swift:52:6: error: unknown attribute 'Published'
50 |
51 | /// An array of guild folders
52 | @Published public var guildFolders: [GuildFolderItem] = []
| `- error: unknown attribute 'Published'
53 |
54 | /// An array of the current user's DMs
/host/spi-builder-workspace/Sources/DiscordKit/Gateway/DiscordGateway.swift:57:6: error: unknown attribute 'Published'
55 | ///
56 | /// Includes both single DMs and group DMs
57 | @Published public var privateChannels: [Channel] = []
| `- error: unknown attribute 'Published'
58 |
59 | /// Read state
/host/spi-builder-workspace/Sources/DiscordKit/Gateway/DiscordGateway.swift:60:6: error: unknown attribute 'Published'
58 |
59 | /// Read state
60 | @Published public var readState: [Snowflake: ReadState.Entry] = [:]
| `- error: unknown attribute 'Published'
61 |
62 | private var evtListenerID: EventDispatch.HandlerIdentifier?,
/host/spi-builder-workspace/Sources/DiscordKit/Gateway/DiscordGateway.swift:69:6: error: unknown attribute 'Published'
67 | ///
68 | /// `@Published` proxy of ``RobustWebSocket/sessionOpen``
69 | @Published public var connected = false
| `- error: unknown attribute 'Published'
70 | /// If the network is reachable (has network connectivity)
71 | ///
/host/spi-builder-workspace/Sources/DiscordKit/Gateway/DiscordGateway.swift:73:6: error: unknown attribute 'Published'
71 | ///
72 | /// `@Published` proxy of ``RobustWebSocket/reachable``
73 | @Published public var reachable = false
| `- error: unknown attribute 'Published'
74 |
75 | // Logger
/host/spi-builder-workspace/Sources/DiscordKit/Gateway/DiscordGateway.swift:112:15: error: value of type 'CachedState' has no member 'objectWillChange'
110 | // Clear cache
111 | cache = CachedState()
112 | cache.objectWillChange.send()
| `- error: value of type 'CachedState' has no member 'objectWillChange'
113 | socket?.close(code: .normalClosure)
114 | }
/host/spi-builder-workspace/Sources/DiscordKit/Gateway/DiscordGateway.swift:196:19: warning: value 'existingGuild' was defined but never used; consider replacing with boolean test [#no-usage]
194 |
195 | private func handleGuildUpdate(_ updatedGuild: Guild) {
196 | guard let existingGuild = cache.guilds[updatedGuild.id] else {
| `- warning: value 'existingGuild' was defined but never used; consider replacing with boolean test [#no-usage]
197 | return
198 | }
/host/spi-builder-workspace/Sources/DiscordKit/Gateway/DiscordGateway.swift:200:13: warning: initialization of variable 'modifiedGuild' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
198 | }
199 |
200 | var modifiedGuild = updatedGuild
| `- warning: initialization of variable 'modifiedGuild' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
201 |
202 | // ``GatewayEvent.guildUpdate`` events are missing data that is only present in the initial ``GatewayEvent.ready`` event, so we need to copy those properties over manually.
/host/spi-builder-workspace/Sources/DiscordKit/Gateway/DiscordGateway.swift:221:28: warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)' [#DeprecatedDeclaration]
219 | let settings: Discord_UserSettings
220 | do {
221 | settings = try Discord_UserSettings(serializedData: Data(base64Encoded: proto)!)
| |- warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)' [#DeprecatedDeclaration]
| `- note: use 'init(serializedBytes:extensions:partial:options:)' instead
222 | } catch {
223 | log.error("Proto decode error! \(String(describing: error))")
/host/spi-builder-workspace/Sources/DiscordKit/Gateway/DiscordGateway.swift:303:15: error: value of type 'CachedState' has no member 'objectWillChange'
301 | }
302 |
303 | cache.objectWillChange.send()
| `- error: value of type 'CachedState' has no member 'objectWillChange'
304 | onEvent.notify(event: data)
305 | log.trace("[EVENT] Dispatched event")
/host/spi-builder-workspace/Sources/DiscordKit/Gateway/GatewayCachedState.swift:14:27: error: cannot find type 'ObservableObject' in scope
12 | ///
13 | /// Used in ``DiscordGateway/cache``.
14 | public class CachedState: ObservableObject {
| `- error: cannot find type 'ObservableObject' in scope
15 | /// Dictionary of guilds the user is in
16 | ///
/host/spi-builder-workspace/Sources/DiscordKit/Gateway/GatewayCachedState.swift:18:6: error: unknown attribute 'Published'
16 | ///
17 | /// > The guild's ID is its key
18 | @Published public private(set) var guilds: [Snowflake: PreloadedGuild] = [:]
| `- error: unknown attribute 'Published'
19 |
20 | @Published public private(set) var members: [Snowflake: Member] = [:]
/host/spi-builder-workspace/Sources/DiscordKit/Gateway/GatewayCachedState.swift:20:6: error: unknown attribute 'Published'
18 | @Published public private(set) var guilds: [Snowflake: PreloadedGuild] = [:]
19 |
20 | @Published public private(set) var members: [Snowflake: Member] = [:]
| `- error: unknown attribute 'Published'
21 |
22 | /// DM channels the user is in
/host/spi-builder-workspace/Sources/DiscordKit/Gateway/GatewayCachedState.swift:23:6: error: unknown attribute 'Published'
21 |
22 | /// DM channels the user is in
23 | @Published public private(set) var dms: [Channel] = []
| `- error: unknown attribute 'Published'
24 |
25 | /// Cached object of current user
/host/spi-builder-workspace/Sources/DiscordKit/Gateway/GatewayCachedState.swift:26:6: error: unknown attribute 'Published'
24 |
25 | /// Cached object of current user
26 | @Published public private(set) var user: CurrentUser?
| `- error: unknown attribute 'Published'
27 |
28 | /// Cached users, initially populated from `READY` event and might
/host/spi-builder-workspace/Sources/DiscordKit/Gateway/GatewayCachedState.swift:30:6: error: unknown attribute 'Published'
28 | /// Cached users, initially populated from `READY` event and might
29 | /// grow over time
30 | @Published public private(set) var users: [Snowflake: User] = [:]
| `- error: unknown attribute 'Published'
31 |
32 | /// Populates the cache using the provided event.
/host/spi-builder-workspace/Sources/DiscordKit/Gateway/GatewayCachedState.swift:35:22: error: no 'appendOrReplace' candidates produce the expected type '(DecodeThrowable<PreloadedGuild>) throws -> Void' for parameter #0
33 | /// - Parameter event: An incoming Gateway "ready" event.
34 | func configure(using event: ReadyEvt) {
35 | event.guilds.forEach(appendOrReplace(_:))
| `- error: no 'appendOrReplace' candidates produce the expected type '(DecodeThrowable<PreloadedGuild>) throws -> Void' for parameter #0
36 | dms = event.private_channels
37 | user = event.user
:
47 | /// Updates or appends the provided guild.
48 | /// - Parameter guild: The guild you want to update or append to the cache.
49 | func appendOrReplace(_ guild: PreloadedGuild) {
| `- note: found candidate with type '(PreloadedGuild) -> ()'
50 | guilds.updateValue(guild, forKey: guild.id)
51 | }
:
100 | /// Appends or replaces the given message within the appropriate channel.
101 | /// - Parameter message: The message to append.
102 | func appendOrReplace(_ message: Message) {
| `- note: found candidate with type '(Message) -> ()'
103 | if let idx = dms.firstIndex(where: { $0.id == message.channel_id }) {
104 | dms[idx].last_message_id = message.id
:
110 | /// Appends or replaces the provided user in the cache.
111 | /// - Parameter user: The user to cache.
112 | func appendOrReplace(_ user: User) {
| `- note: found candidate with type '(User) -> ()'
113 | users.updateValue(user, forKey: user.id)
114 | }
/host/spi-builder-workspace/Sources/DiscordKit/Gateway/GatewayCachedState.swift:36:13: error: cannot assign value of type '[DecodeThrowable<Channel>]' to type '[Channel]'
34 | func configure(using event: ReadyEvt) {
35 | event.guilds.forEach(appendOrReplace(_:))
36 | dms = event.private_channels
| |- error: cannot assign value of type '[DecodeThrowable<Channel>]' to type '[Channel]'
| `- note: arguments to generic parameter 'Element' ('DecodeThrowable<Channel>' and 'Channel') are expected to be equal
37 | user = event.user
38 | event.users.forEach(appendOrReplace(_:))
/host/spi-builder-workspace/Sources/DiscordKit/Gateway/GatewayCachedState.swift:40:39: error: value of type 'DecodeThrowable<PreloadedGuild>' has no member 'id'
38 | event.users.forEach(appendOrReplace(_:))
39 | event.merged_members.enumerated().forEach { (idx, guildMembers) in
40 | members[event.guilds[idx].id] = guildMembers.first(where: { $0.user_id == event.user.id })
| `- error: value of type 'DecodeThrowable<PreloadedGuild>' has no member 'id'
41 | }
42 | print(members)
/host/spi-builder-workspace/Sources/DiscordKit/Gateway/GatewayCachedState.swift:64:19: warning: value 'identifier' was defined but never used; consider replacing with boolean test [#no-usage]
62 | /// - Parameter channel: The channel to append.
63 | func append(_ channel: Channel) {
64 | guard let identifier = channel.guild_id else {
| `- warning: value 'identifier' was defined but never used; consider replacing with boolean test [#no-usage]
65 | return
66 | }
/host/spi-builder-workspace/Sources/DiscordKit/Gateway/GatewayCachedState.swift:74:19: warning: value 'identifier' was defined but never used; consider replacing with boolean test [#no-usage]
72 | /// - Parameter channel: The channel to remove.
73 | func remove(_ channel: Channel) {
74 | guard let identifier = channel.guild_id else {
| `- warning: value 'identifier' was defined but never used; consider replacing with boolean test [#no-usage]
75 | return
76 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1106/1144] Compiling DiscordKit Notification.pb.swift
[1107/1144] Compiling DiscordKit Privacy.pb.swift
[1108/1144] Compiling DiscordKit VoiceAndVideo.pb.swift
[1109/1144] Compiling DiscordKit AllGuildSettings.pb.swift
/host/spi-builder-workspace/Sources/DiscordKit/protos/Settings/AllGuildSettings.pb.swift:73:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
71 | extension AllGuildSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
72 | public static let protoMessageName: String = "AllGuildSettings"
73 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
74 | 1: .same(proto: "guilds"),
75 | ]
/host/spi-builder-workspace/Sources/DiscordKit/protos/Settings/AllGuildSettings.pb.swift:105:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
103 | extension GuildSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
104 | public static let protoMessageName: String = "GuildSettings"
105 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
106 | 1: .same(proto: "channels"),
107 | 2: .standard(proto: "hub_progress"),
/host/spi-builder-workspace/Sources/DiscordKit/protos/Settings/AllGuildSettings.pb.swift:149:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
147 | extension ChannelSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
148 | public static let protoMessageName: String = "ChannelSettings"
149 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
150 | 1: .standard(proto: "collapsed_in_inbox"),
151 | ]
/host/spi-builder-workspace/Sources/DiscordKit/protos/Settings/Appearance.pb.swift:90:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
88 |
89 | extension Theme: SwiftProtobuf._ProtoNameProviding {
90 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
91 | 0: .same(proto: "UNSET"),
92 | 1: .same(proto: "DARK"),
/host/spi-builder-workspace/Sources/DiscordKit/protos/Settings/Appearance.pb.swift:99:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
97 | extension AppearanceSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
98 | public static let protoMessageName: String = "AppearanceSettings"
99 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
100 | 1: .same(proto: "theme"),
101 | 2: .standard(proto: "developer_mode"),
/host/spi-builder-workspace/Sources/DiscordKit/protos/Settings/Audio.pb.swift:62:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
60 | extension AudioSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
61 | public static let protoMessageName: String = "AudioSettings"
62 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
63 | 1: .same(proto: "user"),
64 | 2: .same(proto: "stream"),
/host/spi-builder-workspace/Sources/DiscordKit/protos/Settings/Audio.pb.swift:100:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
98 | extension AudioContextSetting: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
99 | public static let protoMessageName: String = "AudioContextSetting"
100 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
101 | 1: .same(proto: "muted"),
102 | 2: .same(proto: "volume"),
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1110/1144] Compiling DiscordKit Appearance.pb.swift
/host/spi-builder-workspace/Sources/DiscordKit/protos/Settings/AllGuildSettings.pb.swift:73:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
71 | extension AllGuildSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
72 | public static let protoMessageName: String = "AllGuildSettings"
73 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
74 | 1: .same(proto: "guilds"),
75 | ]
/host/spi-builder-workspace/Sources/DiscordKit/protos/Settings/AllGuildSettings.pb.swift:105:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
103 | extension GuildSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
104 | public static let protoMessageName: String = "GuildSettings"
105 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
106 | 1: .same(proto: "channels"),
107 | 2: .standard(proto: "hub_progress"),
/host/spi-builder-workspace/Sources/DiscordKit/protos/Settings/AllGuildSettings.pb.swift:149:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
147 | extension ChannelSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
148 | public static let protoMessageName: String = "ChannelSettings"
149 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
150 | 1: .standard(proto: "collapsed_in_inbox"),
151 | ]
/host/spi-builder-workspace/Sources/DiscordKit/protos/Settings/Appearance.pb.swift:90:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
88 |
89 | extension Theme: SwiftProtobuf._ProtoNameProviding {
90 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
91 | 0: .same(proto: "UNSET"),
92 | 1: .same(proto: "DARK"),
/host/spi-builder-workspace/Sources/DiscordKit/protos/Settings/Appearance.pb.swift:99:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
97 | extension AppearanceSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
98 | public static let protoMessageName: String = "AppearanceSettings"
99 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
100 | 1: .same(proto: "theme"),
101 | 2: .standard(proto: "developer_mode"),
/host/spi-builder-workspace/Sources/DiscordKit/protos/Settings/Audio.pb.swift:62:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
60 | extension AudioSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
61 | public static let protoMessageName: String = "AudioSettings"
62 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
63 | 1: .same(proto: "user"),
64 | 2: .same(proto: "stream"),
/host/spi-builder-workspace/Sources/DiscordKit/protos/Settings/Audio.pb.swift:100:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
98 | extension AudioContextSetting: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
99 | public static let protoMessageName: String = "AudioContextSetting"
100 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
101 | 1: .same(proto: "muted"),
102 | 2: .same(proto: "volume"),
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1111/1144] Compiling DiscordKit Audio.pb.swift
/host/spi-builder-workspace/Sources/DiscordKit/protos/Settings/AllGuildSettings.pb.swift:73:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
71 | extension AllGuildSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
72 | public static let protoMessageName: String = "AllGuildSettings"
73 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
74 | 1: .same(proto: "guilds"),
75 | ]
/host/spi-builder-workspace/Sources/DiscordKit/protos/Settings/AllGuildSettings.pb.swift:105:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
103 | extension GuildSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
104 | public static let protoMessageName: String = "GuildSettings"
105 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
106 | 1: .same(proto: "channels"),
107 | 2: .standard(proto: "hub_progress"),
/host/spi-builder-workspace/Sources/DiscordKit/protos/Settings/AllGuildSettings.pb.swift:149:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
147 | extension ChannelSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
148 | public static let protoMessageName: String = "ChannelSettings"
149 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
150 | 1: .standard(proto: "collapsed_in_inbox"),
151 | ]
/host/spi-builder-workspace/Sources/DiscordKit/protos/Settings/Appearance.pb.swift:90:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
88 |
89 | extension Theme: SwiftProtobuf._ProtoNameProviding {
90 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
91 | 0: .same(proto: "UNSET"),
92 | 1: .same(proto: "DARK"),
/host/spi-builder-workspace/Sources/DiscordKit/protos/Settings/Appearance.pb.swift:99:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
97 | extension AppearanceSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
98 | public static let protoMessageName: String = "AppearanceSettings"
99 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
100 | 1: .same(proto: "theme"),
101 | 2: .standard(proto: "developer_mode"),
/host/spi-builder-workspace/Sources/DiscordKit/protos/Settings/Audio.pb.swift:62:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
60 | extension AudioSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
61 | public static let protoMessageName: String = "AudioSettings"
62 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
63 | 1: .same(proto: "user"),
64 | 2: .same(proto: "stream"),
/host/spi-builder-workspace/Sources/DiscordKit/protos/Settings/Audio.pb.swift:100:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
98 | extension AudioContextSetting: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
99 | public static let protoMessageName: String = "AudioContextSetting"
100 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
101 | 1: .same(proto: "muted"),
102 | 2: .same(proto: "volume"),
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1112/1144] Compiling DiscordKit Status.pb.swift
[1113/1144] Compiling DiscordKitBot APICommand.swift
[1114/1144] Compiling DiscordKitBot ActionRow.swift
[1115/1144] Compiling DiscordKitBot Button.swift
[1116/1144] Compiling DiscordKit Debug.pb.swift
[1117/1144] Compiling DiscordKit Localization.pb.swift
/host/spi-builder-workspace/Sources/DiscordKit/protos/Settings/Localization.pb.swift:63:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
61 | extension LocalizationSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
62 | public static let protoMessageName: String = "LocalizationSettings"
63 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
64 | 1: .same(proto: "locale"),
65 | 2: .standard(proto: "timezone_offset"),
/host/spi-builder-workspace/Sources/DiscordKit/protos/Settings/Notification.pb.swift:64:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
62 | extension NotificationSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
63 | public static let protoMessageName: String = "NotificationSettings"
64 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
65 | 1: .standard(proto: "show_in_app_notifications"),
66 | 2: .standard(proto: "notify_friends_on_go_live"),
/host/spi-builder-workspace/Sources/DiscordKit/protos/Settings/Privacy.pb.swift:179:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
177 |
178 | extension GuildActivityStatusRestrictionDefault: SwiftProtobuf._ProtoNameProviding {
179 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
180 | 0: .same(proto: "OFF"),
181 | 1: .same(proto: "ON_FOR_LARGE_GUILDS"),
/host/spi-builder-workspace/Sources/DiscordKit/protos/Settings/Privacy.pb.swift:187:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
185 | extension PrivacySettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
186 | public static let protoMessageName: String = "PrivacySettings"
187 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
188 | 1: .standard(proto: "allow_activity_party_privacy_friends"),
189 | 2: .standard(proto: "allow_activity_party_privacy_voice_channel"),
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/host/spi-builder-workspace/Sources/DiscordKit/protos/Settings/Localization.pb.swift:63:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
61 | extension LocalizationSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
62 | public static let protoMessageName: String = "LocalizationSettings"
63 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
64 | 1: .same(proto: "locale"),
65 | 2: .standard(proto: "timezone_offset"),
/host/spi-builder-workspace/Sources/DiscordKit/protos/Settings/Notification.pb.swift:64:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
62 | extension NotificationSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
63 | public static let protoMessageName: String = "NotificationSettings"
64 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
65 | 1: .standard(proto: "show_in_app_notifications"),
66 | 2: .standard(proto: "notify_friends_on_go_live"),
/host/spi-builder-workspace/Sources/DiscordKit/protos/Settings/Privacy.pb.swift:179:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
177 |
178 | extension GuildActivityStatusRestrictionDefault: SwiftProtobuf._ProtoNameProviding {
179 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
180 | 0: .same(proto: "OFF"),
181 | 1: .same(proto: "ON_FOR_LARGE_GUILDS"),
/host/spi-builder-workspace/Sources/DiscordKit/protos/Settings/Privacy.pb.swift:187:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
185 | extension PrivacySettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
186 | public static let protoMessageName: String = "PrivacySettings"
187 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
188 | 1: .standard(proto: "allow_activity_party_privacy_friends"),
189 | 2: .standard(proto: "allow_activity_party_privacy_voice_channel"),
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/host/spi-builder-workspace/Sources/DiscordKit/protos/Settings/Localization.pb.swift:63:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
61 | extension LocalizationSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
62 | public static let protoMessageName: String = "LocalizationSettings"
63 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
64 | 1: .same(proto: "locale"),
65 | 2: .standard(proto: "timezone_offset"),
/host/spi-builder-workspace/Sources/DiscordKit/protos/Settings/Notification.pb.swift:64:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
62 | extension NotificationSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
63 | public static let protoMessageName: String = "NotificationSettings"
64 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
65 | 1: .standard(proto: "show_in_app_notifications"),
66 | 2: .standard(proto: "notify_friends_on_go_live"),
/host/spi-builder-workspace/Sources/DiscordKit/protos/Settings/Privacy.pb.swift:179:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
177 |
178 | extension GuildActivityStatusRestrictionDefault: SwiftProtobuf._ProtoNameProviding {
179 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
180 | 0: .same(proto: "OFF"),
181 | 1: .same(proto: "ON_FOR_LARGE_GUILDS"),
/host/spi-builder-workspace/Sources/DiscordKit/protos/Settings/Privacy.pb.swift:187:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
185 | extension PrivacySettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
186 | public static let protoMessageName: String = "PrivacySettings"
187 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
188 | 1: .standard(proto: "allow_activity_party_privacy_friends"),
189 | 2: .standard(proto: "allow_activity_party_privacy_voice_channel"),
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1120/1144] Compiling DiscordKit GameLibrary.pb.swift
[1121/1144] Compiling DiscordKit Inbox.pb.swift
[1126/1144] Compiling DiscordKit TextAndImages.pb.swift
[1127/1144] Compiling DiscordKit UserContent.pb.swift
[1128/1144] Compiling DiscordKit UserSettingsProtoUpdate.swift
[1129/1144] Compiling DiscordKit FavoriteChannel.pb.swift
[1130/1144] Compiling DiscordKit FavoriteGIFs.pb.swift
[1131/1144] Compiling DiscordKit GuildFolders.pb.swift
/host/spi-builder-workspace/Sources/DiscordKit/protos/Settings/TextAndImages.pb.swift:244:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
242 | extension TextAndImagesSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
243 | public static let protoMessageName: String = "TextAndImagesSettings"
244 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
245 | 1: .standard(proto: "diversity_surrogate"),
246 | 2: .standard(proto: "use_rich_chat_input"),
/host/spi-builder-workspace/Sources/DiscordKit/protos/Settings/UserContent.pb.swift:64:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
62 | extension UserContentSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
63 | public static let protoMessageName: String = "UserContentSettings"
64 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
65 | 1: .standard(proto: "dismissed_contents"),
66 | 2: .standard(proto: "last_dismissed_outbound_promotion_start_date"),
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/host/spi-builder-workspace/Sources/DiscordKit/protos/Settings/TextAndImages.pb.swift:244:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
242 | extension TextAndImagesSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
243 | public static let protoMessageName: String = "TextAndImagesSettings"
244 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
245 | 1: .standard(proto: "diversity_surrogate"),
246 | 2: .standard(proto: "use_rich_chat_input"),
/host/spi-builder-workspace/Sources/DiscordKit/protos/Settings/UserContent.pb.swift:64:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
62 | extension UserContentSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
63 | public static let protoMessageName: String = "UserContentSettings"
64 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
65 | 1: .standard(proto: "dismissed_contents"),
66 | 2: .standard(proto: "last_dismissed_outbound_promotion_start_date"),
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/host/spi-builder-workspace/Sources/DiscordKit/protos/Settings/Debug.pb.swift:52:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
50 | extension DebugSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
51 | public static let protoMessageName: String = "DebugSettings"
52 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
53 | 1: .standard(proto: "rtc_panel_show_voice_states"),
54 | ]
/host/spi-builder-workspace/Sources/DiscordKit/protos/Settings/GameLibrary.pb.swift:72:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
70 | extension GameLibrarySettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
71 | public static let protoMessageName: String = "GameLibrarySettings"
72 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
73 | 1: .standard(proto: "install_shortcut_desktop"),
74 | 2: .standard(proto: "install_shortcut_start_menu"),
/host/spi-builder-workspace/Sources/DiscordKit/protos/Settings/Inbox.pb.swift:94:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
92 |
93 | extension InboxTab: SwiftProtobuf._ProtoNameProviding {
94 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
95 | 0: .same(proto: "UNSPECIFIED"),
96 | 1: .same(proto: "MENTIONS"),
/host/spi-builder-workspace/Sources/DiscordKit/protos/Settings/Inbox.pb.swift:104:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
102 | extension InboxSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
103 | public static let protoMessageName: String = "InboxSettings"
104 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
105 | 1: .standard(proto: "current_tab"),
106 | 2: .standard(proto: "viewed_tutorial"),
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/host/spi-builder-workspace/Sources/DiscordKit/protos/Settings/Debug.pb.swift:52:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
50 | extension DebugSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
51 | public static let protoMessageName: String = "DebugSettings"
52 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
53 | 1: .standard(proto: "rtc_panel_show_voice_states"),
54 | ]
/host/spi-builder-workspace/Sources/DiscordKit/protos/Settings/GameLibrary.pb.swift:72:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
70 | extension GameLibrarySettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
71 | public static let protoMessageName: String = "GameLibrarySettings"
72 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
73 | 1: .standard(proto: "install_shortcut_desktop"),
74 | 2: .standard(proto: "install_shortcut_start_menu"),
/host/spi-builder-workspace/Sources/DiscordKit/protos/Settings/Inbox.pb.swift:94:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
92 |
93 | extension InboxTab: SwiftProtobuf._ProtoNameProviding {
94 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
95 | 0: .same(proto: "UNSPECIFIED"),
96 | 1: .same(proto: "MENTIONS"),
/host/spi-builder-workspace/Sources/DiscordKit/protos/Settings/Inbox.pb.swift:104:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
102 | extension InboxSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
103 | public static let protoMessageName: String = "InboxSettings"
104 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
105 | 1: .standard(proto: "current_tab"),
106 | 2: .standard(proto: "viewed_tutorial"),
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/host/spi-builder-workspace/Sources/DiscordKit/protos/Settings/Debug.pb.swift:52:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
50 | extension DebugSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
51 | public static let protoMessageName: String = "DebugSettings"
52 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
53 | 1: .standard(proto: "rtc_panel_show_voice_states"),
54 | ]
/host/spi-builder-workspace/Sources/DiscordKit/protos/Settings/GameLibrary.pb.swift:72:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
70 | extension GameLibrarySettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
71 | public static let protoMessageName: String = "GameLibrarySettings"
72 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
73 | 1: .standard(proto: "install_shortcut_desktop"),
74 | 2: .standard(proto: "install_shortcut_start_menu"),
/host/spi-builder-workspace/Sources/DiscordKit/protos/Settings/Inbox.pb.swift:94:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
92 |
93 | extension InboxTab: SwiftProtobuf._ProtoNameProviding {
94 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
95 | 0: .same(proto: "UNSPECIFIED"),
96 | 1: .same(proto: "MENTIONS"),
/host/spi-builder-workspace/Sources/DiscordKit/protos/Settings/Inbox.pb.swift:104:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
102 | extension InboxSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
103 | public static let protoMessageName: String = "InboxSettings"
104 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
105 | 1: .standard(proto: "current_tab"),
106 | 2: .standard(proto: "viewed_tutorial"),
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/host/spi-builder-workspace/Sources/DiscordKit/protos/DiscordProtos.pb.swift:206:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
204 | extension Discord_UserSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
205 | public static let protoMessageName: String = _protobuf_package + ".UserSettings"
206 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
207 | 1: .same(proto: "versions"),
208 | 2: .same(proto: "inbox"),
/host/spi-builder-workspace/Sources/DiscordKit/protos/DiscordProtos.pb.swift:394:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
392 | extension Discord_UserSettings.Versions: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
393 | public static let protoMessageName: String = Discord_UserSettings.protoMessageName + ".Versions"
394 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
395 | 1: .standard(proto: "client_version"),
396 | 2: .standard(proto: "server_version"),
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/host/spi-builder-workspace/Sources/DiscordKit/protos/DiscordProtos.pb.swift:206:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
204 | extension Discord_UserSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
205 | public static let protoMessageName: String = _protobuf_package + ".UserSettings"
206 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
207 | 1: .same(proto: "versions"),
208 | 2: .same(proto: "inbox"),
/host/spi-builder-workspace/Sources/DiscordKit/protos/DiscordProtos.pb.swift:394:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
392 | extension Discord_UserSettings.Versions: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
393 | public static let protoMessageName: String = Discord_UserSettings.protoMessageName + ".Versions"
394 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
395 | 1: .standard(proto: "client_version"),
396 | 2: .standard(proto: "server_version"),
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/host/spi-builder-workspace/Sources/DiscordKit/protos/DiscordProtos.pb.swift:206:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
204 | extension Discord_UserSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
205 | public static let protoMessageName: String = _protobuf_package + ".UserSettings"
206 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
207 | 1: .same(proto: "versions"),
208 | 2: .same(proto: "inbox"),
/host/spi-builder-workspace/Sources/DiscordKit/protos/DiscordProtos.pb.swift:394:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
392 | extension Discord_UserSettings.Versions: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
393 | public static let protoMessageName: String = Discord_UserSettings.protoMessageName + ".Versions"
394 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
395 | 1: .standard(proto: "client_version"),
396 | 2: .standard(proto: "server_version"),
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/host/spi-builder-workspace/Sources/DiscordKit/protos/Settings/VoiceAndVideo.pb.swift:167:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
165 | extension VoiceAndVideoSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
166 | public static let protoMessageName: String = "VoiceAndVideoSettings"
167 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
168 | 1: .same(proto: "blur"),
169 | 2: .standard(proto: "preset_option"),
/host/spi-builder-workspace/Sources/DiscordKit/protos/Settings/VoiceAndVideo.pb.swift:274:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
272 | extension VideoFilterBackgroundBlur: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
273 | public static let protoMessageName: String = "VideoFilterBackgroundBlur"
274 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
275 | 1: .standard(proto: "use_blur"),
276 | ]
/host/spi-builder-workspace/Sources/DiscordKit/protos/Settings/VoiceAndVideo.pb.swift:306:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
304 | extension VideoFilterAsset: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
305 | public static let protoMessageName: String = "VideoFilterAsset"
306 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
307 | 1: .same(proto: "id"),
308 | 2: .standard(proto: "asset_hash"),
/host/spi-builder-workspace/Sources/DiscordKit/protos/Status.pb.swift:94:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
92 | extension CustomStatus: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
93 | public static let protoMessageName: String = "CustomStatus"
94 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
95 | 1: .same(proto: "text"),
96 | 2: .standard(proto: "emoji_id"),
/host/spi-builder-workspace/Sources/DiscordKit/protos/Status.pb.swift:144:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
142 | extension StatusSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
143 | public static let protoMessageName: String = "StatusSettings"
144 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
145 | 1: .same(proto: "status"),
146 | 2: .standard(proto: "custom_status"),
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/host/spi-builder-workspace/Sources/DiscordKit/protos/Settings/VoiceAndVideo.pb.swift:167:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
165 | extension VoiceAndVideoSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
166 | public static let protoMessageName: String = "VoiceAndVideoSettings"
167 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
168 | 1: .same(proto: "blur"),
169 | 2: .standard(proto: "preset_option"),
/host/spi-builder-workspace/Sources/DiscordKit/protos/Settings/VoiceAndVideo.pb.swift:274:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
272 | extension VideoFilterBackgroundBlur: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
273 | public static let protoMessageName: String = "VideoFilterBackgroundBlur"
274 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
275 | 1: .standard(proto: "use_blur"),
276 | ]
/host/spi-builder-workspace/Sources/DiscordKit/protos/Settings/VoiceAndVideo.pb.swift:306:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
304 | extension VideoFilterAsset: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
305 | public static let protoMessageName: String = "VideoFilterAsset"
306 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
307 | 1: .same(proto: "id"),
308 | 2: .standard(proto: "asset_hash"),
/host/spi-builder-workspace/Sources/DiscordKit/protos/Status.pb.swift:94:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
92 | extension CustomStatus: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
93 | public static let protoMessageName: String = "CustomStatus"
94 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
95 | 1: .same(proto: "text"),
96 | 2: .standard(proto: "emoji_id"),
/host/spi-builder-workspace/Sources/DiscordKit/protos/Status.pb.swift:144:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
142 | extension StatusSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
143 | public static let protoMessageName: String = "StatusSettings"
144 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
145 | 1: .same(proto: "status"),
146 | 2: .standard(proto: "custom_status"),
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/host/spi-builder-workspace/Sources/DiscordKit/protos/FavoriteChannel.pb.swift:108:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
106 |
107 | extension FavoriteChannelType: SwiftProtobuf._ProtoNameProviding {
108 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
109 | 0: .same(proto: "UNSET_FAVORITE_CHANNEL_TYPE"),
110 | 1: .same(proto: "REFERENCE_ORIGINAL"),
/host/spi-builder-workspace/Sources/DiscordKit/protos/FavoriteChannel.pb.swift:117:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
115 | extension Favorites: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
116 | public static let protoMessageName: String = "Favorites"
117 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
118 | 1: .standard(proto: "favorite_channels"),
119 | 2: .same(proto: "muted"),
/host/spi-builder-workspace/Sources/DiscordKit/protos/FavoriteChannel.pb.swift:155:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
153 | extension FavoriteChannel: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
154 | public static let protoMessageName: String = "FavoriteChannel"
155 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
156 | 1: .same(proto: "nickname"),
157 | 2: .same(proto: "type"),
/host/spi-builder-workspace/Sources/DiscordKit/protos/FavoriteGIFs.pb.swift:111:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
109 |
110 | extension GIFType: SwiftProtobuf._ProtoNameProviding {
111 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
112 | 0: .same(proto: "NONE"),
113 | 1: .same(proto: "IMAGE"),
/host/spi-builder-workspace/Sources/DiscordKit/protos/FavoriteGIFs.pb.swift:120:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
118 | extension FavoriteGIFs: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
119 | public static let protoMessageName: String = "FavoriteGIFs"
120 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
121 | 1: .same(proto: "gifs"),
122 | 2: .standard(proto: "hide_tooltip"),
/host/spi-builder-workspace/Sources/DiscordKit/protos/FavoriteGIFs.pb.swift:158:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
156 | extension FavoriteGIF: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
157 | public static let protoMessageName: String = "FavoriteGIF"
158 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
159 | 1: .same(proto: "type"),
160 | 2: .same(proto: "src"),
/host/spi-builder-workspace/Sources/DiscordKit/protos/GuildFolders.pb.swift:91:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
89 | extension GuildFolders: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
90 | public static let protoMessageName: String = "GuildFolders"
91 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
92 | 1: .same(proto: "folders"),
93 | 2: .standard(proto: "guild_positions"),
/host/spi-builder-workspace/Sources/DiscordKit/protos/GuildFolders.pb.swift:129:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
127 | extension GuildFolder: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
128 | public static let protoMessageName: String = "GuildFolder"
129 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
130 | 1: .standard(proto: "guild_ids"),
131 | 2: .same(proto: "id"),
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/host/spi-builder-workspace/Sources/DiscordKit/protos/FavoriteChannel.pb.swift:108:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
106 |
107 | extension FavoriteChannelType: SwiftProtobuf._ProtoNameProviding {
108 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
109 | 0: .same(proto: "UNSET_FAVORITE_CHANNEL_TYPE"),
110 | 1: .same(proto: "REFERENCE_ORIGINAL"),
/host/spi-builder-workspace/Sources/DiscordKit/protos/FavoriteChannel.pb.swift:117:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
115 | extension Favorites: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
116 | public static let protoMessageName: String = "Favorites"
117 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
118 | 1: .standard(proto: "favorite_channels"),
119 | 2: .same(proto: "muted"),
/host/spi-builder-workspace/Sources/DiscordKit/protos/FavoriteChannel.pb.swift:155:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
153 | extension FavoriteChannel: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
154 | public static let protoMessageName: String = "FavoriteChannel"
155 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
156 | 1: .same(proto: "nickname"),
157 | 2: .same(proto: "type"),
/host/spi-builder-workspace/Sources/DiscordKit/protos/FavoriteGIFs.pb.swift:111:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
109 |
110 | extension GIFType: SwiftProtobuf._ProtoNameProviding {
111 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
112 | 0: .same(proto: "NONE"),
113 | 1: .same(proto: "IMAGE"),
/host/spi-builder-workspace/Sources/DiscordKit/protos/FavoriteGIFs.pb.swift:120:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
118 | extension FavoriteGIFs: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
119 | public static let protoMessageName: String = "FavoriteGIFs"
120 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
121 | 1: .same(proto: "gifs"),
122 | 2: .standard(proto: "hide_tooltip"),
/host/spi-builder-workspace/Sources/DiscordKit/protos/FavoriteGIFs.pb.swift:158:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
156 | extension FavoriteGIF: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
157 | public static let protoMessageName: String = "FavoriteGIF"
158 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
159 | 1: .same(proto: "type"),
160 | 2: .same(proto: "src"),
/host/spi-builder-workspace/Sources/DiscordKit/protos/GuildFolders.pb.swift:91:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
89 | extension GuildFolders: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
90 | public static let protoMessageName: String = "GuildFolders"
91 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
92 | 1: .same(proto: "folders"),
93 | 2: .standard(proto: "guild_positions"),
/host/spi-builder-workspace/Sources/DiscordKit/protos/GuildFolders.pb.swift:129:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
127 | extension GuildFolder: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
128 | public static let protoMessageName: String = "GuildFolder"
129 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
130 | 1: .standard(proto: "guild_ids"),
131 | 2: .same(proto: "id"),
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/host/spi-builder-workspace/Sources/DiscordKit/protos/FavoriteChannel.pb.swift:108:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
106 |
107 | extension FavoriteChannelType: SwiftProtobuf._ProtoNameProviding {
108 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
109 | 0: .same(proto: "UNSET_FAVORITE_CHANNEL_TYPE"),
110 | 1: .same(proto: "REFERENCE_ORIGINAL"),
/host/spi-builder-workspace/Sources/DiscordKit/protos/FavoriteChannel.pb.swift:117:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
115 | extension Favorites: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
116 | public static let protoMessageName: String = "Favorites"
117 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
118 | 1: .standard(proto: "favorite_channels"),
119 | 2: .same(proto: "muted"),
/host/spi-builder-workspace/Sources/DiscordKit/protos/FavoriteChannel.pb.swift:155:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
153 | extension FavoriteChannel: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
154 | public static let protoMessageName: String = "FavoriteChannel"
155 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
156 | 1: .same(proto: "nickname"),
157 | 2: .same(proto: "type"),
/host/spi-builder-workspace/Sources/DiscordKit/protos/FavoriteGIFs.pb.swift:111:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
109 |
110 | extension GIFType: SwiftProtobuf._ProtoNameProviding {
111 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
112 | 0: .same(proto: "NONE"),
113 | 1: .same(proto: "IMAGE"),
/host/spi-builder-workspace/Sources/DiscordKit/protos/FavoriteGIFs.pb.swift:120:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
118 | extension FavoriteGIFs: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
119 | public static let protoMessageName: String = "FavoriteGIFs"
120 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
121 | 1: .same(proto: "gifs"),
122 | 2: .standard(proto: "hide_tooltip"),
/host/spi-builder-workspace/Sources/DiscordKit/protos/FavoriteGIFs.pb.swift:158:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
156 | extension FavoriteGIF: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
157 | public static let protoMessageName: String = "FavoriteGIF"
158 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
159 | 1: .same(proto: "type"),
160 | 2: .same(proto: "src"),
/host/spi-builder-workspace/Sources/DiscordKit/protos/GuildFolders.pb.swift:91:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
89 | extension GuildFolders: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
90 | public static let protoMessageName: String = "GuildFolders"
91 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
92 | 1: .same(proto: "folders"),
93 | 2: .standard(proto: "guild_positions"),
/host/spi-builder-workspace/Sources/DiscordKit/protos/GuildFolders.pb.swift:129:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
127 | extension GuildFolder: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
128 | public static let protoMessageName: String = "GuildFolder"
129 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
130 | 1: .standard(proto: "guild_ids"),
131 | 2: .same(proto: "id"),
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
BUILD FAILURE 6.3 linux