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 APIota, reference 0.2.0 (590dd9), with Swift 6.2 (beta) for Android on 18 Jun 2025 22:39:50 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/danielrbrowne/APIota.git
Reference: 0.2.0
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/danielrbrowne/APIota
 * tag               0.2.0      -> FETCH_HEAD
HEAD is now at 590dd92 README and API docs updates (#32)
Cloned https://github.com/danielrbrowne/APIota.git
Revision (git rev-parse @):
590dd92231b0428f2b6910f856845d1895c58af9
SUCCESS checkout https://github.com/danielrbrowne/APIota.git at 0.2.0
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/danielrbrowne/APIota.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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
Fetching https://github.com/realm/SwiftLint
[1/150628] Fetching swiftlint
Fetched https://github.com/realm/SwiftLint from cache (43.21s)
Computing version for https://github.com/realm/SwiftLint
Computed https://github.com/realm/SwiftLint at 0.59.1 (47.57s)
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/scottrhoyt/SwiftyTextTable.git
Fetching https://github.com/jpsim/SourceKitten.git
Fetching https://github.com/JohnSundell/CollectionConcurrencyKit.git
[1/16144] Fetching sourcekitten
[7428/17073] Fetching sourcekitten, swiftytexttable
[17074/17173] Fetching sourcekitten, swiftytexttable, collectionconcurrencykit
[17174/28032] Fetching sourcekitten, swiftytexttable, collectionconcurrencykit, yams
Fetched https://github.com/scottrhoyt/SwiftyTextTable.git from cache (6.55s)
Fetching https://github.com/apple/swift-argument-parser.git
Fetched https://github.com/jpsim/SourceKitten.git from cache (6.58s)
Fetched https://github.com/JohnSundell/CollectionConcurrencyKit.git from cache (8.04s)
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
Fetched https://github.com/jpsim/Yams.git from cache (9.90s)
[1/15380] Fetching swift-argument-parser
[15381/28321] Fetching swift-argument-parser, cryptoswift
[28322/99227] Fetching swift-argument-parser, cryptoswift, swift-syntax
Fetched https://github.com/apple/swift-argument-parser.git from cache (9.71s)
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (12.59s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (12.61s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.8.4 (22.91s)
Computing version for https://github.com/JohnSundell/CollectionConcurrencyKit.git
Computed https://github.com/JohnSundell/CollectionConcurrencyKit.git at 0.2.0 (2.88s)
Computing version for https://github.com/scottrhoyt/SwiftyTextTable.git
Computed https://github.com/scottrhoyt/SwiftyTextTable.git at 0.9.0 (2.64s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.0 (0.69s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (0.43s)
Computing version for https://github.com/jpsim/SourceKitten.git
Computed https://github.com/jpsim/SourceKitten.git at 0.37.1 (0.57s)
Fetching https://github.com/drmohundro/SWXMLHash.git
[1/2820] Fetching swxmlhash
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (0.36s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 7.0.2 (0.73s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.1 (0.53s)
Creating working copy for https://github.com/scottrhoyt/SwiftyTextTable.git
Working copy of https://github.com/scottrhoyt/SwiftyTextTable.git resolved at 0.9.0
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.4.0
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 601.0.0
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.5.1
Creating working copy for https://github.com/drmohundro/SWXMLHash.git
Working copy of https://github.com/drmohundro/SWXMLHash.git resolved at 7.0.2
Creating working copy for https://github.com/jpsim/SourceKitten.git
Working copy of https://github.com/jpsim/SourceKitten.git resolved at 0.37.1
Creating working copy for https://github.com/JohnSundell/CollectionConcurrencyKit.git
Working copy of https://github.com/JohnSundell/CollectionConcurrencyKit.git resolved at 0.2.0
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.8.4
Creating working copy for https://github.com/realm/SwiftLint
Working copy of https://github.com/realm/SwiftLint resolved at 0.59.1
[1/1] Compiling plugin SwiftLintCommandPlugin
[2/2] Compiling plugin SwiftLintBuildToolPlugin
[3/3] Compiling plugin GenerateManual
Building for debugging...
[3/5] Write sources
[4/5] Write swift-version-8C5A4AE7A8CE2BA.txt
[6/14] Compiling APIota HTTPMethod.swift
[7/15] Compiling APIota HTTPMediaType.swift
[8/15] Compiling APIota HTTPStatusCode.swift
[9/15] Compiling APIota APIotaClient.swift
/host/spi-builder-workspace/Sources/APIota/APIotaClient.swift:47:10: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
 45 | public extension APIotaClient {
 46 |
 47 |     func sendRequest<T: APIotaCodableEndpoint>(for endpoint: T,
    |          `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
 48 |                                                callback: @escaping (Result<T.SuccessResponse, Error>) -> Void) {
 49 |
/host/spi-builder-workspace/Sources/APIota/APIotaClient.swift:63:17: warning: capture of non-sendable type 'T.SuccessResponse.Type' in an isolated closure; this is an error in the Swift 6 language mode
 61 |                     self.session.invalidateAndCancel()
 62 |                 }
 63 |                 callback(.failure(APIotaClientError<T.ErrorResponse>.internalError(error!)))
    |                 `- warning: capture of non-sendable type 'T.SuccessResponse.Type' in an isolated closure; this is an error in the Swift 6 language mode
 64 |
 65 |                 return
/host/spi-builder-workspace/Sources/APIota/APIotaClient.swift:48:48: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
 46 |
 47 |     func sendRequest<T: APIotaCodableEndpoint>(for endpoint: T,
 48 |                                                callback: @escaping (Result<T.SuccessResponse, Error>) -> Void) {
    |                                                `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
 49 |
 50 |         var request: URLRequest!
/host/spi-builder-workspace/Sources/APIota/APIotaClient.swift:63:70: warning: capture of non-sendable type 'T.ErrorResponse.Type' in an isolated closure; this is an error in the Swift 6 language mode
 61 |                     self.session.invalidateAndCancel()
 62 |                 }
 63 |                 callback(.failure(APIotaClientError<T.ErrorResponse>.internalError(error!)))
    |                                                                      `- warning: capture of non-sendable type 'T.ErrorResponse.Type' in an isolated closure; this is an error in the Swift 6 language mode
 64 |
 65 |                 return
/host/spi-builder-workspace/Sources/APIota/APIotaClient.swift:81:47: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
 79 |                 // If there was no response body, an empty `Data` object is returned.
 80 |                 if let data = data {
 81 |                     if let decodedBody = try? self.decoder.decode(T.ErrorResponse.self,
    |                                               `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
 82 |                                                                   from: data) {
 83 |                         callback(.failure(APIotaClientError.failedResponse(statusCode: statusCode,
[10/15] Compiling APIota APIotaCodableEndpoint.swift
/host/spi-builder-workspace/Sources/APIota/APIotaClient.swift:47:10: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
 45 | public extension APIotaClient {
 46 |
 47 |     func sendRequest<T: APIotaCodableEndpoint>(for endpoint: T,
    |          `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
 48 |                                                callback: @escaping (Result<T.SuccessResponse, Error>) -> Void) {
 49 |
/host/spi-builder-workspace/Sources/APIota/APIotaClient.swift:63:17: warning: capture of non-sendable type 'T.SuccessResponse.Type' in an isolated closure; this is an error in the Swift 6 language mode
 61 |                     self.session.invalidateAndCancel()
 62 |                 }
 63 |                 callback(.failure(APIotaClientError<T.ErrorResponse>.internalError(error!)))
    |                 `- warning: capture of non-sendable type 'T.SuccessResponse.Type' in an isolated closure; this is an error in the Swift 6 language mode
 64 |
 65 |                 return
/host/spi-builder-workspace/Sources/APIota/APIotaClient.swift:48:48: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
 46 |
 47 |     func sendRequest<T: APIotaCodableEndpoint>(for endpoint: T,
 48 |                                                callback: @escaping (Result<T.SuccessResponse, Error>) -> Void) {
    |                                                `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
 49 |
 50 |         var request: URLRequest!
/host/spi-builder-workspace/Sources/APIota/APIotaClient.swift:63:70: warning: capture of non-sendable type 'T.ErrorResponse.Type' in an isolated closure; this is an error in the Swift 6 language mode
 61 |                     self.session.invalidateAndCancel()
 62 |                 }
 63 |                 callback(.failure(APIotaClientError<T.ErrorResponse>.internalError(error!)))
    |                                                                      `- warning: capture of non-sendable type 'T.ErrorResponse.Type' in an isolated closure; this is an error in the Swift 6 language mode
 64 |
 65 |                 return
/host/spi-builder-workspace/Sources/APIota/APIotaClient.swift:81:47: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
 79 |                 // If there was no response body, an empty `Data` object is returned.
 80 |                 if let data = data {
 81 |                     if let decodedBody = try? self.decoder.decode(T.ErrorResponse.self,
    |                                               `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
 82 |                                                                   from: data) {
 83 |                         callback(.failure(APIotaClientError.failedResponse(statusCode: statusCode,
[11/15] Emitting module APIota
[12/15] Compiling APIota HTTPHeaders.swift
[13/15] Compiling APIota APIotaClientError.swift
[14/15] Compiling APIota HTTPHeader.swift
[15/15] Compiling APIota APIotaURLEncodedFormEndpoint.swift
Build complete! (121.63s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swiftlint",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.43.1",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/realm/SwiftLint"
    }
  ],
  "manifest_display_name" : "APIota",
  "name" : "APIota",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "APIota",
      "targets" : [
        "APIota"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "APIotaTests",
      "module_type" : "SwiftTarget",
      "name" : "APIotaTests",
      "path" : "Tests/APIotaTests",
      "sources" : [
        "APIotaCRUDRequestsTests.swift",
        "Model/Todo.swift",
        "Network/TestAPIClient.swift",
        "Network/TestAPIEndpoints.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "APIota"
      ],
      "type" : "test"
    },
    {
      "c99name" : "APIota",
      "module_type" : "SwiftTarget",
      "name" : "APIota",
      "path" : "Sources/APIota",
      "product_memberships" : [
        "APIota"
      ],
      "sources" : [
        "APIotaClient.swift",
        "APIotaCodableEndpoint.swift",
        "APIotaURLEncodedFormEndpoint.swift",
        "Error/APIotaClientError.swift",
        "HTTP/HTTPHeader.swift",
        "HTTP/HTTPHeaders.swift",
        "HTTP/HTTPMediaType.swift",
        "HTTP/HTTPMethod.swift",
        "HTTP/HTTPStatusCode.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.2"
}
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.