Build Information
Failed to build DiscordKit, reference main (58cf09), with Swift 6.3 for macOS (SPM) on 7 Sep 2026 17:40:45 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.5.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 5.0.2
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 58cf094 feat(api)!: add expressions soundboard and administration support
Cloned https://github.com/SwiftcordApp/DiscordKit.git
Revision (git rev-parse @):
58cf0949336d3d1652ba09e8f65cfc6df098fef4
SUCCESS checkout https://github.com/SwiftcordApp/DiscordKit.git at main
Fetching https://github.com/apple/swift-protobuf.git
Fetching https://github.com/tesseract-one/WebSocket.swift.git
Fetching https://github.com/ashleymills/Reachability.swift
Fetching https://github.com/OpenCombine/OpenCombine.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/tsolomko/SWCompression.git
[1/2345] Fetching swift-docc-plugin
[2/2632] Fetching swift-docc-plugin, websocket.swift
[54/4553] Fetching swift-docc-plugin, websocket.swift, reachability.swift
[112/22631] Fetching swift-docc-plugin, websocket.swift, reachability.swift, swcompression
[781/30915] Fetching swift-docc-plugin, websocket.swift, reachability.swift, swcompression, opencombine
[16440/84967] Fetching swift-docc-plugin, websocket.swift, reachability.swift, swcompression, opencombine, swift-protobuf
[22599/170774] Fetching swift-docc-plugin, websocket.swift, reachability.swift, swcompression, opencombine, swift-protobuf, swift-nio
Fetched https://github.com/tsolomko/SWCompression.git from cache (19.10s)
Fetched https://github.com/OpenCombine/OpenCombine.git from cache (19.10s)
Fetched https://github.com/apple/swift-docc-plugin from cache (19.10s)
Fetched https://github.com/ashleymills/Reachability.swift from cache (19.10s)
Fetched https://github.com/tesseract-one/WebSocket.swift.git from cache (19.10s)
Fetched https://github.com/apple/swift-protobuf.git from cache (19.10s)
Fetched https://github.com/apple/swift-nio.git from cache (19.10s)
Fetching https://github.com/tsolomko/BitByteData
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-log.git
[1/8028] Fetching swift-log
[2/11309] Fetching swift-log, bitbytedata
[9473/27381] Fetching swift-log, bitbytedata, swift-nio-ssl
Fetched https://github.com/tsolomko/BitByteData from cache (1.43s)
[9154/24100] Fetching swift-log, swift-nio-ssl
Fetched https://github.com/apple/swift-log.git from cache (3.06s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (3.06s)
Computing version for https://github.com/tesseract-one/WebSocket.swift.git
Computed https://github.com/tesseract-one/WebSocket.swift.git at 0.2.0 (22.83s)
Computing version for https://github.com/tsolomko/SWCompression.git
Computed https://github.com/tsolomko/SWCompression.git at 4.8.5 (0.63s)
Computing version for https://github.com/OpenCombine/OpenCombine.git
Computed https://github.com/OpenCombine/OpenCombine.git at 0.14.0 (0.65s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.4.4 (0.64s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.20.2 (0.64s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.0.0 (0.63s)
Computing version for https://github.com/ashleymills/Reachability.swift
Computed https://github.com/ashleymills/Reachability.swift at 5.1.0 (2.19s)
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.67s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.40.0 (0.67s)
Computing version for https://github.com/tsolomko/BitByteData
Computed https://github.com/tsolomko/BitByteData at 2.0.2 (0.66s)
Creating working copy for https://github.com/apple/swift-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.20.2
Creating working copy for https://github.com/ashleymills/Reachability.swift
Working copy of https://github.com/ashleymills/Reachability.swift resolved at 5.1.0
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.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.40.0
Creating working copy for https://github.com/tsolomko/BitByteData
Working copy of https://github.com/tsolomko/BitByteData resolved at 2.0.2
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/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-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.0.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.4.4
Creating working copy for https://github.com/tsolomko/SWCompression.git
Working copy of https://github.com/tsolomko/SWCompression.git resolved at 4.8.5
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"traits": [
"default"
],
"dependencies": [
{
"identity": "discordkit",
"name": "DiscordKit",
"url": "https://github.com/SwiftcordApp/DiscordKit.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/DiscordKit",
"traits": [
"default"
],
"dependencies": [
{
"identity": "reachability.swift",
"name": "Reachability",
"url": "https://github.com/ashleymills/Reachability.swift",
"version": "5.2.4",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Reachability.swift",
"traits": [
"default"
],
"dependencies": [
]
},
{
"identity": "swift-protobuf",
"name": "SwiftProtobuf",
"url": "https://github.com/apple/swift-protobuf.git",
"version": "1.38.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-protobuf",
"traits": [
"FieldMaskUtilities",
"BinaryDelimitedStreams"
],
"dependencies": [
]
},
{
"identity": "swift-log",
"name": "swift-log",
"url": "https://github.com/apple/swift-log.git",
"version": "1.15.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-log",
"traits": [
],
"dependencies": [
]
},
{
"identity": "opencombine",
"name": "OpenCombine",
"url": "https://github.com/OpenCombine/OpenCombine.git",
"version": "0.14.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/OpenCombine",
"traits": [
"default"
],
"dependencies": [
]
},
{
"identity": "swcompression",
"name": "SWCompression",
"url": "https://github.com/tsolomko/SWCompression.git",
"version": "4.9.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SWCompression",
"traits": [
"default"
],
"dependencies": [
{
"identity": "bitbytedata",
"name": "BitByteData",
"url": "https://github.com/tsolomko/BitByteData",
"version": "2.1.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/BitByteData",
"traits": [
"default"
],
"dependencies": [
]
}
]
},
{
"identity": "websocket.swift",
"name": "WebSocket",
"url": "https://github.com/tesseract-one/WebSocket.swift.git",
"version": "0.2.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/WebSocket.swift",
"traits": [
"default"
],
"dependencies": [
{
"identity": "swift-nio",
"name": "swift-nio",
"url": "https://github.com/apple/swift-nio.git",
"version": "2.40.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-nio",
"traits": [
"default"
],
"dependencies": [
]
},
{
"identity": "swift-nio-ssl",
"name": "swift-nio-ssl",
"url": "https://github.com/apple/swift-nio-ssl.git",
"version": "2.19.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-nio-ssl",
"traits": [
"default"
],
"dependencies": [
{
"identity": "swift-nio",
"name": "swift-nio",
"url": "https://github.com/apple/swift-nio.git",
"version": "2.40.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-nio",
"traits": [
"default"
],
"dependencies": [
]
}
]
}
]
}
]
}
]
}
Fetching https://github.com/SwiftcordApp/DiscordKit.git
[1/6351] Fetching discordkit
Fetched https://github.com/SwiftcordApp/DiscordKit.git from cache (1.82s)
Fetching https://github.com/apple/swift-log.git from cache
Fetching https://github.com/OpenCombine/OpenCombine.git from cache
Fetching https://github.com/ashleymills/Reachability.swift from cache
Fetching https://github.com/apple/swift-protobuf.git from cache
Fetching https://github.com/tsolomko/SWCompression.git from cache
Fetching https://github.com/tesseract-one/WebSocket.swift.git from cache
Fetched https://github.com/OpenCombine/OpenCombine.git from cache (0.62s)
Fetched https://github.com/tesseract-one/WebSocket.swift.git from cache (0.62s)
Fetched https://github.com/apple/swift-protobuf.git from cache (0.80s)
Fetched https://github.com/apple/swift-log.git from cache (0.80s)
Fetched https://github.com/tsolomko/SWCompression.git from cache (0.80s)
Fetched https://github.com/ashleymills/Reachability.swift from cache (0.80s)
Computing version for https://github.com/tesseract-one/WebSocket.swift.git
Computed https://github.com/tesseract-one/WebSocket.swift.git at 0.2.0 (0.87s)
Fetching https://github.com/apple/swift-nio.git from cache
Fetching https://github.com/apple/swift-nio-ssl.git from cache
Fetched https://github.com/apple/swift-nio.git from cache (0.87s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (0.87s)
Computing version for https://github.com/OpenCombine/OpenCombine.git
Computed https://github.com/OpenCombine/OpenCombine.git at 0.14.0 (0.94s)
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.03s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.40.0 (0.03s)
Computing version for https://github.com/ashleymills/Reachability.swift
Computed https://github.com/ashleymills/Reachability.swift at 5.2.4 (0.61s)
Computing version for https://github.com/tsolomko/SWCompression.git
Computed https://github.com/tsolomko/SWCompression.git at 4.9.1 (0.52s)
Fetching https://github.com/tsolomko/BitByteData from cache
Fetched https://github.com/tsolomko/BitByteData from cache (0.51s)
Computing version for https://github.com/tsolomko/BitByteData
Computed https://github.com/tsolomko/BitByteData at 2.1.0 (1.05s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.0 (0.56s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.38.1 (0.50s)
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/tsolomko/BitByteData
Working copy of https://github.com/tsolomko/BitByteData resolved at 2.1.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.15.0
Creating working copy for https://github.com/tsolomko/SWCompression.git
Working copy of https://github.com/tsolomko/SWCompression.git resolved at 4.9.1
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-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/SwiftcordApp/DiscordKit.git
Working copy of https://github.com/SwiftcordApp/DiscordKit.git resolved at main (58cf094)
Creating working copy for https://github.com/apple/swift-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.38.1
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.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.40.0
warning: '.resolve-product-dependencies': dependency 'discordkit' is not used by any target
Found 6 product dependencies
- Reachability
- SwiftProtobuf
- swift-log
- OpenCombine
- SWCompression
- WebSocket
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.3
Building package at path: $PWD
https://github.com/SwiftcordApp/DiscordKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.5.0.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/10] Write sources
[9/10] Write swift-version-69A768CDF2A0BEE1.txt
[11/93] Compiling Logging LogHandler.swift
[12/93] Compiling Logging Locks.swift
[13/93] Compiling Logging Logging.swift
[14/93] Emitting module Logging
[15/93] Emitting module SwiftProtobuf
[16/101] Compiling SwiftProtobuf Message+BinaryAdditions.swift
[17/101] Compiling SwiftProtobuf Message+JSONAdditions.swift
[18/101] Compiling SwiftProtobuf Message+JSONArrayAdditions.swift
[19/101] Compiling SwiftProtobuf Message+TextFormatAdditions.swift
[20/101] Compiling SwiftProtobuf Message.swift
[21/101] Compiling SwiftProtobuf MessageExtension.swift
[22/101] Compiling SwiftProtobuf NameMap.swift
[23/101] Compiling SwiftProtobuf ProtoNameProviding.swift
[24/101] Compiling SwiftProtobuf ExtensionMap.swift
[25/101] Compiling SwiftProtobuf FieldTag.swift
[26/101] Compiling SwiftProtobuf FieldTypes.swift
[27/101] Compiling SwiftProtobuf Google_Protobuf_Any+Extensions.swift
[28/101] Compiling SwiftProtobuf Google_Protobuf_Any+Registry.swift
[29/101] Compiling SwiftProtobuf Google_Protobuf_Duration+Extensions.swift
[30/101] Compiling SwiftProtobuf Google_Protobuf_FieldMask+Extensions.swift
[31/101] Compiling SwiftProtobuf Google_Protobuf_ListValue+Extensions.swift
[32/101] Compiling SwiftProtobuf Google_Protobuf_NullValue+Extensions.swift
[33/101] Compiling Reachability Reachability.swift
[34/101] Emitting module Reachability
[35/101] Compiling SwiftProtobuf BinaryEncodingVisitor.swift
[36/101] Compiling SwiftProtobuf CustomJSONCodable.swift
[37/101] Compiling SwiftProtobuf Data+Extensions.swift
[38/101] Compiling SwiftProtobuf Decoder.swift
[39/101] Compiling SwiftProtobuf DoubleParser.swift
[40/101] Compiling SwiftProtobuf Enum.swift
[41/101] Compiling SwiftProtobuf ExtensibleMessage.swift
[42/101] Compiling SwiftProtobuf ExtensionFieldValueSet.swift
[43/101] Compiling SwiftProtobuf ExtensionFields.swift
[44/101] Compiling SwiftProtobuf ProtobufAPIVersionCheck.swift
[45/101] Compiling SwiftProtobuf ProtobufMap.swift
[46/101] Compiling SwiftProtobuf SelectiveVisitor.swift
[47/101] Compiling SwiftProtobuf SimpleExtensionMap.swift
[48/101] Compiling SwiftProtobuf StringUtils.swift
[49/101] Compiling SwiftProtobuf TextFormatDecoder.swift
[50/101] Compiling SwiftProtobuf TextFormatDecodingError.swift
[51/101] Compiling SwiftProtobuf TextFormatDecodingOptions.swift
[52/101] Compiling SwiftProtobuf duration.pb.swift
[53/101] Compiling SwiftProtobuf empty.pb.swift
[54/101] Compiling SwiftProtobuf field_mask.pb.swift
[55/101] Compiling SwiftProtobuf source_context.pb.swift
[56/101] Compiling SwiftProtobuf struct.pb.swift
[57/101] Compiling SwiftProtobuf timestamp.pb.swift
[58/101] Compiling SwiftProtobuf type.pb.swift
[59/101] Compiling SwiftProtobuf wrappers.pb.swift
[60/101] Compiling SwiftProtobuf JSONEncoder.swift
[61/101] Compiling SwiftProtobuf JSONEncodingError.swift
[62/101] Compiling SwiftProtobuf JSONEncodingOptions.swift
[63/101] Compiling SwiftProtobuf JSONEncodingVisitor.swift
[64/101] Compiling SwiftProtobuf JSONMapEncodingVisitor.swift
[65/101] Compiling SwiftProtobuf JSONScanner.swift
[66/101] Compiling SwiftProtobuf MathUtils.swift
[67/101] Compiling SwiftProtobuf Message+AnyAdditions.swift
[68/101] Compiling SwiftProtobuf TextFormatEncoder.swift
[69/101] Compiling SwiftProtobuf TextFormatEncodingOptions.swift
[70/101] Compiling SwiftProtobuf TextFormatEncodingVisitor.swift
[71/101] Compiling SwiftProtobuf TextFormatScanner.swift
[72/101] Compiling SwiftProtobuf TimeUtils.swift
[73/101] Compiling SwiftProtobuf UnknownStorage.swift
[74/101] Compiling SwiftProtobuf UnsafeBufferPointer+Shims.swift
[75/101] Compiling SwiftProtobuf UnsafeRawPointer+Shims.swift
[76/101] Compiling SwiftProtobuf AnyMessageStorage.swift
[77/101] Compiling SwiftProtobuf AnyUnpackError.swift
[78/101] Compiling SwiftProtobuf BinaryDecoder.swift
[79/101] Compiling SwiftProtobuf BinaryDecodingError.swift
[80/101] Compiling SwiftProtobuf BinaryDecodingOptions.swift
[81/101] Compiling SwiftProtobuf BinaryDelimited.swift
[82/101] Compiling SwiftProtobuf BinaryEncoder.swift
[83/101] Compiling SwiftProtobuf BinaryEncodingError.swift
[84/101] Compiling SwiftProtobuf BinaryEncodingSizeVisitor.swift
[85/101] Compiling SwiftProtobuf Google_Protobuf_Struct+Extensions.swift
[86/101] Compiling SwiftProtobuf Google_Protobuf_Timestamp+Extensions.swift
[87/101] Compiling SwiftProtobuf Google_Protobuf_Value+Extensions.swift
[88/101] Compiling SwiftProtobuf Google_Protobuf_Wrappers+Extensions.swift
[89/101] Compiling SwiftProtobuf HashVisitor.swift
[90/101] Compiling SwiftProtobuf Internal.swift
[91/101] Compiling SwiftProtobuf JSONDecoder.swift
[92/101] Compiling SwiftProtobuf JSONDecodingError.swift
[93/101] Compiling SwiftProtobuf JSONDecodingOptions.swift
[94/101] Compiling SwiftProtobuf Varint.swift
[95/101] Compiling SwiftProtobuf Version.swift
[96/101] Compiling SwiftProtobuf Visitor.swift
[97/101] Compiling SwiftProtobuf WireFormat.swift
[98/101] Compiling SwiftProtobuf ZigZag.swift
[99/101] Compiling SwiftProtobuf any.pb.swift
[100/101] Compiling SwiftProtobuf api.pb.swift
[101/101] Compiling SwiftProtobuf descriptor.pb.swift
[102/226] Compiling DiscordKitCore APIAuditLog.swift
[103/226] Compiling DiscordKitCore APIAutoModeration.swift
[104/226] Compiling DiscordKitCore APIChannel.swift
[105/226] Compiling DiscordKitCore APICollectibles.swift
[106/226] Compiling DiscordKitCore APICurrentUser.swift
[107/226] Compiling DiscordKitCore APIEmoji.swift
[108/226] Compiling DiscordKitCore APIGIFPicker.swift
[109/226] Compiling DiscordKitCore APIGateway.swift
[110/226] Compiling DiscordKitCore APIGuild.swift
[111/226] Compiling DiscordKitCore APIGuildScheduledEvent.swift
[112/226] Compiling DiscordKitCore APIGuildTemplate.swift
[113/226] Compiling DiscordKitCore APIInvite.swift
[114/226] Compiling DiscordKitCore APILobbies.swift
[115/239] Compiling DiscordKitCore GIFPicker.swift
/Users/admin/builder/spi-builder-workspace/Sources/DiscordKitCore/REST/APIAttachmentUpload.swift:87:21: warning: capture of 'self' with non-Sendable type 'AttachmentUploadRequest' in a '@Sendable' closure [#SendableClosureCaptures]
40 | }
41 |
42 | private final class AttachmentUploadRequest {
| `- note: class 'AttachmentUploadRequest' does not conform to the 'Sendable' protocol
43 | private let uploadURL: URL
44 | private let fileURL: URL
:
85 | }
86 |
87 | self.progress(1)
| `- warning: capture of 'self' with non-Sendable type 'AttachmentUploadRequest' in a '@Sendable' closure [#SendableClosureCaptures]
88 | continuation.resume(returning: ())
89 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[116/239] Compiling DiscordKitCore LogOut.swift
/Users/admin/builder/spi-builder-workspace/Sources/DiscordKitCore/REST/APIAttachmentUpload.swift:87:21: warning: capture of 'self' with non-Sendable type 'AttachmentUploadRequest' in a '@Sendable' closure [#SendableClosureCaptures]
40 | }
41 |
42 | private final class AttachmentUploadRequest {
| `- note: class 'AttachmentUploadRequest' does not conform to the 'Sendable' protocol
43 | private let uploadURL: URL
44 | private let fileURL: URL
:
85 | }
86 |
87 | self.progress(1)
| `- warning: capture of 'self' with non-Sendable type 'AttachmentUploadRequest' in a '@Sendable' closure [#SendableClosureCaptures]
88 | continuation.resume(returning: ())
89 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[117/239] Compiling DiscordKitCore MessageReadAck.swift
/Users/admin/builder/spi-builder-workspace/Sources/DiscordKitCore/REST/APIAttachmentUpload.swift:87:21: warning: capture of 'self' with non-Sendable type 'AttachmentUploadRequest' in a '@Sendable' closure [#SendableClosureCaptures]
40 | }
41 |
42 | private final class AttachmentUploadRequest {
| `- note: class 'AttachmentUploadRequest' does not conform to the 'Sendable' protocol
43 | private let uploadURL: URL
44 | private let fileURL: URL
:
85 | }
86 |
87 | self.progress(1)
| `- warning: capture of 'self' with non-Sendable type 'AttachmentUploadRequest' in a '@Sendable' closure [#SendableClosureCaptures]
88 | continuation.resume(returning: ())
89 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[118/239] Compiling DiscordKitCore MessageSearch.swift
/Users/admin/builder/spi-builder-workspace/Sources/DiscordKitCore/REST/APIAttachmentUpload.swift:87:21: warning: capture of 'self' with non-Sendable type 'AttachmentUploadRequest' in a '@Sendable' closure [#SendableClosureCaptures]
40 | }
41 |
42 | private final class AttachmentUploadRequest {
| `- note: class 'AttachmentUploadRequest' does not conform to the 'Sendable' protocol
43 | private let uploadURL: URL
44 | private let fileURL: URL
:
85 | }
86 |
87 | self.progress(1)
| `- warning: capture of 'self' with non-Sendable type 'AttachmentUploadRequest' in a '@Sendable' closure [#SendableClosureCaptures]
88 | continuation.resume(returning: ())
89 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[119/239] Compiling DiscordKitCore NewMessage.swift
/Users/admin/builder/spi-builder-workspace/Sources/DiscordKitCore/REST/APIAttachmentUpload.swift:87:21: warning: capture of 'self' with non-Sendable type 'AttachmentUploadRequest' in a '@Sendable' closure [#SendableClosureCaptures]
40 | }
41 |
42 | private final class AttachmentUploadRequest {
| `- note: class 'AttachmentUploadRequest' does not conform to the 'Sendable' protocol
43 | private let uploadURL: URL
44 | private let fileURL: URL
:
85 | }
86 |
87 | self.progress(1)
| `- warning: capture of 'self' with non-Sendable type 'AttachmentUploadRequest' in a '@Sendable' closure [#SendableClosureCaptures]
88 | continuation.resume(returning: ())
89 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[120/239] Compiling DiscordKitCore PinnedMessages.swift
/Users/admin/builder/spi-builder-workspace/Sources/DiscordKitCore/REST/APIAttachmentUpload.swift:87:21: warning: capture of 'self' with non-Sendable type 'AttachmentUploadRequest' in a '@Sendable' closure [#SendableClosureCaptures]
40 | }
41 |
42 | private final class AttachmentUploadRequest {
| `- note: class 'AttachmentUploadRequest' does not conform to the 'Sendable' protocol
43 | private let uploadURL: URL
44 | private let fileURL: URL
:
85 | }
86 |
87 | self.progress(1)
| `- warning: capture of 'self' with non-Sendable type 'AttachmentUploadRequest' in a '@Sendable' closure [#SendableClosureCaptures]
88 | continuation.resume(returning: ())
89 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[121/239] Compiling DiscordKitCore PollRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/DiscordKitCore/REST/APIAttachmentUpload.swift:87:21: warning: capture of 'self' with non-Sendable type 'AttachmentUploadRequest' in a '@Sendable' closure [#SendableClosureCaptures]
40 | }
41 |
42 | private final class AttachmentUploadRequest {
| `- note: class 'AttachmentUploadRequest' does not conform to the 'Sendable' protocol
43 | private let uploadURL: URL
44 | private let fileURL: URL
:
85 | }
86 |
87 | self.progress(1)
| `- warning: capture of 'self' with non-Sendable type 'AttachmentUploadRequest' in a '@Sendable' closure [#SendableClosureCaptures]
88 | continuation.resume(returning: ())
89 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[122/239] Compiling DiscordKitCore ResolvedInvite.swift
/Users/admin/builder/spi-builder-workspace/Sources/DiscordKitCore/REST/APIAttachmentUpload.swift:87:21: warning: capture of 'self' with non-Sendable type 'AttachmentUploadRequest' in a '@Sendable' closure [#SendableClosureCaptures]
40 | }
41 |
42 | private final class AttachmentUploadRequest {
| `- note: class 'AttachmentUploadRequest' does not conform to the 'Sendable' protocol
43 | private let uploadURL: URL
44 | private let fileURL: URL
:
85 | }
86 |
87 | self.progress(1)
| `- warning: capture of 'self' with non-Sendable type 'AttachmentUploadRequest' in a '@Sendable' closure [#SendableClosureCaptures]
88 | continuation.resume(returning: ())
89 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[123/239] Compiling DiscordKitCore UserSettingsProto.swift
/Users/admin/builder/spi-builder-workspace/Sources/DiscordKitCore/REST/APIAttachmentUpload.swift:87:21: warning: capture of 'self' with non-Sendable type 'AttachmentUploadRequest' in a '@Sendable' closure [#SendableClosureCaptures]
40 | }
41 |
42 | private final class AttachmentUploadRequest {
| `- note: class 'AttachmentUploadRequest' does not conform to the 'Sendable' protocol
43 | private let uploadURL: URL
44 | private let fileURL: URL
:
85 | }
86 |
87 | self.progress(1)
| `- warning: capture of 'self' with non-Sendable type 'AttachmentUploadRequest' in a '@Sendable' closure [#SendableClosureCaptures]
88 | continuation.resume(returning: ())
89 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[124/239] Compiling DiscordKitCore APIAchievements.swift
/Users/admin/builder/spi-builder-workspace/Sources/DiscordKitCore/REST/APIAttachmentUpload.swift:87:21: warning: capture of 'self' with non-Sendable type 'AttachmentUploadRequest' in a '@Sendable' closure [#SendableClosureCaptures]
40 | }
41 |
42 | private final class AttachmentUploadRequest {
| `- note: class 'AttachmentUploadRequest' does not conform to the 'Sendable' protocol
43 | private let uploadURL: URL
44 | private let fileURL: URL
:
85 | }
86 |
87 | self.progress(1)
| `- warning: capture of 'self' with non-Sendable type 'AttachmentUploadRequest' in a '@Sendable' closure [#SendableClosureCaptures]
88 | continuation.resume(returning: ())
89 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[125/239] Compiling DiscordKitCore APIAdministration.swift
/Users/admin/builder/spi-builder-workspace/Sources/DiscordKitCore/REST/APIAttachmentUpload.swift:87:21: warning: capture of 'self' with non-Sendable type 'AttachmentUploadRequest' in a '@Sendable' closure [#SendableClosureCaptures]
40 | }
41 |
42 | private final class AttachmentUploadRequest {
| `- note: class 'AttachmentUploadRequest' does not conform to the 'Sendable' protocol
43 | private let uploadURL: URL
44 | private let fileURL: URL
:
85 | }
86 |
87 | self.progress(1)
| `- warning: capture of 'self' with non-Sendable type 'AttachmentUploadRequest' in a '@Sendable' closure [#SendableClosureCaptures]
88 | continuation.resume(returning: ())
89 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[126/239] Compiling DiscordKitCore APIApplicationCommands.swift
/Users/admin/builder/spi-builder-workspace/Sources/DiscordKitCore/REST/APIAttachmentUpload.swift:87:21: warning: capture of 'self' with non-Sendable type 'AttachmentUploadRequest' in a '@Sendable' closure [#SendableClosureCaptures]
40 | }
41 |
42 | private final class AttachmentUploadRequest {
| `- note: class 'AttachmentUploadRequest' does not conform to the 'Sendable' protocol
43 | private let uploadURL: URL
44 | private let fileURL: URL
:
85 | }
86 |
87 | self.progress(1)
| `- warning: capture of 'self' with non-Sendable type 'AttachmentUploadRequest' in a '@Sendable' closure [#SendableClosureCaptures]
88 | continuation.resume(returning: ())
89 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[127/239] Compiling DiscordKitCore APIApplicationRoleConnectionMetadata.swift
/Users/admin/builder/spi-builder-workspace/Sources/DiscordKitCore/REST/APIAttachmentUpload.swift:87:21: warning: capture of 'self' with non-Sendable type 'AttachmentUploadRequest' in a '@Sendable' closure [#SendableClosureCaptures]
40 | }
41 |
42 | private final class AttachmentUploadRequest {
| `- note: class 'AttachmentUploadRequest' does not conform to the 'Sendable' protocol
43 | private let uploadURL: URL
44 | private let fileURL: URL
:
85 | }
86 |
87 | self.progress(1)
| `- warning: capture of 'self' with non-Sendable type 'AttachmentUploadRequest' in a '@Sendable' closure [#SendableClosureCaptures]
88 | continuation.resume(returning: ())
89 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[128/239] Compiling DiscordKitCore APIAttachmentUpload.swift
/Users/admin/builder/spi-builder-workspace/Sources/DiscordKitCore/REST/APIAttachmentUpload.swift:87:21: warning: capture of 'self' with non-Sendable type 'AttachmentUploadRequest' in a '@Sendable' closure [#SendableClosureCaptures]
40 | }
41 |
42 | private final class AttachmentUploadRequest {
| `- note: class 'AttachmentUploadRequest' does not conform to the 'Sendable' protocol
43 | private let uploadURL: URL
44 | private let fileURL: URL
:
85 | }
86 |
87 | self.progress(1)
| `- warning: capture of 'self' with non-Sendable type 'AttachmentUploadRequest' in a '@Sendable' closure [#SendableClosureCaptures]
88 | continuation.resume(returning: ())
89 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[129/239] Compiling DiscordKitCore APIMessageSearch.swift
[130/239] Compiling DiscordKitCore APIMultipartFormBody.swift
[131/239] Compiling DiscordKitCore APIOAuth2.swift
[132/239] Compiling DiscordKitCore APIReceivingandResponding.swift
[133/239] Compiling DiscordKitCore APIRequest.swift
[134/239] Compiling DiscordKitCore APISoundboard.swift
[135/239] Compiling DiscordKitCore APIStageInstance.swift
[136/239] Compiling DiscordKitCore APISticker.swift
[137/239] Compiling DiscordKitCore APIStore.swift
[138/239] Compiling DiscordKitCore APIStream.swift
[139/239] Compiling DiscordKitCore APITyping.swift
[140/239] Compiling DiscordKitCore APIUser.swift
[141/239] Compiling DiscordKitCore APIUserSettingsProto.swift
[142/239] Emitting module DiscordKitCore
[143/239] Compiling DiscordKitCore APIVoice.swift
[144/239] Compiling DiscordKitCore APIWebhook.swift
[145/239] Compiling DiscordKitCore EditMessage.swift
[146/239] Compiling DiscordKitCore Data+Base64.swift
[147/239] Compiling DiscordKitCore DecodeThrowable.swift
[148/239] Compiling DiscordKitCore DefaultDecodable.swift
[149/239] Compiling DiscordKitCore DiscordRange.swift
[150/239] Compiling DiscordKitCore EventDispatch.swift
[151/239] Compiling DiscordKitCore HashedAsset.swift
[152/239] Compiling DiscordKitCore HashedAssetTypes.swift
[153/239] Compiling DiscordKitCore HybridSnowflake.swift
[154/239] Compiling DiscordKitCore NormalizedPresence.swift
[155/239] Compiling DiscordKitCore NullEncodable.swift
[156/239] Compiling DiscordKitCore ReadySuppEvt.swift
[157/239] Compiling DiscordKitCore ThreadListSync.swift
[158/239] Compiling DiscordKitCore ThreadMembersUpdate.swift
[159/239] Compiling DiscordKitCore TypingStart.swift
[160/239] Compiling DiscordKitCore TypingStartEvt.swift
[161/239] Compiling DiscordKitCore VoiceEvt.swift
[162/239] Compiling DiscordKitCore Gateway.swift
[163/239] Compiling DiscordKitCore GatewayIO.swift
[164/239] Compiling DiscordKitCore ReadState.swift
[165/239] Compiling DiscordKitCore UserGuildSettings.swift
[166/239] Compiling DiscordKitCore UserSettings.swift
[167/239] Compiling DiscordKitCore AttachmentUpload.swift
[168/239] Compiling DiscordKitCore CreateForumPost.swift
[169/239] Compiling DiscordKitCore ForumPostData.swift
[170/239] Compiling DiscordKitCore ChannelPinsUpdate.swift
[171/239] Compiling DiscordKitCore GatewayEvent.swift
[172/239] Compiling DiscordKitCore GatewaySettingsProtoUpdate.swift
[173/239] Compiling DiscordKitCore GuildBan.swift
[174/239] Compiling DiscordKitCore GuildMemberEvt.swift
[175/239] Compiling DiscordKitCore GuildMembersChunk.swift
[176/239] Compiling DiscordKitCore GuildMiscUpdate.swift
[177/239] Compiling DiscordKitCore GuildRoleEvt.swift
[178/239] Compiling DiscordKitCore GuildSchEvtUserEvt.swift
[179/239] Compiling DiscordKitCore MessageACKEvt.swift
[180/239] Compiling DiscordKitCore MessageDelete.swift
[181/239] Compiling DiscordKitCore MessagePollVote.swift
[182/239] Compiling DiscordKitCore MessageReaction.swift
[183/239] Compiling DiscordKitCore ReadyEvt.swift
[184/239] Compiling DiscordKitCore Guild.swift
[185/239] Compiling DiscordKitCore Integration.swift
[186/239] Compiling DiscordKitCore Interaction.swift
[187/239] Compiling DiscordKitCore Levels.swift
[188/239] Compiling DiscordKitCore Locale.swift
[189/239] Compiling DiscordKitCore Member+Flags.swift
[190/239] Compiling DiscordKitCore Member.swift
[191/239] Compiling DiscordKitCore Mention.swift
[192/239] Compiling DiscordKitCore Message.swift
[193/239] Compiling DiscordKitCore MessageSnapshot.swift
[194/239] Compiling DiscordKitCore Nonce.swift
[195/239] Compiling DiscordKitCore Permission.swift
[196/239] Compiling DiscordKitCore Poll.swift
[197/239] Compiling DiscordKitCore Presence.swift
[198/239] Compiling DiscordKitCore Reaction.swift
[199/239] Compiling DiscordKitCore Snowflake.swift
[200/239] Compiling DiscordKitCore Soundboard.swift
[201/239] Compiling DiscordKitCore Stage.swift
[202/239] Compiling DiscordKitCore Sticker.swift
[203/239] Compiling DiscordKitCore Stream.swift
[204/239] Compiling DiscordKitCore Team.swift
[205/239] Compiling DiscordKitCore User+Flags.swift
[206/239] Compiling DiscordKitCore User+PremiumType.swift
[207/239] Compiling DiscordKitCore User.swift
[208/239] Compiling DiscordKitCore Voice.swift
[209/239] Compiling DiscordKitCore ApplicationObj.swift
[210/239] Compiling DiscordKitCore DataStructs.swift
[211/239] Compiling DiscordKitCore ChUnreadUpdate.swift
[212/239] Compiling DiscordKitCore APIUtils.swift
[213/239] Compiling DiscordKitCore DiscordKitConfig.swift
[214/239] Compiling DiscordKitCore DiscordREST.swift
[215/239] Compiling DiscordKitCore Collection+Identifiable.swift
[216/239] Compiling DiscordKitCore Int+decodeFlags.swift
[217/239] Compiling DiscordKitCore Logger+.swift
[218/239] Compiling DiscordKitCore Activity+.swift
[219/239] Compiling DiscordKitCore HashedAssetScopes+.swift
[220/239] Compiling DiscordKitCore Message+.swift
[221/239] Compiling DiscordKitCore User+.swift
[222/239] Compiling DiscordKitCore Snowflake+decode.swift
[223/239] Compiling DiscordKitCore String+random.swift
[224/239] Compiling DiscordKitCore URL+.swift
[225/239] Compiling DiscordKitCore URLSession+.swift
[226/239] Compiling DiscordKitCore DecompressionEngine.swift
[227/239] Compiling DiscordKitCore GatewayIdentify.swift
[228/239] Compiling DiscordKitCore Intents.swift
[229/239] Compiling DiscordKitCore RobustWebSocket.swift
[230/239] Compiling DiscordKitCore Activity.swift
[231/239] Compiling DiscordKitCore AppCommand.swift
[232/239] Compiling DiscordKitCore Application.swift
[233/239] Compiling DiscordKitCore Attachment.swift
[234/239] Compiling DiscordKitCore Channel.swift
[235/239] Compiling DiscordKitCore ClientProperties.swift
[236/239] Compiling DiscordKitCore Collectibles.swift
[237/239] Compiling DiscordKitCore Connection.swift
[238/239] Compiling DiscordKitCore Embed.swift
[239/239] Compiling DiscordKitCore Emoji.swift
[240/282] Emitting module DiscordKitBot
[241/284] Compiling DiscordKitBot SubCommand.swift
[242/284] Compiling DiscordKitBot BotMessage.swift
[243/284] Compiling DiscordKitBot NotificationNames.swift
[244/284] Compiling DiscordKitBot InteractionResponse.swift
[245/284] Compiling DiscordKitBot AppCommandBuilder.swift
[246/284] Compiling DiscordKitBot CommandData.swift
[247/284] Compiling DiscordKit Presence+.swift
[248/284] Compiling DiscordKitBot BotEmbedBuilder.swift
[249/284] Compiling DiscordKitBot EmbedFieldBuilder.swift
[250/284] Compiling DiscordKitBot ActionRow.swift
[251/284] Compiling DiscordKitBot Button.swift
[252/284] Compiling DiscordKitBot ComponentBuilder.swift
[253/284] Compiling DiscordKitBot NCWrapper.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:298:68: error: value of type 'ReadState.Entry' has no member 'updatingLastMessage'
296 | // MARK: Message Events
297 | case .messageACK(let ack):
298 | readState[ack.channel_id] = readState[ack.channel_id]?.updatingLastMessage(id: ack.message_id) ?? .init(id: ack.channel_id, lastMessageID: ack.message_id)
| `- error: value of type 'ReadState.Entry' has no member 'updatingLastMessage'
299 |
300 | default: break
/Users/admin/builder/spi-builder-workspace/Sources/DiscordKit/Gateway/DiscordGateway.swift:298:156: error: extra argument 'lastMessageID' in call
296 | // MARK: Message Events
297 | case .messageACK(let ack):
298 | readState[ack.channel_id] = readState[ack.channel_id]?.updatingLastMessage(id: ack.message_id) ?? .init(id: ack.channel_id, lastMessageID: ack.message_id)
| `- error: extra argument 'lastMessageID' in call
299 |
300 | default: break
/Users/admin/builder/spi-builder-workspace/Sources/DiscordKit/Gateway/GatewayCachedState.swift:65:19: warning: value 'identifier' was defined but never used; consider replacing with boolean test [#no-usage]
63 | /// - Parameter channel: The channel to append.
64 | func append(_ channel: Channel) {
65 | guard let identifier = channel.guild_id else {
| `- warning: value 'identifier' was defined but never used; consider replacing with boolean test [#no-usage]
66 | return
67 | }
/Users/admin/builder/spi-builder-workspace/Sources/DiscordKit/Gateway/GatewayCachedState.swift:75:19: warning: value 'identifier' was defined but never used; consider replacing with boolean test [#no-usage]
73 | /// - Parameter channel: The channel to remove.
74 | func remove(_ channel: Channel) {
75 | guard let identifier = channel.guild_id else {
| `- warning: value 'identifier' was defined but never used; consider replacing with boolean test [#no-usage]
76 | return
77 | }
/Users/admin/builder/spi-builder-workspace/Sources/DiscordKit/Gateway/GatewayCachedState.swift:105:22: error: cannot assign to property: 'last_message_id' is a 'let' constant
103 | func appendOrReplace(_ message: Message) {
104 | if let idx = dms.firstIndex(where: { $0.id == message.channel_id }) {
105 | dms[idx].last_message_id = message.id
| `- error: cannot assign to property: 'last_message_id' is a 'let' constant
106 | }
107 | }
[257/284] Compiling DiscordKitBot BooleanOption.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:298:68: error: value of type 'ReadState.Entry' has no member 'updatingLastMessage'
296 | // MARK: Message Events
297 | case .messageACK(let ack):
298 | readState[ack.channel_id] = readState[ack.channel_id]?.updatingLastMessage(id: ack.message_id) ?? .init(id: ack.channel_id, lastMessageID: ack.message_id)
| `- error: value of type 'ReadState.Entry' has no member 'updatingLastMessage'
299 |
300 | default: break
/Users/admin/builder/spi-builder-workspace/Sources/DiscordKit/Gateway/DiscordGateway.swift:298:156: error: extra argument 'lastMessageID' in call
296 | // MARK: Message Events
297 | case .messageACK(let ack):
298 | readState[ack.channel_id] = readState[ack.channel_id]?.updatingLastMessage(id: ack.message_id) ?? .init(id: ack.channel_id, lastMessageID: ack.message_id)
| `- error: extra argument 'lastMessageID' in call
299 |
300 | default: break
/Users/admin/builder/spi-builder-workspace/Sources/DiscordKit/Gateway/GatewayCachedState.swift:65:19: warning: value 'identifier' was defined but never used; consider replacing with boolean test [#no-usage]
63 | /// - Parameter channel: The channel to append.
64 | func append(_ channel: Channel) {
65 | guard let identifier = channel.guild_id else {
| `- warning: value 'identifier' was defined but never used; consider replacing with boolean test [#no-usage]
66 | return
67 | }
/Users/admin/builder/spi-builder-workspace/Sources/DiscordKit/Gateway/GatewayCachedState.swift:75:19: warning: value 'identifier' was defined but never used; consider replacing with boolean test [#no-usage]
73 | /// - Parameter channel: The channel to remove.
74 | func remove(_ channel: Channel) {
75 | guard let identifier = channel.guild_id else {
| `- warning: value 'identifier' was defined but never used; consider replacing with boolean test [#no-usage]
76 | return
77 | }
/Users/admin/builder/spi-builder-workspace/Sources/DiscordKit/Gateway/GatewayCachedState.swift:105:22: error: cannot assign to property: 'last_message_id' is a 'let' constant
103 | func appendOrReplace(_ message: Message) {
104 | if let idx = dms.firstIndex(where: { $0.id == message.channel_id }) {
105 | dms[idx].last_message_id = message.id
| `- error: cannot assign to property: 'last_message_id' is a 'let' constant
106 | }
107 | }
[258/284] Compiling DiscordKitBot CommandOption.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:298:68: error: value of type 'ReadState.Entry' has no member 'updatingLastMessage'
296 | // MARK: Message Events
297 | case .messageACK(let ack):
298 | readState[ack.channel_id] = readState[ack.channel_id]?.updatingLastMessage(id: ack.message_id) ?? .init(id: ack.channel_id, lastMessageID: ack.message_id)
| `- error: value of type 'ReadState.Entry' has no member 'updatingLastMessage'
299 |
300 | default: break
/Users/admin/builder/spi-builder-workspace/Sources/DiscordKit/Gateway/DiscordGateway.swift:298:156: error: extra argument 'lastMessageID' in call
296 | // MARK: Message Events
297 | case .messageACK(let ack):
298 | readState[ack.channel_id] = readState[ack.channel_id]?.updatingLastMessage(id: ack.message_id) ?? .init(id: ack.channel_id, lastMessageID: ack.message_id)
| `- error: extra argument 'lastMessageID' in call
299 |
300 | default: break
/Users/admin/builder/spi-builder-workspace/Sources/DiscordKit/Gateway/GatewayCachedState.swift:65:19: warning: value 'identifier' was defined but never used; consider replacing with boolean test [#no-usage]
63 | /// - Parameter channel: The channel to append.
64 | func append(_ channel: Channel) {
65 | guard let identifier = channel.guild_id else {
| `- warning: value 'identifier' was defined but never used; consider replacing with boolean test [#no-usage]
66 | return
67 | }
/Users/admin/builder/spi-builder-workspace/Sources/DiscordKit/Gateway/GatewayCachedState.swift:75:19: warning: value 'identifier' was defined but never used; consider replacing with boolean test [#no-usage]
73 | /// - Parameter channel: The channel to remove.
74 | func remove(_ channel: Channel) {
75 | guard let identifier = channel.guild_id else {
| `- warning: value 'identifier' was defined but never used; consider replacing with boolean test [#no-usage]
76 | return
77 | }
/Users/admin/builder/spi-builder-workspace/Sources/DiscordKit/Gateway/GatewayCachedState.swift:105:22: error: cannot assign to property: 'last_message_id' is a 'let' constant
103 | func appendOrReplace(_ message: Message) {
104 | if let idx = dms.firstIndex(where: { $0.id == message.channel_id }) {
105 | dms[idx].last_message_id = message.id
| `- error: cannot assign to property: 'last_message_id' is a 'let' constant
106 | }
107 | }
[263/286] Emitting module DiscordKit
[264/286] Compiling DiscordKit Status.pb.swift
[265/286] Compiling DiscordKitBot APICommand.swift
[267/286] Compiling DiscordKitBot Client.swift
[268/286] Compiling DiscordKitBot StringOption.swift
[270/286] Compiling DiscordKitBot IntegerOption.swift
[271/286] Compiling DiscordKitBot NumberOption.swift
[272/286] Compiling DiscordKitBot OptionBuilder.swift
[273/286] Compiling DiscordKitBot BotEmbed.swift
[285/286] Compiling DiscordKit VoiceAndVideo.pb.swift
warning: 'swift-protobuf': 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/swift-protobuf/Sources/SwiftProtobuf/CMakeLists.txt
BUILD FAILURE 6.3 macosSpm