The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of SwiftRestClient, reference main (eb7b2f), with Swift 6.2 (beta) for Android on 22 Jun 2025 18:44:34 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/duhnnie/SwiftRestClient.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/duhnnie/SwiftRestClient
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at eb7b2fc Merge pull request #21 from duhnnie/release/0.7.1
Cloned https://github.com/duhnnie/SwiftRestClient.git
Revision (git rev-parse @):
eb7b2fcf534b0293e11e139866c5117bc56e7695
SUCCESS checkout https://github.com/duhnnie/SwiftRestClient.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/duhnnie/SwiftRestClient.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-8C5A4AE7A8CE2BA.txt
[3/5] Emitting module SwiftRestClient
[4/5] Compiling SwiftRestClient HTTPFormURLEncoded.swift
[5/5] Compiling SwiftRestClient SwiftRestClient.swift
/host/spi-builder-workspace/Sources/SwiftRestClient/SwiftRestClient.swift:43:85: warning: passing non-sendable parameter 'onCompletion' to function expecting a '@Sendable' closure
 27 |         body: Data? = nil,
 28 |         headers: Headers? = nil,
 29 |         onCompletion: @escaping RequestCompletion
    |         `- note: parameter 'onCompletion' is implicitly non-sendable
 30 |     ) -> Void {
 31 |         var request = URLRequest(url: url)
    :
 41 |         request.httpBody = body
 42 |
 43 |         let dataTask = URLSession.shared.dataTask(with: request, completionHandler: onCompletion)
    |                                                                                     `- warning: passing non-sendable parameter 'onCompletion' to function expecting a '@Sendable' closure
 44 |
 45 |         dataTask.resume()
Build complete! (11.02s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SwiftRestClient",
  "name" : "SwiftRestClient",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "11.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "watchos",
      "version" : "4.0"
    },
    {
      "name" : "tvos",
      "version" : "11.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftRestClient",
      "targets" : [
        "SwiftRestClient"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "SwiftRestClientTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftRestClientTests",
      "path" : "Tests/SwiftRestClientTests",
      "sources" : [
        "SwiftRestClientTests.swift"
      ],
      "target_dependencies" : [
        "SwiftRestClient"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftRestClient",
      "module_type" : "SwiftTarget",
      "name" : "SwiftRestClient",
      "path" : "Sources/SwiftRestClient",
      "product_memberships" : [
        "SwiftRestClient"
      ],
      "sources" : [
        "Encoders/HTTPFormURLEncoded.swift",
        "SwiftRestClient.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Done.