The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of Sword, reference 0.9.2 (d8097b), with Swift 6.1 for macOS (SPM) on 24 Apr 2025 14:01:00 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Azoy/Sword.git
Reference: 0.9.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Azoy/Sword
 * tag               0.9.2      -> FETCH_HEAD
HEAD is now at d8097bd Add embed author icon
Cloned https://github.com/Azoy/Sword.git
Revision (git rev-parse @):
d8097bd5b3881d6d4bae4feebf005592f7ffa573
SUCCESS checkout https://github.com/Azoy/Sword.git at 0.9.2
Fetching https://github.com/Azoy/common-crypto-spm.git
Fetching https://github.com/Azoy/Starscream.git
Fetching https://github.com/Azoy/zlib-spm.git
[1/32] Fetching zlib-spm
[17/59] Fetching zlib-spm, common-crypto-spm
[58/2190] Fetching zlib-spm, common-crypto-spm, starscream
Fetched https://github.com/Azoy/common-crypto-spm.git from cache (1.14s)
Fetched https://github.com/Azoy/Starscream.git from cache (1.14s)
Computing version for https://github.com/Azoy/Starscream.git
Fetched https://github.com/Azoy/zlib-spm.git from cache (1.14s)
Computed https://github.com/Azoy/Starscream.git at 3.0.5 (1.75s)
Computing version for https://github.com/Azoy/common-crypto-spm.git
Computed https://github.com/Azoy/common-crypto-spm.git at 1.2.0 (0.59s)
Computing version for https://github.com/Azoy/zlib-spm.git
Computed https://github.com/Azoy/zlib-spm.git at 1.2.0 (0.57s)
Creating working copy for https://github.com/Azoy/Starscream.git
Working copy of https://github.com/Azoy/Starscream.git resolved at 3.0.5
Creating working copy for https://github.com/Azoy/zlib-spm.git
Working copy of https://github.com/Azoy/zlib-spm.git resolved at 1.2.0
Creating working copy for https://github.com/Azoy/common-crypto-spm.git
Working copy of https://github.com/Azoy/common-crypto-spm.git resolved at 1.2.0
========================================
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",
  "dependencies": [
    {
      "identity": "sword",
      "name": "Sword",
      "url": "https://github.com/Azoy/Sword.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Sword",
      "dependencies": [
        {
          "identity": "starscream",
          "name": "Starscream",
          "url": "https://github.com/Azoy/Starscream.git",
          "version": "3.0.5",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Starscream",
          "dependencies": [
            {
              "identity": "zlib-spm",
              "name": "SSCZLib",
              "url": "https://github.com/Azoy/zlib-spm.git",
              "version": "1.2.0",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/zlib-spm",
              "dependencies": [
              ]
            },
            {
              "identity": "common-crypto-spm",
              "name": "SSCommonCrypto",
              "url": "https://github.com/Azoy/common-crypto-spm.git",
              "version": "1.2.0",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/common-crypto-spm",
              "dependencies": [
              ]
            }
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/Azoy/Sword.git
[1/5491] Fetching sword
Fetched https://github.com/Azoy/Sword.git from cache (1.05s)
Fetching https://github.com/Azoy/Starscream.git from cache
Fetched https://github.com/Azoy/Starscream.git from cache (0.46s)
Computing version for https://github.com/Azoy/Starscream.git
Computed https://github.com/Azoy/Starscream.git at 3.0.5 (0.51s)
Fetching https://github.com/Azoy/zlib-spm.git from cache
Fetching https://github.com/Azoy/common-crypto-spm.git from cache
Fetched https://github.com/Azoy/common-crypto-spm.git from cache (0.42s)
Fetched https://github.com/Azoy/zlib-spm.git from cache (0.42s)
Computing version for https://github.com/Azoy/common-crypto-spm.git
Computed https://github.com/Azoy/common-crypto-spm.git at 1.2.0 (0.48s)
Computing version for https://github.com/Azoy/zlib-spm.git
Computed https://github.com/Azoy/zlib-spm.git at 1.2.0 (0.03s)
Creating working copy for https://github.com/Azoy/common-crypto-spm.git
Working copy of https://github.com/Azoy/common-crypto-spm.git resolved at 1.2.0
Creating working copy for https://github.com/Azoy/Starscream.git
Working copy of https://github.com/Azoy/Starscream.git resolved at 3.0.5
Creating working copy for https://github.com/Azoy/zlib-spm.git
Working copy of https://github.com/Azoy/zlib-spm.git resolved at 1.2.0
Creating working copy for https://github.com/Azoy/Sword.git
Working copy of https://github.com/Azoy/Sword.git resolved at 0.9.2 (d8097bd)
warning: 'common-crypto-spm': ignoring declared target(s) 'SSCommonCrypto' in the system package
warning: 'zlib-spm': ignoring declared target(s) 'SSCZLib' in the system package
warning: '.resolve-product-dependencies': dependency 'sword' is not used by any target
Found 1 product dependencies
  - Starscream
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/Azoy/Sword.git
https://github.com/Azoy/Sword.git
{
  "dependencies" : [
    {
      "identity" : "starscream",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.0.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Azoy/Starscream.git"
    }
  ],
  "manifest_display_name" : "Sword",
  "name" : "Sword",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Sword",
      "targets" : [
        "Sword"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "Sword",
      "module_type" : "SwiftTarget",
      "name" : "Sword",
      "path" : "Sources/Sword",
      "product_dependencies" : [
        "Starscream"
      ],
      "product_memberships" : [
        "Sword"
      ],
      "sources" : [
        "Gateway/EventHandler.swift",
        "Gateway/Eventable.swift",
        "Gateway/Gateway.swift",
        "Gateway/GatewayHandler.swift",
        "Gateway/Heartbeat.swift",
        "Gateway/Payload.swift",
        "Gateway/Shard.swift",
        "Gateway/ShardManager.swift",
        "Rest/EndpointInfo.swift",
        "Rest/Endpoints.swift",
        "Rest/MultipartBody.swift",
        "Rest/RateLimit.swift",
        "Rest/Request.swift",
        "Shield/Command.swift",
        "Shield/Permissions.swift",
        "Shield/Shield.swift",
        "Sword.swift",
        "Types/AuditLog.swift",
        "Types/Channel.swift",
        "Types/DM.swift",
        "Types/Emoji.swift",
        "Types/GroupDM.swift",
        "Types/Guild.swift",
        "Types/GuildCategory.swift",
        "Types/GuildText.swift",
        "Types/GuildVoice.swift",
        "Types/Invite.swift",
        "Types/Member.swift",
        "Types/Message.swift",
        "Types/Options.swift",
        "Types/Role.swift",
        "Types/Snowflake.swift",
        "Types/User.swift",
        "Types/VoiceState.swift",
        "Types/Webhook.swift",
        "Utils/Bucket.swift",
        "Utils/Enums.swift",
        "Utils/Error.swift",
        "Utils/Imageable.swift",
        "Utils/JSON.swift",
        "Utils/Log.swift",
        "Utils/Updatable.swift",
        "Utils/Utils.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-2F0A5646E1D333AE.txt
[4/7] Compiling Starscream Compression.swift
[5/7] Compiling Starscream SSLSecurity.swift
[6/7] Emitting module Starscream
[7/7] Compiling Starscream WebSocket.swift
[8/47] Emitting module Sword
[9/51] Compiling Sword MultipartBody.swift
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Rest/Request.swift:130:9: warning: capture of 'completion' with non-sendable type '(Any?, RequestError?) -> ()' in a '@Sendable' closure
128 |       if error != nil {
129 |         #if !os(Linux)
130 |         completion(nil, RequestError(error! as NSError))
    |         |- warning: capture of 'completion' with non-sendable type '(Any?, RequestError?) -> ()' in a '@Sendable' closure
    |         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
131 |         #else
132 |         completion(nil, RequestError(error as! NSError))
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Rest/Request.swift:139:9: warning: capture of 'self' with non-sendable type 'Sword' in a '@Sendable' closure
137 |
138 |       if rateLimited {
139 |         self.handleRateLimitHeaders(
    |         `- warning: capture of 'self' with non-sendable type 'Sword' in a '@Sendable' closure
140 |           headers["x-ratelimit-limit"],
141 |           headers["x-ratelimit-reset"],
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Sword.swift:13:12: note: class 'Sword' does not conform to the 'Sendable' protocol
  11 |
  12 | /// Main Class for Sword
  13 | open class Sword: Eventable {
     |            `- note: class 'Sword' does not conform to the 'Sendable' protocol
  14 |
  15 |   // MARK: Properties
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Rest/Request.swift:184:15: warning: capture of 'endpoint' with non-sendable type 'Endpoint' in a '@Sendable' closure
182 |           ) { [unowned self] in
183 |             self.request(
184 |               endpoint,
    |               `- warning: capture of 'endpoint' with non-sendable type 'Endpoint' in a '@Sendable' closure
185 |               body: body,
186 |               file: file,
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Rest/Endpoints.swift:9:6: note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
  7 | //
  8 |
  9 | enum Endpoint {
    |      `- note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
 10 |
 11 |   case gateway
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Rest/Request.swift:185:21: warning: capture of 'body' with non-sendable type '[String : Any]?' in a '@Sendable' closure
183 |             self.request(
184 |               endpoint,
185 |               body: body,
    |                     `- warning: capture of 'body' with non-sendable type '[String : Any]?' in a '@Sendable' closure
186 |               file: file,
187 |               authorization: authorization,
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Rest/Request.swift:143:11: warning: reference to captured var 'route' in concurrently-executing code
141 |           headers["x-ratelimit-reset"],
142 |           (headers["Date"] as! String).httpDate.timeIntervalSince1970,
143 |           route
    |           `- warning: reference to captured var 'route' in concurrently-executing code
144 |         )
145 |       }
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Rest/Request.swift:173:15: warning: capture of 'self' with non-sendable type 'Sword' in a '@Sendable' closure
171 |               deadline: DispatchTime.now() + .seconds(retryAfter)
172 |             ) { [unowned self] in
173 |               self.globalUnlock()
    |               `- warning: capture of 'self' with non-sendable type 'Sword' in a '@Sendable' closure
174 |             }
175 |
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Sword.swift:13:12: note: class 'Sword' does not conform to the 'Sendable' protocol
  11 |
  12 | /// Main Class for Sword
  13 | open class Sword: Eventable {
     |            `- note: class 'Sword' does not conform to the 'Sendable' protocol
  14 |
  15 |   // MARK: Properties
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Rest/Request.swift:183:13: warning: capture of 'self' with non-sendable type 'Sword' in a '@Sendable' closure
181 |             deadline: DispatchTime.now() + .seconds(retryAfter)
182 |           ) { [unowned self] in
183 |             self.request(
    |             `- warning: capture of 'self' with non-sendable type 'Sword' in a '@Sendable' closure
184 |               endpoint,
185 |               body: body,
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Sword.swift:13:12: note: class 'Sword' does not conform to the 'Sendable' protocol
  11 |
  12 | /// Main Class for Sword
  13 | open class Sword: Eventable {
     |            `- note: class 'Sword' does not conform to the 'Sendable' protocol
  14 |
  15 |   // MARK: Properties
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Rest/Request.swift:184:15: warning: capture of 'endpoint' with non-sendable type 'Endpoint' in a '@Sendable' closure
182 |           ) { [unowned self] in
183 |             self.request(
184 |               endpoint,
    |               `- warning: capture of 'endpoint' with non-sendable type 'Endpoint' in a '@Sendable' closure
185 |               body: body,
186 |               file: file,
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Rest/Endpoints.swift:9:6: note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
  7 | //
  8 |
  9 | enum Endpoint {
    |      `- note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
 10 |
 11 |   case gateway
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Rest/Request.swift:185:21: warning: capture of 'body' with non-sendable type '[String : Any]?' in a '@Sendable' closure
183 |             self.request(
184 |               endpoint,
185 |               body: body,
    |                     `- warning: capture of 'body' with non-sendable type '[String : Any]?' in a '@Sendable' closure
186 |               file: file,
187 |               authorization: authorization,
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Rest/Request.swift:189:21: warning: capture of 'completion' with non-sendable type '(Any?, RequestError?) -> ()' in a '@Sendable' closure
187 |               authorization: authorization,
188 |               rateLimited: rateLimited,
189 |               then: completion
    |                     |- warning: capture of 'completion' with non-sendable type '(Any?, RequestError?) -> ()' in a '@Sendable' closure
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
190 |             )
191 |           }
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Rest/Request.swift:198:13: warning: capture of 'self' with non-sendable type 'Sword' in a '@Sendable' closure
196 |             deadline: DispatchTime.now() + .seconds(3)
197 |           ) { [unowned self] in
198 |             self.request(
    |             `- warning: capture of 'self' with non-sendable type 'Sword' in a '@Sendable' closure
199 |               endpoint,
200 |               body: body,
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Sword.swift:13:12: note: class 'Sword' does not conform to the 'Sendable' protocol
  11 |
  12 | /// Main Class for Sword
  13 | open class Sword: Eventable {
     |            `- note: class 'Sword' does not conform to the 'Sendable' protocol
  14 |
  15 |   // MARK: Properties
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Rest/Request.swift:199:15: warning: capture of 'endpoint' with non-sendable type 'Endpoint' in a '@Sendable' closure
197 |           ) { [unowned self] in
198 |             self.request(
199 |               endpoint,
    |               `- warning: capture of 'endpoint' with non-sendable type 'Endpoint' in a '@Sendable' closure
200 |               body: body,
201 |               file: file,
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Rest/Endpoints.swift:9:6: note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
  7 | //
  8 |
  9 | enum Endpoint {
    |      `- note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
 10 |
 11 |   case gateway
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Rest/Request.swift:200:21: warning: capture of 'body' with non-sendable type '[String : Any]?' in a '@Sendable' closure
198 |             self.request(
199 |               endpoint,
200 |               body: body,
    |                     `- warning: capture of 'body' with non-sendable type '[String : Any]?' in a '@Sendable' closure
201 |               file: file,
202 |               authorization: authorization,
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Rest/Request.swift:204:21: warning: capture of 'completion' with non-sendable type '(Any?, RequestError?) -> ()' in a '@Sendable' closure
202 |               authorization: authorization,
203 |               rateLimited: rateLimited,
204 |               then: completion
    |                     |- warning: capture of 'completion' with non-sendable type '(Any?, RequestError?) -> ()' in a '@Sendable' closure
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
205 |             )
206 |           }
[10/51] Compiling Sword RateLimit.swift
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Rest/Request.swift:130:9: warning: capture of 'completion' with non-sendable type '(Any?, RequestError?) -> ()' in a '@Sendable' closure
128 |       if error != nil {
129 |         #if !os(Linux)
130 |         completion(nil, RequestError(error! as NSError))
    |         |- warning: capture of 'completion' with non-sendable type '(Any?, RequestError?) -> ()' in a '@Sendable' closure
    |         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
131 |         #else
132 |         completion(nil, RequestError(error as! NSError))
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Rest/Request.swift:139:9: warning: capture of 'self' with non-sendable type 'Sword' in a '@Sendable' closure
137 |
138 |       if rateLimited {
139 |         self.handleRateLimitHeaders(
    |         `- warning: capture of 'self' with non-sendable type 'Sword' in a '@Sendable' closure
140 |           headers["x-ratelimit-limit"],
141 |           headers["x-ratelimit-reset"],
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Sword.swift:13:12: note: class 'Sword' does not conform to the 'Sendable' protocol
  11 |
  12 | /// Main Class for Sword
  13 | open class Sword: Eventable {
     |            `- note: class 'Sword' does not conform to the 'Sendable' protocol
  14 |
  15 |   // MARK: Properties
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Rest/Request.swift:184:15: warning: capture of 'endpoint' with non-sendable type 'Endpoint' in a '@Sendable' closure
182 |           ) { [unowned self] in
183 |             self.request(
184 |               endpoint,
    |               `- warning: capture of 'endpoint' with non-sendable type 'Endpoint' in a '@Sendable' closure
185 |               body: body,
186 |               file: file,
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Rest/Endpoints.swift:9:6: note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
  7 | //
  8 |
  9 | enum Endpoint {
    |      `- note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
 10 |
 11 |   case gateway
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Rest/Request.swift:185:21: warning: capture of 'body' with non-sendable type '[String : Any]?' in a '@Sendable' closure
183 |             self.request(
184 |               endpoint,
185 |               body: body,
    |                     `- warning: capture of 'body' with non-sendable type '[String : Any]?' in a '@Sendable' closure
186 |               file: file,
187 |               authorization: authorization,
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Rest/Request.swift:143:11: warning: reference to captured var 'route' in concurrently-executing code
141 |           headers["x-ratelimit-reset"],
142 |           (headers["Date"] as! String).httpDate.timeIntervalSince1970,
143 |           route
    |           `- warning: reference to captured var 'route' in concurrently-executing code
144 |         )
145 |       }
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Rest/Request.swift:173:15: warning: capture of 'self' with non-sendable type 'Sword' in a '@Sendable' closure
171 |               deadline: DispatchTime.now() + .seconds(retryAfter)
172 |             ) { [unowned self] in
173 |               self.globalUnlock()
    |               `- warning: capture of 'self' with non-sendable type 'Sword' in a '@Sendable' closure
174 |             }
175 |
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Sword.swift:13:12: note: class 'Sword' does not conform to the 'Sendable' protocol
  11 |
  12 | /// Main Class for Sword
  13 | open class Sword: Eventable {
     |            `- note: class 'Sword' does not conform to the 'Sendable' protocol
  14 |
  15 |   // MARK: Properties
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Rest/Request.swift:183:13: warning: capture of 'self' with non-sendable type 'Sword' in a '@Sendable' closure
181 |             deadline: DispatchTime.now() + .seconds(retryAfter)
182 |           ) { [unowned self] in
183 |             self.request(
    |             `- warning: capture of 'self' with non-sendable type 'Sword' in a '@Sendable' closure
184 |               endpoint,
185 |               body: body,
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Sword.swift:13:12: note: class 'Sword' does not conform to the 'Sendable' protocol
  11 |
  12 | /// Main Class for Sword
  13 | open class Sword: Eventable {
     |            `- note: class 'Sword' does not conform to the 'Sendable' protocol
  14 |
  15 |   // MARK: Properties
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Rest/Request.swift:184:15: warning: capture of 'endpoint' with non-sendable type 'Endpoint' in a '@Sendable' closure
182 |           ) { [unowned self] in
183 |             self.request(
184 |               endpoint,
    |               `- warning: capture of 'endpoint' with non-sendable type 'Endpoint' in a '@Sendable' closure
185 |               body: body,
186 |               file: file,
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Rest/Endpoints.swift:9:6: note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
  7 | //
  8 |
  9 | enum Endpoint {
    |      `- note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
 10 |
 11 |   case gateway
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Rest/Request.swift:185:21: warning: capture of 'body' with non-sendable type '[String : Any]?' in a '@Sendable' closure
183 |             self.request(
184 |               endpoint,
185 |               body: body,
    |                     `- warning: capture of 'body' with non-sendable type '[String : Any]?' in a '@Sendable' closure
186 |               file: file,
187 |               authorization: authorization,
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Rest/Request.swift:189:21: warning: capture of 'completion' with non-sendable type '(Any?, RequestError?) -> ()' in a '@Sendable' closure
187 |               authorization: authorization,
188 |               rateLimited: rateLimited,
189 |               then: completion
    |                     |- warning: capture of 'completion' with non-sendable type '(Any?, RequestError?) -> ()' in a '@Sendable' closure
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
190 |             )
191 |           }
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Rest/Request.swift:198:13: warning: capture of 'self' with non-sendable type 'Sword' in a '@Sendable' closure
196 |             deadline: DispatchTime.now() + .seconds(3)
197 |           ) { [unowned self] in
198 |             self.request(
    |             `- warning: capture of 'self' with non-sendable type 'Sword' in a '@Sendable' closure
199 |               endpoint,
200 |               body: body,
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Sword.swift:13:12: note: class 'Sword' does not conform to the 'Sendable' protocol
  11 |
  12 | /// Main Class for Sword
  13 | open class Sword: Eventable {
     |            `- note: class 'Sword' does not conform to the 'Sendable' protocol
  14 |
  15 |   // MARK: Properties
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Rest/Request.swift:199:15: warning: capture of 'endpoint' with non-sendable type 'Endpoint' in a '@Sendable' closure
197 |           ) { [unowned self] in
198 |             self.request(
199 |               endpoint,
    |               `- warning: capture of 'endpoint' with non-sendable type 'Endpoint' in a '@Sendable' closure
200 |               body: body,
201 |               file: file,
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Rest/Endpoints.swift:9:6: note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
  7 | //
  8 |
  9 | enum Endpoint {
    |      `- note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
 10 |
 11 |   case gateway
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Rest/Request.swift:200:21: warning: capture of 'body' with non-sendable type '[String : Any]?' in a '@Sendable' closure
198 |             self.request(
199 |               endpoint,
200 |               body: body,
    |                     `- warning: capture of 'body' with non-sendable type '[String : Any]?' in a '@Sendable' closure
201 |               file: file,
202 |               authorization: authorization,
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Rest/Request.swift:204:21: warning: capture of 'completion' with non-sendable type '(Any?, RequestError?) -> ()' in a '@Sendable' closure
202 |               authorization: authorization,
203 |               rateLimited: rateLimited,
204 |               then: completion
    |                     |- warning: capture of 'completion' with non-sendable type '(Any?, RequestError?) -> ()' in a '@Sendable' closure
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
205 |             )
206 |           }
[11/51] Compiling Sword Request.swift
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Rest/Request.swift:130:9: warning: capture of 'completion' with non-sendable type '(Any?, RequestError?) -> ()' in a '@Sendable' closure
128 |       if error != nil {
129 |         #if !os(Linux)
130 |         completion(nil, RequestError(error! as NSError))
    |         |- warning: capture of 'completion' with non-sendable type '(Any?, RequestError?) -> ()' in a '@Sendable' closure
    |         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
131 |         #else
132 |         completion(nil, RequestError(error as! NSError))
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Rest/Request.swift:139:9: warning: capture of 'self' with non-sendable type 'Sword' in a '@Sendable' closure
137 |
138 |       if rateLimited {
139 |         self.handleRateLimitHeaders(
    |         `- warning: capture of 'self' with non-sendable type 'Sword' in a '@Sendable' closure
140 |           headers["x-ratelimit-limit"],
141 |           headers["x-ratelimit-reset"],
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Sword.swift:13:12: note: class 'Sword' does not conform to the 'Sendable' protocol
  11 |
  12 | /// Main Class for Sword
  13 | open class Sword: Eventable {
     |            `- note: class 'Sword' does not conform to the 'Sendable' protocol
  14 |
  15 |   // MARK: Properties
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Rest/Request.swift:184:15: warning: capture of 'endpoint' with non-sendable type 'Endpoint' in a '@Sendable' closure
182 |           ) { [unowned self] in
183 |             self.request(
184 |               endpoint,
    |               `- warning: capture of 'endpoint' with non-sendable type 'Endpoint' in a '@Sendable' closure
185 |               body: body,
186 |               file: file,
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Rest/Endpoints.swift:9:6: note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
  7 | //
  8 |
  9 | enum Endpoint {
    |      `- note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
 10 |
 11 |   case gateway
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Rest/Request.swift:185:21: warning: capture of 'body' with non-sendable type '[String : Any]?' in a '@Sendable' closure
183 |             self.request(
184 |               endpoint,
185 |               body: body,
    |                     `- warning: capture of 'body' with non-sendable type '[String : Any]?' in a '@Sendable' closure
186 |               file: file,
187 |               authorization: authorization,
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Rest/Request.swift:143:11: warning: reference to captured var 'route' in concurrently-executing code
141 |           headers["x-ratelimit-reset"],
142 |           (headers["Date"] as! String).httpDate.timeIntervalSince1970,
143 |           route
    |           `- warning: reference to captured var 'route' in concurrently-executing code
144 |         )
145 |       }
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Rest/Request.swift:173:15: warning: capture of 'self' with non-sendable type 'Sword' in a '@Sendable' closure
171 |               deadline: DispatchTime.now() + .seconds(retryAfter)
172 |             ) { [unowned self] in
173 |               self.globalUnlock()
    |               `- warning: capture of 'self' with non-sendable type 'Sword' in a '@Sendable' closure
174 |             }
175 |
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Sword.swift:13:12: note: class 'Sword' does not conform to the 'Sendable' protocol
  11 |
  12 | /// Main Class for Sword
  13 | open class Sword: Eventable {
     |            `- note: class 'Sword' does not conform to the 'Sendable' protocol
  14 |
  15 |   // MARK: Properties
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Rest/Request.swift:183:13: warning: capture of 'self' with non-sendable type 'Sword' in a '@Sendable' closure
181 |             deadline: DispatchTime.now() + .seconds(retryAfter)
182 |           ) { [unowned self] in
183 |             self.request(
    |             `- warning: capture of 'self' with non-sendable type 'Sword' in a '@Sendable' closure
184 |               endpoint,
185 |               body: body,
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Sword.swift:13:12: note: class 'Sword' does not conform to the 'Sendable' protocol
  11 |
  12 | /// Main Class for Sword
  13 | open class Sword: Eventable {
     |            `- note: class 'Sword' does not conform to the 'Sendable' protocol
  14 |
  15 |   // MARK: Properties
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Rest/Request.swift:184:15: warning: capture of 'endpoint' with non-sendable type 'Endpoint' in a '@Sendable' closure
182 |           ) { [unowned self] in
183 |             self.request(
184 |               endpoint,
    |               `- warning: capture of 'endpoint' with non-sendable type 'Endpoint' in a '@Sendable' closure
185 |               body: body,
186 |               file: file,
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Rest/Endpoints.swift:9:6: note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
  7 | //
  8 |
  9 | enum Endpoint {
    |      `- note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
 10 |
 11 |   case gateway
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Rest/Request.swift:185:21: warning: capture of 'body' with non-sendable type '[String : Any]?' in a '@Sendable' closure
183 |             self.request(
184 |               endpoint,
185 |               body: body,
    |                     `- warning: capture of 'body' with non-sendable type '[String : Any]?' in a '@Sendable' closure
186 |               file: file,
187 |               authorization: authorization,
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Rest/Request.swift:189:21: warning: capture of 'completion' with non-sendable type '(Any?, RequestError?) -> ()' in a '@Sendable' closure
187 |               authorization: authorization,
188 |               rateLimited: rateLimited,
189 |               then: completion
    |                     |- warning: capture of 'completion' with non-sendable type '(Any?, RequestError?) -> ()' in a '@Sendable' closure
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
190 |             )
191 |           }
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Rest/Request.swift:198:13: warning: capture of 'self' with non-sendable type 'Sword' in a '@Sendable' closure
196 |             deadline: DispatchTime.now() + .seconds(3)
197 |           ) { [unowned self] in
198 |             self.request(
    |             `- warning: capture of 'self' with non-sendable type 'Sword' in a '@Sendable' closure
199 |               endpoint,
200 |               body: body,
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Sword.swift:13:12: note: class 'Sword' does not conform to the 'Sendable' protocol
  11 |
  12 | /// Main Class for Sword
  13 | open class Sword: Eventable {
     |            `- note: class 'Sword' does not conform to the 'Sendable' protocol
  14 |
  15 |   // MARK: Properties
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Rest/Request.swift:199:15: warning: capture of 'endpoint' with non-sendable type 'Endpoint' in a '@Sendable' closure
197 |           ) { [unowned self] in
198 |             self.request(
199 |               endpoint,
    |               `- warning: capture of 'endpoint' with non-sendable type 'Endpoint' in a '@Sendable' closure
200 |               body: body,
201 |               file: file,
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Rest/Endpoints.swift:9:6: note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
  7 | //
  8 |
  9 | enum Endpoint {
    |      `- note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
 10 |
 11 |   case gateway
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Rest/Request.swift:200:21: warning: capture of 'body' with non-sendable type '[String : Any]?' in a '@Sendable' closure
198 |             self.request(
199 |               endpoint,
200 |               body: body,
    |                     `- warning: capture of 'body' with non-sendable type '[String : Any]?' in a '@Sendable' closure
201 |               file: file,
202 |               authorization: authorization,
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Rest/Request.swift:204:21: warning: capture of 'completion' with non-sendable type '(Any?, RequestError?) -> ()' in a '@Sendable' closure
202 |               authorization: authorization,
203 |               rateLimited: rateLimited,
204 |               then: completion
    |                     |- warning: capture of 'completion' with non-sendable type '(Any?, RequestError?) -> ()' in a '@Sendable' closure
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
205 |             )
206 |           }
[12/51] Compiling Sword Command.swift
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Rest/Request.swift:130:9: warning: capture of 'completion' with non-sendable type '(Any?, RequestError?) -> ()' in a '@Sendable' closure
128 |       if error != nil {
129 |         #if !os(Linux)
130 |         completion(nil, RequestError(error! as NSError))
    |         |- warning: capture of 'completion' with non-sendable type '(Any?, RequestError?) -> ()' in a '@Sendable' closure
    |         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
131 |         #else
132 |         completion(nil, RequestError(error as! NSError))
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Rest/Request.swift:139:9: warning: capture of 'self' with non-sendable type 'Sword' in a '@Sendable' closure
137 |
138 |       if rateLimited {
139 |         self.handleRateLimitHeaders(
    |         `- warning: capture of 'self' with non-sendable type 'Sword' in a '@Sendable' closure
140 |           headers["x-ratelimit-limit"],
141 |           headers["x-ratelimit-reset"],
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Sword.swift:13:12: note: class 'Sword' does not conform to the 'Sendable' protocol
  11 |
  12 | /// Main Class for Sword
  13 | open class Sword: Eventable {
     |            `- note: class 'Sword' does not conform to the 'Sendable' protocol
  14 |
  15 |   // MARK: Properties
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Rest/Request.swift:184:15: warning: capture of 'endpoint' with non-sendable type 'Endpoint' in a '@Sendable' closure
182 |           ) { [unowned self] in
183 |             self.request(
184 |               endpoint,
    |               `- warning: capture of 'endpoint' with non-sendable type 'Endpoint' in a '@Sendable' closure
185 |               body: body,
186 |               file: file,
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Rest/Endpoints.swift:9:6: note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
  7 | //
  8 |
  9 | enum Endpoint {
    |      `- note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
 10 |
 11 |   case gateway
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Rest/Request.swift:185:21: warning: capture of 'body' with non-sendable type '[String : Any]?' in a '@Sendable' closure
183 |             self.request(
184 |               endpoint,
185 |               body: body,
    |                     `- warning: capture of 'body' with non-sendable type '[String : Any]?' in a '@Sendable' closure
186 |               file: file,
187 |               authorization: authorization,
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Rest/Request.swift:143:11: warning: reference to captured var 'route' in concurrently-executing code
141 |           headers["x-ratelimit-reset"],
142 |           (headers["Date"] as! String).httpDate.timeIntervalSince1970,
143 |           route
    |           `- warning: reference to captured var 'route' in concurrently-executing code
144 |         )
145 |       }
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Rest/Request.swift:173:15: warning: capture of 'self' with non-sendable type 'Sword' in a '@Sendable' closure
171 |               deadline: DispatchTime.now() + .seconds(retryAfter)
172 |             ) { [unowned self] in
173 |               self.globalUnlock()
    |               `- warning: capture of 'self' with non-sendable type 'Sword' in a '@Sendable' closure
174 |             }
175 |
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Sword.swift:13:12: note: class 'Sword' does not conform to the 'Sendable' protocol
  11 |
  12 | /// Main Class for Sword
  13 | open class Sword: Eventable {
     |            `- note: class 'Sword' does not conform to the 'Sendable' protocol
  14 |
  15 |   // MARK: Properties
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Rest/Request.swift:183:13: warning: capture of 'self' with non-sendable type 'Sword' in a '@Sendable' closure
181 |             deadline: DispatchTime.now() + .seconds(retryAfter)
182 |           ) { [unowned self] in
183 |             self.request(
    |             `- warning: capture of 'self' with non-sendable type 'Sword' in a '@Sendable' closure
184 |               endpoint,
185 |               body: body,
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Sword.swift:13:12: note: class 'Sword' does not conform to the 'Sendable' protocol
  11 |
  12 | /// Main Class for Sword
  13 | open class Sword: Eventable {
     |            `- note: class 'Sword' does not conform to the 'Sendable' protocol
  14 |
  15 |   // MARK: Properties
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Rest/Request.swift:184:15: warning: capture of 'endpoint' with non-sendable type 'Endpoint' in a '@Sendable' closure
182 |           ) { [unowned self] in
183 |             self.request(
184 |               endpoint,
    |               `- warning: capture of 'endpoint' with non-sendable type 'Endpoint' in a '@Sendable' closure
185 |               body: body,
186 |               file: file,
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Rest/Endpoints.swift:9:6: note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
  7 | //
  8 |
  9 | enum Endpoint {
    |      `- note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
 10 |
 11 |   case gateway
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Rest/Request.swift:185:21: warning: capture of 'body' with non-sendable type '[String : Any]?' in a '@Sendable' closure
183 |             self.request(
184 |               endpoint,
185 |               body: body,
    |                     `- warning: capture of 'body' with non-sendable type '[String : Any]?' in a '@Sendable' closure
186 |               file: file,
187 |               authorization: authorization,
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Rest/Request.swift:189:21: warning: capture of 'completion' with non-sendable type '(Any?, RequestError?) -> ()' in a '@Sendable' closure
187 |               authorization: authorization,
188 |               rateLimited: rateLimited,
189 |               then: completion
    |                     |- warning: capture of 'completion' with non-sendable type '(Any?, RequestError?) -> ()' in a '@Sendable' closure
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
190 |             )
191 |           }
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Rest/Request.swift:198:13: warning: capture of 'self' with non-sendable type 'Sword' in a '@Sendable' closure
196 |             deadline: DispatchTime.now() + .seconds(3)
197 |           ) { [unowned self] in
198 |             self.request(
    |             `- warning: capture of 'self' with non-sendable type 'Sword' in a '@Sendable' closure
199 |               endpoint,
200 |               body: body,
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Sword.swift:13:12: note: class 'Sword' does not conform to the 'Sendable' protocol
  11 |
  12 | /// Main Class for Sword
  13 | open class Sword: Eventable {
     |            `- note: class 'Sword' does not conform to the 'Sendable' protocol
  14 |
  15 |   // MARK: Properties
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Rest/Request.swift:199:15: warning: capture of 'endpoint' with non-sendable type 'Endpoint' in a '@Sendable' closure
197 |           ) { [unowned self] in
198 |             self.request(
199 |               endpoint,
    |               `- warning: capture of 'endpoint' with non-sendable type 'Endpoint' in a '@Sendable' closure
200 |               body: body,
201 |               file: file,
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Rest/Endpoints.swift:9:6: note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
  7 | //
  8 |
  9 | enum Endpoint {
    |      `- note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
 10 |
 11 |   case gateway
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Rest/Request.swift:200:21: warning: capture of 'body' with non-sendable type '[String : Any]?' in a '@Sendable' closure
198 |             self.request(
199 |               endpoint,
200 |               body: body,
    |                     `- warning: capture of 'body' with non-sendable type '[String : Any]?' in a '@Sendable' closure
201 |               file: file,
202 |               authorization: authorization,
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Rest/Request.swift:204:21: warning: capture of 'completion' with non-sendable type '(Any?, RequestError?) -> ()' in a '@Sendable' closure
202 |               authorization: authorization,
203 |               rateLimited: rateLimited,
204 |               then: completion
    |                     |- warning: capture of 'completion' with non-sendable type '(Any?, RequestError?) -> ()' in a '@Sendable' closure
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
205 |             )
206 |           }
[13/51] Compiling Sword Permissions.swift
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Rest/Request.swift:130:9: warning: capture of 'completion' with non-sendable type '(Any?, RequestError?) -> ()' in a '@Sendable' closure
128 |       if error != nil {
129 |         #if !os(Linux)
130 |         completion(nil, RequestError(error! as NSError))
    |         |- warning: capture of 'completion' with non-sendable type '(Any?, RequestError?) -> ()' in a '@Sendable' closure
    |         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
131 |         #else
132 |         completion(nil, RequestError(error as! NSError))
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Rest/Request.swift:139:9: warning: capture of 'self' with non-sendable type 'Sword' in a '@Sendable' closure
137 |
138 |       if rateLimited {
139 |         self.handleRateLimitHeaders(
    |         `- warning: capture of 'self' with non-sendable type 'Sword' in a '@Sendable' closure
140 |           headers["x-ratelimit-limit"],
141 |           headers["x-ratelimit-reset"],
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Sword.swift:13:12: note: class 'Sword' does not conform to the 'Sendable' protocol
  11 |
  12 | /// Main Class for Sword
  13 | open class Sword: Eventable {
     |            `- note: class 'Sword' does not conform to the 'Sendable' protocol
  14 |
  15 |   // MARK: Properties
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Rest/Request.swift:184:15: warning: capture of 'endpoint' with non-sendable type 'Endpoint' in a '@Sendable' closure
182 |           ) { [unowned self] in
183 |             self.request(
184 |               endpoint,
    |               `- warning: capture of 'endpoint' with non-sendable type 'Endpoint' in a '@Sendable' closure
185 |               body: body,
186 |               file: file,
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Rest/Endpoints.swift:9:6: note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
  7 | //
  8 |
  9 | enum Endpoint {
    |      `- note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
 10 |
 11 |   case gateway
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Rest/Request.swift:185:21: warning: capture of 'body' with non-sendable type '[String : Any]?' in a '@Sendable' closure
183 |             self.request(
184 |               endpoint,
185 |               body: body,
    |                     `- warning: capture of 'body' with non-sendable type '[String : Any]?' in a '@Sendable' closure
186 |               file: file,
187 |               authorization: authorization,
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Rest/Request.swift:143:11: warning: reference to captured var 'route' in concurrently-executing code
141 |           headers["x-ratelimit-reset"],
142 |           (headers["Date"] as! String).httpDate.timeIntervalSince1970,
143 |           route
    |           `- warning: reference to captured var 'route' in concurrently-executing code
144 |         )
145 |       }
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Rest/Request.swift:173:15: warning: capture of 'self' with non-sendable type 'Sword' in a '@Sendable' closure
171 |               deadline: DispatchTime.now() + .seconds(retryAfter)
172 |             ) { [unowned self] in
173 |               self.globalUnlock()
    |               `- warning: capture of 'self' with non-sendable type 'Sword' in a '@Sendable' closure
174 |             }
175 |
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Sword.swift:13:12: note: class 'Sword' does not conform to the 'Sendable' protocol
  11 |
  12 | /// Main Class for Sword
  13 | open class Sword: Eventable {
     |            `- note: class 'Sword' does not conform to the 'Sendable' protocol
  14 |
  15 |   // MARK: Properties
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Rest/Request.swift:183:13: warning: capture of 'self' with non-sendable type 'Sword' in a '@Sendable' closure
181 |             deadline: DispatchTime.now() + .seconds(retryAfter)
182 |           ) { [unowned self] in
183 |             self.request(
    |             `- warning: capture of 'self' with non-sendable type 'Sword' in a '@Sendable' closure
184 |               endpoint,
185 |               body: body,
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Sword.swift:13:12: note: class 'Sword' does not conform to the 'Sendable' protocol
  11 |
  12 | /// Main Class for Sword
  13 | open class Sword: Eventable {
     |            `- note: class 'Sword' does not conform to the 'Sendable' protocol
  14 |
  15 |   // MARK: Properties
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Rest/Request.swift:184:15: warning: capture of 'endpoint' with non-sendable type 'Endpoint' in a '@Sendable' closure
182 |           ) { [unowned self] in
183 |             self.request(
184 |               endpoint,
    |               `- warning: capture of 'endpoint' with non-sendable type 'Endpoint' in a '@Sendable' closure
185 |               body: body,
186 |               file: file,
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Rest/Endpoints.swift:9:6: note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
  7 | //
  8 |
  9 | enum Endpoint {
    |      `- note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
 10 |
 11 |   case gateway
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Rest/Request.swift:185:21: warning: capture of 'body' with non-sendable type '[String : Any]?' in a '@Sendable' closure
183 |             self.request(
184 |               endpoint,
185 |               body: body,
    |                     `- warning: capture of 'body' with non-sendable type '[String : Any]?' in a '@Sendable' closure
186 |               file: file,
187 |               authorization: authorization,
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Rest/Request.swift:189:21: warning: capture of 'completion' with non-sendable type '(Any?, RequestError?) -> ()' in a '@Sendable' closure
187 |               authorization: authorization,
188 |               rateLimited: rateLimited,
189 |               then: completion
    |                     |- warning: capture of 'completion' with non-sendable type '(Any?, RequestError?) -> ()' in a '@Sendable' closure
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
190 |             )
191 |           }
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Rest/Request.swift:198:13: warning: capture of 'self' with non-sendable type 'Sword' in a '@Sendable' closure
196 |             deadline: DispatchTime.now() + .seconds(3)
197 |           ) { [unowned self] in
198 |             self.request(
    |             `- warning: capture of 'self' with non-sendable type 'Sword' in a '@Sendable' closure
199 |               endpoint,
200 |               body: body,
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Sword.swift:13:12: note: class 'Sword' does not conform to the 'Sendable' protocol
  11 |
  12 | /// Main Class for Sword
  13 | open class Sword: Eventable {
     |            `- note: class 'Sword' does not conform to the 'Sendable' protocol
  14 |
  15 |   // MARK: Properties
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Rest/Request.swift:199:15: warning: capture of 'endpoint' with non-sendable type 'Endpoint' in a '@Sendable' closure
197 |           ) { [unowned self] in
198 |             self.request(
199 |               endpoint,
    |               `- warning: capture of 'endpoint' with non-sendable type 'Endpoint' in a '@Sendable' closure
200 |               body: body,
201 |               file: file,
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Rest/Endpoints.swift:9:6: note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
  7 | //
  8 |
  9 | enum Endpoint {
    |      `- note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
 10 |
 11 |   case gateway
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Rest/Request.swift:200:21: warning: capture of 'body' with non-sendable type '[String : Any]?' in a '@Sendable' closure
198 |             self.request(
199 |               endpoint,
200 |               body: body,
    |                     `- warning: capture of 'body' with non-sendable type '[String : Any]?' in a '@Sendable' closure
201 |               file: file,
202 |               authorization: authorization,
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Rest/Request.swift:204:21: warning: capture of 'completion' with non-sendable type '(Any?, RequestError?) -> ()' in a '@Sendable' closure
202 |               authorization: authorization,
203 |               rateLimited: rateLimited,
204 |               then: completion
    |                     |- warning: capture of 'completion' with non-sendable type '(Any?, RequestError?) -> ()' in a '@Sendable' closure
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
205 |             )
206 |           }
[14/51] Compiling Sword EventHandler.swift
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Gateway/Heartbeat.swift:28:13: warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
26 |       deadline: .now() + .milliseconds(interval)
27 |     ) { [unowned self] in
28 |       guard self.wasAcked else {
   |             `- warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
29 |         print("[Sword] Did not receive ACK from server, reconnecting...")
30 |         self.reconnect()
Sword.Gateway.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol Gateway {
2 | Self : Sword.Gateway}
  | `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
[15/51] Compiling Sword Eventable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Gateway/Heartbeat.swift:28:13: warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
26 |       deadline: .now() + .milliseconds(interval)
27 |     ) { [unowned self] in
28 |       guard self.wasAcked else {
   |             `- warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
29 |         print("[Sword] Did not receive ACK from server, reconnecting...")
30 |         self.reconnect()
Sword.Gateway.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol Gateway {
2 | Self : Sword.Gateway}
  | `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
[16/51] Compiling Sword Gateway.swift
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Gateway/Heartbeat.swift:28:13: warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
26 |       deadline: .now() + .milliseconds(interval)
27 |     ) { [unowned self] in
28 |       guard self.wasAcked else {
   |             `- warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
29 |         print("[Sword] Did not receive ACK from server, reconnecting...")
30 |         self.reconnect()
Sword.Gateway.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol Gateway {
2 | Self : Sword.Gateway}
  | `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
[17/51] Compiling Sword GatewayHandler.swift
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Gateway/Heartbeat.swift:28:13: warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
26 |       deadline: .now() + .milliseconds(interval)
27 |     ) { [unowned self] in
28 |       guard self.wasAcked else {
   |             `- warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
29 |         print("[Sword] Did not receive ACK from server, reconnecting...")
30 |         self.reconnect()
Sword.Gateway.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol Gateway {
2 | Self : Sword.Gateway}
  | `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
[18/51] Compiling Sword Heartbeat.swift
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Gateway/Heartbeat.swift:28:13: warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
26 |       deadline: .now() + .milliseconds(interval)
27 |     ) { [unowned self] in
28 |       guard self.wasAcked else {
   |             `- warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
29 |         print("[Sword] Did not receive ACK from server, reconnecting...")
30 |         self.reconnect()
Sword.Gateway.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol Gateway {
2 | Self : Sword.Gateway}
  | `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
[19/51] Compiling Sword JSON.swift
[20/51] Compiling Sword Log.swift
[21/51] Compiling Sword Updatable.swift
[22/51] Compiling Sword Utils.swift
[23/51] Compiling Sword Member.swift
[24/51] Compiling Sword Message.swift
[25/51] Compiling Sword Options.swift
[26/51] Compiling Sword Role.swift
[27/51] Compiling Sword GuildCategory.swift
[28/51] Compiling Sword GuildText.swift
[29/51] Compiling Sword GuildVoice.swift
[30/51] Compiling Sword Invite.swift
[31/51] Compiling Sword Bucket.swift
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Utils/Bucket.swift:70:9: warning: capture of 'self' with non-sendable type 'Bucket' in a '@Sendable' closure
 11 |
 12 | /// Rate Limit Thing
 13 | class Bucket {
    |       `- note: class 'Bucket' does not conform to the 'Sendable' protocol
 14 |
 15 |   // MARK: Properties
    :
 68 |         deadline: self.lastResetDispatch + .seconds(self.interval + 1)
 69 |       ) {
 70 |         self.check()
    |         `- warning: capture of 'self' with non-sendable type 'Bucket' in a '@Sendable' closure
 71 |       }
 72 |
[32/51] Compiling Sword Enums.swift
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Utils/Bucket.swift:70:9: warning: capture of 'self' with non-sendable type 'Bucket' in a '@Sendable' closure
 11 |
 12 | /// Rate Limit Thing
 13 | class Bucket {
    |       `- note: class 'Bucket' does not conform to the 'Sendable' protocol
 14 |
 15 |   // MARK: Properties
    :
 68 |         deadline: self.lastResetDispatch + .seconds(self.interval + 1)
 69 |       ) {
 70 |         self.check()
    |         `- warning: capture of 'self' with non-sendable type 'Bucket' in a '@Sendable' closure
 71 |       }
 72 |
[33/51] Compiling Sword Error.swift
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Utils/Bucket.swift:70:9: warning: capture of 'self' with non-sendable type 'Bucket' in a '@Sendable' closure
 11 |
 12 | /// Rate Limit Thing
 13 | class Bucket {
    |       `- note: class 'Bucket' does not conform to the 'Sendable' protocol
 14 |
 15 |   // MARK: Properties
    :
 68 |         deadline: self.lastResetDispatch + .seconds(self.interval + 1)
 69 |       ) {
 70 |         self.check()
    |         `- warning: capture of 'self' with non-sendable type 'Bucket' in a '@Sendable' closure
 71 |       }
 72 |
[34/51] Compiling Sword Imageable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Utils/Bucket.swift:70:9: warning: capture of 'self' with non-sendable type 'Bucket' in a '@Sendable' closure
 11 |
 12 | /// Rate Limit Thing
 13 | class Bucket {
    |       `- note: class 'Bucket' does not conform to the 'Sendable' protocol
 14 |
 15 |   // MARK: Properties
    :
 68 |         deadline: self.lastResetDispatch + .seconds(self.interval + 1)
 69 |       ) {
 70 |         self.check()
    |         `- warning: capture of 'self' with non-sendable type 'Bucket' in a '@Sendable' closure
 71 |       }
 72 |
[35/51] Compiling Sword Payload.swift
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Gateway/Shard.swift:154:11: warning: capture of 'self' with non-sendable type 'Shard' in a '@Sendable' closure
 17 |
 18 | /// WS class
 19 | class Shard: Gateway {
    |       `- note: class 'Shard' does not conform to the 'Sendable' protocol
 20 |
 21 |   // MARK: Properties
    :
152 |           deadline: DispatchTime.now() + .seconds(10)
153 |         ) { [unowned self] in
154 |           self.sword.warn("Detected a loss of internet...")
    |           `- warning: capture of 'self' with non-sendable type 'Shard' in a '@Sendable' closure
155 |           self.reconnect()
156 |         }
[36/51] Compiling Sword Shard.swift
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Gateway/Shard.swift:154:11: warning: capture of 'self' with non-sendable type 'Shard' in a '@Sendable' closure
 17 |
 18 | /// WS class
 19 | class Shard: Gateway {
    |       `- note: class 'Shard' does not conform to the 'Sendable' protocol
 20 |
 21 |   // MARK: Properties
    :
152 |           deadline: DispatchTime.now() + .seconds(10)
153 |         ) { [unowned self] in
154 |           self.sword.warn("Detected a loss of internet...")
    |           `- warning: capture of 'self' with non-sendable type 'Shard' in a '@Sendable' closure
155 |           self.reconnect()
156 |         }
[37/51] Compiling Sword ShardManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Gateway/Shard.swift:154:11: warning: capture of 'self' with non-sendable type 'Shard' in a '@Sendable' closure
 17 |
 18 | /// WS class
 19 | class Shard: Gateway {
    |       `- note: class 'Shard' does not conform to the 'Sendable' protocol
 20 |
 21 |   // MARK: Properties
    :
152 |           deadline: DispatchTime.now() + .seconds(10)
153 |         ) { [unowned self] in
154 |           self.sword.warn("Detected a loss of internet...")
    |           `- warning: capture of 'self' with non-sendable type 'Shard' in a '@Sendable' closure
155 |           self.reconnect()
156 |         }
[38/51] Compiling Sword EndpointInfo.swift
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Gateway/Shard.swift:154:11: warning: capture of 'self' with non-sendable type 'Shard' in a '@Sendable' closure
 17 |
 18 | /// WS class
 19 | class Shard: Gateway {
    |       `- note: class 'Shard' does not conform to the 'Sendable' protocol
 20 |
 21 |   // MARK: Properties
    :
152 |           deadline: DispatchTime.now() + .seconds(10)
153 |         ) { [unowned self] in
154 |           self.sword.warn("Detected a loss of internet...")
    |           `- warning: capture of 'self' with non-sendable type 'Shard' in a '@Sendable' closure
155 |           self.reconnect()
156 |         }
[39/51] Compiling Sword Endpoints.swift
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Gateway/Shard.swift:154:11: warning: capture of 'self' with non-sendable type 'Shard' in a '@Sendable' closure
 17 |
 18 | /// WS class
 19 | class Shard: Gateway {
    |       `- note: class 'Shard' does not conform to the 'Sendable' protocol
 20 |
 21 |   // MARK: Properties
    :
152 |           deadline: DispatchTime.now() + .seconds(10)
153 |         ) { [unowned self] in
154 |           self.sword.warn("Detected a loss of internet...")
    |           `- warning: capture of 'self' with non-sendable type 'Shard' in a '@Sendable' closure
155 |           self.reconnect()
156 |         }
[40/51] Compiling Sword Snowflake.swift
[41/51] Compiling Sword User.swift
[42/51] Compiling Sword VoiceState.swift
[43/51] Compiling Sword Webhook.swift
[44/51] Compiling Sword Shield.swift
[45/51] Compiling Sword Sword.swift
[46/51] Compiling Sword AuditLog.swift
[47/51] Compiling Sword Channel.swift
[48/51] Compiling Sword DM.swift
[49/51] Compiling Sword Emoji.swift
[50/51] Compiling Sword GroupDM.swift
[51/51] Compiling Sword Guild.swift
Build complete! (7.62s)
warning: 'common-crypto-spm': ignoring declared target(s) 'SSCommonCrypto' in the system package
warning: 'zlib-spm': ignoring declared target(s) 'SSCZLib' in the system package
Build complete.
{
  "dependencies" : [
    {
      "identity" : "starscream",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.0.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Azoy/Starscream.git"
    }
  ],
  "manifest_display_name" : "Sword",
  "name" : "Sword",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Sword",
      "targets" : [
        "Sword"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "Sword",
      "module_type" : "SwiftTarget",
      "name" : "Sword",
      "path" : "Sources/Sword",
      "product_dependencies" : [
        "Starscream"
      ],
      "product_memberships" : [
        "Sword"
      ],
      "sources" : [
        "Gateway/EventHandler.swift",
        "Gateway/Eventable.swift",
        "Gateway/Gateway.swift",
        "Gateway/GatewayHandler.swift",
        "Gateway/Heartbeat.swift",
        "Gateway/Payload.swift",
        "Gateway/Shard.swift",
        "Gateway/ShardManager.swift",
        "Rest/EndpointInfo.swift",
        "Rest/Endpoints.swift",
        "Rest/MultipartBody.swift",
        "Rest/RateLimit.swift",
        "Rest/Request.swift",
        "Shield/Command.swift",
        "Shield/Permissions.swift",
        "Shield/Shield.swift",
        "Sword.swift",
        "Types/AuditLog.swift",
        "Types/Channel.swift",
        "Types/DM.swift",
        "Types/Emoji.swift",
        "Types/GroupDM.swift",
        "Types/Guild.swift",
        "Types/GuildCategory.swift",
        "Types/GuildText.swift",
        "Types/GuildVoice.swift",
        "Types/Invite.swift",
        "Types/Member.swift",
        "Types/Message.swift",
        "Types/Options.swift",
        "Types/Role.swift",
        "Types/Snowflake.swift",
        "Types/User.swift",
        "Types/VoiceState.swift",
        "Types/Webhook.swift",
        "Utils/Bucket.swift",
        "Utils/Enums.swift",
        "Utils/Error.swift",
        "Utils/Imageable.swift",
        "Utils/JSON.swift",
        "Utils/Log.swift",
        "Utils/Updatable.swift",
        "Utils/Utils.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Done.