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 master (01185a), with Swift 6.0 for macOS (SPM) on 26 Nov 2024 13:04:52 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.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.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Azoy/Sword.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Azoy/Sword
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 01185a2 Update Doc Link
Cloned https://github.com/Azoy/Sword.git
Revision (git rev-parse @):
01185a232ea9a33f67711550f77a7a8dbca2dc78
SUCCESS checkout https://github.com/Azoy/Sword.git at master
Fetching https://github.com/Azoy/common-crypto-spm.git
Fetching https://github.com/Azoy/zlib-spm.git
Fetching https://github.com/Azoy/Starscream.git
[1/32] Fetching zlib-spm
[7/59] Fetching zlib-spm, common-crypto-spm
[34/2190] Fetching zlib-spm, common-crypto-spm, starscream
Fetched https://github.com/Azoy/common-crypto-spm.git from cache (1.16s)
Fetched https://github.com/Azoy/Starscream.git from cache (1.16s)
Computing version for https://github.com/Azoy/Starscream.git
Fetched https://github.com/Azoy/zlib-spm.git from cache (1.16s)
Computed https://github.com/Azoy/Starscream.git at 3.0.5 (0.56s)
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.55s)
Computing version for https://github.com/Azoy/zlib-spm.git
Computed https://github.com/Azoy/zlib-spm.git at 1.2.0 (0.54s)
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
Creating working copy for https://github.com/Azoy/Starscream.git
Working copy of https://github.com/Azoy/Starscream.git resolved at 3.0.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",
  "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.18s)
Fetching https://github.com/Azoy/Starscream.git from cache
Fetched https://github.com/Azoy/Starscream.git from cache (0.47s)
Computing version for https://github.com/Azoy/Starscream.git
Computed https://github.com/Azoy/Starscream.git at 3.0.5 (0.02s)
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/zlib-spm.git from cache (0.44s)
Fetched https://github.com/Azoy/common-crypto-spm.git from cache (0.47s)
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.02s)
Computing version for https://github.com/Azoy/zlib-spm.git
Computed https://github.com/Azoy/zlib-spm.git at 1.2.0 (0.02s)
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 master (01185a2)
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
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.0
Building package at path:  $PWD
https://github.com/Azoy/Sword.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.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--7754E27361AE5C74.txt
[4/7] Compiling Starscream SSLSecurity.swift
[5/7] Compiling Starscream Compression.swift
[6/7] Compiling Starscream WebSocket.swift
[7/7] Emitting module Starscream
[8/47] Compiling Sword GuildCategory.swift
[9/47] Compiling Sword GuildText.swift
[10/47] Compiling Sword GuildVoice.swift
[11/47] Compiling Sword Invite.swift
[12/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; this is an error in the Swift 6 language mode
 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; this is an error in the Swift 6 language mode
 71 |       }
 72 |
[13/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; this is an error in the Swift 6 language mode
 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; this is an error in the Swift 6 language mode
 71 |       }
 72 |
[14/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; this is an error in the Swift 6 language mode
 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; this is an error in the Swift 6 language mode
 71 |       }
 72 |
[15/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; this is an error in the Swift 6 language mode
 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; this is an error in the Swift 6 language mode
 71 |       }
 72 |
