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 Superhighway, reference 2.0.1 (7e942d), with Swift 6.1 for macOS (SPM) on 27 Apr 2025 14:49:10 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/rhysforyou/Superhighway.git
Reference: 2.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/rhysforyou/Superhighway
 * tag               2.0.1      -> FETCH_HEAD
HEAD is now at 7e942df update CHANGELOG links
Cloned https://github.com/rhysforyou/Superhighway.git
Revision (git rev-parse @):
7e942dfbc799f9c0ea231490a2ce99b8ff78b2d5
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/rhysforyou/Superhighway.git at 2.0.1
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-docc-symbolkit
[1/2049] Fetching swift-docc-plugin
[227/5424] Fetching swift-docc-plugin, swift-docc-symbolkit
Fetched https://github.com/apple/swift-docc-plugin from cache (1.19s)
Fetched https://github.com/apple/swift-docc-symbolkit from cache (1.19s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.2.0 (1.76s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.63s)
Creating working copy for https://github.com/apple/swift-docc-symbolkit
Working copy of https://github.com/apple/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.2.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "superhighway",
      "name": "Superhighway",
      "url": "https://github.com/rhysforyou/Superhighway.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Superhighway",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/rhysforyou/Superhighway.git
[1/499] Fetching superhighway
Fetched https://github.com/rhysforyou/Superhighway.git from cache (0.72s)
Creating working copy for https://github.com/rhysforyou/Superhighway.git
Working copy of https://github.com/rhysforyou/Superhighway.git resolved at 2.0.1 (7e942df)
warning: '.resolve-product-dependencies': dependency 'superhighway' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/rhysforyou/Superhighway.git
https://github.com/rhysforyou/Superhighway.git
{
  "dependencies" : [
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.2.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    }
  ],
  "manifest_display_name" : "Superhighway",
  "name" : "Superhighway",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "watchos",
      "version" : "8.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "Superhighway",
      "targets" : [
        "Superhighway"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "SuperhighwayTests",
      "module_type" : "SwiftTarget",
      "name" : "SuperhighwayTests",
      "path" : "Tests/SuperhighwayTests",
      "sources" : [
        "CombineIntegrationTests.swift",
        "ConcurrencyIntegrationTests.swift",
        "EndpointTests.swift",
        "HTTPStubURLProtocol.swift",
        "TestFixtures.swift",
        "URLSessionIntegrationTests.swift"
      ],
      "target_dependencies" : [
        "Superhighway"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Superhighway",
      "module_type" : "SwiftTarget",
      "name" : "Superhighway",
      "path" : "Sources/Superhighway",
      "product_memberships" : [
        "Superhighway"
      ],
      "sources" : [
        "Endpoint.swift",
        "URLSession+Endpoint.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/4] Write sources
[3/4] Write swift-version-2F0A5646E1D333AE.txt
[5/7] Compiling Superhighway URLSession+Endpoint.swift
/Users/admin/builder/spi-builder-workspace/Sources/Superhighway/URLSession+Endpoint.swift:21:11: warning: capture of 'onComplete' with non-sendable type '(Result<Response, any Error>) -> Void' in a '@Sendable' closure
 19 |       completionHandler: { data, response, error in
 20 |         if let error {
 21 |           onComplete(.failure(error))
    |           |- warning: capture of 'onComplete' with non-sendable type '(Result<Response, any Error>) -> Void' in a '@Sendable' closure
    |           `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 22 |           return
 23 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Superhighway/URLSession+Endpoint.swift:30:15: warning: capture of 'endpoint' with non-sendable type 'Endpoint<Response>' in a '@Sendable' closure
 28 |         }
 29 |
 30 |         guard endpoint.expectedStatusCode(urlResponse.statusCode) else {
    |               `- warning: capture of 'endpoint' with non-sendable type 'Endpoint<Response>' in a '@Sendable' closure
 31 |           onComplete(
 32 |             .failure(
/Users/admin/builder/spi-builder-workspace/Sources/Superhighway/Endpoint.swift:74:15: note: consider making generic struct 'Endpoint' conform to the 'Sendable' protocol
 72 | /// let (people, _) = try await URLSession.shared.response(for: endpoint)
 73 | /// ```
 74 | public struct Endpoint<Response> {
    |               `- note: consider making generic struct 'Endpoint' conform to the 'Sendable' protocol
 75 |   /// The underlying `URLRequest` for this endpoint
 76 |   public let request: URLRequest
/Users/admin/builder/spi-builder-workspace/Sources/Superhighway/URLSession+Endpoint.swift:42:38: warning: capture of 'endpoint' with non-sendable type 'Endpoint<Response>' in an isolated closure; this is an error in the Swift 6 language mode
 40 |         }
 41 |
 42 |         onComplete(Result.init { try endpoint.parse(data, response) })
    |                                      `- warning: capture of 'endpoint' with non-sendable type 'Endpoint<Response>' in an isolated closure; this is an error in the Swift 6 language mode
 43 |       }
 44 |     )
/Users/admin/builder/spi-builder-workspace/Sources/Superhighway/Endpoint.swift:74:15: note: consider making generic struct 'Endpoint' conform to the 'Sendable' protocol
 72 | /// let (people, _) = try await URLSession.shared.response(for: endpoint)
 73 | /// ```
 74 | public struct Endpoint<Response> {
    |               `- note: consider making generic struct 'Endpoint' conform to the 'Sendable' protocol
 75 |   /// The underlying `URLRequest` for this endpoint
 76 |   public let request: URLRequest
[6/7] Emitting module Superhighway
[7/7] Compiling Superhighway Endpoint.swift
Build complete! (13.30s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.2.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    }
  ],
  "manifest_display_name" : "Superhighway",
  "name" : "Superhighway",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "watchos",
      "version" : "8.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "Superhighway",
      "targets" : [
        "Superhighway"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "SuperhighwayTests",
      "module_type" : "SwiftTarget",
      "name" : "SuperhighwayTests",
      "path" : "Tests/SuperhighwayTests",
      "sources" : [
        "CombineIntegrationTests.swift",
        "ConcurrencyIntegrationTests.swift",
        "EndpointTests.swift",
        "HTTPStubURLProtocol.swift",
        "TestFixtures.swift",
        "URLSessionIntegrationTests.swift"
      ],
      "target_dependencies" : [
        "Superhighway"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Superhighway",
      "module_type" : "SwiftTarget",
      "name" : "Superhighway",
      "path" : "Sources/Superhighway",
      "product_memberships" : [
        "Superhighway"
      ],
      "sources" : [
        "Endpoint.swift",
        "URLSession+Endpoint.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Done.