The Swift Package Index logo.Swift Package Index

Build Information

Successful build of SwiftStack, reference master (3ed8ed), with Swift 6.4 for Linux on 17 Sep 2026 04:38:57 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886769-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.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.4
Building package at path:  $PWD
https://github.com/sobotics/swiftstack.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Building for debugging...
[Planning deferred tasks]
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:38:12: warning: non-final class 'APIClient' cannot conform to the 'Sendable' protocol; 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 the 'Sendable' protocol; 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.
[28 / 36] SwiftStack
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:38:12: warning: non-final class 'APIClient' cannot conform to the 'Sendable' protocol; 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 the 'Sendable' protocol; 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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
278 | 				sema.signal()
279 | 			}
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[36 / 37] SwiftStack
Build complete! (5.17 secs)
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.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Done.