Build Information
Failed to build DiscordKit, reference main (2da56f
), with Swift 6.2 (beta) for macOS (SPM) on 20 Jun 2025 04:44:42 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SwiftcordApp/DiscordKit.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/SwiftcordApp/DiscordKit
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 2da56fe patch(snowflake): update discord epoch to be static property
Cloned https://github.com/SwiftcordApp/DiscordKit.git
Revision (git rev-parse @):
2da56feba250dac2638b58ee5c6b362fa46002d1
SUCCESS checkout https://github.com/SwiftcordApp/DiscordKit.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/SwiftcordApp/DiscordKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
[1/1] Compiling plugin SwiftProtobufPlugin
[2/2] Compiling plugin Swift-DocC Preview
[3/3] Compiling plugin Swift-DocC
Building for debugging...
[3/12] Write sources
[6/12] Copying PrivacyInfo.xcprivacy
[7/12] Write sources
[7/12] Copying PrivacyInfo.xcprivacy
[11/12] Write swift-version-1EA4D86E10B52AF.txt
[13/105] Compiling Logging LogHandler.swift
[14/105] Compiling Logging Logging.swift
[15/105] Compiling Logging Locks.swift
[16/105] Emitting module Logging
[17/105] Compiling Logging MetadataProvider.swift
[18/105] Emitting module Reachability
[19/105] Compiling Reachability Reachability.swift
[20/105] Compiling Reachability resource_bundle_accessor.swift
[21/105] Compiling SwiftProtobuf FieldTag.swift
[22/105] Compiling SwiftProtobuf FieldTypes.swift
[23/105] Compiling SwiftProtobuf Google_Protobuf_Any+Extensions.swift
[24/105] Compiling SwiftProtobuf Google_Protobuf_Any+Registry.swift
[25/105] Compiling SwiftProtobuf Google_Protobuf_Duration+Extensions.swift
[26/105] Compiling SwiftProtobuf Google_Protobuf_FieldMask+Extensions.swift
[27/105] Compiling SwiftProtobuf Google_Protobuf_ListValue+Extensions.swift
[28/105] Compiling SwiftProtobuf Google_Protobuf_NullValue+Extensions.swift
[29/105] Compiling SwiftProtobuf Google_Protobuf_Struct+Extensions.swift
[30/105] Compiling SwiftProtobuf Google_Protobuf_Timestamp+Extensions.swift
[31/114] Compiling SwiftProtobuf Google_Protobuf_Value+Extensions.swift
[32/114] Compiling SwiftProtobuf Google_Protobuf_Wrappers+Extensions.swift
[33/114] Compiling SwiftProtobuf HashVisitor.swift
[34/114] Compiling SwiftProtobuf Internal.swift
[35/114] Compiling SwiftProtobuf JSONDecoder.swift
[36/114] Compiling SwiftProtobuf JSONDecodingError.swift
[37/114] Compiling SwiftProtobuf JSONDecodingOptions.swift
[38/114] Compiling SwiftProtobuf JSONEncoder.swift
[39/114] Compiling SwiftProtobuf JSONEncodingError.swift
[40/114] Compiling SwiftProtobuf Message+JSONAdditions.swift
[41/114] Compiling SwiftProtobuf Message+JSONAdditions_Data.swift
[42/114] Compiling SwiftProtobuf Message+JSONArrayAdditions.swift
[43/114] Compiling SwiftProtobuf Message+JSONArrayAdditions_Data.swift
[44/114] Compiling SwiftProtobuf Message+TextFormatAdditions.swift
[45/114] Compiling SwiftProtobuf Message.swift
[46/114] Compiling SwiftProtobuf MessageExtension.swift
[47/114] Compiling SwiftProtobuf NameMap.swift
[48/114] Compiling SwiftProtobuf PathDecoder.swift
[49/114] Emitting module SwiftProtobuf
[50/114] Compiling SwiftProtobuf BinaryEncodingSizeVisitor.swift
[51/114] Compiling SwiftProtobuf BinaryEncodingVisitor.swift
[52/114] Compiling SwiftProtobuf CustomJSONCodable.swift
[53/114] Compiling SwiftProtobuf Decoder.swift
[54/114] Compiling SwiftProtobuf DoubleParser.swift
[55/114] Compiling SwiftProtobuf Enum.swift
[56/114] Compiling SwiftProtobuf ExtensibleMessage.swift
[57/114] Compiling SwiftProtobuf ExtensionFieldValueSet.swift
[58/114] Compiling SwiftProtobuf ExtensionFields.swift
[59/114] Compiling SwiftProtobuf ExtensionMap.swift
[60/114] Compiling SwiftProtobuf AnyMessageStorage.swift
[61/114] Compiling SwiftProtobuf AnyUnpackError.swift
[62/114] Compiling SwiftProtobuf AsyncMessageSequence.swift
[63/114] Compiling SwiftProtobuf BinaryDecoder.swift
[64/114] Compiling SwiftProtobuf BinaryDecodingError.swift
[65/114] Compiling SwiftProtobuf BinaryDecodingOptions.swift
[66/114] Compiling SwiftProtobuf BinaryDelimited.swift
[67/114] Compiling SwiftProtobuf BinaryEncoder.swift
[68/114] Compiling SwiftProtobuf BinaryEncodingError.swift
[69/114] Compiling SwiftProtobuf BinaryEncodingOptions.swift
[70/114] Compiling SwiftProtobuf JSONEncodingOptions.swift
[71/114] Compiling SwiftProtobuf JSONEncodingVisitor.swift
[72/114] Compiling SwiftProtobuf JSONMapEncodingVisitor.swift
[73/114] Compiling SwiftProtobuf JSONScanner.swift
[74/114] Compiling SwiftProtobuf MathUtils.swift
[75/114] Compiling SwiftProtobuf Message+AnyAdditions.swift
[76/114] Compiling SwiftProtobuf Message+BinaryAdditions.swift
[77/114] Compiling SwiftProtobuf Message+BinaryAdditions_Data.swift
[78/114] Compiling SwiftProtobuf Message+FieldMask.swift
[79/114] Compiling SwiftProtobuf TextFormatDecoder.swift
[80/114] Compiling SwiftProtobuf TextFormatDecodingError.swift
[81/114] Compiling SwiftProtobuf TextFormatDecodingOptions.swift
[82/114] Compiling SwiftProtobuf TextFormatEncoder.swift
[83/114] Compiling SwiftProtobuf TextFormatEncodingOptions.swift
[84/114] Compiling SwiftProtobuf TextFormatEncodingVisitor.swift
[85/114] Compiling SwiftProtobuf TextFormatScanner.swift
[86/114] Compiling SwiftProtobuf TimeUtils.swift
[87/114] Compiling SwiftProtobuf UnknownStorage.swift
[88/114] Compiling SwiftProtobuf duration.pb.swift
[89/114] Compiling SwiftProtobuf empty.pb.swift
[90/114] Compiling SwiftProtobuf field_mask.pb.swift
[91/114] Compiling SwiftProtobuf source_context.pb.swift
[92/114] Compiling SwiftProtobuf struct.pb.swift
[93/114] Compiling SwiftProtobuf timestamp.pb.swift
[94/114] Compiling SwiftProtobuf type.pb.swift
[95/114] Compiling SwiftProtobuf wrappers.pb.swift
[96/114] Compiling SwiftProtobuf resource_bundle_accessor.swift
[97/114] Compiling SwiftProtobuf PathVisitor.swift
[98/114] Compiling SwiftProtobuf ProtoNameProviding.swift
[99/114] Compiling SwiftProtobuf ProtobufAPIVersionCheck.swift
[100/114] Compiling SwiftProtobuf ProtobufMap.swift
[101/114] Compiling SwiftProtobuf SelectiveVisitor.swift
[102/114] Compiling SwiftProtobuf SimpleExtensionMap.swift
[103/114] Compiling SwiftProtobuf StringUtils.swift
[104/114] Compiling SwiftProtobuf SwiftProtobufContiguousBytes.swift
[105/114] Compiling SwiftProtobuf SwiftProtobufError.swift
[106/114] Compiling SwiftProtobuf UnsafeRawPointer+Shims.swift
[107/114] Compiling SwiftProtobuf Varint.swift
[108/114] Compiling SwiftProtobuf Version.swift
[109/114] Compiling SwiftProtobuf Visitor.swift
[110/114] Compiling SwiftProtobuf WireFormat.swift
[111/114] Compiling SwiftProtobuf ZigZag.swift
[112/114] Compiling SwiftProtobuf any.pb.swift
[113/114] Compiling SwiftProtobuf api.pb.swift
[114/114] Compiling SwiftProtobuf descriptor.pb.swift
[115/207] Compiling DiscordKitCore GuildMembersChunk.swift
[116/207] Compiling DiscordKitCore GuildMiscUpdate.swift
[117/207] Compiling DiscordKitCore GuildRoleEvt.swift
[118/207] Compiling DiscordKitCore GuildSchEvtUserEvt.swift
[119/207] Compiling DiscordKitCore MessageACKEvt.swift
[120/207] Compiling DiscordKitCore MessageDelete.swift
[121/207] Compiling DiscordKitCore ReadyEvt.swift
[122/207] Compiling DiscordKitCore ReadySuppEvt.swift
[123/207] Compiling DiscordKitCore ThreadListSync.swift
[124/207] Compiling DiscordKitCore ThreadMembersUpdate.swift
[125/207] Compiling DiscordKitCore APIGuildScheduledEvent.swift
[126/207] Compiling DiscordKitCore APIGuildTemplate.swift
[127/207] Compiling DiscordKitCore APIInvite.swift
[128/207] Compiling DiscordKitCore APILobbies.swift
[129/207] Compiling DiscordKitCore APIMultipartFormBody.swift
[130/207] Compiling DiscordKitCore APIOAuth2.swift
[131/207] Compiling DiscordKitCore APIReceivingandResponding.swift
[132/207] Compiling DiscordKitCore APIRequest.swift
[133/207] Compiling DiscordKitCore APIStageInstance.swift
[134/207] Compiling DiscordKitCore APISticker.swift
[135/217] Compiling DiscordKitCore APIUtils.swift
[136/217] Compiling DiscordKitCore DiscordKitConfig.swift
[137/217] Compiling DiscordKitCore DiscordREST.swift
[138/217] Compiling DiscordKitCore Collection+Identifiable.swift
[139/217] Compiling DiscordKitCore Int+decodeFlags.swift
[140/217] Compiling DiscordKitCore Logger+.swift
[141/217] Compiling DiscordKitCore Message+.swift
[142/217] Compiling DiscordKitCore User+.swift
[143/217] Compiling DiscordKitCore Snowflake+decode.swift
[144/217] Compiling DiscordKitCore String+random.swift
[145/217] Compiling DiscordKitCore URL+.swift
[146/217] Emitting module DiscordKitCore
[147/217] Compiling DiscordKitCore APIStore.swift
[148/217] Compiling DiscordKitCore APIUser.swift
[149/217] Compiling DiscordKitCore APIVoice.swift
[150/217] Compiling DiscordKitCore APIWebhook.swift
[151/217] Compiling DiscordKitCore DecodeThrowable.swift
[152/217] Compiling DiscordKitCore DiscordRange.swift
[153/217] Compiling DiscordKitCore EventDispatch.swift
[154/217] Compiling DiscordKitCore HashedAsset.swift
[155/217] Compiling DiscordKitCore HybridSnowflake.swift
[156/217] Compiling DiscordKitCore NullEncodable.swift
[157/217] Compiling DiscordKitCore TypingStart.swift
[158/217] Compiling DiscordKitCore TypingStartEvt.swift
[159/217] Compiling DiscordKitCore Gateway.swift
[160/217] Compiling DiscordKitCore GatewayIO.swift
[161/217] Compiling DiscordKitCore ReadState.swift
[162/217] Compiling DiscordKitCore UserSettings.swift
[163/217] Compiling DiscordKitCore LogOut.swift
[164/217] Compiling DiscordKitCore MessageReadAck.swift
[165/217] Compiling DiscordKitCore NewMessage.swift
[166/217] Compiling DiscordKitCore ResolvedInvite.swift
[167/217] Compiling DiscordKitCore Nonce.swift
[168/217] Compiling DiscordKitCore Permission.swift
[169/217] Compiling DiscordKitCore Presence.swift
[170/217] Compiling DiscordKitCore Reaction.swift
[171/217] Compiling DiscordKitCore Snowflake.swift
[172/217] Compiling DiscordKitCore Stage.swift
[173/217] Compiling DiscordKitCore Sticker.swift
[174/217] Compiling DiscordKitCore Team.swift
[175/217] Compiling DiscordKitCore User+Flags.swift
[176/217] Compiling DiscordKitCore User+PremiumType.swift
[177/217] Compiling DiscordKitCore APIAchievements.swift
[178/217] Compiling DiscordKitCore APIApplicationCommands.swift
[179/217] Compiling DiscordKitCore APIApplicationRoleConnectionMetadata.swift
[180/217] Compiling DiscordKitCore APIAuditLog.swift
[181/217] Compiling DiscordKitCore APIAutoModeration.swift
[182/217] Compiling DiscordKitCore APIChannel.swift
[183/217] Compiling DiscordKitCore APICurrentUser.swift
[184/217] Compiling DiscordKitCore APIEmoji.swift
[185/217] Compiling DiscordKitCore APIGateway.swift
[186/217] Compiling DiscordKitCore APIGuild.swift
[187/217] Compiling DiscordKitCore URLSession+.swift
/Users/admin/builder/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 'String(describing:)' to silence this warning
| | `- note: provide a default value to avoid 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 | ])
[188/217] Compiling DiscordKitCore DecompressionEngine.swift
/Users/admin/builder/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 'String(describing:)' to silence this warning
| | `- note: provide a default value to avoid 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 | ])
[189/217] Compiling DiscordKitCore GatewayIdentify.swift
/Users/admin/builder/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 'String(describing:)' to silence this warning
| | `- note: provide a default value to avoid 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 | ])
[190/217] Compiling DiscordKitCore Intents.swift
/Users/admin/builder/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 'String(describing:)' to silence this warning
| | `- note: provide a default value to avoid 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 | ])
[191/217] Compiling DiscordKitCore RobustWebSocket.swift
/Users/admin/builder/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 'String(describing:)' to silence this warning
| | `- note: provide a default value to avoid 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 | ])
[192/217] Compiling DiscordKitCore Activity.swift
/Users/admin/builder/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 'String(describing:)' to silence this warning
| | `- note: provide a default value to avoid 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 | ])
[193/217] Compiling DiscordKitCore AppCommand.swift
/Users/admin/builder/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 'String(describing:)' to silence this warning
| | `- note: provide a default value to avoid 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 | ])
[194/217] Compiling DiscordKitCore Application.swift
/Users/admin/builder/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 'String(describing:)' to silence this warning
| | `- note: provide a default value to avoid 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 | ])
[195/217] Compiling DiscordKitCore Attachment.swift
/Users/admin/builder/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 'String(describing:)' to silence this warning
| | `- note: provide a default value to avoid 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 | ])
[196/217] Compiling DiscordKitCore Channel.swift
/Users/admin/builder/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 'String(describing:)' to silence this warning
| | `- note: provide a default value to avoid 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 | ])
[197/217] Compiling DiscordKitCore Connection.swift
/Users/admin/builder/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 'String(describing:)' to silence this warning
| | `- note: provide a default value to avoid 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 | ])
[198/217] Compiling DiscordKitCore User.swift
[199/217] Compiling DiscordKitCore Voice.swift
[200/217] Compiling DiscordKitCore ApplicationObj.swift
[201/217] Compiling DiscordKitCore DataStructs.swift
[202/217] Compiling DiscordKitCore ChUnreadUpdate.swift
[203/217] Compiling DiscordKitCore ChannelPinsUpdate.swift
[204/217] Compiling DiscordKitCore GatewayEvent.swift
[205/217] Compiling DiscordKitCore GatewaySettingsProtoUpdate.swift
[206/217] Compiling DiscordKitCore GuildBan.swift
[207/217] Compiling DiscordKitCore GuildMemberEvt.swift
[208/217] Compiling DiscordKitCore Embed.swift
[209/217] Compiling DiscordKitCore Emoji.swift
[210/217] Compiling DiscordKitCore Guild.swift
[211/217] Compiling DiscordKitCore Integration.swift
[212/217] Compiling DiscordKitCore Interaction.swift
[213/217] Compiling DiscordKitCore Levels.swift
[214/217] Compiling DiscordKitCore Locale.swift
[215/217] Compiling DiscordKitCore Member.swift
[216/217] Compiling DiscordKitCore Mention.swift
[217/217] Compiling DiscordKitCore Message.swift
[218/260] Emitting module DiscordKitBot
[219/262] Compiling DiscordKit Privacy.pb.swift
[220/262] Compiling DiscordKit GuildFolders.pb.swift
[221/262] Compiling DiscordKitBot NotificationNames.swift
[222/262] Compiling DiscordKit Appearance.pb.swift
[223/262] Compiling DiscordKitBot NumberOption.swift
[224/262] Compiling DiscordKitBot OptionBuilder.swift
[225/262] Compiling DiscordKit Notification.pb.swift
[226/262] Compiling DiscordKitBot ActionRow.swift
[227/262] Compiling DiscordKitBot Button.swift
[228/262] Compiling DiscordKitBot BotEmbedBuilder.swift
[229/262] Compiling DiscordKitBot EmbedFieldBuilder.swift
[230/262] Compiling DiscordKitBot WebhookResponse.swift
[231/262] Compiling DiscordKitBot APICommand.swift
[232/262] Compiling DiscordKitBot AppCommandBuilder.swift
[233/262] Compiling DiscordKitBot CommandData.swift
[234/262] Emitting module DiscordKit
[235/264] Compiling DiscordKit Audio.pb.swift
[236/264] Compiling DiscordKit VoiceAndVideo.pb.swift
[237/264] Compiling DiscordKitBot BooleanOption.swift
[238/264] Compiling DiscordKitBot CommandOption.swift
[239/264] Compiling DiscordKitBot IntegerOption.swift
[240/264] Compiling DiscordKitBot Client.swift
[241/264] Compiling DiscordKitBot BotEmbed.swift
[244/264] Compiling DiscordKitBot NewAppCommand.swift
/Users/admin/builder/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 | }
/Users/admin/builder/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.
/Users/admin/builder/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))")
/Users/admin/builder/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 | }
/Users/admin/builder/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(_:))
/Users/admin/builder/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)
/Users/admin/builder/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 | }
/Users/admin/builder/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>
/Users/admin/builder/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 | }
/Users/admin/builder/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.
/Users/admin/builder/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))")
/Users/admin/builder/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 | }
/Users/admin/builder/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(_:))
/Users/admin/builder/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)
/Users/admin/builder/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 | }
/Users/admin/builder/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>
/Users/admin/builder/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 | }
/Users/admin/builder/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.
/Users/admin/builder/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))")
/Users/admin/builder/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 | }
/Users/admin/builder/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(_:))
/Users/admin/builder/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)
/Users/admin/builder/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 | }
/Users/admin/builder/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>
[264/264] Compiling DiscordKit Status.pb.swift
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/tesseract-one/WebSocket.swift.git
Fetching https://github.com/apple/swift-protobuf.git
Fetching https://github.com/OpenCombine/OpenCombine.git
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/ashleymills/Reachability.swift
Fetching https://github.com/tsolomko/SWCompression.git
[1/287] Fetching websocket.swift
[53/2199] Fetching websocket.swift, reachability.swift
[299/19208] Fetching websocket.swift, reachability.swift, swcompression
[300/21290] Fetching websocket.swift, reachability.swift, swcompression, swift-docc-plugin
Fetched https://github.com/tesseract-one/WebSocket.swift.git from cache (0.67s)
[392/29283] Fetching reachability.swift, swcompression, swift-docc-plugin, opencombine
[1543/33119] Fetching reachability.swift, swcompression, swift-docc-plugin, opencombine, swift-log
Fetched https://github.com/apple/swift-log.git from cache (1.15s)
[21629/29283] Fetching reachability.swift, swcompression, swift-docc-plugin, opencombine
[29284/68738] Fetching reachability.swift, swcompression, swift-docc-plugin, opencombine, swift-protobuf
Fetched https://github.com/OpenCombine/OpenCombine.git from cache (3.97s)
Fetched https://github.com/ashleymills/Reachability.swift from cache (3.97s)
Fetched https://github.com/apple/swift-protobuf.git from cache (3.97s)
Fetched https://github.com/apple/swift-docc-plugin from cache (3.97s)
Fetched https://github.com/tsolomko/SWCompression.git from cache (3.97s)
Computing version for https://github.com/tesseract-one/WebSocket.swift.git
Computed https://github.com/tesseract-one/WebSocket.swift.git at 0.2.0 (4.56s)
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio.git
[1/14890] Fetching swift-nio-ssl
[1193/91217] Fetching swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (3.39s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (3.39s)
Computing version for https://github.com/OpenCombine/OpenCombine.git
Computed https://github.com/OpenCombine/OpenCombine.git at 0.14.0 (3.97s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.19.0 (0.55s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.40.0 (0.54s)
Computing version for https://github.com/ashleymills/Reachability.swift
Computed https://github.com/ashleymills/Reachability.swift at 5.2.4 (0.48s)
Computing version for https://github.com/tsolomko/SWCompression.git
Computed https://github.com/tsolomko/SWCompression.git at 4.8.6 (0.51s)
Fetching https://github.com/tsolomko/BitByteData
[1/3067] Fetching bitbytedata
Fetched https://github.com/tsolomko/BitByteData from cache (0.95s)
Computing version for https://github.com/tsolomko/BitByteData
Computed https://github.com/tsolomko/BitByteData at 2.0.4 (1.48s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.4 (0.48s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3413] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.08s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.64s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.39s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.30.0 (0.39s)
Creating working copy for https://github.com/tsolomko/SWCompression.git
Working copy of https://github.com/tsolomko/SWCompression.git resolved at 4.8.6
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.30.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Creating working copy for https://github.com/OpenCombine/OpenCombine.git
Working copy of https://github.com/OpenCombine/OpenCombine.git resolved at 0.14.0
Creating working copy for https://github.com/ashleymills/Reachability.swift
Working copy of https://github.com/ashleymills/Reachability.swift resolved at 5.2.4
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.4
Creating working copy for https://github.com/tsolomko/BitByteData
Working copy of https://github.com/tsolomko/BitByteData resolved at 2.0.4
Creating working copy for https://github.com/tesseract-one/WebSocket.swift.git
Working copy of https://github.com/tesseract-one/WebSocket.swift.git resolved at 0.2.0
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.19.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.40.0
warning: 'reachability.swift': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Reachability.swift/Sources/Info.plist
BUILD FAILURE 6.2 macosSpm