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 Linux 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-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 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:         linux
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-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/realm/SwiftLint
[1/150628] Fetching swiftlint
Fetched https://github.com/realm/SwiftLint from cache (43.89s)
Computing version for https://github.com/realm/SwiftLint
Computed https://github.com/realm/SwiftLint at 0.59.1 (48.33s)
Fetching https://github.com/swiftlang/swift-syntax.git
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/krzyzanowskim/CryptoSwift.git
Fetching https://github.com/JohnSundell/CollectionConcurrencyKit.git
[1/16144] Fetching sourcekitten
[3230/29085] Fetching sourcekitten, cryptoswift
[7302/39944] Fetching sourcekitten, cryptoswift, yams
[33344/40873] Fetching sourcekitten, cryptoswift, yams, swiftytexttable
[34123/40973] Fetching sourcekitten, cryptoswift, yams, swiftytexttable, collectionconcurrencykit
[40974/111879] Fetching sourcekitten, cryptoswift, yams, swiftytexttable, collectionconcurrencykit, swift-syntax
Fetched https://github.com/JohnSundell/CollectionConcurrencyKit.git from cache (7.35s)
Fetching https://github.com/apple/swift-argument-parser.git
Fetched https://github.com/scottrhoyt/SwiftyTextTable.git from cache (9.16s)
Fetched https://github.com/jpsim/SourceKitten.git from cache (9.18s)
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (9.20s)
Fetched https://github.com/jpsim/Yams.git from cache (9.20s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (10.51s)
[1/15380] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (13.63s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.8.4 (21.83s)
Computing version for https://github.com/JohnSundell/CollectionConcurrencyKit.git
Computed https://github.com/JohnSundell/CollectionConcurrencyKit.git at 0.2.0 (0.40s)
Computing version for https://github.com/scottrhoyt/SwiftyTextTable.git
Computed https://github.com/scottrhoyt/SwiftyTextTable.git at 0.9.0 (3.50s)
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.40s)
Computing version for https://github.com/jpsim/SourceKitten.git
Computed https://github.com/jpsim/SourceKitten.git at 0.37.1 (0.41s)
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.74s)
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.36s)
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/scottrhoyt/SwiftyTextTable.git
Working copy of https://github.com/scottrhoyt/SwiftyTextTable.git resolved at 0.9.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/jpsim/SourceKitten.git
Working copy of https://github.com/jpsim/SourceKitten.git resolved at 0.37.1
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/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/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
[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-24593BA9C3E375BF.txt
[6/14] Compiling APIota HTTPMethod.swift
[7/15] Compiling APIota HTTPStatusCode.swift
[8/15] Compiling APIota HTTPHeaders.swift
[9/15] Compiling APIota HTTPMediaType.swift
[10/15] Compiling APIota APIotaURLEncodedFormEndpoint.swift
[11/15] Compiling APIota APIotaClientError.swift
[12/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,
[13/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,
[14/15] Compiling APIota HTTPHeader.swift
[15/15] Emitting module APIota
Build complete! (109.84s)
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"
}
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Done.