The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of TinyNetworking, reference 0.5.0 (45ba23), with Swift 6.1 for Linux on 27 Apr 2025 20:11:31 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/objcio/tiny-networking.git
Reference: 0.5.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/objcio/tiny-networking
 * tag               0.5.0      -> FETCH_HEAD
HEAD is now at 45ba230 Fix for Xcode 13
Cloned https://github.com/objcio/tiny-networking.git
Revision (git rev-parse @):
45ba230cc9a843bf82a642803a43ef8838dc5b70
SUCCESS checkout https://github.com/objcio/tiny-networking.git at 0.5.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/objcio/tiny-networking.git
https://github.com/objcio/tiny-networking.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "TinyNetworking",
  "name" : "TinyNetworking",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "TinyNetworking",
      "targets" : [
        "TinyNetworking"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "TinyNetworkingTests",
      "module_type" : "SwiftTarget",
      "name" : "TinyNetworkingTests",
      "path" : "Tests/TinyNetworkingTests",
      "sources" : [
        "TestFixtures.swift",
        "TinyHTTPStubURLProtocol.swift",
        "TinyNetworkingTests.swift",
        "URLSessionIntegrationTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "TinyNetworking"
      ],
      "type" : "test"
    },
    {
      "c99name" : "TinyNetworking",
      "module_type" : "SwiftTarget",
      "name" : "TinyNetworking",
      "path" : "Sources/TinyNetworking",
      "product_memberships" : [
        "TinyNetworking"
      ],
      "sources" : [
        "Endpoint.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/4] Compiling TinyNetworking Endpoint.swift
/host/spi-builder-workspace/Sources/TinyNetworking/Endpoint.swift:235:17: warning: capture of 'onComplete' with non-sendable type '(Result<A, any Error>) -> ()' in a '@Sendable' closure; this is an error in the Swift 6 language mode
233 |         let task = dataTask(with: r, completionHandler: { data, resp, err in
234 |             if let err = err {
235 |                 onComplete(.failure(err))
    |                 |- warning: capture of 'onComplete' with non-sendable type '(Result<A, any Error>) -> ()' in a '@Sendable' closure; this is an error in the Swift 6 language mode
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
236 |                 return
237 |             }
/host/spi-builder-workspace/Sources/TinyNetworking/Endpoint.swift:244:19: warning: capture of 'e' with non-sendable type 'Endpoint<A>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 17 |
 18 | /// This describes an endpoint returning `A` values. It contains both a `URLRequest` and a way to parse the response.
 19 | public struct Endpoint<A> {
    |               `- note: consider making generic struct 'Endpoint' conform to the 'Sendable' protocol
 20 |
 21 |     /// The HTTP Method
    :
242 |             }
243 |
244 |             guard e.expectedStatusCode(h.statusCode) else {
    |                   `- warning: capture of 'e' with non-sendable type 'Endpoint<A>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
245 |                 onComplete(.failure(WrongStatusCodeError(statusCode: h.statusCode, response: h, responseBody: data)))
246 |                 return
[4/4] Emitting module TinyNetworking
Build complete! (7.61s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "TinyNetworking",
  "name" : "TinyNetworking",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "TinyNetworking",
      "targets" : [
        "TinyNetworking"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "TinyNetworkingTests",
      "module_type" : "SwiftTarget",
      "name" : "TinyNetworkingTests",
      "path" : "Tests/TinyNetworkingTests",
      "sources" : [
        "TestFixtures.swift",
        "TinyHTTPStubURLProtocol.swift",
        "TinyNetworkingTests.swift",
        "URLSessionIntegrationTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "TinyNetworking"
      ],
      "type" : "test"
    },
    {
      "c99name" : "TinyNetworking",
      "module_type" : "SwiftTarget",
      "name" : "TinyNetworking",
      "path" : "Sources/TinyNetworking",
      "product_memberships" : [
        "TinyNetworking"
      ],
      "sources" : [
        "Endpoint.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.