The Swift Package Index logo.Swift Package Index

Build Information

Successful build of APIRequest, reference master (0f0e8e), with Swift 6.3 for Android on 13 Apr 2026 11:52:32 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.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:         android
Swift version:             6.3
Building package at path:  $PWD
https://github.com/NathanFallet/APIRequest.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:9008270ea37a55e78725e6225015adb5eff8582da520c5232bf0499f32c36dc4
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--4F562202D5529B1.txt
[3/10] Compiling APIRequest JSONAPIDecoder.swift
[4/10] Compiling APIRequest APIDecoder.swift
[5/11] Emitting module APIRequest
/host/spi-builder-workspace/Sources/APIRequest/Request/APIRequest.swift:26:14: warning: non-final class 'APIRequest' cannot conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 24 | #endif
 25 |
 26 | public class APIRequest: NSObject, URLSessionDelegate, URLSessionTaskDelegate {
    |              `- warning: non-final class 'APIRequest' cannot conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 27 |
 28 |     /// Completion handler of an APIRequest
/host/spi-builder-workspace/Sources/APIRequest/Request/APIRequest.swift:40:17: warning: stored property 'method' of 'Sendable'-conforming class 'APIRequest' is mutable; this is an error in the Swift 6 language mode
 38 |
 39 |     // Object properties
 40 |     private var method: String
    |                 `- warning: stored property 'method' of 'Sendable'-conforming class 'APIRequest' is mutable; this is an error in the Swift 6 language mode
 41 |     private var path: String
 42 |     private var configuration: APIConfiguration
[6/11] Compiling APIRequest JSONAPIEncoder.swift
[7/11] Compiling APIRequest EncodableExtension.swift
[8/11] Compiling APIRequest APIEncoder.swift
[9/11] Compiling APIRequest APIConfiguration.swift
[10/11] Compiling APIRequest APIRequest.swift
/host/spi-builder-workspace/Sources/APIRequest/Request/APIRequest.swift:26:14: warning: non-final class 'APIRequest' cannot conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 24 | #endif
 25 |
 26 | public class APIRequest: NSObject, URLSessionDelegate, URLSessionTaskDelegate {
    |              `- warning: non-final class 'APIRequest' cannot conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 27 |
 28 |     /// Completion handler of an APIRequest
/host/spi-builder-workspace/Sources/APIRequest/Request/APIRequest.swift:40:17: warning: stored property 'method' of 'Sendable'-conforming class 'APIRequest' is mutable; this is an error in the Swift 6 language mode
 38 |
 39 |     // Object properties
 40 |     private var method: String
    |                 `- warning: stored property 'method' of 'Sendable'-conforming class 'APIRequest' is mutable; this is an error in the Swift 6 language mode
 41 |     private var path: String
 42 |     private var configuration: APIConfiguration
/host/spi-builder-workspace/Sources/APIRequest/Request/APIRequest.swift:222:86: warning: capture of 'type' with non-Sendable type 'T.Type' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
220 |                 if let data = data, let response = response as? HTTPURLResponse {
221 |                     // Decode the data with the specified decoder
222 |                     self.end(data: self.configuration.decoder.decode(from: data, as: type), status: APIResponseStatus.status(forCode: response.statusCode), completionHandler: completionHandler)
    |                                                                                      `- warning: capture of 'type' with non-Sendable type 'T.Type' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
223 |                 } else {
224 |                     // We consider we don't have a valid response
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[11/11] Compiling APIRequest APIResponseStatus.swift
Build complete! (17.06s)
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"
}
android-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:9008270ea37a55e78725e6225015adb5eff8582da520c5232bf0499f32c36dc4
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest
Done.