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 CypherPoetSwiftUIReduxUtils, reference 0.5.0 (c2db00), with Swift 6.1 for macOS (SPM) on 26 Apr 2025 20:48:53 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/CypherPoet/SwiftUIReduxUtils.git
Reference: 0.5.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/CypherPoet/SwiftUIReduxUtils
 * tag               0.5.0      -> FETCH_HEAD
HEAD is now at c2db00c 0.5.0
Cloned https://github.com/CypherPoet/SwiftUIReduxUtils.git
Revision (git rev-parse @):
c2db00c6d727972edd9926faf424a8066eec99fd
SUCCESS checkout https://github.com/CypherPoet/SwiftUIReduxUtils.git at 0.5.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": "swiftuireduxutils",
      "name": "CypherPoetSwiftUIReduxUtils",
      "url": "https://github.com/CypherPoet/SwiftUIReduxUtils.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftUIReduxUtils",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/CypherPoet/SwiftUIReduxUtils.git
[1/281] Fetching swiftuireduxutils
Fetched https://github.com/CypherPoet/SwiftUIReduxUtils.git from cache (1.06s)
Creating working copy for https://github.com/CypherPoet/SwiftUIReduxUtils.git
Working copy of https://github.com/CypherPoet/SwiftUIReduxUtils.git resolved at 0.5.0 (c2db00c)
warning: '.resolve-product-dependencies': dependency 'swiftuireduxutils' 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/CypherPoet/SwiftUIReduxUtils.git
https://github.com/CypherPoet/SwiftUIReduxUtils.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "CypherPoetSwiftUIReduxUtils",
  "name" : "CypherPoetSwiftUIReduxUtils",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    },
    {
      "name" : "watchos",
      "version" : "8.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftUIReduxUtils",
      "targets" : [
        "SwiftUIReduxUtils"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftUIReduxUtilsTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftUIReduxUtilsTests",
      "path" : "Tests/SwiftUIReduxUtils",
      "sources" : [
        "SwiftUIReduxUtilsTests.swift"
      ],
      "target_dependencies" : [
        "SwiftUIReduxUtils"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftUIReduxUtils",
      "module_type" : "SwiftTarget",
      "name" : "SwiftUIReduxUtils",
      "path" : "Sources/SwiftUIReduxUtils",
      "product_memberships" : [
        "SwiftUIReduxUtils"
      ],
      "sources" : [
        "Middleware.swift",
        "Reducer.swift",
        "Store.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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/6] Compiling SwiftUIReduxUtils Reducer.swift
[4/6] Compiling SwiftUIReduxUtils Middleware.swift
[5/6] Emitting module SwiftUIReduxUtils
[6/6] Compiling SwiftUIReduxUtils Store.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIReduxUtils/Store.swift:35:34: warning: non-sendable result type 'AppState' cannot be sent from nonisolated context in call to async function; this is an error in the Swift 6 language mode
  4 |
  5 | @MainActor
  6 | public final class Store<AppState, AppAction>: ObservableObject {
    |                          `- note: consider making generic parameter 'AppState' conform to the 'Sendable' protocol
  7 |
  8 |     /// Read-only access to app state
    :
 33 |     /// for processing.
 34 |     private func dispatch(_ action: AppAction) async {
 35 |         state = await appReducer.reduce(state, action)
    |                                  `- warning: non-sendable result type 'AppState' cannot be sent from nonisolated context in call to async function; this is an error in the Swift 6 language mode
 36 |     }
 37 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIReduxUtils/Store.swift:57:17: warning: non-sendable result type 'AppAction?' cannot be sent from nonisolated context in call to instance method 'next()'; this is an error in the Swift 6 language mode
  4 |
  5 | @MainActor
  6 | public final class Store<AppState, AppAction>: ObservableObject {
    |                                    `- note: consider making generic parameter 'AppAction' conform to the 'Sendable' protocol
  7 |
  8 |     /// Read-only access to app state
    :
 55 |                 }
 56 |
 57 |                 for await appAction in resultingAppActions where Task.isCancelled == false {
    |                 `- warning: non-sendable result type 'AppAction?' cannot be sent from nonisolated context in call to instance method 'next()'; this is an error in the Swift 6 language mode
 58 |                     await send(appAction)
 59 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIReduxUtils/Store.swift:35:34: warning: sending value of non-Sendable type 'AppState' risks causing data races; this is an error in the Swift 6 language mode
 33 |     /// for processing.
 34 |     private func dispatch(_ action: AppAction) async {
 35 |         state = await appReducer.reduce(state, action)
    |                                  |- warning: sending value of non-Sendable type 'AppState' risks causing data races; this is an error in the Swift 6 language mode
    |                                  `- note: sending main actor-isolated value of non-Sendable type 'AppState' to nonisolated callee risks causing races in between main actor-isolated and nonisolated uses
 36 |     }
 37 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIReduxUtils/Store.swift:35:34: warning: sending 'action' risks causing data races; this is an error in the Swift 6 language mode
 33 |     /// for processing.
 34 |     private func dispatch(_ action: AppAction) async {
 35 |         state = await appReducer.reduce(state, action)
    |                                  |- warning: sending 'action' risks causing data races; this is an error in the Swift 6 language mode
    |                                  `- note: sending main actor-isolated 'action' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
 36 |     }
 37 |
Build complete! (9.65s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "CypherPoetSwiftUIReduxUtils",
  "name" : "CypherPoetSwiftUIReduxUtils",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    },
    {
      "name" : "watchos",
      "version" : "8.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftUIReduxUtils",
      "targets" : [
        "SwiftUIReduxUtils"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftUIReduxUtilsTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftUIReduxUtilsTests",
      "path" : "Tests/SwiftUIReduxUtils",
      "sources" : [
        "SwiftUIReduxUtilsTests.swift"
      ],
      "target_dependencies" : [
        "SwiftUIReduxUtils"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftUIReduxUtils",
      "module_type" : "SwiftTarget",
      "name" : "SwiftUIReduxUtils",
      "path" : "Sources/SwiftUIReduxUtils",
      "product_memberships" : [
        "SwiftUIReduxUtils"
      ],
      "sources" : [
        "Middleware.swift",
        "Reducer.swift",
        "Store.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Done.