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 QRoute, reference 1.0.8 (71d3e5), with Swift 6.0 for macOS (SPM) on 1 Nov 2024 15:43:05 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/quickthyme/qroute.git
Reference: 1.0.8
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/quickthyme/qroute
 * tag               1.0.8      -> FETCH_HEAD
HEAD is now at 71d3e5f Updates for depricated keyword class (#15)
Cloned https://github.com/quickthyme/qroute.git
Revision (git rev-parse @):
71d3e5f5a76c5f6659b31a100a0f9e019065bc45
SUCCESS checkout https://github.com/quickthyme/qroute.git at 1.0.8
========================================
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": "qroute",
      "name": "QRoute",
      "url": "https://github.com/quickthyme/qroute.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/qroute",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/quickthyme/qroute.git
[1/1164] Fetching qroute
Fetched https://github.com/quickthyme/qroute.git from cache (0.91s)
Creating working copy for https://github.com/quickthyme/qroute.git
Working copy of https://github.com/quickthyme/qroute.git resolved at 1.0.8 (71d3e5f)
warning: '.resolve-product-dependencies': dependency 'qroute' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/quickthyme/qroute.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun 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--7754E27361AE5C74.txt
[3/12] Compiling QRoute QRouteResolverAction.swift
[4/13] Compiling QRoute QRoutePath.swift
[5/13] Compiling QRoute QRoute.swift
[6/13] Compiling QRoute QRoute+ConvenienceInit.swift
[7/13] Compiling QRoute QRoutable.swift
[8/13] Compiling QRoute QRouteResolver.swift
[9/13] Compiling QRoute QRouteResolving.swift
[10/13] Emitting module QRoute
[11/13] Compiling QRoute QRouteWalkingDriver.swift
[12/13] Compiling QRoute QRouteDriving.swift
[13/13] Compiling QRoute QRouteWalkingDriverStep.swift
/Users/admin/builder/spi-builder-workspace/Sources/QRoute/Driving/QRouteWalkingDriverStep.swift:23:17: warning: capture of 'routable' with non-sendable type 'any QRoutable' in a `@Sendable` closure; this is an error in the Swift 6 language mode
21 |         case let .DOWN(nextRoute):
22 |             DispatchQueue.main.async {
23 |                 routable.routeResolver
   |                 `- warning: capture of 'routable' with non-sendable type 'any QRoutable' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 |                     .resolveRouteToChild(nextRoute, from: routable, input: input,
25 |                                          animated: animated,
/Users/admin/builder/spi-builder-workspace/Sources/QRoute/QRoutable.swift:1:17: note: protocol 'QRoutable' does not conform to the 'Sendable' protocol
1 | public protocol QRoutable: AnyObject {
  |                 `- note: protocol 'QRoutable' does not conform to the 'Sendable' protocol
2 |     var routeResolver: QRouteResolving! { get }
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/QRoute/Driving/QRouteWalkingDriverStep.swift:24:42: warning: capture of 'nextRoute' with non-sendable type 'QRoute' in a `@Sendable` closure; this is an error in the Swift 6 language mode
22 |             DispatchQueue.main.async {
23 |                 routable.routeResolver
24 |                     .resolveRouteToChild(nextRoute, from: routable, input: input,
   |                                          `- warning: capture of 'nextRoute' with non-sendable type 'QRoute' in a `@Sendable` closure; this is an error in the Swift 6 language mode
25 |                                          animated: animated,
26 |                                          completion: stepCompletion)
/Users/admin/builder/spi-builder-workspace/Sources/QRoute/QRoute.swift:3:14: note: class 'QRoute' does not conform to the 'Sendable' protocol
  1 | public typealias QRouteId = String
  2 |
  3 | public class QRoute: Hashable, CustomDebugStringConvertible {
    |              `- note: class 'QRoute' does not conform to the 'Sendable' protocol
  4 |
  5 |     public required init(id:QRouteId, dependencies: [String], routes: [QRoute]) {
/Users/admin/builder/spi-builder-workspace/Sources/QRoute/Driving/QRouteWalkingDriverStep.swift:24:76: warning: capture of 'input' with non-sendable type '[String : Any]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
22 |             DispatchQueue.main.async {
23 |                 routable.routeResolver
24 |                     .resolveRouteToChild(nextRoute, from: routable, input: input,
   |                                                                            `- warning: capture of 'input' with non-sendable type '[String : Any]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
25 |                                          animated: animated,
26 |                                          completion: stepCompletion)
/Users/admin/builder/spi-builder-workspace/Sources/QRoute/Driving/QRouteWalkingDriverStep.swift:26:54: warning: capture of 'stepCompletion' with non-sendable type '((any QRoutable)?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 |                     .resolveRouteToChild(nextRoute, from: routable, input: input,
25 |                                          animated: animated,
26 |                                          completion: stepCompletion)
   |                                                      |- warning: capture of 'stepCompletion' with non-sendable type '((any QRoutable)?) -> ()' 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'
27 |             }
28 |         case .SELF:
/Users/admin/builder/spi-builder-workspace/Sources/QRoute/Driving/QRouteWalkingDriverStep.swift:30:17: warning: capture of 'routable' with non-sendable type 'any QRoutable' in a `@Sendable` closure; this is an error in the Swift 6 language mode
28 |         case .SELF:
29 |             DispatchQueue.main.async {
30 |                 routable.routeResolver
   |                 `- warning: capture of 'routable' with non-sendable type 'any QRoutable' in a `@Sendable` closure; this is an error in the Swift 6 language mode
31 |                     .resolveRouteToSelf(from: routable, input: input,
32 |                                         animated: animated,
/Users/admin/builder/spi-builder-workspace/Sources/QRoute/QRoutable.swift:1:17: note: protocol 'QRoutable' does not conform to the 'Sendable' protocol
1 | public protocol QRoutable: AnyObject {
  |                 `- note: protocol 'QRoutable' does not conform to the 'Sendable' protocol
2 |     var routeResolver: QRouteResolving! { get }
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/QRoute/Driving/QRouteWalkingDriverStep.swift:31:64: warning: capture of 'input' with non-sendable type '[String : Any]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
29 |             DispatchQueue.main.async {
30 |                 routable.routeResolver
31 |                     .resolveRouteToSelf(from: routable, input: input,
   |                                                                `- warning: capture of 'input' with non-sendable type '[String : Any]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
32 |                                         animated: animated,
33 |                                         completion: stepCompletion)
/Users/admin/builder/spi-builder-workspace/Sources/QRoute/Driving/QRouteWalkingDriverStep.swift:33:53: warning: capture of 'stepCompletion' with non-sendable type '((any QRoutable)?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
31 |                     .resolveRouteToSelf(from: routable, input: input,
32 |                                         animated: animated,
33 |                                         completion: stepCompletion)
   |                                                     |- warning: capture of 'stepCompletion' with non-sendable type '((any QRoutable)?) -> ()' 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'
34 |             }
35 |         case .UP:
/Users/admin/builder/spi-builder-workspace/Sources/QRoute/Driving/QRouteWalkingDriverStep.swift:37:17: warning: capture of 'routable' with non-sendable type 'any QRoutable' in a `@Sendable` closure; this is an error in the Swift 6 language mode
35 |         case .UP:
36 |             DispatchQueue.main.async {
37 |                 routable.routeResolver
   |                 `- warning: capture of 'routable' with non-sendable type 'any QRoutable' in a `@Sendable` closure; this is an error in the Swift 6 language mode
38 |                     .resolveRouteToParent(from: routable, input: input,
39 |                                           animated: animated,
/Users/admin/builder/spi-builder-workspace/Sources/QRoute/QRoutable.swift:1:17: note: protocol 'QRoutable' does not conform to the 'Sendable' protocol
1 | public protocol QRoutable: AnyObject {
  |                 `- note: protocol 'QRoutable' does not conform to the 'Sendable' protocol
2 |     var routeResolver: QRouteResolving! { get }
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/QRoute/Driving/QRouteWalkingDriverStep.swift:38:66: warning: capture of 'input' with non-sendable type '[String : Any]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
36 |             DispatchQueue.main.async {
37 |                 routable.routeResolver
38 |                     .resolveRouteToParent(from: routable, input: input,
   |                                                                  `- warning: capture of 'input' with non-sendable type '[String : Any]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
39 |                                           animated: animated,
40 |                                           completion: stepCompletion)
/Users/admin/builder/spi-builder-workspace/Sources/QRoute/Driving/QRouteWalkingDriverStep.swift:40:55: warning: capture of 'stepCompletion' with non-sendable type '((any QRoutable)?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
38 |                     .resolveRouteToParent(from: routable, input: input,
39 |                                           animated: animated,
40 |                                           completion: stepCompletion)
   |                                                       |- warning: capture of 'stepCompletion' with non-sendable type '((any QRoutable)?) -> ()' 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'
41 |             }
42 |         }
/Users/admin/builder/spi-builder-workspace/Sources/QRoute/Driving/QRouteWalkingDriverStep.swift:23:17: warning: sending 'routable' risks causing data races; this is an error in the Swift 6 language mode
21 |         case let .DOWN(nextRoute):
22 |             DispatchQueue.main.async {
23 |                 routable.routeResolver
   |                 |- warning: sending 'routable' risks causing data races; this is an error in the Swift 6 language mode
   |                 `- note: task-isolated 'routable' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
24 |                     .resolveRouteToChild(nextRoute, from: routable, input: input,
25 |                                          animated: animated,
/Users/admin/builder/spi-builder-workspace/Sources/QRoute/Driving/QRouteWalkingDriverStep.swift:24:42: warning: sending 'nextRoute' risks causing data races; this is an error in the Swift 6 language mode
22 |             DispatchQueue.main.async {
23 |                 routable.routeResolver
24 |                     .resolveRouteToChild(nextRoute, from: routable, input: input,
   |                                          |- warning: sending 'nextRoute' risks causing data races; this is an error in the Swift 6 language mode
   |                                          `- note: task-isolated 'nextRoute' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
25 |                                          animated: animated,
26 |                                          completion: stepCompletion)
/Users/admin/builder/spi-builder-workspace/Sources/QRoute/Driving/QRouteWalkingDriverStep.swift:24:76: warning: sending 'input' risks causing data races; this is an error in the Swift 6 language mode
22 |             DispatchQueue.main.async {
23 |                 routable.routeResolver
24 |                     .resolveRouteToChild(nextRoute, from: routable, input: input,
   |                                                                            |- warning: sending 'input' risks causing data races; this is an error in the Swift 6 language mode
   |                                                                            `- note: task-isolated 'input' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
25 |                                          animated: animated,
26 |                                          completion: stepCompletion)
/Users/admin/builder/spi-builder-workspace/Sources/QRoute/Driving/QRouteWalkingDriverStep.swift:26:54: warning: sending 'stepCompletion' risks causing data races; this is an error in the Swift 6 language mode
24 |                     .resolveRouteToChild(nextRoute, from: routable, input: input,
25 |                                          animated: animated,
26 |                                          completion: stepCompletion)
   |                                                      |- warning: sending 'stepCompletion' risks causing data races; this is an error in the Swift 6 language mode
   |                                                      `- note: task-isolated 'stepCompletion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
27 |             }
28 |         case .SELF:
/Users/admin/builder/spi-builder-workspace/Sources/QRoute/Driving/QRouteWalkingDriverStep.swift:30:17: warning: sending 'routable' risks causing data races; this is an error in the Swift 6 language mode
28 |         case .SELF:
29 |             DispatchQueue.main.async {
30 |                 routable.routeResolver
   |                 |- warning: sending 'routable' risks causing data races; this is an error in the Swift 6 language mode
   |                 `- note: task-isolated 'routable' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
31 |                     .resolveRouteToSelf(from: routable, input: input,
32 |                                         animated: animated,
/Users/admin/builder/spi-builder-workspace/Sources/QRoute/Driving/QRouteWalkingDriverStep.swift:31:64: warning: sending 'input' risks causing data races; this is an error in the Swift 6 language mode
29 |             DispatchQueue.main.async {
30 |                 routable.routeResolver
31 |                     .resolveRouteToSelf(from: routable, input: input,
   |                                                                |- warning: sending 'input' risks causing data races; this is an error in the Swift 6 language mode
   |                                                                `- note: task-isolated 'input' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
32 |                                         animated: animated,
33 |                                         completion: stepCompletion)
/Users/admin/builder/spi-builder-workspace/Sources/QRoute/Driving/QRouteWalkingDriverStep.swift:33:53: warning: sending 'stepCompletion' risks causing data races; this is an error in the Swift 6 language mode
31 |                     .resolveRouteToSelf(from: routable, input: input,
32 |                                         animated: animated,
33 |                                         completion: stepCompletion)
   |                                                     |- warning: sending 'stepCompletion' risks causing data races; this is an error in the Swift 6 language mode
   |                                                     `- note: task-isolated 'stepCompletion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
34 |             }
35 |         case .UP:
/Users/admin/builder/spi-builder-workspace/Sources/QRoute/Driving/QRouteWalkingDriverStep.swift:37:17: warning: sending 'routable' risks causing data races; this is an error in the Swift 6 language mode
35 |         case .UP:
36 |             DispatchQueue.main.async {
37 |                 routable.routeResolver
   |                 |- warning: sending 'routable' risks causing data races; this is an error in the Swift 6 language mode
   |                 `- note: task-isolated 'routable' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
38 |                     .resolveRouteToParent(from: routable, input: input,
39 |                                           animated: animated,
/Users/admin/builder/spi-builder-workspace/Sources/QRoute/Driving/QRouteWalkingDriverStep.swift:38:66: warning: sending 'input' risks causing data races; this is an error in the Swift 6 language mode
36 |             DispatchQueue.main.async {
37 |                 routable.routeResolver
38 |                     .resolveRouteToParent(from: routable, input: input,
   |                                                                  |- warning: sending 'input' risks causing data races; this is an error in the Swift 6 language mode
   |                                                                  `- note: task-isolated 'input' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
39 |                                           animated: animated,
40 |                                           completion: stepCompletion)
/Users/admin/builder/spi-builder-workspace/Sources/QRoute/Driving/QRouteWalkingDriverStep.swift:40:55: warning: sending 'stepCompletion' risks causing data races; this is an error in the Swift 6 language mode
38 |                     .resolveRouteToParent(from: routable, input: input,
39 |                                           animated: animated,
40 |                                           completion: stepCompletion)
   |                                                       |- warning: sending 'stepCompletion' risks causing data races; this is an error in the Swift 6 language mode
   |                                                       `- note: task-isolated 'stepCompletion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
41 |             }
42 |         }
Build complete! (7.75s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "QRoute",
  "name" : "QRoute",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "QRoute",
      "targets" : [
        "QRoute"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "QRouteTests",
      "module_type" : "SwiftTarget",
      "name" : "QRouteTests",
      "path" : "Tests/QRouteTests",
      "sources" : [
        "Driving/QRouteWalkingDriverTests.swift",
        "QRoutePathTests.swift",
        "QRouteTests.swift",
        "Resolving/QRouteResolverActionTests.swift",
        "Resolving/QRouteResolverMergeInputTests.swift",
        "Resolving/QRouteResolverTests.swift",
        "XCTestManifests.swift",
        "helpers/BDDTestHelpers.swift",
        "helpers/QRouteResolverTestHelpers.swift",
        "mocks/MockQRoutePlan.swift",
        "mocks/StubQResolverActions.swift"
      ],
      "target_dependencies" : [
        "QRoute"
      ],
      "type" : "test"
    },
    {
      "c99name" : "QRoute",
      "module_type" : "SwiftTarget",
      "name" : "QRoute",
      "path" : "Sources/QRoute",
      "product_memberships" : [
        "QRoute"
      ],
      "sources" : [
        "Driving/QRouteDriving.swift",
        "Driving/QRouteWalkingDriver.swift",
        "Driving/QRouteWalkingDriverStep.swift",
        "QRoutable.swift",
        "QRoute+ConvenienceInit.swift",
        "QRoute.swift",
        "QRoutePath.swift",
        "Resolving/QRouteResolver.swift",
        "Resolving/QRouteResolverAction.swift",
        "Resolving/QRouteResolving.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.2"
}
Done.