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 RedUx, reference main (38b122), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 14:40:26 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/reddavis/RedUx.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/reddavis/RedUx
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 38b1228 feat: declare ValueStatus as sendable (#39)
Cloned https://github.com/reddavis/RedUx.git
Revision (git rev-parse @):
38b1228a27ec9a88ecc8620f1c2e0ecb415f7c23
SUCCESS checkout https://github.com/reddavis/RedUx.git at main
Fetching https://github.com/reddavis/Asynchrone
[1/4315] Fetching asynchrone
Fetched https://github.com/reddavis/Asynchrone from cache (2.17s)
Creating working copy for https://github.com/reddavis/Asynchrone
Working copy of https://github.com/reddavis/Asynchrone resolved at main (1ddfcd3)
========================================
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": "redux",
      "name": "RedUx",
      "url": "https://github.com/reddavis/RedUx.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/RedUx",
      "dependencies": [
        {
          "identity": "asynchrone",
          "name": "Asynchrone",
          "url": "https://github.com/reddavis/Asynchrone",
          "version": "unspecified",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Asynchrone",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/reddavis/RedUx.git
[1/1522] Fetching redux
Fetched https://github.com/reddavis/RedUx.git from cache (1.18s)
Fetching https://github.com/reddavis/Asynchrone from cache
Fetched https://github.com/reddavis/Asynchrone from cache (0.49s)
Creating working copy for https://github.com/reddavis/RedUx.git
Working copy of https://github.com/reddavis/RedUx.git resolved at main (38b1228)
Creating working copy for https://github.com/reddavis/Asynchrone
Working copy of https://github.com/reddavis/Asynchrone resolved at main (1ddfcd3)
warning: '.resolve-product-dependencies': dependency 'redux' is not used by any target
Found 1 product dependencies
  - Asynchrone
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/reddavis/RedUx.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/3] Write sources
[2/3] Write swift-version--7754E27361AE5C74.txt
[4/34] Emitting module Asynchrone
[5/37] Compiling Asynchrone AnyThrowingAsyncSequenceable.swift
[6/37] Compiling Asynchrone AsyncSequenceCompletion.swift
[7/37] Compiling Asynchrone CatchErrorAsyncSequence.swift
[8/37] Compiling Asynchrone ChainAsyncSequenceable.swift
[9/37] Compiling Asynchrone Fail.swift
[10/37] Compiling Asynchrone Just.swift
[11/37] Compiling Asynchrone Merge3AsyncSequence.swift
[12/37] Compiling Asynchrone CombineLatest3AsyncSequence.swift
[13/37] Compiling Asynchrone CombineLatestAsyncSequence.swift
[14/37] Compiling Asynchrone CurrentElementAsyncSequence.swift
[15/37] Compiling Asynchrone ErrorMechanism.swift
[16/37] Compiling Asynchrone RethrowingAccessor.swift
[17/37] Compiling Asynchrone AsyncSequence+Extension.swift
[18/37] Compiling Asynchrone AsyncStream+Extension.swift
[19/37] Compiling Asynchrone DebounceAsyncSequence.swift
[20/37] Compiling Asynchrone DelayAsyncSequence.swift
[21/37] Compiling Asynchrone Empty.swift
[22/37] Compiling Asynchrone SharedAsyncSequence.swift
[23/37] Compiling Asynchrone ThrottleAsyncSequence.swift
[24/37] Compiling Asynchrone ThrowingPassthroughAsyncSequence.swift
[25/37] Compiling Asynchrone MergeAsyncSequence.swift
[26/37] Compiling Asynchrone NotificationCenterAsyncSequence.swift
[27/37] Compiling Asynchrone PassthroughAsyncSequence.swift
[28/37] Compiling Asynchrone TimerAsyncSequence.swift
[29/37] Compiling Asynchrone Zip3AsyncSequence.swift
[30/37] Compiling Asynchrone ZipAsyncSequence.swift
[31/37] Compiling Asynchrone RemoveDuplicatesAsyncSequence.swift
[32/37] Compiling Asynchrone ReplaceErrorAsyncSequence.swift
[33/37] Compiling Asynchrone SequenceAsyncSequence.swift
[34/37] Compiling Asynchrone AsyncThrowingStream+Extension.swift
[35/37] Compiling Asynchrone Task+Extension.swift
[36/37] Compiling Asynchrone TimeInterval+Extension.swift
[37/37] Compiling Asynchrone AnyAsyncSequenceable.swift
[38/47] Compiling RedUx Store.swift
[39/47] Compiling RedUx View+Extension.swift
[40/47] Compiling RedUx Reducer.swift
/Users/admin/builder/spi-builder-workspace/RedUx/Source/Reducer.swift:81:17: warning: capture of 'setAppEvent' with non-sendable type '(Event) -> AppEvent?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 79 |
 80 |             return effect.compactMap {
 81 |                 setAppEvent($0)
    |                 |- warning: capture of 'setAppEvent' with non-sendable type '(Event) -> AppEvent?' 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'
 82 |             }
 83 |             .eraseToEffect(id: effect.id)
/Users/admin/builder/spi-builder-workspace/RedUx/Source/Reducer.swift:119:17: warning: capture of 'setAppEvent' with non-sendable type '(Event) -> AppEvent?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
117 |             guard let effect = effect else { return .none }
118 |             return effect.compactMap { event in
119 |                 setAppEvent(event)
    |                 |- warning: capture of 'setAppEvent' with non-sendable type '(Event) -> AppEvent?' 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'
120 |             }.eraseToEffect(id: effect.id)
121 |         }
[41/47] Compiling RedUx RedUxable.swift
[42/47] Compiling RedUx ActionStatus.swift
[43/47] Compiling RedUx EffectManager.swift
[44/47] Emitting module RedUx
[45/47] Compiling RedUx Effect.swift
[46/47] Compiling RedUx ValueStatus.swift
[47/47] Compiling RedUx UnwrapStore.swift
[48/48] Compiling RedUx ViewModel.swift
Build complete! (23.25s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "asynchrone",
      "requirement" : {
        "branch" : [
          "main"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/reddavis/Asynchrone"
    }
  ],
  "manifest_display_name" : "RedUx",
  "name" : "RedUx",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "RedUx",
      "targets" : [
        "RedUx"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "RedUxTests",
      "module_type" : "SwiftTarget",
      "name" : "RedUxTests",
      "path" : "RedUxTests",
      "sources" : [
        "Supporting Files/Assertions.swift",
        "Supporting Files/Models.swift",
        "Tests/ActionStatusTests.swift",
        "Tests/EffectManagerTests.swift",
        "Tests/EffectTests.swift",
        "Tests/ReducerTests.swift",
        "Tests/StoreTests.swift",
        "Tests/ValueStatusTests.swift",
        "Tests/ViewModelTests.swift"
      ],
      "target_dependencies" : [
        "RedUx"
      ],
      "type" : "test"
    },
    {
      "c99name" : "RedUx",
      "module_type" : "SwiftTarget",
      "name" : "RedUx",
      "path" : "RedUx",
      "product_dependencies" : [
        "Asynchrone"
      ],
      "product_memberships" : [
        "RedUx"
      ],
      "sources" : [
        "Source/Effect.swift",
        "Source/EffectManager.swift",
        "Source/RedUxable.swift",
        "Source/Reducer.swift",
        "Source/Status/ActionStatus.swift",
        "Source/Status/ValueStatus.swift",
        "Source/Store.swift",
        "Source/SwiftUI/Extensions/View+Extension.swift",
        "Source/SwiftUI/UnwrapStore.swift",
        "Source/ViewModel.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Done.