Build Information
Successful build of Get, reference main (312498
), with Swift 6.2 (beta) for Linux on 22 Jun 2025 07:49:36 UTC.
Swift 6 data race errors: 0
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-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/kean/Get.git
Reference: main
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/kean/Get
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 3124988 Fix Swift 6 warnings
Cloned https://github.com/kean/Get.git
Revision (git rev-parse @):
31249885da1052872e0ac91a2943f62567c0d96d
SUCCESS checkout https://github.com/kean/Get.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.2
Building package at path: $PWD
https://github.com/kean/Get.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.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/8] Compiling Get Response.swift
[4/8] Compiling Get Request.swift
[5/8] Compiling Get DataLoader.swift
/host/spi-builder-workspace/Sources/Get/DataLoader.swift:140:145: warning: passing non-Sendable parameter 'completionHandler' to function expecting a '@Sendable' closure
136 | }
137 |
138 | func urlSession(_ session: URLSession, task: URLSessionTask, willPerformHTTPRedirection response: HTTPURLResponse, newRequest request: URLRequest, completionHandler: @escaping (URLRequest?) -> Void) {
| `- note: parameter 'completionHandler' is implicitly non-Sendable
139 | #if os(Linux)
140 | handlers[task]?.delegate?.urlSession(session, task: task, willPerformHTTPRedirection: response, newRequest: request, completionHandler: completionHandler) ??
| `- warning: passing non-Sendable parameter 'completionHandler' to function expecting a '@Sendable' closure
141 | userTaskDelegate?.urlSession(session, task: task, willPerformHTTPRedirection: response, newRequest: request, completionHandler: completionHandler) ??
142 | completionHandler(request)
/host/spi-builder-workspace/Sources/Get/DataLoader.swift:141:137: warning: passing non-Sendable parameter 'completionHandler' to function expecting a '@Sendable' closure
136 | }
137 |
138 | func urlSession(_ session: URLSession, task: URLSessionTask, willPerformHTTPRedirection response: HTTPURLResponse, newRequest request: URLRequest, completionHandler: @escaping (URLRequest?) -> Void) {
| `- note: parameter 'completionHandler' is implicitly non-Sendable
139 | #if os(Linux)
140 | handlers[task]?.delegate?.urlSession(session, task: task, willPerformHTTPRedirection: response, newRequest: request, completionHandler: completionHandler) ??
141 | userTaskDelegate?.urlSession(session, task: task, willPerformHTTPRedirection: response, newRequest: request, completionHandler: completionHandler) ??
| `- warning: passing non-Sendable parameter 'completionHandler' to function expecting a '@Sendable' closure
142 | completionHandler(request)
143 | #else
/host/spi-builder-workspace/Sources/Get/DataLoader.swift:170:109: warning: passing non-Sendable parameter 'completionHandler' to function expecting a '@Sendable' closure
166 | #endif
167 |
168 | func urlSession(_ session: URLSession, task: URLSessionTask, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
| `- note: parameter 'completionHandler' is implicitly non-Sendable
169 | #if os(Linux)
170 | handlers[task]?.delegate?.urlSession(session, task: task, didReceive: challenge, completionHandler: completionHandler) ??
| `- warning: passing non-Sendable parameter 'completionHandler' to function expecting a '@Sendable' closure
171 | userTaskDelegate?.urlSession(session, task: task, didReceive: challenge, completionHandler: completionHandler) ??
172 | completionHandler(.performDefaultHandling, nil)
/host/spi-builder-workspace/Sources/Get/DataLoader.swift:171:101: warning: passing non-Sendable parameter 'completionHandler' to function expecting a '@Sendable' closure
166 | #endif
167 |
168 | func urlSession(_ session: URLSession, task: URLSessionTask, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
| `- note: parameter 'completionHandler' is implicitly non-Sendable
169 | #if os(Linux)
170 | handlers[task]?.delegate?.urlSession(session, task: task, didReceive: challenge, completionHandler: completionHandler) ??
171 | userTaskDelegate?.urlSession(session, task: task, didReceive: challenge, completionHandler: completionHandler) ??
| `- warning: passing non-Sendable parameter 'completionHandler' to function expecting a '@Sendable' closure
172 | completionHandler(.performDefaultHandling, nil)
173 | #else
/host/spi-builder-workspace/Sources/Get/DataLoader.swift:182:120: warning: passing non-Sendable parameter 'completionHandler' to function expecting a '@Sendable' closure
178 | }
179 |
180 | func urlSession(_ session: URLSession, task: URLSessionTask, willBeginDelayedRequest request: URLRequest, completionHandler: @escaping (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) {
| `- note: parameter 'completionHandler' is implicitly non-Sendable
181 | #if os(Linux)
182 | handlers[task]?.delegate?.urlSession(session, task: task, willBeginDelayedRequest: request, completionHandler: completionHandler) ??
| `- warning: passing non-Sendable parameter 'completionHandler' to function expecting a '@Sendable' closure
183 | userTaskDelegate?.urlSession(session, task: task, willBeginDelayedRequest: request, completionHandler: completionHandler) ??
184 | completionHandler(.continueLoading, nil)
/host/spi-builder-workspace/Sources/Get/DataLoader.swift:183:112: warning: passing non-Sendable parameter 'completionHandler' to function expecting a '@Sendable' closure
178 | }
179 |
180 | func urlSession(_ session: URLSession, task: URLSessionTask, willBeginDelayedRequest request: URLRequest, completionHandler: @escaping (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) {
| `- note: parameter 'completionHandler' is implicitly non-Sendable
181 | #if os(Linux)
182 | handlers[task]?.delegate?.urlSession(session, task: task, willBeginDelayedRequest: request, completionHandler: completionHandler) ??
183 | userTaskDelegate?.urlSession(session, task: task, willBeginDelayedRequest: request, completionHandler: completionHandler) ??
| `- warning: passing non-Sendable parameter 'completionHandler' to function expecting a '@Sendable' closure
184 | completionHandler(.continueLoading, nil)
185 | #else
/host/spi-builder-workspace/Sources/Get/DataLoader.swift:206:146: warning: passing non-Sendable parameter 'completionHandler' to function expecting a '@Sendable' closure
202 | // MARK: - URLSessionDataDelegate
203 |
204 | func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
| `- note: parameter 'completionHandler' is implicitly non-Sendable
205 | #if os(Linux)
206 | (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession(session, dataTask: dataTask, didReceive: response, completionHandler: completionHandler) ??
| `- warning: passing non-Sendable parameter 'completionHandler' to function expecting a '@Sendable' closure
207 | userDataDelegate?.urlSession(session, dataTask: dataTask, didReceive: response, completionHandler: completionHandler) ??
208 | completionHandler(.allow)
/host/spi-builder-workspace/Sources/Get/DataLoader.swift:207:108: warning: passing non-Sendable parameter 'completionHandler' to function expecting a '@Sendable' closure
202 | // MARK: - URLSessionDataDelegate
203 |
204 | func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
| `- note: parameter 'completionHandler' is implicitly non-Sendable
205 | #if os(Linux)
206 | (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession(session, dataTask: dataTask, didReceive: response, completionHandler: completionHandler) ??
207 | userDataDelegate?.urlSession(session, dataTask: dataTask, didReceive: response, completionHandler: completionHandler) ??
| `- warning: passing non-Sendable parameter 'completionHandler' to function expecting a '@Sendable' closure
208 | completionHandler(.allow)
209 | #else
/host/spi-builder-workspace/Sources/Get/DataLoader.swift:245:161: warning: passing non-Sendable parameter 'completionHandler' to function expecting a '@Sendable' closure
241 | #endif
242 |
243 | func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, willCacheResponse proposedResponse: CachedURLResponse, completionHandler: @escaping (CachedURLResponse?) -> Void) {
| `- note: parameter 'completionHandler' is implicitly non-Sendable
244 | #if os(Linux)
245 | (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession(session, dataTask: dataTask, willCacheResponse: proposedResponse, completionHandler: completionHandler) ??
| `- warning: passing non-Sendable parameter 'completionHandler' to function expecting a '@Sendable' closure
246 | userDataDelegate?.urlSession(session, dataTask: dataTask, willCacheResponse: proposedResponse, completionHandler: completionHandler)
247 | completionHandler(proposedResponse)
/host/spi-builder-workspace/Sources/Get/DataLoader.swift:246:123: warning: passing non-Sendable parameter 'completionHandler' to function expecting a '@Sendable' closure
241 | #endif
242 |
243 | func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, willCacheResponse proposedResponse: CachedURLResponse, completionHandler: @escaping (CachedURLResponse?) -> Void) {
| `- note: parameter 'completionHandler' is implicitly non-Sendable
244 | #if os(Linux)
245 | (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession(session, dataTask: dataTask, willCacheResponse: proposedResponse, completionHandler: completionHandler) ??
246 | userDataDelegate?.urlSession(session, dataTask: dataTask, willCacheResponse: proposedResponse, completionHandler: completionHandler)
| `- warning: passing non-Sendable parameter 'completionHandler' to function expecting a '@Sendable' closure
247 | completionHandler(proposedResponse)
248 | #else
/host/spi-builder-workspace/Sources/Get/DataLoader.swift:352:25: warning: capture of non-Sendable type '(some Encodable).Type' in an isolated closure; this is an error in the Swift 6 language mode
350 | } else {
351 | return try await Task.detached {
352 | try encoder.encode(value)
| `- warning: capture of non-Sendable type '(some Encodable).Type' in an isolated closure; this is an error in the Swift 6 language mode
353 | }.value
354 | }
/host/spi-builder-workspace/Sources/Get/DataLoader.swift:345:15: warning: capture of non-Sendable type '(some Encodable).Type' in an isolated closure; this is an error in the Swift 6 language mode
343 | extension Optional: OptionalDecoding {}
344 |
345 | func encode(_ value: some Encodable, using encoder: JSONEncoder) async throws -> Data? {
| `- warning: capture of non-Sendable type '(some Encodable).Type' in an isolated closure; this is an error in the Swift 6 language mode
346 | if let data = value as? Data {
347 | return data
/host/spi-builder-workspace/Sources/Get/DataLoader.swift:369:25: warning: capture of non-Sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
367 | } else {
368 | return try await Task.detached {
369 | try decoder.decode(T.self, from: data)
| `- warning: capture of non-Sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
370 | }.value
371 | }
[6/8] Compiling Get APIClientDelegate.swift
[7/8] Compiling Get APIClient.swift
[8/8] Emitting module Get
Build complete! (14.28s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Get",
"name" : "Get",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "maccatalyst",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "watchos",
"version" : "6.0"
},
{
"name" : "tvos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "Get",
"targets" : [
"Get"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "GetTests",
"module_type" : "SwiftTarget",
"name" : "GetTests",
"path" : "Tests/GetTests",
"resources" : [
{
"path" : "/host/spi-builder-workspace/Tests/GetTests/Resources/user.json",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"ClientAuthorizationTests.swift",
"ClientDelegateTests.swift",
"ClientIIntegrationTests.swift",
"ClientMakeRequestsTests.swift",
"ClientMiscTests.swift",
"ClientSendingRequestsTests.swift",
"ClientSessionDelegateTests.swift",
"CodeSamplesTests.swift",
"GitHubAPI.swift",
"Helpers.swift",
"Mocker/Mock.swift",
"Mocker/Mocker.swift",
"Mocker/MockingURLProtocol.swift",
"Mocker/XCTest+Mocker.swift",
"ResponseTests.swift"
],
"target_dependencies" : [
"Get"
],
"type" : "test"
},
{
"c99name" : "Get",
"module_type" : "SwiftTarget",
"name" : "Get",
"path" : "Sources/Get",
"product_memberships" : [
"Get"
],
"sources" : [
"APIClient.swift",
"APIClientDelegate.swift",
"DataLoader.swift",
"Request.swift",
"Response.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
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.