This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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 with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/objcio/tiny-networking.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/objcio/tiny-networking
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
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 master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/objcio/tiny-networking.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-6F35C1178C84523A.txt
[3/4] Compiling TinyNetworking Endpoint.swift
/Users/admin/builder/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 |             }
/Users/admin/builder/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! (16.35s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "TinyNetworking",
  "name" : "TinyNetworking",
  "path" : "/Users/admin/builder/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"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.