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 main (5a2929), with Swift 6.2 (beta) for Linux on 18 Jun 2025 22:39:09 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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: 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:         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-4606859-3":/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 (30.68s)
Computing version for https://github.com/realm/SwiftLint
Computed https://github.com/realm/SwiftLint at 0.59.1 (31.33s)
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
Fetching https://github.com/scottrhoyt/SwiftyTextTable.git
Fetching https://github.com/JohnSundell/CollectionConcurrencyKit.git
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/jpsim/SourceKitten.git
[1/929] Fetching swiftytexttable
[169/17073] Fetching swiftytexttable, sourcekitten
[225/30014] Fetching swiftytexttable, sourcekitten, cryptoswift
[572/30114] Fetching swiftytexttable, sourcekitten, cryptoswift, collectionconcurrencykit
[3941/40973] Fetching swiftytexttable, sourcekitten, cryptoswift, collectionconcurrencykit, yams
Fetching https://github.com/swiftlang/swift-syntax.git
Fetched https://github.com/scottrhoyt/SwiftyTextTable.git from cache (3.95s)
Fetched https://github.com/JohnSundell/CollectionConcurrencyKit.git from cache (3.95s)
Fetching https://github.com/apple/swift-argument-parser.git
Fetched https://github.com/jpsim/SourceKitten.git from cache (3.97s)
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (3.98s)
Fetched https://github.com/jpsim/Yams.git from cache (3.99s)
[1/70906] Fetching swift-syntax
[4256/86286] Fetching swift-syntax, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (4.65s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (7.57s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.8.4 (12.88s)
Computing version for https://github.com/JohnSundell/CollectionConcurrencyKit.git
Computed https://github.com/JohnSundell/CollectionConcurrencyKit.git at 0.2.0 (0.56s)
Computing version for https://github.com/scottrhoyt/SwiftyTextTable.git
Computed https://github.com/scottrhoyt/SwiftyTextTable.git at 0.9.0 (3.17s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.0 (0.98s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (0.74s)
Computing version for https://github.com/jpsim/SourceKitten.git
Computed https://github.com/jpsim/SourceKitten.git at 0.37.1 (0.59s)
Fetching https://github.com/drmohundro/SWXMLHash.git
[1/2820] Fetching swxmlhash
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (0.37s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 7.0.2 (0.90s)
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.44s)
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/JohnSundell/CollectionConcurrencyKit.git
Working copy of https://github.com/JohnSundell/CollectionConcurrencyKit.git resolved at 0.2.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/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.4.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/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.8.4
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/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-24593BA9C3E375BF.txt
[6/14] Emitting module APIota
[7/14] 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,
[8/14] 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,
[9/15] Compiling APIota HTTPMediaType.swift
[10/15] Compiling APIota HTTPHeaders.swift
[11/15] Compiling APIota HTTPMethod.swift
[12/15] Compiling APIota APIotaClientError.swift
[13/15] Compiling APIota APIotaURLEncodedFormEndpoint.swift
[14/15] Compiling APIota HTTPHeader.swift
[15/15] Compiling APIota HTTPStatusCode.swift
Build complete! (90.38s)
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.