Build Information
Successful build of SwiftStack, reference master (3ed8ed
), with Swift 6.0 for Linux on 1 Nov 2024 05:46:55 UTC.
Swift 6 data race errors: 2
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sobotics/swiftstack.git
Reference: master
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/sobotics/swiftstack
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 3ed8edd [tests] import FoundationNetworking
Cloned https://github.com/sobotics/swiftstack.git
Revision (git rev-parse @):
3ed8eddf8bcf3984d8e7a8b9890802b544f4ef28
SUCCESS checkout https://github.com/sobotics/swiftstack.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/sobotics/swiftstack.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/24] Compiling SwiftStack Revision.swift
[4/24] Compiling SwiftStack Site.swift
[5/24] Compiling SwiftStack String+HTMLEntities.swift
[6/27] Compiling SwiftStack RequestsRevisions.swift
/host/spi-builder-workspace/Sources/SwiftStack/RequestsRevisions.swift:77:38: warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
75 | ids,
76 | parameters: parameters,
77 | backoffBehavior: backoffBehavior
| `- warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
78 | )
79 |
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:92:14: note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
90 | }
91 |
92 | public enum BackoffBehavior {
| `- note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
93 | case wait
94 | case throwError
/host/spi-builder-workspace/Sources/SwiftStack/RequestsRevisions.swift:80:17: warning: capture of 'completionHandler' with non-sendable type '(APIResponse<Revision>?, (any Error)?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
78 | )
79 |
80 | completionHandler(response, nil)
| |- warning: capture of 'completionHandler' with non-sendable type '(APIResponse<Revision>?, (any Error)?) -> ()' 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'
81 | } catch {
82 | completionHandler(nil, error)
/host/spi-builder-workspace/Sources/SwiftStack/RequestsSites.swift:60:112: warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
58 |
59 | do {
60 | let response: APIResponse<Site> = try self.fetchSites(parameters: parameters, backoffBehavior: backoffBehavior)
| `- warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
61 | completionHandler(response, nil)
62 | } catch {
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:92:14: note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
90 | }
91 |
92 | public enum BackoffBehavior {
| `- note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
93 | case wait
94 | case throwError
/host/spi-builder-workspace/Sources/SwiftStack/RequestsSites.swift:61:17: warning: capture of 'completionHandler' with non-sendable type '(APIResponse<Site>?, (any Error)?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
59 | do {
60 | let response: APIResponse<Site> = try self.fetchSites(parameters: parameters, backoffBehavior: backoffBehavior)
61 | completionHandler(response, nil)
| |- warning: capture of 'completionHandler' with non-sendable type '(APIResponse<Site>?, (any Error)?) -> ()' 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'
62 | } catch {
63 | completionHandler(nil, error)
/host/spi-builder-workspace/Sources/SwiftStack/RequestsSuggestedEdits.swift:63:38: warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
61 | let response: APIResponse<SuggestedEdit> = try self.fetchSuggestedEdits(
62 | parameters: parameters,
63 | backoffBehavior: backoffBehavior
| `- warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
64 | )
65 |
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:92:14: note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
90 | }
91 |
92 | public enum BackoffBehavior {
| `- note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
93 | case wait
94 | case throwError
/host/spi-builder-workspace/Sources/SwiftStack/RequestsSuggestedEdits.swift:66:17: warning: capture of 'completionHandler' with non-sendable type '(APIResponse<SuggestedEdit>?, (any Error)?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
64 | )
65 |
66 | completionHandler(response, nil)
| |- warning: capture of 'completionHandler' with non-sendable type '(APIResponse<SuggestedEdit>?, (any Error)?) -> ()' 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'
67 | } catch {
68 | completionHandler(nil, error)
/host/spi-builder-workspace/Sources/SwiftStack/RequestsSuggestedEdits.swift:130:38: warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
128 | ids,
129 | parameters: parameters,
130 | backoffBehavior: backoffBehavior
| `- warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
131 | )
132 |
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:92:14: note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
90 | }
91 |
92 | public enum BackoffBehavior {
| `- note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
93 | case wait
94 | case throwError
/host/spi-builder-workspace/Sources/SwiftStack/RequestsSuggestedEdits.swift:133:17: warning: capture of 'completionHandler' with non-sendable type '(APIResponse<SuggestedEdit>?, (any Error)?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
131 | )
132 |
133 | completionHandler(response, nil)
| |- warning: capture of 'completionHandler' with non-sendable type '(APIResponse<SuggestedEdit>?, (any Error)?) -> ()' 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'
134 | } catch {
135 | completionHandler(nil, error)
[7/27] Compiling SwiftStack RequestsSites.swift
/host/spi-builder-workspace/Sources/SwiftStack/RequestsRevisions.swift:77:38: warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
75 | ids,
76 | parameters: parameters,
77 | backoffBehavior: backoffBehavior
| `- warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
78 | )
79 |
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:92:14: note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
90 | }
91 |
92 | public enum BackoffBehavior {
| `- note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
93 | case wait
94 | case throwError
/host/spi-builder-workspace/Sources/SwiftStack/RequestsRevisions.swift:80:17: warning: capture of 'completionHandler' with non-sendable type '(APIResponse<Revision>?, (any Error)?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
78 | )
79 |
80 | completionHandler(response, nil)
| |- warning: capture of 'completionHandler' with non-sendable type '(APIResponse<Revision>?, (any Error)?) -> ()' 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'
81 | } catch {
82 | completionHandler(nil, error)
/host/spi-builder-workspace/Sources/SwiftStack/RequestsSites.swift:60:112: warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
58 |
59 | do {
60 | let response: APIResponse<Site> = try self.fetchSites(parameters: parameters, backoffBehavior: backoffBehavior)
| `- warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
61 | completionHandler(response, nil)
62 | } catch {
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:92:14: note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
90 | }
91 |
92 | public enum BackoffBehavior {
| `- note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
93 | case wait
94 | case throwError
/host/spi-builder-workspace/Sources/SwiftStack/RequestsSites.swift:61:17: warning: capture of 'completionHandler' with non-sendable type '(APIResponse<Site>?, (any Error)?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
59 | do {
60 | let response: APIResponse<Site> = try self.fetchSites(parameters: parameters, backoffBehavior: backoffBehavior)
61 | completionHandler(response, nil)
| |- warning: capture of 'completionHandler' with non-sendable type '(APIResponse<Site>?, (any Error)?) -> ()' 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'
62 | } catch {
63 | completionHandler(nil, error)
/host/spi-builder-workspace/Sources/SwiftStack/RequestsSuggestedEdits.swift:63:38: warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
61 | let response: APIResponse<SuggestedEdit> = try self.fetchSuggestedEdits(
62 | parameters: parameters,
63 | backoffBehavior: backoffBehavior
| `- warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
64 | )
65 |
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:92:14: note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
90 | }
91 |
92 | public enum BackoffBehavior {
| `- note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
93 | case wait
94 | case throwError
/host/spi-builder-workspace/Sources/SwiftStack/RequestsSuggestedEdits.swift:66:17: warning: capture of 'completionHandler' with non-sendable type '(APIResponse<SuggestedEdit>?, (any Error)?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
64 | )
65 |
66 | completionHandler(response, nil)
| |- warning: capture of 'completionHandler' with non-sendable type '(APIResponse<SuggestedEdit>?, (any Error)?) -> ()' 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'
67 | } catch {
68 | completionHandler(nil, error)
/host/spi-builder-workspace/Sources/SwiftStack/RequestsSuggestedEdits.swift:130:38: warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
128 | ids,
129 | parameters: parameters,
130 | backoffBehavior: backoffBehavior
| `- warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
131 | )
132 |
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:92:14: note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
90 | }
91 |
92 | public enum BackoffBehavior {
| `- note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
93 | case wait
94 | case throwError
/host/spi-builder-workspace/Sources/SwiftStack/RequestsSuggestedEdits.swift:133:17: warning: capture of 'completionHandler' with non-sendable type '(APIResponse<SuggestedEdit>?, (any Error)?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
131 | )
132 |
133 | completionHandler(response, nil)
| |- warning: capture of 'completionHandler' with non-sendable type '(APIResponse<SuggestedEdit>?, (any Error)?) -> ()' 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'
134 | } catch {
135 | completionHandler(nil, error)
[8/27] Compiling SwiftStack RequestsSuggestedEdits.swift
/host/spi-builder-workspace/Sources/SwiftStack/RequestsRevisions.swift:77:38: warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
75 | ids,
76 | parameters: parameters,
77 | backoffBehavior: backoffBehavior
| `- warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
78 | )
79 |
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:92:14: note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
90 | }
91 |
92 | public enum BackoffBehavior {
| `- note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
93 | case wait
94 | case throwError
/host/spi-builder-workspace/Sources/SwiftStack/RequestsRevisions.swift:80:17: warning: capture of 'completionHandler' with non-sendable type '(APIResponse<Revision>?, (any Error)?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
78 | )
79 |
80 | completionHandler(response, nil)
| |- warning: capture of 'completionHandler' with non-sendable type '(APIResponse<Revision>?, (any Error)?) -> ()' 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'
81 | } catch {
82 | completionHandler(nil, error)
/host/spi-builder-workspace/Sources/SwiftStack/RequestsSites.swift:60:112: warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
58 |
59 | do {
60 | let response: APIResponse<Site> = try self.fetchSites(parameters: parameters, backoffBehavior: backoffBehavior)
| `- warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
61 | completionHandler(response, nil)
62 | } catch {
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:92:14: note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
90 | }
91 |
92 | public enum BackoffBehavior {
| `- note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
93 | case wait
94 | case throwError
/host/spi-builder-workspace/Sources/SwiftStack/RequestsSites.swift:61:17: warning: capture of 'completionHandler' with non-sendable type '(APIResponse<Site>?, (any Error)?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
59 | do {
60 | let response: APIResponse<Site> = try self.fetchSites(parameters: parameters, backoffBehavior: backoffBehavior)
61 | completionHandler(response, nil)
| |- warning: capture of 'completionHandler' with non-sendable type '(APIResponse<Site>?, (any Error)?) -> ()' 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'
62 | } catch {
63 | completionHandler(nil, error)
/host/spi-builder-workspace/Sources/SwiftStack/RequestsSuggestedEdits.swift:63:38: warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
61 | let response: APIResponse<SuggestedEdit> = try self.fetchSuggestedEdits(
62 | parameters: parameters,
63 | backoffBehavior: backoffBehavior
| `- warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
64 | )
65 |
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:92:14: note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
90 | }
91 |
92 | public enum BackoffBehavior {
| `- note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
93 | case wait
94 | case throwError
/host/spi-builder-workspace/Sources/SwiftStack/RequestsSuggestedEdits.swift:66:17: warning: capture of 'completionHandler' with non-sendable type '(APIResponse<SuggestedEdit>?, (any Error)?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
64 | )
65 |
66 | completionHandler(response, nil)
| |- warning: capture of 'completionHandler' with non-sendable type '(APIResponse<SuggestedEdit>?, (any Error)?) -> ()' 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'
67 | } catch {
68 | completionHandler(nil, error)
/host/spi-builder-workspace/Sources/SwiftStack/RequestsSuggestedEdits.swift:130:38: warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
128 | ids,
129 | parameters: parameters,
130 | backoffBehavior: backoffBehavior
| `- warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
131 | )
132 |
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:92:14: note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
90 | }
91 |
92 | public enum BackoffBehavior {
| `- note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
93 | case wait
94 | case throwError
/host/spi-builder-workspace/Sources/SwiftStack/RequestsSuggestedEdits.swift:133:17: warning: capture of 'completionHandler' with non-sendable type '(APIResponse<SuggestedEdit>?, (any Error)?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
131 | )
132 |
133 | completionHandler(response, nil)
| |- warning: capture of 'completionHandler' with non-sendable type '(APIResponse<SuggestedEdit>?, (any Error)?) -> ()' 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'
134 | } catch {
135 | completionHandler(nil, error)
[9/27] Compiling SwiftStack APIClient.swift
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:38:12: warning: non-final class 'APIClient' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
36 |
37 | ///An APIClient communicates to the Stack Exchange API over HTTP.
38 | open class APIClient: NSObject, URLSessionDataDelegate {
| `- warning: non-final class 'APIClient' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
39 | //MARK: Instance variables and types.
40 |
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:42:11: warning: stored property 'session' of 'Sendable'-conforming class 'APIClient' is mutable; this is an error in the Swift 6 language mode
40 |
41 | ///The URLSession for this client.
42 | open var session: URLSession!
| `- warning: stored property 'session' of 'Sendable'-conforming class 'APIClient' is mutable; this is an error in the Swift 6 language mode
43 |
44 | ///The queue used for asynchronous operations.
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:221:6: warning: mutation of captured var 'data' in concurrently-executing code; this is an error in the Swift 6 language mode
219 | let task = self.session.dataTask(with: req)
220 | self.performTask(task, request: req) {inData, inResp, inError in
221 | (data, resp, error) = (inData, inResp, inError)
| `- warning: mutation of captured var 'data' in concurrently-executing code; this is an error in the Swift 6 language mode
222 | sema.signal()
223 | }
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:221:12: warning: mutation of captured var 'resp' in concurrently-executing code; this is an error in the Swift 6 language mode
219 | let task = self.session.dataTask(with: req)
220 | self.performTask(task, request: req) {inData, inResp, inError in
221 | (data, resp, error) = (inData, inResp, inError)
| `- warning: mutation of captured var 'resp' in concurrently-executing code; this is an error in the Swift 6 language mode
222 | sema.signal()
223 | }
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:221:18: warning: mutation of captured var 'error' in concurrently-executing code; this is an error in the Swift 6 language mode
219 | let task = self.session.dataTask(with: req)
220 | self.performTask(task, request: req) {inData, inResp, inError in
221 | (data, resp, error) = (inData, inResp, inError)
| `- warning: mutation of captured var 'error' in concurrently-executing code; this is an error in the Swift 6 language mode
222 | sema.signal()
223 | }
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:275:45: warning: reference to captured var 'request' in concurrently-executing code; this is an error in the Swift 6 language mode
273 |
274 | queue.async {
275 | let task = self.session.uploadTask(with: request, from: data)
| `- warning: reference to captured var 'request' in concurrently-executing code; this is an error in the Swift 6 language mode
276 | self.performTask(task, request: request) {data, response, error in
277 | (responseData, resp, responseError) = (data, response, error)
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:276:36: warning: reference to captured var 'request' in concurrently-executing code; this is an error in the Swift 6 language mode
274 | queue.async {
275 | let task = self.session.uploadTask(with: request, from: data)
276 | self.performTask(task, request: request) {data, response, error in
| `- warning: reference to captured var 'request' in concurrently-executing code; this is an error in the Swift 6 language mode
277 | (responseData, resp, responseError) = (data, response, error)
278 | sema.signal()
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:277:6: warning: mutation of captured var 'responseData' in concurrently-executing code; this is an error in the Swift 6 language mode
275 | let task = self.session.uploadTask(with: request, from: data)
276 | self.performTask(task, request: request) {data, response, error in
277 | (responseData, resp, responseError) = (data, response, error)
| `- warning: mutation of captured var 'responseData' in concurrently-executing code; this is an error in the Swift 6 language mode
278 | sema.signal()
279 | }
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:277:20: warning: mutation of captured var 'resp' in concurrently-executing code; this is an error in the Swift 6 language mode
275 | let task = self.session.uploadTask(with: request, from: data)
276 | self.performTask(task, request: request) {data, response, error in
277 | (responseData, resp, responseError) = (data, response, error)
| `- warning: mutation of captured var 'resp' in concurrently-executing code; this is an error in the Swift 6 language mode
278 | sema.signal()
279 | }
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:277:26: warning: mutation of captured var 'responseError' in concurrently-executing code; this is an error in the Swift 6 language mode
275 | let task = self.session.uploadTask(with: request, from: data)
276 | self.performTask(task, request: request) {data, response, error in
277 | (responseData, resp, responseError) = (data, response, error)
| `- warning: mutation of captured var 'responseError' in concurrently-executing code; this is an error in the Swift 6 language mode
278 | sema.signal()
279 | }
[10/27] Compiling SwiftStack APIResponse.swift
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:38:12: warning: non-final class 'APIClient' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
36 |
37 | ///An APIClient communicates to the Stack Exchange API over HTTP.
38 | open class APIClient: NSObject, URLSessionDataDelegate {
| `- warning: non-final class 'APIClient' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
39 | //MARK: Instance variables and types.
40 |
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:42:11: warning: stored property 'session' of 'Sendable'-conforming class 'APIClient' is mutable; this is an error in the Swift 6 language mode
40 |
41 | ///The URLSession for this client.
42 | open var session: URLSession!
| `- warning: stored property 'session' of 'Sendable'-conforming class 'APIClient' is mutable; this is an error in the Swift 6 language mode
43 |
44 | ///The queue used for asynchronous operations.
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:221:6: warning: mutation of captured var 'data' in concurrently-executing code; this is an error in the Swift 6 language mode
219 | let task = self.session.dataTask(with: req)
220 | self.performTask(task, request: req) {inData, inResp, inError in
221 | (data, resp, error) = (inData, inResp, inError)
| `- warning: mutation of captured var 'data' in concurrently-executing code; this is an error in the Swift 6 language mode
222 | sema.signal()
223 | }
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:221:12: warning: mutation of captured var 'resp' in concurrently-executing code; this is an error in the Swift 6 language mode
219 | let task = self.session.dataTask(with: req)
220 | self.performTask(task, request: req) {inData, inResp, inError in
221 | (data, resp, error) = (inData, inResp, inError)
| `- warning: mutation of captured var 'resp' in concurrently-executing code; this is an error in the Swift 6 language mode
222 | sema.signal()
223 | }
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:221:18: warning: mutation of captured var 'error' in concurrently-executing code; this is an error in the Swift 6 language mode
219 | let task = self.session.dataTask(with: req)
220 | self.performTask(task, request: req) {inData, inResp, inError in
221 | (data, resp, error) = (inData, inResp, inError)
| `- warning: mutation of captured var 'error' in concurrently-executing code; this is an error in the Swift 6 language mode
222 | sema.signal()
223 | }
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:275:45: warning: reference to captured var 'request' in concurrently-executing code; this is an error in the Swift 6 language mode
273 |
274 | queue.async {
275 | let task = self.session.uploadTask(with: request, from: data)
| `- warning: reference to captured var 'request' in concurrently-executing code; this is an error in the Swift 6 language mode
276 | self.performTask(task, request: request) {data, response, error in
277 | (responseData, resp, responseError) = (data, response, error)
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:276:36: warning: reference to captured var 'request' in concurrently-executing code; this is an error in the Swift 6 language mode
274 | queue.async {
275 | let task = self.session.uploadTask(with: request, from: data)
276 | self.performTask(task, request: request) {data, response, error in
| `- warning: reference to captured var 'request' in concurrently-executing code; this is an error in the Swift 6 language mode
277 | (responseData, resp, responseError) = (data, response, error)
278 | sema.signal()
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:277:6: warning: mutation of captured var 'responseData' in concurrently-executing code; this is an error in the Swift 6 language mode
275 | let task = self.session.uploadTask(with: request, from: data)
276 | self.performTask(task, request: request) {data, response, error in
277 | (responseData, resp, responseError) = (data, response, error)
| `- warning: mutation of captured var 'responseData' in concurrently-executing code; this is an error in the Swift 6 language mode
278 | sema.signal()
279 | }
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:277:20: warning: mutation of captured var 'resp' in concurrently-executing code; this is an error in the Swift 6 language mode
275 | let task = self.session.uploadTask(with: request, from: data)
276 | self.performTask(task, request: request) {data, response, error in
277 | (responseData, resp, responseError) = (data, response, error)
| `- warning: mutation of captured var 'resp' in concurrently-executing code; this is an error in the Swift 6 language mode
278 | sema.signal()
279 | }
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:277:26: warning: mutation of captured var 'responseError' in concurrently-executing code; this is an error in the Swift 6 language mode
275 | let task = self.session.uploadTask(with: request, from: data)
276 | self.performTask(task, request: request) {data, response, error in
277 | (responseData, resp, responseError) = (data, response, error)
| `- warning: mutation of captured var 'responseError' in concurrently-executing code; this is an error in the Swift 6 language mode
278 | sema.signal()
279 | }
[11/27] Compiling SwiftStack Answer.swift
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:38:12: warning: non-final class 'APIClient' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
36 |
37 | ///An APIClient communicates to the Stack Exchange API over HTTP.
38 | open class APIClient: NSObject, URLSessionDataDelegate {
| `- warning: non-final class 'APIClient' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
39 | //MARK: Instance variables and types.
40 |
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:42:11: warning: stored property 'session' of 'Sendable'-conforming class 'APIClient' is mutable; this is an error in the Swift 6 language mode
40 |
41 | ///The URLSession for this client.
42 | open var session: URLSession!
| `- warning: stored property 'session' of 'Sendable'-conforming class 'APIClient' is mutable; this is an error in the Swift 6 language mode
43 |
44 | ///The queue used for asynchronous operations.
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:221:6: warning: mutation of captured var 'data' in concurrently-executing code; this is an error in the Swift 6 language mode
219 | let task = self.session.dataTask(with: req)
220 | self.performTask(task, request: req) {inData, inResp, inError in
221 | (data, resp, error) = (inData, inResp, inError)
| `- warning: mutation of captured var 'data' in concurrently-executing code; this is an error in the Swift 6 language mode
222 | sema.signal()
223 | }
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:221:12: warning: mutation of captured var 'resp' in concurrently-executing code; this is an error in the Swift 6 language mode
219 | let task = self.session.dataTask(with: req)
220 | self.performTask(task, request: req) {inData, inResp, inError in
221 | (data, resp, error) = (inData, inResp, inError)
| `- warning: mutation of captured var 'resp' in concurrently-executing code; this is an error in the Swift 6 language mode
222 | sema.signal()
223 | }
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:221:18: warning: mutation of captured var 'error' in concurrently-executing code; this is an error in the Swift 6 language mode
219 | let task = self.session.dataTask(with: req)
220 | self.performTask(task, request: req) {inData, inResp, inError in
221 | (data, resp, error) = (inData, inResp, inError)
| `- warning: mutation of captured var 'error' in concurrently-executing code; this is an error in the Swift 6 language mode
222 | sema.signal()
223 | }
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:275:45: warning: reference to captured var 'request' in concurrently-executing code; this is an error in the Swift 6 language mode
273 |
274 | queue.async {
275 | let task = self.session.uploadTask(with: request, from: data)
| `- warning: reference to captured var 'request' in concurrently-executing code; this is an error in the Swift 6 language mode
276 | self.performTask(task, request: request) {data, response, error in
277 | (responseData, resp, responseError) = (data, response, error)
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:276:36: warning: reference to captured var 'request' in concurrently-executing code; this is an error in the Swift 6 language mode
274 | queue.async {
275 | let task = self.session.uploadTask(with: request, from: data)
276 | self.performTask(task, request: request) {data, response, error in
| `- warning: reference to captured var 'request' in concurrently-executing code; this is an error in the Swift 6 language mode
277 | (responseData, resp, responseError) = (data, response, error)
278 | sema.signal()
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:277:6: warning: mutation of captured var 'responseData' in concurrently-executing code; this is an error in the Swift 6 language mode
275 | let task = self.session.uploadTask(with: request, from: data)
276 | self.performTask(task, request: request) {data, response, error in
277 | (responseData, resp, responseError) = (data, response, error)
| `- warning: mutation of captured var 'responseData' in concurrently-executing code; this is an error in the Swift 6 language mode
278 | sema.signal()
279 | }
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:277:20: warning: mutation of captured var 'resp' in concurrently-executing code; this is an error in the Swift 6 language mode
275 | let task = self.session.uploadTask(with: request, from: data)
276 | self.performTask(task, request: request) {data, response, error in
277 | (responseData, resp, responseError) = (data, response, error)
| `- warning: mutation of captured var 'resp' in concurrently-executing code; this is an error in the Swift 6 language mode
278 | sema.signal()
279 | }
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:277:26: warning: mutation of captured var 'responseError' in concurrently-executing code; this is an error in the Swift 6 language mode
275 | let task = self.session.uploadTask(with: request, from: data)
276 | self.performTask(task, request: request) {data, response, error in
277 | (responseData, resp, responseError) = (data, response, error)
| `- warning: mutation of captured var 'responseError' in concurrently-executing code; this is an error in the Swift 6 language mode
278 | sema.signal()
279 | }
[12/27] Emitting module SwiftStack
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:38:12: warning: non-final class 'APIClient' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
36 |
37 | ///An APIClient communicates to the Stack Exchange API over HTTP.
38 | open class APIClient: NSObject, URLSessionDataDelegate {
| `- warning: non-final class 'APIClient' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
39 | //MARK: Instance variables and types.
40 |
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:42:11: warning: stored property 'session' of 'Sendable'-conforming class 'APIClient' is mutable; this is an error in the Swift 6 language mode
40 |
41 | ///The URLSession for this client.
42 | open var session: URLSession!
| `- warning: stored property 'session' of 'Sendable'-conforming class 'APIClient' is mutable; this is an error in the Swift 6 language mode
43 |
44 | ///The queue used for asynchronous operations.
[13/27] Compiling SwiftStack DictionaryConvertible.swift
[14/27] Compiling SwiftStack JsonConvertible.swift
[15/27] Compiling SwiftStack JsonHelper.swift
[16/27] Compiling SwiftStack BadgeCount.swift
[17/27] Compiling SwiftStack Comment.swift
[18/27] Compiling SwiftStack Content.swift
[19/27] Compiling SwiftStack RequestsAnswers.swift
/host/spi-builder-workspace/Sources/SwiftStack/RequestsAnswers.swift:60:38: warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
58 | let response: APIResponse<Answer> = try self.fetchAnswers(
59 | parameters: parameters,
60 | backoffBehavior: backoffBehavior
| `- warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
61 | )
62 |
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:92:14: note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
90 | }
91 |
92 | public enum BackoffBehavior {
| `- note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
93 | case wait
94 | case throwError
/host/spi-builder-workspace/Sources/SwiftStack/RequestsAnswers.swift:63:17: warning: capture of 'completionHandler' with non-sendable type '(APIResponse<Answer>?, (any Error)?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
61 | )
62 |
63 | completionHandler(response, nil)
| |- warning: capture of 'completionHandler' with non-sendable type '(APIResponse<Answer>?, (any Error)?) -> ()' 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'
64 | } catch {
65 | completionHandler(nil, error)
/host/spi-builder-workspace/Sources/SwiftStack/RequestsAnswers.swift:126:38: warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
124 | ids,
125 | parameters: parameters,
126 | backoffBehavior: backoffBehavior
| `- warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
127 | )
128 |
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:92:14: note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
90 | }
91 |
92 | public enum BackoffBehavior {
| `- note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
93 | case wait
94 | case throwError
/host/spi-builder-workspace/Sources/SwiftStack/RequestsAnswers.swift:129:17: warning: capture of 'completionHandler' with non-sendable type '(APIResponse<Answer>?, (any Error)?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
127 | )
128 |
129 | completionHandler(response, nil)
| |- warning: capture of 'completionHandler' with non-sendable type '(APIResponse<Answer>?, (any Error)?) -> ()' 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'
130 | } catch {
131 | completionHandler(nil, error)
/host/spi-builder-workspace/Sources/SwiftStack/RequestsAnswers.swift:234:134: warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
232 | queue.async {
233 | do {
234 | let response: APIResponse<Comment> = try self.fetchCommentsOn(answers: ids, parameters: parameters, backoffBehavior: backoffBehavior)
| `- warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
235 |
236 | completionHandler(response, nil)
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:92:14: note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
90 | }
91 |
92 | public enum BackoffBehavior {
| `- note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
93 | case wait
94 | case throwError
/host/spi-builder-workspace/Sources/SwiftStack/RequestsAnswers.swift:236:17: warning: capture of 'completionHandler' with non-sendable type '(APIResponse<Comment>?, (any Error)?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
234 | let response: APIResponse<Comment> = try self.fetchCommentsOn(answers: ids, parameters: parameters, backoffBehavior: backoffBehavior)
235 |
236 | completionHandler(response, nil)
| |- warning: capture of 'completionHandler' with non-sendable type '(APIResponse<Comment>?, (any Error)?) -> ()' 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'
237 | } catch {
238 | completionHandler(nil, error)
/host/spi-builder-workspace/Sources/SwiftStack/RequestsAnswers.swift:344:38: warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
342 | ids,
343 | parameters: parameters,
344 | backoffBehavior: backoffBehavior
| `- warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
345 | )
346 |
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:92:14: note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
90 | }
91 |
92 | public enum BackoffBehavior {
| `- note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
93 | case wait
94 | case throwError
/host/spi-builder-workspace/Sources/SwiftStack/RequestsAnswers.swift:347:17: warning: capture of 'completionHandler' with non-sendable type '(APIResponse<Question>?, (any Error)?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
345 | )
346 |
347 | completionHandler(response, nil)
| |- warning: capture of 'completionHandler' with non-sendable type '(APIResponse<Question>?, (any Error)?) -> ()' 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'
348 | } catch {
349 | completionHandler(nil, error)
/host/spi-builder-workspace/Sources/SwiftStack/RequestsPrivileges.swift:63:38: warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
61 | let response: APIResponse<Privilege> = try self.fetchPrivileges(
62 | parameters: parameters,
63 | backoffBehavior: backoffBehavior
| `- warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
64 | )
65 |
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:92:14: note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
90 | }
91 |
92 | public enum BackoffBehavior {
| `- note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
93 | case wait
94 | case throwError
/host/spi-builder-workspace/Sources/SwiftStack/RequestsPrivileges.swift:66:17: warning: capture of 'completionHandler' with non-sendable type '(APIResponse<Privilege>?, (any Error)?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
64 | )
65 |
66 | completionHandler(response, nil)
| |- warning: capture of 'completionHandler' with non-sendable type '(APIResponse<Privilege>?, (any Error)?) -> ()' 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'
67 | } catch {
68 | completionHandler(nil, error)
/host/spi-builder-workspace/Sources/SwiftStack/RequestsQuestions.swift:61:38: warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
59 | let response: APIResponse<Question> = try self.fetchQuestions(
60 | parameters: parameters,
61 | backoffBehavior: backoffBehavior
| `- warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
62 | )
63 |
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:92:14: note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
90 | }
91 |
92 | public enum BackoffBehavior {
| `- note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
93 | case wait
94 | case throwError
/host/spi-builder-workspace/Sources/SwiftStack/RequestsQuestions.swift:64:17: warning: capture of 'completionHandler' with non-sendable type '(APIResponse<Question>?, (any Error)?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
62 | )
63 |
64 | completionHandler(response, nil)
| |- warning: capture of 'completionHandler' with non-sendable type '(APIResponse<Question>?, (any Error)?) -> ()' 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'
65 | } catch {
66 | completionHandler(nil, error)
/host/spi-builder-workspace/Sources/SwiftStack/RequestsQuestions.swift:127:23: warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
125 | ids,
126 | parameters: parameters,
127 | backoffBehavior: backoffBehavior
| `- warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
128 | )
129 |
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:92:14: note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
90 | }
91 |
92 | public enum BackoffBehavior {
| `- note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
93 | case wait
94 | case throwError
/host/spi-builder-workspace/Sources/SwiftStack/RequestsQuestions.swift:130:17: warning: capture of 'completionHandler' with non-sendable type '(APIResponse<Question>?, (any Error)?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
128 | )
129 |
130 | completionHandler(response, nil)
| |- warning: capture of 'completionHandler' with non-sendable type '(APIResponse<Question>?, (any Error)?) -> ()' 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 | } catch {
132 | completionHandler(nil, error)
/host/spi-builder-workspace/Sources/SwiftStack/RequestsQuestions.swift:235:134: warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
233 | queue.async {
234 | do {
235 | let response: APIResponse<Answer> = try self.fetchAnswersOn(questions: ids, parameters: parameters, backoffBehavior: backoffBehavior)
| `- warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
236 |
237 | completionHandler(response, nil)
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:92:14: note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
90 | }
91 |
92 | public enum BackoffBehavior {
| `- note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
93 | case wait
94 | case throwError
/host/spi-builder-workspace/Sources/SwiftStack/RequestsQuestions.swift:237:17: warning: capture of 'completionHandler' with non-sendable type '(APIResponse<Answer>?, (any Error)?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
235 | let response: APIResponse<Answer> = try self.fetchAnswersOn(questions: ids, parameters: parameters, backoffBehavior: backoffBehavior)
236 |
237 | completionHandler(response, nil)
| |- warning: capture of 'completionHandler' with non-sendable type '(APIResponse<Answer>?, (any Error)?) -> ()' 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'
238 | } catch {
239 | completionHandler(nil, error)
/host/spi-builder-workspace/Sources/SwiftStack/RequestsQuestions.swift:341:136: warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
339 | queue.async {
340 | do {
341 | let response: APIResponse<Comment> = try self.fetchCommentsOn(questions: ids, parameters: parameters, backoffBehavior: backoffBehavior)
| `- warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
342 |
343 | completionHandler(response, nil)
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:92:14: note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
90 | }
91 |
92 | public enum BackoffBehavior {
| `- note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
93 | case wait
94 | case throwError
/host/spi-builder-workspace/Sources/SwiftStack/RequestsQuestions.swift:343:17: warning: capture of 'completionHandler' with non-sendable type '(APIResponse<Comment>?, (any Error)?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
341 | let response: APIResponse<Comment> = try self.fetchCommentsOn(questions: ids, parameters: parameters, backoffBehavior: backoffBehavior)
342 |
343 | completionHandler(response, nil)
| |- warning: capture of 'completionHandler' with non-sendable type '(APIResponse<Comment>?, (any Error)?) -> ()' 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'
344 | } catch {
345 | completionHandler(nil, error)
/host/spi-builder-workspace/Sources/SwiftStack/RequestsQuestions.swift:447:144: warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
445 | queue.async {
446 | do {
447 | let response: APIResponse<Question> = try self.fetchLinkedQuestionsTo(questions: ids, parameters: parameters, backoffBehavior: backoffBehavior)
| `- warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
448 |
449 | completionHandler(response, nil)
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:92:14: note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
90 | }
91 |
92 | public enum BackoffBehavior {
| `- note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
93 | case wait
94 | case throwError
/host/spi-builder-workspace/Sources/SwiftStack/RequestsQuestions.swift:449:17: warning: capture of 'completionHandler' with non-sendable type '(APIResponse<Question>?, (any Error)?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
447 | let response: APIResponse<Question> = try self.fetchLinkedQuestionsTo(questions: ids, parameters: parameters, backoffBehavior: backoffBehavior)
448 |
449 | completionHandler(response, nil)
| |- warning: capture of 'completionHandler' with non-sendable type '(APIResponse<Question>?, (any Error)?) -> ()' 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'
450 | } catch {
451 | completionHandler(nil, error)
/host/spi-builder-workspace/Sources/SwiftStack/RequestsQuestions.swift:553:145: warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
551 | queue.async {
552 | do {
553 | let response: APIResponse<Question> = try self.fetchRelatedQuestionsTo(questions: ids, parameters: parameters, backoffBehavior: backoffBehavior)
| `- warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
554 |
555 | completionHandler(response, nil)
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:92:14: note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
90 | }
91 |
92 | public enum BackoffBehavior {
| `- note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
93 | case wait
94 | case throwError
/host/spi-builder-workspace/Sources/SwiftStack/RequestsQuestions.swift:555:17: warning: capture of 'completionHandler' with non-sendable type '(APIResponse<Question>?, (any Error)?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
553 | let response: APIResponse<Question> = try self.fetchRelatedQuestionsTo(questions: ids, parameters: parameters, backoffBehavior: backoffBehavior)
554 |
555 | completionHandler(response, nil)
| |- warning: capture of 'completionHandler' with non-sendable type '(APIResponse<Question>?, (any Error)?) -> ()' 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'
556 | } catch {
557 | completionHandler(nil, error)
/host/spi-builder-workspace/Sources/SwiftStack/RequestsQuestions.swift:659:146: warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
657 | queue.async {
658 | do {
659 | let response: APIResponse<Question.Timeline> = try self.fetchTimelineOf(questions: ids, parameters: parameters, backoffBehavior: backoffBehavior)
| `- warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
660 |
661 | completionHandler(response, nil)
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:92:14: note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
90 | }
91 |
92 | public enum BackoffBehavior {
| `- note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
93 | case wait
94 | case throwError
/host/spi-builder-workspace/Sources/SwiftStack/RequestsQuestions.swift:661:17: warning: capture of 'completionHandler' with non-sendable type '(APIResponse<Question.Timeline>?, (any Error)?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
659 | let response: APIResponse<Question.Timeline> = try self.fetchTimelineOf(questions: ids, parameters: parameters, backoffBehavior: backoffBehavior)
660 |
661 | completionHandler(response, nil)
| |- warning: capture of 'completionHandler' with non-sendable type '(APIResponse<Question.Timeline>?, (any Error)?) -> ()' 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'
662 | } catch {
663 | completionHandler(nil, error)
/host/spi-builder-workspace/Sources/SwiftStack/RequestsQuestions.swift:755:38: warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
753 | let response: APIResponse<Question> = try self.fetchQuestions(
754 | parameters: parameters,
755 | backoffBehavior: backoffBehavior
| `- warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
756 | )
757 |
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:92:14: note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
90 | }
91 |
92 | public enum BackoffBehavior {
| `- note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
93 | case wait
94 | case throwError
/host/spi-builder-workspace/Sources/SwiftStack/RequestsQuestions.swift:758:17: warning: capture of 'completionHandler' with non-sendable type '(APIResponse<Question>?, (any Error)?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
756 | )
757 |
758 | completionHandler(response, nil)
| |- warning: capture of 'completionHandler' with non-sendable type '(APIResponse<Question>?, (any Error)?) -> ()' 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'
759 | } catch {
760 | completionHandler(nil, error)
/host/spi-builder-workspace/Sources/SwiftStack/RequestsQuestions.swift:814:38: warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
812 | let response: APIResponse<Question> = try self.fetchQuestions(
813 | parameters: parameters,
814 | backoffBehavior: backoffBehavior
| `- warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
815 | )
816 |
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:92:14: note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
90 | }
91 |
92 | public enum BackoffBehavior {
| `- note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
93 | case wait
94 | case throwError
/host/spi-builder-workspace/Sources/SwiftStack/RequestsQuestions.swift:817:17: warning: capture of 'completionHandler' with non-sendable type '(APIResponse<Question>?, (any Error)?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
815 | )
816 |
817 | completionHandler(response, nil)
| |- warning: capture of 'completionHandler' with non-sendable type '(APIResponse<Question>?, (any Error)?) -> ()' 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'
818 | } catch {
819 | completionHandler(nil, error)
/host/spi-builder-workspace/Sources/SwiftStack/RequestsQuestions.swift:873:38: warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
871 | let response: APIResponse<Question> = try self.fetchQuestions(
872 | parameters: parameters,
873 | backoffBehavior: backoffBehavior
| `- warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
874 | )
875 |
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:92:14: note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
90 | }
91 |
92 | public enum BackoffBehavior {
| `- note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
93 | case wait
94 | case throwError
/host/spi-builder-workspace/Sources/SwiftStack/RequestsQuestions.swift:876:17: warning: capture of 'completionHandler' with non-sendable type '(APIResponse<Question>?, (any Error)?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
874 | )
875 |
876 | completionHandler(response, nil)
| |- warning: capture of 'completionHandler' with non-sendable type '(APIResponse<Question>?, (any Error)?) -> ()' 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'
877 | } catch {
878 | completionHandler(nil, error)
[20/27] Compiling SwiftStack RequestsPrivileges.swift
/host/spi-builder-workspace/Sources/SwiftStack/RequestsAnswers.swift:60:38: warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
58 | let response: APIResponse<Answer> = try self.fetchAnswers(
59 | parameters: parameters,
60 | backoffBehavior: backoffBehavior
| `- warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
61 | )
62 |
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:92:14: note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
90 | }
91 |
92 | public enum BackoffBehavior {
| `- note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
93 | case wait
94 | case throwError
/host/spi-builder-workspace/Sources/SwiftStack/RequestsAnswers.swift:63:17: warning: capture of 'completionHandler' with non-sendable type '(APIResponse<Answer>?, (any Error)?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
61 | )
62 |
63 | completionHandler(response, nil)
| |- warning: capture of 'completionHandler' with non-sendable type '(APIResponse<Answer>?, (any Error)?) -> ()' 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'
64 | } catch {
65 | completionHandler(nil, error)
/host/spi-builder-workspace/Sources/SwiftStack/RequestsAnswers.swift:126:38: warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
124 | ids,
125 | parameters: parameters,
126 | backoffBehavior: backoffBehavior
| `- warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
127 | )
128 |
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:92:14: note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
90 | }
91 |
92 | public enum BackoffBehavior {
| `- note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
93 | case wait
94 | case throwError
/host/spi-builder-workspace/Sources/SwiftStack/RequestsAnswers.swift:129:17: warning: capture of 'completionHandler' with non-sendable type '(APIResponse<Answer>?, (any Error)?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
127 | )
128 |
129 | completionHandler(response, nil)
| |- warning: capture of 'completionHandler' with non-sendable type '(APIResponse<Answer>?, (any Error)?) -> ()' 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'
130 | } catch {
131 | completionHandler(nil, error)
/host/spi-builder-workspace/Sources/SwiftStack/RequestsAnswers.swift:234:134: warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
232 | queue.async {
233 | do {
234 | let response: APIResponse<Comment> = try self.fetchCommentsOn(answers: ids, parameters: parameters, backoffBehavior: backoffBehavior)
| `- warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
235 |
236 | completionHandler(response, nil)
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:92:14: note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
90 | }
91 |
92 | public enum BackoffBehavior {
| `- note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
93 | case wait
94 | case throwError
/host/spi-builder-workspace/Sources/SwiftStack/RequestsAnswers.swift:236:17: warning: capture of 'completionHandler' with non-sendable type '(APIResponse<Comment>?, (any Error)?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
234 | let response: APIResponse<Comment> = try self.fetchCommentsOn(answers: ids, parameters: parameters, backoffBehavior: backoffBehavior)
235 |
236 | completionHandler(response, nil)
| |- warning: capture of 'completionHandler' with non-sendable type '(APIResponse<Comment>?, (any Error)?) -> ()' 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'
237 | } catch {
238 | completionHandler(nil, error)
/host/spi-builder-workspace/Sources/SwiftStack/RequestsAnswers.swift:344:38: warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
342 | ids,
343 | parameters: parameters,
344 | backoffBehavior: backoffBehavior
| `- warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
345 | )
346 |
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:92:14: note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
90 | }
91 |
92 | public enum BackoffBehavior {
| `- note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
93 | case wait
94 | case throwError
/host/spi-builder-workspace/Sources/SwiftStack/RequestsAnswers.swift:347:17: warning: capture of 'completionHandler' with non-sendable type '(APIResponse<Question>?, (any Error)?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
345 | )
346 |
347 | completionHandler(response, nil)
| |- warning: capture of 'completionHandler' with non-sendable type '(APIResponse<Question>?, (any Error)?) -> ()' 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'
348 | } catch {
349 | completionHandler(nil, error)
/host/spi-builder-workspace/Sources/SwiftStack/RequestsPrivileges.swift:63:38: warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
61 | let response: APIResponse<Privilege> = try self.fetchPrivileges(
62 | parameters: parameters,
63 | backoffBehavior: backoffBehavior
| `- warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
64 | )
65 |
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:92:14: note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
90 | }
91 |
92 | public enum BackoffBehavior {
| `- note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
93 | case wait
94 | case throwError
/host/spi-builder-workspace/Sources/SwiftStack/RequestsPrivileges.swift:66:17: warning: capture of 'completionHandler' with non-sendable type '(APIResponse<Privilege>?, (any Error)?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
64 | )
65 |
66 | completionHandler(response, nil)
| |- warning: capture of 'completionHandler' with non-sendable type '(APIResponse<Privilege>?, (any Error)?) -> ()' 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'
67 | } catch {
68 | completionHandler(nil, error)
/host/spi-builder-workspace/Sources/SwiftStack/RequestsQuestions.swift:61:38: warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
59 | let response: APIResponse<Question> = try self.fetchQuestions(
60 | parameters: parameters,
61 | backoffBehavior: backoffBehavior
| `- warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
62 | )
63 |
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:92:14: note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
90 | }
91 |
92 | public enum BackoffBehavior {
| `- note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
93 | case wait
94 | case throwError
/host/spi-builder-workspace/Sources/SwiftStack/RequestsQuestions.swift:64:17: warning: capture of 'completionHandler' with non-sendable type '(APIResponse<Question>?, (any Error)?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
62 | )
63 |
64 | completionHandler(response, nil)
| |- warning: capture of 'completionHandler' with non-sendable type '(APIResponse<Question>?, (any Error)?) -> ()' 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'
65 | } catch {
66 | completionHandler(nil, error)
/host/spi-builder-workspace/Sources/SwiftStack/RequestsQuestions.swift:127:23: warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
125 | ids,
126 | parameters: parameters,
127 | backoffBehavior: backoffBehavior
| `- warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
128 | )
129 |
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:92:14: note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
90 | }
91 |
92 | public enum BackoffBehavior {
| `- note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
93 | case wait
94 | case throwError
/host/spi-builder-workspace/Sources/SwiftStack/RequestsQuestions.swift:130:17: warning: capture of 'completionHandler' with non-sendable type '(APIResponse<Question>?, (any Error)?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
128 | )
129 |
130 | completionHandler(response, nil)
| |- warning: capture of 'completionHandler' with non-sendable type '(APIResponse<Question>?, (any Error)?) -> ()' 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 | } catch {
132 | completionHandler(nil, error)
/host/spi-builder-workspace/Sources/SwiftStack/RequestsQuestions.swift:235:134: warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
233 | queue.async {
234 | do {
235 | let response: APIResponse<Answer> = try self.fetchAnswersOn(questions: ids, parameters: parameters, backoffBehavior: backoffBehavior)
| `- warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
236 |
237 | completionHandler(response, nil)
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:92:14: note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
90 | }
91 |
92 | public enum BackoffBehavior {
| `- note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
93 | case wait
94 | case throwError
/host/spi-builder-workspace/Sources/SwiftStack/RequestsQuestions.swift:237:17: warning: capture of 'completionHandler' with non-sendable type '(APIResponse<Answer>?, (any Error)?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
235 | let response: APIResponse<Answer> = try self.fetchAnswersOn(questions: ids, parameters: parameters, backoffBehavior: backoffBehavior)
236 |
237 | completionHandler(response, nil)
| |- warning: capture of 'completionHandler' with non-sendable type '(APIResponse<Answer>?, (any Error)?) -> ()' 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'
238 | } catch {
239 | completionHandler(nil, error)
/host/spi-builder-workspace/Sources/SwiftStack/RequestsQuestions.swift:341:136: warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
339 | queue.async {
340 | do {
341 | let response: APIResponse<Comment> = try self.fetchCommentsOn(questions: ids, parameters: parameters, backoffBehavior: backoffBehavior)
| `- warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
342 |
343 | completionHandler(response, nil)
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:92:14: note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
90 | }
91 |
92 | public enum BackoffBehavior {
| `- note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
93 | case wait
94 | case throwError
/host/spi-builder-workspace/Sources/SwiftStack/RequestsQuestions.swift:343:17: warning: capture of 'completionHandler' with non-sendable type '(APIResponse<Comment>?, (any Error)?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
341 | let response: APIResponse<Comment> = try self.fetchCommentsOn(questions: ids, parameters: parameters, backoffBehavior: backoffBehavior)
342 |
343 | completionHandler(response, nil)
| |- warning: capture of 'completionHandler' with non-sendable type '(APIResponse<Comment>?, (any Error)?) -> ()' 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'
344 | } catch {
345 | completionHandler(nil, error)
/host/spi-builder-workspace/Sources/SwiftStack/RequestsQuestions.swift:447:144: warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
445 | queue.async {
446 | do {
447 | let response: APIResponse<Question> = try self.fetchLinkedQuestionsTo(questions: ids, parameters: parameters, backoffBehavior: backoffBehavior)
| `- warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
448 |
449 | completionHandler(response, nil)
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:92:14: note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
90 | }
91 |
92 | public enum BackoffBehavior {
| `- note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
93 | case wait
94 | case throwError
/host/spi-builder-workspace/Sources/SwiftStack/RequestsQuestions.swift:449:17: warning: capture of 'completionHandler' with non-sendable type '(APIResponse<Question>?, (any Error)?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
447 | let response: APIResponse<Question> = try self.fetchLinkedQuestionsTo(questions: ids, parameters: parameters, backoffBehavior: backoffBehavior)
448 |
449 | completionHandler(response, nil)
| |- warning: capture of 'completionHandler' with non-sendable type '(APIResponse<Question>?, (any Error)?) -> ()' 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'
450 | } catch {
451 | completionHandler(nil, error)
/host/spi-builder-workspace/Sources/SwiftStack/RequestsQuestions.swift:553:145: warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
551 | queue.async {
552 | do {
553 | let response: APIResponse<Question> = try self.fetchRelatedQuestionsTo(questions: ids, parameters: parameters, backoffBehavior: backoffBehavior)
| `- warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
554 |
555 | completionHandler(response, nil)
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:92:14: note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
90 | }
91 |
92 | public enum BackoffBehavior {
| `- note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
93 | case wait
94 | case throwError
/host/spi-builder-workspace/Sources/SwiftStack/RequestsQuestions.swift:555:17: warning: capture of 'completionHandler' with non-sendable type '(APIResponse<Question>?, (any Error)?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
553 | let response: APIResponse<Question> = try self.fetchRelatedQuestionsTo(questions: ids, parameters: parameters, backoffBehavior: backoffBehavior)
554 |
555 | completionHandler(response, nil)
| |- warning: capture of 'completionHandler' with non-sendable type '(APIResponse<Question>?, (any Error)?) -> ()' 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'
556 | } catch {
557 | completionHandler(nil, error)
/host/spi-builder-workspace/Sources/SwiftStack/RequestsQuestions.swift:659:146: warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
657 | queue.async {
658 | do {
659 | let response: APIResponse<Question.Timeline> = try self.fetchTimelineOf(questions: ids, parameters: parameters, backoffBehavior: backoffBehavior)
| `- warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
660 |
661 | completionHandler(response, nil)
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:92:14: note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
90 | }
91 |
92 | public enum BackoffBehavior {
| `- note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
93 | case wait
94 | case throwError
/host/spi-builder-workspace/Sources/SwiftStack/RequestsQuestions.swift:661:17: warning: capture of 'completionHandler' with non-sendable type '(APIResponse<Question.Timeline>?, (any Error)?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
659 | let response: APIResponse<Question.Timeline> = try self.fetchTimelineOf(questions: ids, parameters: parameters, backoffBehavior: backoffBehavior)
660 |
661 | completionHandler(response, nil)
| |- warning: capture of 'completionHandler' with non-sendable type '(APIResponse<Question.Timeline>?, (any Error)?) -> ()' 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'
662 | } catch {
663 | completionHandler(nil, error)
/host/spi-builder-workspace/Sources/SwiftStack/RequestsQuestions.swift:755:38: warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
753 | let response: APIResponse<Question> = try self.fetchQuestions(
754 | parameters: parameters,
755 | backoffBehavior: backoffBehavior
| `- warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
756 | )
757 |
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:92:14: note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
90 | }
91 |
92 | public enum BackoffBehavior {
| `- note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
93 | case wait
94 | case throwError
/host/spi-builder-workspace/Sources/SwiftStack/RequestsQuestions.swift:758:17: warning: capture of 'completionHandler' with non-sendable type '(APIResponse<Question>?, (any Error)?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
756 | )
757 |
758 | completionHandler(response, nil)
| |- warning: capture of 'completionHandler' with non-sendable type '(APIResponse<Question>?, (any Error)?) -> ()' 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'
759 | } catch {
760 | completionHandler(nil, error)
/host/spi-builder-workspace/Sources/SwiftStack/RequestsQuestions.swift:814:38: warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
812 | let response: APIResponse<Question> = try self.fetchQuestions(
813 | parameters: parameters,
814 | backoffBehavior: backoffBehavior
| `- warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
815 | )
816 |
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:92:14: note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
90 | }
91 |
92 | public enum BackoffBehavior {
| `- note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
93 | case wait
94 | case throwError
/host/spi-builder-workspace/Sources/SwiftStack/RequestsQuestions.swift:817:17: warning: capture of 'completionHandler' with non-sendable type '(APIResponse<Question>?, (any Error)?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
815 | )
816 |
817 | completionHandler(response, nil)
| |- warning: capture of 'completionHandler' with non-sendable type '(APIResponse<Question>?, (any Error)?) -> ()' 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'
818 | } catch {
819 | completionHandler(nil, error)
/host/spi-builder-workspace/Sources/SwiftStack/RequestsQuestions.swift:873:38: warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
871 | let response: APIResponse<Question> = try self.fetchQuestions(
872 | parameters: parameters,
873 | backoffBehavior: backoffBehavior
| `- warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
874 | )
875 |
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:92:14: note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
90 | }
91 |
92 | public enum BackoffBehavior {
| `- note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
93 | case wait
94 | case throwError
/host/spi-builder-workspace/Sources/SwiftStack/RequestsQuestions.swift:876:17: warning: capture of 'completionHandler' with non-sendable type '(APIResponse<Question>?, (any Error)?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
874 | )
875 |
876 | completionHandler(response, nil)
| |- warning: capture of 'completionHandler' with non-sendable type '(APIResponse<Question>?, (any Error)?) -> ()' 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'
877 | } catch {
878 | completionHandler(nil, error)
[21/27] Compiling SwiftStack RequestsQuestions.swift
/host/spi-builder-workspace/Sources/SwiftStack/RequestsAnswers.swift:60:38: warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
58 | let response: APIResponse<Answer> = try self.fetchAnswers(
59 | parameters: parameters,
60 | backoffBehavior: backoffBehavior
| `- warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
61 | )
62 |
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:92:14: note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
90 | }
91 |
92 | public enum BackoffBehavior {
| `- note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
93 | case wait
94 | case throwError
/host/spi-builder-workspace/Sources/SwiftStack/RequestsAnswers.swift:63:17: warning: capture of 'completionHandler' with non-sendable type '(APIResponse<Answer>?, (any Error)?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
61 | )
62 |
63 | completionHandler(response, nil)
| |- warning: capture of 'completionHandler' with non-sendable type '(APIResponse<Answer>?, (any Error)?) -> ()' 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'
64 | } catch {
65 | completionHandler(nil, error)
/host/spi-builder-workspace/Sources/SwiftStack/RequestsAnswers.swift:126:38: warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
124 | ids,
125 | parameters: parameters,
126 | backoffBehavior: backoffBehavior
| `- warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
127 | )
128 |
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:92:14: note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
90 | }
91 |
92 | public enum BackoffBehavior {
| `- note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
93 | case wait
94 | case throwError
/host/spi-builder-workspace/Sources/SwiftStack/RequestsAnswers.swift:129:17: warning: capture of 'completionHandler' with non-sendable type '(APIResponse<Answer>?, (any Error)?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
127 | )
128 |
129 | completionHandler(response, nil)
| |- warning: capture of 'completionHandler' with non-sendable type '(APIResponse<Answer>?, (any Error)?) -> ()' 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'
130 | } catch {
131 | completionHandler(nil, error)
/host/spi-builder-workspace/Sources/SwiftStack/RequestsAnswers.swift:234:134: warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
232 | queue.async {
233 | do {
234 | let response: APIResponse<Comment> = try self.fetchCommentsOn(answers: ids, parameters: parameters, backoffBehavior: backoffBehavior)
| `- warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
235 |
236 | completionHandler(response, nil)
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:92:14: note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
90 | }
91 |
92 | public enum BackoffBehavior {
| `- note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
93 | case wait
94 | case throwError
/host/spi-builder-workspace/Sources/SwiftStack/RequestsAnswers.swift:236:17: warning: capture of 'completionHandler' with non-sendable type '(APIResponse<Comment>?, (any Error)?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
234 | let response: APIResponse<Comment> = try self.fetchCommentsOn(answers: ids, parameters: parameters, backoffBehavior: backoffBehavior)
235 |
236 | completionHandler(response, nil)
| |- warning: capture of 'completionHandler' with non-sendable type '(APIResponse<Comment>?, (any Error)?) -> ()' 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'
237 | } catch {
238 | completionHandler(nil, error)
/host/spi-builder-workspace/Sources/SwiftStack/RequestsAnswers.swift:344:38: warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
342 | ids,
343 | parameters: parameters,
344 | backoffBehavior: backoffBehavior
| `- warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
345 | )
346 |
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:92:14: note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
90 | }
91 |
92 | public enum BackoffBehavior {
| `- note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
93 | case wait
94 | case throwError
/host/spi-builder-workspace/Sources/SwiftStack/RequestsAnswers.swift:347:17: warning: capture of 'completionHandler' with non-sendable type '(APIResponse<Question>?, (any Error)?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
345 | )
346 |
347 | completionHandler(response, nil)
| |- warning: capture of 'completionHandler' with non-sendable type '(APIResponse<Question>?, (any Error)?) -> ()' 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'
348 | } catch {
349 | completionHandler(nil, error)
/host/spi-builder-workspace/Sources/SwiftStack/RequestsPrivileges.swift:63:38: warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
61 | let response: APIResponse<Privilege> = try self.fetchPrivileges(
62 | parameters: parameters,
63 | backoffBehavior: backoffBehavior
| `- warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
64 | )
65 |
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:92:14: note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
90 | }
91 |
92 | public enum BackoffBehavior {
| `- note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
93 | case wait
94 | case throwError
/host/spi-builder-workspace/Sources/SwiftStack/RequestsPrivileges.swift:66:17: warning: capture of 'completionHandler' with non-sendable type '(APIResponse<Privilege>?, (any Error)?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
64 | )
65 |
66 | completionHandler(response, nil)
| |- warning: capture of 'completionHandler' with non-sendable type '(APIResponse<Privilege>?, (any Error)?) -> ()' 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'
67 | } catch {
68 | completionHandler(nil, error)
/host/spi-builder-workspace/Sources/SwiftStack/RequestsQuestions.swift:61:38: warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
59 | let response: APIResponse<Question> = try self.fetchQuestions(
60 | parameters: parameters,
61 | backoffBehavior: backoffBehavior
| `- warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
62 | )
63 |
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:92:14: note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
90 | }
91 |
92 | public enum BackoffBehavior {
| `- note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
93 | case wait
94 | case throwError
/host/spi-builder-workspace/Sources/SwiftStack/RequestsQuestions.swift:64:17: warning: capture of 'completionHandler' with non-sendable type '(APIResponse<Question>?, (any Error)?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
62 | )
63 |
64 | completionHandler(response, nil)
| |- warning: capture of 'completionHandler' with non-sendable type '(APIResponse<Question>?, (any Error)?) -> ()' 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'
65 | } catch {
66 | completionHandler(nil, error)
/host/spi-builder-workspace/Sources/SwiftStack/RequestsQuestions.swift:127:23: warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
125 | ids,
126 | parameters: parameters,
127 | backoffBehavior: backoffBehavior
| `- warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
128 | )
129 |
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:92:14: note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
90 | }
91 |
92 | public enum BackoffBehavior {
| `- note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
93 | case wait
94 | case throwError
/host/spi-builder-workspace/Sources/SwiftStack/RequestsQuestions.swift:130:17: warning: capture of 'completionHandler' with non-sendable type '(APIResponse<Question>?, (any Error)?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
128 | )
129 |
130 | completionHandler(response, nil)
| |- warning: capture of 'completionHandler' with non-sendable type '(APIResponse<Question>?, (any Error)?) -> ()' 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 | } catch {
132 | completionHandler(nil, error)
/host/spi-builder-workspace/Sources/SwiftStack/RequestsQuestions.swift:235:134: warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
233 | queue.async {
234 | do {
235 | let response: APIResponse<Answer> = try self.fetchAnswersOn(questions: ids, parameters: parameters, backoffBehavior: backoffBehavior)
| `- warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
236 |
237 | completionHandler(response, nil)
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:92:14: note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
90 | }
91 |
92 | public enum BackoffBehavior {
| `- note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
93 | case wait
94 | case throwError
/host/spi-builder-workspace/Sources/SwiftStack/RequestsQuestions.swift:237:17: warning: capture of 'completionHandler' with non-sendable type '(APIResponse<Answer>?, (any Error)?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
235 | let response: APIResponse<Answer> = try self.fetchAnswersOn(questions: ids, parameters: parameters, backoffBehavior: backoffBehavior)
236 |
237 | completionHandler(response, nil)
| |- warning: capture of 'completionHandler' with non-sendable type '(APIResponse<Answer>?, (any Error)?) -> ()' 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'
238 | } catch {
239 | completionHandler(nil, error)
/host/spi-builder-workspace/Sources/SwiftStack/RequestsQuestions.swift:341:136: warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
339 | queue.async {
340 | do {
341 | let response: APIResponse<Comment> = try self.fetchCommentsOn(questions: ids, parameters: parameters, backoffBehavior: backoffBehavior)
| `- warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
342 |
343 | completionHandler(response, nil)
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:92:14: note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
90 | }
91 |
92 | public enum BackoffBehavior {
| `- note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
93 | case wait
94 | case throwError
/host/spi-builder-workspace/Sources/SwiftStack/RequestsQuestions.swift:343:17: warning: capture of 'completionHandler' with non-sendable type '(APIResponse<Comment>?, (any Error)?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
341 | let response: APIResponse<Comment> = try self.fetchCommentsOn(questions: ids, parameters: parameters, backoffBehavior: backoffBehavior)
342 |
343 | completionHandler(response, nil)
| |- warning: capture of 'completionHandler' with non-sendable type '(APIResponse<Comment>?, (any Error)?) -> ()' 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'
344 | } catch {
345 | completionHandler(nil, error)
/host/spi-builder-workspace/Sources/SwiftStack/RequestsQuestions.swift:447:144: warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
445 | queue.async {
446 | do {
447 | let response: APIResponse<Question> = try self.fetchLinkedQuestionsTo(questions: ids, parameters: parameters, backoffBehavior: backoffBehavior)
| `- warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
448 |
449 | completionHandler(response, nil)
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:92:14: note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
90 | }
91 |
92 | public enum BackoffBehavior {
| `- note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
93 | case wait
94 | case throwError
/host/spi-builder-workspace/Sources/SwiftStack/RequestsQuestions.swift:449:17: warning: capture of 'completionHandler' with non-sendable type '(APIResponse<Question>?, (any Error)?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
447 | let response: APIResponse<Question> = try self.fetchLinkedQuestionsTo(questions: ids, parameters: parameters, backoffBehavior: backoffBehavior)
448 |
449 | completionHandler(response, nil)
| |- warning: capture of 'completionHandler' with non-sendable type '(APIResponse<Question>?, (any Error)?) -> ()' 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'
450 | } catch {
451 | completionHandler(nil, error)
/host/spi-builder-workspace/Sources/SwiftStack/RequestsQuestions.swift:553:145: warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
551 | queue.async {
552 | do {
553 | let response: APIResponse<Question> = try self.fetchRelatedQuestionsTo(questions: ids, parameters: parameters, backoffBehavior: backoffBehavior)
| `- warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
554 |
555 | completionHandler(response, nil)
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:92:14: note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
90 | }
91 |
92 | public enum BackoffBehavior {
| `- note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
93 | case wait
94 | case throwError
/host/spi-builder-workspace/Sources/SwiftStack/RequestsQuestions.swift:555:17: warning: capture of 'completionHandler' with non-sendable type '(APIResponse<Question>?, (any Error)?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
553 | let response: APIResponse<Question> = try self.fetchRelatedQuestionsTo(questions: ids, parameters: parameters, backoffBehavior: backoffBehavior)
554 |
555 | completionHandler(response, nil)
| |- warning: capture of 'completionHandler' with non-sendable type '(APIResponse<Question>?, (any Error)?) -> ()' 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'
556 | } catch {
557 | completionHandler(nil, error)
/host/spi-builder-workspace/Sources/SwiftStack/RequestsQuestions.swift:659:146: warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
657 | queue.async {
658 | do {
659 | let response: APIResponse<Question.Timeline> = try self.fetchTimelineOf(questions: ids, parameters: parameters, backoffBehavior: backoffBehavior)
| `- warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
660 |
661 | completionHandler(response, nil)
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:92:14: note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
90 | }
91 |
92 | public enum BackoffBehavior {
| `- note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
93 | case wait
94 | case throwError
/host/spi-builder-workspace/Sources/SwiftStack/RequestsQuestions.swift:661:17: warning: capture of 'completionHandler' with non-sendable type '(APIResponse<Question.Timeline>?, (any Error)?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
659 | let response: APIResponse<Question.Timeline> = try self.fetchTimelineOf(questions: ids, parameters: parameters, backoffBehavior: backoffBehavior)
660 |
661 | completionHandler(response, nil)
| |- warning: capture of 'completionHandler' with non-sendable type '(APIResponse<Question.Timeline>?, (any Error)?) -> ()' 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'
662 | } catch {
663 | completionHandler(nil, error)
/host/spi-builder-workspace/Sources/SwiftStack/RequestsQuestions.swift:755:38: warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
753 | let response: APIResponse<Question> = try self.fetchQuestions(
754 | parameters: parameters,
755 | backoffBehavior: backoffBehavior
| `- warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
756 | )
757 |
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:92:14: note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
90 | }
91 |
92 | public enum BackoffBehavior {
| `- note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
93 | case wait
94 | case throwError
/host/spi-builder-workspace/Sources/SwiftStack/RequestsQuestions.swift:758:17: warning: capture of 'completionHandler' with non-sendable type '(APIResponse<Question>?, (any Error)?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
756 | )
757 |
758 | completionHandler(response, nil)
| |- warning: capture of 'completionHandler' with non-sendable type '(APIResponse<Question>?, (any Error)?) -> ()' 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'
759 | } catch {
760 | completionHandler(nil, error)
/host/spi-builder-workspace/Sources/SwiftStack/RequestsQuestions.swift:814:38: warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
812 | let response: APIResponse<Question> = try self.fetchQuestions(
813 | parameters: parameters,
814 | backoffBehavior: backoffBehavior
| `- warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
815 | )
816 |
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:92:14: note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
90 | }
91 |
92 | public enum BackoffBehavior {
| `- note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
93 | case wait
94 | case throwError
/host/spi-builder-workspace/Sources/SwiftStack/RequestsQuestions.swift:817:17: warning: capture of 'completionHandler' with non-sendable type '(APIResponse<Question>?, (any Error)?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
815 | )
816 |
817 | completionHandler(response, nil)
| |- warning: capture of 'completionHandler' with non-sendable type '(APIResponse<Question>?, (any Error)?) -> ()' 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'
818 | } catch {
819 | completionHandler(nil, error)
/host/spi-builder-workspace/Sources/SwiftStack/RequestsQuestions.swift:873:38: warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
871 | let response: APIResponse<Question> = try self.fetchQuestions(
872 | parameters: parameters,
873 | backoffBehavior: backoffBehavior
| `- warning: capture of 'backoffBehavior' with non-sendable type 'APIClient.BackoffBehavior' in a `@Sendable` closure; this is an error in the Swift 6 language mode
874 | )
875 |
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:92:14: note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
90 | }
91 |
92 | public enum BackoffBehavior {
| `- note: consider making enum 'BackoffBehavior' conform to the 'Sendable' protocol
93 | case wait
94 | case throwError
/host/spi-builder-workspace/Sources/SwiftStack/RequestsQuestions.swift:876:17: warning: capture of 'completionHandler' with non-sendable type '(APIResponse<Question>?, (any Error)?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
874 | )
875 |
876 | completionHandler(response, nil)
| |- warning: capture of 'completionHandler' with non-sendable type '(APIResponse<Question>?, (any Error)?) -> ()' 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'
877 | } catch {
878 | completionHandler(nil, error)
[22/27] Compiling SwiftStack Post.swift
[23/27] Compiling SwiftStack Privilege.swift
[24/27] Compiling SwiftStack Question.swift
[25/27] Compiling SwiftStack StringRepresentable.swift
[26/27] Compiling SwiftStack SuggestedEdit.swift
[27/27] Compiling SwiftStack User.swift
Build complete! (14.51s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "SwiftStack",
"name" : "SwiftStack",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "SwiftStack",
"targets" : [
"SwiftStack"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftStackTests",
"module_type" : "SwiftTarget",
"name" : "SwiftStackTests",
"path" : "Tests/SwiftStackTests",
"sources" : [
"APITests.swift",
"AnswersTests.swift",
"BasicRequestTests.swift",
"JsonHelperTests.swift",
"PostTests.swift",
"PrivilegesTests.swift",
"QuestionTests.swift",
"SiteTests.swift",
"UserTests.swift"
],
"target_dependencies" : [
"SwiftStack"
],
"type" : "test"
},
{
"c99name" : "SwiftStack",
"module_type" : "SwiftTarget",
"name" : "SwiftStack",
"path" : "Sources/SwiftStack",
"product_memberships" : [
"SwiftStack"
],
"sources" : [
"APIClient.swift",
"APIResponse.swift",
"Answer.swift",
"BadgeCount.swift",
"Comment.swift",
"Content.swift",
"DictionaryConvertible.swift",
"JsonConvertible.swift",
"JsonHelper.swift",
"Post.swift",
"Privilege.swift",
"Question.swift",
"RequestsAnswers.swift",
"RequestsPrivileges.swift",
"RequestsQuestions.swift",
"RequestsRevisions.swift",
"RequestsSites.swift",
"RequestsSuggestedEdits.swift",
"Revision.swift",
"Site.swift",
"String+HTMLEntities.swift",
"StringRepresentable.swift",
"SuggestedEdit.swift",
"User.swift"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.