Build Information
Successful build of APIRequest, reference master (0f0e8e), with Swift 6.4 for Linux on 18 Sep 2026 22:31:39 UTC.
Swift 6 data race errors: 0
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344844-1":/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>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/NathanFallet/APIRequest.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/NathanFallet/APIRequest
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 0f0e8e7 Fixing README
Cloned https://github.com/NathanFallet/APIRequest.git
Revision (git rev-parse @):
0f0e8e78d50be27444704022cc8740730f1efa54
SUCCESS checkout https://github.com/NathanFallet/APIRequest.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.4
Building package at path: $PWD
https://github.com/NathanFallet/APIRequest.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-1":/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/APIRequest/Request/APIRequest.swift:26:14: [1;33mwarning: [1;39mnon-final class 'APIRequest' cannot conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode[0;0m
[0;36m24 |[0;0m #endif
[0;36m25 |[0;0m
[0;36m26 |[0;0m public class APIRequest: NSObject, URLSessionDelegate, URLSessionTaskDelegate {
[0;36m|[0;0m `- [1;33mwarning: [1;39mnon-final class 'APIRequest' cannot conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode[0;0m
[0;36m27 |[0;0m
[0;36m28 |[0;0m /// Completion handler of an APIRequest
/host/spi-builder-workspace/Sources/APIRequest/Request/APIRequest.swift:40:17: [1;33mwarning: [1;39mstored property 'method' of 'Sendable'-conforming class 'APIRequest' is mutable; this is an error in the Swift 6 language mode[0;0m
[0;36m38 |[0;0m
[0;36m39 |[0;0m // Object properties
[0;36m40 |[0;0m private var method: String
[0;36m|[0;0m `- [1;33mwarning: [1;39mstored property 'method' of 'Sendable'-conforming class 'APIRequest' is mutable; this is an error in the Swift 6 language mode[0;0m
[0;36m41 |[0;0m private var path: String
[0;36m42 |[0;0m private var configuration: APIConfiguration
[28 / 36] APIRequest
/host/spi-builder-workspace/Sources/APIRequest/Request/APIRequest.swift:26:14: [1;33mwarning: [1;39mnon-final class 'APIRequest' cannot conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode[0;0m
[0;36m24 |[0;0m #endif
[0;36m25 |[0;0m
[0;36m26 |[0;0m public class APIRequest: NSObject, URLSessionDelegate, URLSessionTaskDelegate {
[0;36m|[0;0m `- [1;33mwarning: [1;39mnon-final class 'APIRequest' cannot conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode[0;0m
[0;36m27 |[0;0m
[0;36m28 |[0;0m /// Completion handler of an APIRequest
/host/spi-builder-workspace/Sources/APIRequest/Request/APIRequest.swift:40:17: [1;33mwarning: [1;39mstored property 'method' of 'Sendable'-conforming class 'APIRequest' is mutable; this is an error in the Swift 6 language mode[0;0m
[0;36m38 |[0;0m
[0;36m39 |[0;0m // Object properties
[0;36m40 |[0;0m private var method: String
[0;36m|[0;0m `- [1;33mwarning: [1;39mstored property 'method' of 'Sendable'-conforming class 'APIRequest' is mutable; this is an error in the Swift 6 language mode[0;0m
[0;36m41 |[0;0m private var path: String
[0;36m42 |[0;0m private var configuration: APIConfiguration
/host/spi-builder-workspace/Sources/APIRequest/Request/APIRequest.swift:222:86: [1;33mwarning: [1;39mcapture of 'type' with non-Sendable type 'T.Type' in a '@Sendable' closure; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m220 |[0;0m if let data = data, let response = response as? HTTPURLResponse {
[0;36m221 |[0;0m // Decode the data with the specified decoder
[0;36m222 |[0;0m self.end(data: self.configuration.decoder.decode(from: data, as: type), status: APIResponseStatus.status(forCode: response.statusCode), completionHandler: completionHandler)
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture of 'type' with non-Sendable type 'T.Type' in a '@Sendable' closure; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m223 |[0;0m } else {
[0;36m224 |[0;0m // We consider we don't have a valid response
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[34 / 37] APIRequest
Build complete! (5.21 secs)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "APIRequest",
"name" : "APIRequest",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "APIRequest",
"targets" : [
"APIRequest"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "APIRequestTests",
"module_type" : "SwiftTarget",
"name" : "APIRequestTests",
"path" : "Tests/APIRequestTests",
"sources" : [
"APIRequestTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"APIRequest"
],
"type" : "test"
},
{
"c99name" : "APIRequest",
"module_type" : "SwiftTarget",
"name" : "APIRequest",
"path" : "Sources/APIRequest",
"product_memberships" : [
"APIRequest"
],
"sources" : [
"Decoder/APIDecoder.swift",
"Decoder/JSONAPIDecoder.swift",
"Encoder/APIEncoder.swift",
"Encoder/EncodableExtension.swift",
"Encoder/JSONAPIEncoder.swift",
"Request/APIConfiguration.swift",
"Request/APIRequest.swift",
"Request/APIResponseStatus.swift"
],
"type" : "library"
}
],
"tools_version" : "5.2"
}
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.