Build Information
Successful build of BaseAPI, reference 0.2.2 (f861b9
), with Swift 6.2 (beta) for Linux on 22 Jun 2025 11:55:53 UTC.
Swift 6 data race errors: 0
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/serhii-londar/BaseAPI.git
Reference: 0.2.2
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/serhii-londar/BaseAPI
* tag 0.2.2 -> FETCH_HEAD
HEAD is now at f861b98 Update watchos deployment target
Cloned https://github.com/serhii-londar/BaseAPI.git
Revision (git rev-parse @):
f861b982abc38b75e2c5332e2e333a9da06bcf6a
SUCCESS checkout https://github.com/serhii-londar/BaseAPI.git at 0.2.2
========================================
Build
========================================
Selected platform: linux
Swift version: 6.2
Building package at path: $PWD
https://github.com/serhii-londar/BaseAPI.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/10] Compiling BaseAPI ResponsetHeaderFields.swift
[4/10] Compiling BaseAPI RequestMethod.swift
[5/10] Compiling BaseAPI RequestHeaderFields.swift
[6/10] Compiling BaseAPI URLSession.swift
/host/spi-builder-workspace/BaseAPI/Classes/Extensions/URLSession.swift:27:13: warning: mutation of captured var 'data' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
25 |
26 | let dataTask = self.dataTask(with: request) { (rData, rResponse, eError) in
27 | data = rData
| `- warning: mutation of captured var 'data' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
28 | response = rResponse
29 | error = eError
/host/spi-builder-workspace/BaseAPI/Classes/Extensions/URLSession.swift:28:13: warning: mutation of captured var 'response' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
26 | let dataTask = self.dataTask(with: request) { (rData, rResponse, eError) in
27 | data = rData
28 | response = rResponse
| `- warning: mutation of captured var 'response' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
29 | error = eError
30 | semaphore.signal()
/host/spi-builder-workspace/BaseAPI/Classes/Extensions/URLSession.swift:29:13: warning: mutation of captured var 'error' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
27 | data = rData
28 | response = rResponse
29 | error = eError
| `- warning: mutation of captured var 'error' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
30 | semaphore.signal()
31 | }
/host/spi-builder-workspace/BaseAPI/Classes/Extensions/URLSession.swift:47:13: warning: mutation of captured var 'data' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
45 |
46 | let dataTask = self.dataTask(with: url) {
47 | data = $0
| `- warning: mutation of captured var 'data' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
48 | response = $1
49 | error = $2
/host/spi-builder-workspace/BaseAPI/Classes/Extensions/URLSession.swift:48:13: warning: mutation of captured var 'response' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
46 | let dataTask = self.dataTask(with: url) {
47 | data = $0
48 | response = $1
| `- warning: mutation of captured var 'response' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
49 | error = $2
50 |
/host/spi-builder-workspace/BaseAPI/Classes/Extensions/URLSession.swift:49:13: warning: mutation of captured var 'error' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
47 | data = $0
48 | response = $1
49 | error = $2
| `- warning: mutation of captured var 'error' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
50 |
51 | semaphore.signal()
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[7/10] Compiling BaseAPI Request.swift
[8/10] Compiling BaseAPI CharacterSet.swift
[9/10] Emitting module BaseAPI
[10/10] Compiling BaseAPI BaseAPI.swift
/host/spi-builder-workspace/BaseAPI/Classes/BaseAPI.swift:30:60: warning: passing non-Sendable parameter 'completion' to function expecting a '@Sendable' closure
27 | }
28 |
29 | public func send(request: URLRequest, completion: @escaping BaseAPICompletion) {
| `- note: parameter 'completion' is implicitly non-Sendable
30 | session.dataTask(with: request, completionHandler: completion).resume()
| `- warning: passing non-Sendable parameter 'completion' to function expecting a '@Sendable' closure
31 | }
32 |
/host/spi-builder-workspace/BaseAPI/Classes/BaseAPI.swift:104:31: warning: capture of non-Sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
102 |
103 | private func callSuccess<T: Decodable>(with model: T, callbackQueue: DispatchQueue = .main, success: @escaping (T) -> Void) {
104 | callbackQueue.async { success(model) }
| `- warning: capture of non-Sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
105 | }
106 |
/host/spi-builder-workspace/BaseAPI/Classes/BaseAPI.swift:103:97: warning: capture of non-Sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
101 | }
102 |
103 | private func callSuccess<T: Decodable>(with model: T, callbackQueue: DispatchQueue = .main, success: @escaping (T) -> Void) {
| `- warning: capture of non-Sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
104 | callbackQueue.async { success(model) }
105 | }
Build complete! (12.82s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "BaseAPI",
"name" : "BaseAPI",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.13"
},
{
"name" : "ios",
"version" : "12.0"
},
{
"name" : "tvos",
"version" : "12.0"
},
{
"name" : "watchos",
"version" : "4.0"
}
],
"products" : [
{
"name" : "BaseAPI",
"targets" : [
"BaseAPI"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "BaseAPI",
"module_type" : "SwiftTarget",
"name" : "BaseAPI",
"path" : "BaseAPI/Classes",
"product_memberships" : [
"BaseAPI"
],
"sources" : [
"BaseAPI.swift",
"Extensions/CharacterSet.swift",
"Extensions/URLSession.swift",
"Request.swift",
"RequestHeaderFields.swift",
"RequestMethod.swift",
"ResponsetHeaderFields.swift"
],
"type" : "library"
}
],
"tools_version" : "5.2"
}
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.