Build Information
Successful build of SwiftStack, reference 0.6.0 (3ed8ed
), with Swift 6.2 (beta) for Linux on 18 Jun 2025 15:23:06 UTC.
Swift 6 data race errors: 0
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sobotics/swiftstack.git
Reference: 0.6.0
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
* tag 0.6.0 -> FETCH_HEAD
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 0.6.0
========================================
Build
========================================
Selected platform: linux
Swift version: 6.2
Building package at path: $PWD
https://github.com/sobotics/swiftstack.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/24] 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.
[4/27] Compiling SwiftStack RequestsRevisions.swift
[5/27] Compiling SwiftStack RequestsSites.swift
[6/27] Compiling SwiftStack RequestsSuggestedEdits.swift
[7/27] Compiling SwiftStack StringRepresentable.swift
[8/27] Compiling SwiftStack SuggestedEdit.swift
[9/27] Compiling SwiftStack User.swift
[10/27] Compiling SwiftStack Revision.swift
[11/27] Compiling SwiftStack Site.swift
[12/27] Compiling SwiftStack String+HTMLEntities.swift
[13/27] Compiling SwiftStack Post.swift
[14/27] Compiling SwiftStack Privilege.swift
[15/27] Compiling SwiftStack Question.swift
[16/27] Compiling SwiftStack DictionaryConvertible.swift
[17/27] Compiling SwiftStack JsonConvertible.swift
[18/27] Compiling SwiftStack JsonHelper.swift
[19/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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
278 | sema.signal()
279 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[20/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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
278 | sema.signal()
279 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[21/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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
278 | sema.signal()
279 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[22/27] Compiling SwiftStack BadgeCount.swift
[23/27] Compiling SwiftStack Comment.swift
[24/27] Compiling SwiftStack Content.swift
[25/27] Compiling SwiftStack RequestsAnswers.swift
[26/27] Compiling SwiftStack RequestsPrivileges.swift
[27/27] Compiling SwiftStack RequestsQuestions.swift
Build complete! (12.26s)
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.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Done.