[16/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; this is an error in the Swift 6 language mode
 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; this is an error in the Swift 6 language mode
155 |           self.reconnect()
156 |         }
[17/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; this is an error in the Swift 6 language mode
 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; this is an error in the Swift 6 language mode
155 |           self.reconnect()
156 |         }
[18/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; this is an error in the Swift 6 language mode
 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; this is an error in the Swift 6 language mode
155 |           self.reconnect()
156 |         }
[19/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; this is an error in the Swift 6 language mode
 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; this is an error in the Swift 6 language mode
155 |           self.reconnect()
156 |         }
[20/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; this is an error in the Swift 6 language mode
 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; this is an error in the Swift 6 language mode
155 |           self.reconnect()
156 |         }
[21/51] Compiling Sword EventHandler.swift
<unknown>:0: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Gateway/Heartbeat.swift:38:7: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
36 |       deadline: .now() + .milliseconds(interval)
37 |     ) { [unowned self] in
38 |       self.heartbeat(at: interval)
   |       `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
39 |     }
40 |   }
[22/51] Compiling Sword Eventable.swift
<unknown>:0: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Gateway/Heartbeat.swift:38:7: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
36 |       deadline: .now() + .milliseconds(interval)
37 |     ) { [unowned self] in
38 |       self.heartbeat(at: interval)
   |       `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
39 |     }
40 |   }
[23/51] Compiling Sword Gateway.swift
<unknown>:0: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Gateway/Heartbeat.swift:38:7: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
36 |       deadline: .now() + .milliseconds(interval)
37 |     ) { [unowned self] in
38 |       self.heartbeat(at: interval)
   |       `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
39 |     }
40 |   }
[24/51] Compiling Sword GatewayHandler.swift
<unknown>:0: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Gateway/Heartbeat.swift:38:7: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
36 |       deadline: .now() + .milliseconds(interval)
37 |     ) { [unowned self] in
38 |       self.heartbeat(at: interval)
   |       `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
39 |     }
40 |   }
[25/51] Compiling Sword Heartbeat.swift
<unknown>:0: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
/Users/admin/builder/spi-builder-workspace/Sources/Sword/Gateway/Heartbeat.swift:38:7: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
36 |       deadline: .now() + .milliseconds(interval)
37 |     ) { [unowned self] in
38 |       self.heartbeat(at: interval)
   |       `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
39 |     }
40 |   }
[26/51] Emitting module Sword
[27/51] Compiling Sword JSON.swift
[28/51] Compiling Sword Log.swift
[29/51] Compiling Sword Updatable.swift
[30/51] Compiling Sword Utils.swift
[31/51] Compiling Sword DM.swift
[32/51] Compiling Sword Emoji.swift
[33/51] Compiling Sword GroupDM.swift
[34/51] Compiling Sword Guild.swift
[35/51] Compiling Sword Snowflake.swift
[36/51] Compiling Sword User.swift
[37/51] Compiling Sword VoiceState.swift
[38/51] Compiling Sword Webhook.swift
[39/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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
    |         `- 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; this is an error in the Swift 6 language mode
137 |
138 |       if rateLimited {
139 |         self.handleRateLimitHeaders(
    |         `- warning: capture of 'self' with non-sendable type 'Sword' in a `@Sendable` closure; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
182 |           ) { [unowned self] in
183 |             self.request(
184 |               endpoint,
    |               `- warning: capture of 'endpoint' with non-sendable type 'Endpoint' in a `@Sendable` closure; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
183 |             self.request(
184 |               endpoint,
185 |               body: body,
    |                     `- warning: capture of 'body' with non-sendable type '[String : Any]?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
141 |           headers["x-ratelimit-reset"],
142 |           (headers["Date"] as! String).httpDate.timeIntervalSince1970,
143 |           route
    |           `- warning: reference to captured var 'route' in concurrently-executing code; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
182 |           ) { [unowned self] in
183 |             self.request(
184 |               endpoint,
    |               `- warning: capture of 'endpoint' with non-sendable type 'Endpoint' in a `@Sendable` closure; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
183 |             self.request(
184 |               endpoint,
185 |               body: body,
    |                     `- warning: capture of 'body' with non-sendable type '[String : Any]?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
187 |               authorization: authorization,
188 |               rateLimited: rateLimited,
189 |               then: completion
    |                     |- warning: capture of 'completion' with non-sendable type '(Any?, RequestError?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                     `- 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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
197 |           ) { [unowned self] in
198 |             self.request(
199 |               endpoint,
    |               `- warning: capture of 'endpoint' with non-sendable type 'Endpoint' in a `@Sendable` closure; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
198 |             self.request(
199 |               endpoint,
200 |               body: body,
    |                     `- warning: capture of 'body' with non-sendable type '[String : Any]?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
202 |               authorization: authorization,
203 |               rateLimited: rateLimited,
204 |               then: completion
    |                     |- warning: capture of 'completion' with non-sendable type '(Any?, RequestError?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
205 |             )
206 |           }
[40/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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
    |         `- 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; this is an error in the Swift 6 language mode
137 |
138 |       if rateLimited {
139 |         self.handleRateLimitHeaders(
    |         `- warning: capture of 'self' with non-sendable type 'Sword' in a `@Sendable` closure; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
182 |           ) { [unowned self] in
183 |             self.request(
184 |               endpoint,
    |               `- warning: capture of 'endpoint' with non-sendable type 'Endpoint' in a `@Sendable` closure; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
183 |             self.request(
184 |               endpoint,
185 |               body: body,
    |                     `- warning: capture of 'body' with non-sendable type '[String : Any]?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
141 |           headers["x-ratelimit-reset"],
142 |           (headers["Date"] as! String).httpDate.timeIntervalSince1970,
143 |           route
    |           `- warning: reference to captured var 'route' in concurrently-executing code; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
182 |           ) { [unowned self] in
183 |             self.request(
184 |               endpoint,
    |               `- warning: capture of 'endpoint' with non-sendable type 'Endpoint' in a `@Sendable` closure; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
183 |             self.request(
184 |               endpoint,
185 |               body: body,
    |                     `- warning: capture of 'body' with non-sendable type '[String : Any]?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
187 |               authorization: authorization,
188 |               rateLimited: rateLimited,
189 |               then: completion
    |                     |- warning: capture of 'completion' with non-sendable type '(Any?, RequestError?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                     `- 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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
197 |           ) { [unowned self] in
198 |             self.request(
199 |               endpoint,
    |               `- warning: capture of 'endpoint' with non-sendable type 'Endpoint' in a `@Sendable` closure; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
198 |             self.request(
199 |               endpoint,
200 |               body: body,
    |                     `- warning: capture of 'body' with non-sendable type '[String : Any]?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
202 |               authorization: authorization,
203 |               rateLimited: rateLimited,
204 |               then: completion
    |                     |- warning: capture of 'completion' with non-sendable type '(Any?, RequestError?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
205 |             )
206 |           }
[41/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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
    |         `- 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; this is an error in the Swift 6 language mode
137 |
138 |       if rateLimited {
139 |         self.handleRateLimitHeaders(
    |         `- warning: capture of 'self' with non-sendable type 'Sword' in a `@Sendable` closure; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
182 |           ) { [unowned self] in
183 |             self.request(
184 |               endpoint,
    |               `- warning: capture of 'endpoint' with non-sendable type 'Endpoint' in a `@Sendable` closure; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
183 |             self.request(
184 |               endpoint,
185 |               body: body,
    |                     `- warning: capture of 'body' with non-sendable type '[String : Any]?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
141 |           headers["x-ratelimit-reset"],
142 |           (headers["Date"] as! String).httpDate.timeIntervalSince1970,
143 |           route
    |           `- warning: reference to captured var 'route' in concurrently-executing code; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
182 |           ) { [unowned self] in
183 |             self.request(
184 |               endpoint,
    |               `- warning: capture of 'endpoint' with non-sendable type 'Endpoint' in a `@Sendable` closure; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
183 |             self.request(
184 |               endpoint,
185 |               body: body,
    |                     `- warning: capture of 'body' with non-sendable type '[String : Any]?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
187 |               authorization: authorization,
188 |               rateLimited: rateLimited,
189 |               then: completion
    |                     |- warning: capture of 'completion' with non-sendable type '(Any?, RequestError?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                     `- 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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
197 |           ) { [unowned self] in
198 |             self.request(
199 |               endpoint,
    |               `- warning: capture of 'endpoint' with non-sendable type 'Endpoint' in a `@Sendable` closure; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
198 |             self.request(
199 |               endpoint,
200 |               body: body,
    |                     `- warning: capture of 'body' with non-sendable type '[String : Any]?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
202 |               authorization: authorization,
203 |               rateLimited: rateLimited,
204 |               then: completion
    |                     |- warning: capture of 'completion' with non-sendable type '(Any?, RequestError?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
205 |             )
206 |           }
[42/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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
    |         `- 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; this is an error in the Swift 6 language mode
137 |
138 |       if rateLimited {
139 |         self.handleRateLimitHeaders(
    |         `- warning: capture of 'self' with non-sendable type 'Sword' in a `@Sendable` closure; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
182 |           ) { [unowned self] in
183 |             self.request(
184 |               endpoint,
    |               `- warning: capture of 'endpoint' with non-sendable type 'Endpoint' in a `@Sendable` closure; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
183 |             self.request(
184 |               endpoint,
185 |               body: body,
    |                     `- warning: capture of 'body' with non-sendable type '[String : Any]?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
141 |           headers["x-ratelimit-reset"],
142 |           (headers["Date"] as! String).httpDate.timeIntervalSince1970,
143 |           route
    |           `- warning: reference to captured var 'route' in concurrently-executing code; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
182 |           ) { [unowned self] in
183 |             self.request(
184 |               endpoint,
    |               `- warning: capture of 'endpoint' with non-sendable type 'Endpoint' in a `@Sendable` closure; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
183 |             self.request(
184 |               endpoint,
185 |               body: body,
    |                     `- warning: capture of 'body' with non-sendable type '[String : Any]?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
187 |               authorization: authorization,
188 |               rateLimited: rateLimited,
189 |               then: completion
    |                     |- warning: capture of 'completion' with non-sendable type '(Any?, RequestError?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                     `- 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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
197 |           ) { [unowned self] in
198 |             self.request(
199 |               endpoint,
    |               `- warning: capture of 'endpoint' with non-sendable type 'Endpoint' in a `@Sendable` closure; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
198 |             self.request(
199 |               endpoint,
200 |               body: body,
    |                     `- warning: capture of 'body' with non-sendable type '[String : Any]?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
202 |               authorization: authorization,
203 |               rateLimited: rateLimited,
204 |               then: completion
    |                     |- warning: capture of 'completion' with non-sendable type '(Any?, RequestError?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
205 |             )
206 |           }
[43/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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
    |         `- 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; this is an error in the Swift 6 language mode
137 |
138 |       if rateLimited {
139 |         self.handleRateLimitHeaders(
    |         `- warning: capture of 'self' with non-sendable type 'Sword' in a `@Sendable` closure; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
182 |           ) { [unowned self] in
183 |             self.request(
184 |               endpoint,
    |               `- warning: capture of 'endpoint' with non-sendable type 'Endpoint' in a `@Sendable` closure; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
183 |             self.request(
184 |               endpoint,
185 |               body: body,
    |                     `- warning: capture of 'body' with non-sendable type '[String : Any]?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
141 |           headers["x-ratelimit-reset"],
142 |           (headers["Date"] as! String).httpDate.timeIntervalSince1970,
143 |           route
    |           `- warning: reference to captured var 'route' in concurrently-executing code; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
182 |           ) { [unowned self] in
183 |             self.request(
184 |               endpoint,
    |               `- warning: capture of 'endpoint' with non-sendable type 'Endpoint' in a `@Sendable` closure; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
183 |             self.request(
184 |               endpoint,
185 |               body: body,
    |                     `- warning: capture of 'body' with non-sendable type '[String : Any]?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
187 |               authorization: authorization,
188 |               rateLimited: rateLimited,
189 |               then: completion
    |                     |- warning: capture of 'completion' with non-sendable type '(Any?, RequestError?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                     `- 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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
197 |           ) { [unowned self] in
198 |             self.request(
199 |               endpoint,
    |               `- warning: capture of 'endpoint' with non-sendable type 'Endpoint' in a `@Sendable` closure; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
198 |             self.request(
199 |               endpoint,
200 |               body: body,
    |                     `- warning: capture of 'body' with non-sendable type '[String : Any]?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
202 |               authorization: authorization,
203 |               rateLimited: rateLimited,
204 |               then: completion
    |                     |- warning: capture of 'completion' with non-sendable type '(Any?, RequestError?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
205 |             )
206 |           }
[44/51] Compiling Sword Member.swift
[45/51] Compiling Sword Message.swift
[46/51] Compiling Sword Options.swift
[47/51] Compiling Sword Role.swift
[48/51] Compiling Sword Shield.swift
[49/51] Compiling Sword Sword.swift
[50/51] Compiling Sword AuditLog.swift
[51/51] Compiling Sword Channel.swift
Build complete! (10.20s)
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.