The Swift Package Index logo.Swift Package Index

Build Information

Successful build of APIota, reference main (5a2929), with Swift 6.2 for Android on 18 Jun 2025 22:40:26 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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: 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/danielrbrowne/APIota
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 5a2929b Update example project for v0.2.0 breaking changes (#34)
Cloned https://github.com/danielrbrowne/APIota.git
Revision (git rev-parse @):
5a2929b5c50d6f95ade57ab702ee6a391dd951f0
SUCCESS checkout https://github.com/danielrbrowne/APIota.git at main
========================================
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-1":/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 (31.16s)
Computing version for https://github.com/realm/SwiftLint
Computed https://github.com/realm/SwiftLint at 0.59.1 (41.80s)
Fetching https://github.com/JohnSundell/CollectionConcurrencyKit.git
Fetching https://github.com/scottrhoyt/SwiftyTextTable.git
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
Fetching https://github.com/jpsim/SourceKitten.git
Fetching https://github.com/swiftlang/swift-syntax.git
[1/100] Fetching collectionconcurrencykit
[101/16244] Fetching collectionconcurrencykit, sourcekitten
[263/29185] Fetching collectionconcurrencykit, sourcekitten, cryptoswift
[6918/30114] Fetching collectionconcurrencykit, sourcekitten, cryptoswift, swiftytexttable
Fetched https://github.com/JohnSundell/CollectionConcurrencyKit.git from cache (1.43s)
[13528/40873] Fetching sourcekitten, cryptoswift, swiftytexttable, yams
Fetching https://github.com/apple/swift-argument-parser.git
[33726/111779] Fetching sourcekitten, cryptoswift, swiftytexttable, yams, swift-syntax
[47646/127159] Fetching sourcekitten, cryptoswift, swiftytexttable, yams, swift-syntax, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.70s)
[110361/111779] Fetching sourcekitten, cryptoswift, swiftytexttable, yams, swift-syntax
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (3.16s)
[98838/98838] Fetching sourcekitten, swiftytexttable, yams, swift-syntax
Fetched https://github.com/scottrhoyt/SwiftyTextTable.git from cache (5.00s)
Fetched https://github.com/jpsim/SourceKitten.git from cache (5.02s)
Fetched https://github.com/jpsim/Yams.git from cache (5.04s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (5.05s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.8.4 (5.49s)
Computing version for https://github.com/JohnSundell/CollectionConcurrencyKit.git
Computed https://github.com/JohnSundell/CollectionConcurrencyKit.git at 0.2.0 (0.42s)
Computing version for https://github.com/scottrhoyt/SwiftyTextTable.git
Computed https://github.com/scottrhoyt/SwiftyTextTable.git at 0.9.0 (2.22s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.0 (2.11s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (0.52s)
Computing version for https://github.com/jpsim/SourceKitten.git
Computed https://github.com/jpsim/SourceKitten.git at 0.37.1 (0.53s)
Fetching https://github.com/drmohundro/SWXMLHash.git
[1/2820] Fetching swxmlhash
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (0.31s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 7.0.2 (0.67s)
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.32s)
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/JohnSundell/CollectionConcurrencyKit.git
Working copy of https://github.com/JohnSundell/CollectionConcurrencyKit.git resolved at 0.2.0
Creating working copy for https://github.com/realm/SwiftLint
Working copy of https://github.com/realm/SwiftLint resolved at 0.59.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/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/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.8.4
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/jpsim/SourceKitten.git
Working copy of https://github.com/jpsim/SourceKitten.git resolved at 0.37.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 HTTPHeaders.swift
[7/14] Compiling APIota HTTPMediaType.swift
[8/14] Compiling APIota HTTPMethod.swift
[9/15] Compiling APIota APIotaClientError.swift
[10/15] Compiling APIota APIotaURLEncodedFormEndpoint.swift
[11/15] Emitting module APIota
[12/15] Compiling APIota HTTPHeader.swift
[13/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,
[14/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,
[15/15] Compiling APIota HTTPStatusCode.swift
Build complete! (78.46s)
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.