The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of OneWay, reference main (514c71), with Swift 6.2 (beta) for macOS (SPM) on 22 Jun 2025 08:35:34 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/DevYeom/OneWay.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/DevYeom/OneWay
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 514c714 Improve the debounce performance (#105)
Cloned https://github.com/DevYeom/OneWay.git
Revision (git rev-parse @):
514c7140fccf0f3d48b541acb8cac24f8e25482a
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/DevYeom/OneWay.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/DevYeom/OneWay.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/4] Write sources
[2/4] Copying PrivacyInfo.xcprivacy
[3/4] Write swift-version-1EA4D86E10B52AF.txt
[5/15] Emitting module OneWay
/Users/admin/builder/spi-builder-workspace/Sources/OneWay/Store.swift:71:22: warning: capture of non-sendable type 'R.Type' in an isolated closure; this is an error in the Swift 6 language mode
 69 |         self.reducer = reducer()
 70 |         (states, continuation) = AsyncStream<State>.makeStream()
 71 |         Task { await bindExternalEffect() }
    |                      `- warning: capture of non-sendable type 'R.Type' in an isolated closure; this is an error in the Swift 6 language mode
 72 |         defer { continuation.yield(state) }
 73 |     }
/Users/admin/builder/spi-builder-workspace/Sources/OneWay/Store.swift:63:12: warning: capture of non-sendable type 'R.Type' in an isolated closure; this is an error in the Swift 6 language mode
 61 |     ///   state.
 62 |     ///   - state: The state to initialize a store.
 63 |     public init(
    |            `- warning: capture of non-sendable type 'R.Type' in an isolated closure; this is an error in the Swift 6 language mode
 64 |         reducer: @Sendable @autoclosure () -> R,
 65 |         state: State
[6/16] Compiling OneWay resource_bundle_accessor.swift
[7/16] Compiling OneWay Store.swift
/Users/admin/builder/spi-builder-workspace/Sources/OneWay/Store.swift:71:22: warning: capture of non-sendable type 'R.Type' in an isolated closure; this is an error in the Swift 6 language mode
 69 |         self.reducer = reducer()
 70 |         (states, continuation) = AsyncStream<State>.makeStream()
 71 |         Task { await bindExternalEffect() }
    |                      `- warning: capture of non-sendable type 'R.Type' in an isolated closure; this is an error in the Swift 6 language mode
 72 |         defer { continuation.yield(state) }
 73 |     }
/Users/admin/builder/spi-builder-workspace/Sources/OneWay/Store.swift:63:12: warning: capture of non-sendable type 'R.Type' in an isolated closure; this is an error in the Swift 6 language mode
 61 |     ///   state.
 62 |     ///   - state: The state to initialize a store.
 63 |     public init(
    |            `- warning: capture of non-sendable type 'R.Type' in an isolated closure; this is an error in the Swift 6 language mode
 64 |         reducer: @Sendable @autoclosure () -> R,
 65 |         state: State
/Users/admin/builder/spi-builder-workspace/Sources/OneWay/Store.swift:90:17: warning: capture of non-sendable type 'R.Type' in an isolated closure; this is an error in the Swift 6 language mode
 88 |         for action in actionQueue {
 89 |             let taskID = TaskID()
 90 |             let effect = reducer.reduce(state: &state, action: action)
    |                 `- warning: capture of non-sendable type 'R.Type' in an isolated closure; this is an error in the Swift 6 language mode
 91 |             let task = Task { [weak self, taskID] in
 92 |                 guard !Task.isCancelled else { return }
/Users/admin/builder/spi-builder-workspace/Sources/OneWay/Store.swift:94:31: warning: capture of non-sendable type 'R.Type' in an isolated closure; this is an error in the Swift 6 language mode
 92 |                 guard !Task.isCancelled else { return }
 93 |                 for await value in effect.values {
 94 |                     guard let self else { break }
    |                               `- warning: capture of non-sendable type 'R.Type' in an isolated closure; this is an error in the Swift 6 language mode
 95 |                     guard !Task.isCancelled else { break }
 96 |                     await send(value)
/Users/admin/builder/spi-builder-workspace/Sources/OneWay/Store.swift:136:13: warning: capture of non-sendable type 'R.Type' in an isolated closure; this is an error in the Swift 6 language mode
134 |
135 |     private func bindExternalEffect() {
136 |         let values = reducer.bind().values
    |             `- warning: capture of non-sendable type 'R.Type' in an isolated closure; this is an error in the Swift 6 language mode
137 |         bindingTask?.cancel()
138 |         bindingTask = Task { [weak self] in
/Users/admin/builder/spi-builder-workspace/Sources/OneWay/Store.swift:140:27: warning: capture of non-sendable type 'R.Type' in an isolated closure; this is an error in the Swift 6 language mode
138 |         bindingTask = Task { [weak self] in
139 |             for await value in values {
140 |                 guard let self else { break }
    |                           `- warning: capture of non-sendable type 'R.Type' in an isolated closure; this is an error in the Swift 6 language mode
141 |                 guard !Task.isCancelled else { break }
142 |                 await send(value)
[8/16] Compiling OneWay Reducer.swift
[9/16] Compiling OneWay Triggered.swift
[10/16] Compiling OneWay EffectsBuilder.swift
[11/16] Compiling OneWay Effect.swift
[12/16] Compiling OneWay Ignored.swift
[13/16] Compiling OneWay CopyOnWrite.swift
[14/16] Compiling OneWay AnyEffect.swift
/Users/admin/builder/spi-builder-workspace/Sources/OneWay/AsyncSequences/AsyncViewStateSequence.swift:86:41: warning: capture of 'keyPath' with non-sendable type 'KeyPath<State, Property>' in a '@Sendable' closure [#SendableClosureCaptures]
84 |             continuation.yield(last)
85 |         }
86 |         return stream.map { $0[keyPath: keyPath] }
   |                                         `- warning: capture of 'keyPath' with non-sendable type 'KeyPath<State, Property>' in a '@Sendable' closure [#SendableClosureCaptures]
87 |     }
88 |     #endif
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
  |              `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 |     @objc deinit
3 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[15/16] Compiling OneWay AsyncViewStateSequence.swift
/Users/admin/builder/spi-builder-workspace/Sources/OneWay/AsyncSequences/AsyncViewStateSequence.swift:86:41: warning: capture of 'keyPath' with non-sendable type 'KeyPath<State, Property>' in a '@Sendable' closure [#SendableClosureCaptures]
84 |             continuation.yield(last)
85 |         }
86 |         return stream.map { $0[keyPath: keyPath] }
   |                                         `- warning: capture of 'keyPath' with non-sendable type 'KeyPath<State, Property>' in a '@Sendable' closure [#SendableClosureCaptures]
87 |     }
88 |     #endif
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
  |              `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 |     @objc deinit
3 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[16/16] Compiling OneWay ViewStore.swift
/Users/admin/builder/spi-builder-workspace/Sources/OneWay/ViewStore.swift:61:22: warning: capture of non-sendable type 'R.Type' in an isolated closure; this is an error in the Swift 6 language mode
 59 |         self.state = state
 60 |         self.store = Store(
 61 |             reducer: reducer(),
    |                      `- warning: capture of non-sendable type 'R.Type' in an isolated closure; this is an error in the Swift 6 language mode
 62 |             state: state
 63 |         )
/Users/admin/builder/spi-builder-workspace/Sources/OneWay/ViewStore.swift:55:9: warning: capture of non-sendable type 'R.Type' in an isolated closure; this is an error in the Swift 6 language mode
 53 |     ///   - state: The state to initialize a store.
 54 |     public init(
 55 |         reducer: @Sendable @autoclosure () -> R,
    |         `- warning: capture of non-sendable type 'R.Type' in an isolated closure; this is an error in the Swift 6 language mode
 56 |         state: State
 57 |     ) {
/Users/admin/builder/spi-builder-workspace/Sources/OneWay/ViewStore.swift:68:44: warning: capture of non-sendable type 'R.Type' in an isolated closure; this is an error in the Swift 6 language mode
 66 |         self.continuation = continuation
 67 |         self.task = Task { @MainActor [weak self] in
 68 |             guard let states = await self?.store.states else { return }
    |                                            `- warning: capture of non-sendable type 'R.Type' in an isolated closure; this is an error in the Swift 6 language mode
 69 |             for await state in states {
 70 |                 guard let self else { break }
/Users/admin/builder/spi-builder-workspace/Sources/OneWay/ViewStore.swift:67:45: warning: capture of non-sendable type 'R.Type' in an isolated closure; this is an error in the Swift 6 language mode
 65 |         self.states = AsyncViewStateSequence(stream)
 66 |         self.continuation = continuation
 67 |         self.task = Task { @MainActor [weak self] in
    |                                             `- warning: capture of non-sendable type 'R.Type' in an isolated closure; this is an error in the Swift 6 language mode
 68 |             guard let states = await self?.store.states else { return }
 69 |             for await state in states {
/Users/admin/builder/spi-builder-workspace/Sources/OneWay/ViewStore.swift:87:19: warning: capture of non-sendable type 'R.Type' in an isolated closure; this is an error in the Swift 6 language mode
 85 |     public func send(_ action: Action) {
 86 |         Task { @MainActor in
 87 |             await store.send(action)
    |                   `- warning: capture of non-sendable type 'R.Type' in an isolated closure; this is an error in the Swift 6 language mode
 88 |         }
 89 |     }
/Users/admin/builder/spi-builder-workspace/Sources/OneWay/ViewStore.swift:85:17: warning: capture of non-sendable type 'R.Type' in an isolated closure; this is an error in the Swift 6 language mode
 83 |     ///
 84 |     /// - Parameter action: An action defined in the reducer.
 85 |     public func send(_ action: Action) {
    |                 `- warning: capture of non-sendable type 'R.Type' in an isolated closure; this is an error in the Swift 6 language mode
 86 |         Task { @MainActor in
 87 |             await store.send(action)
/Users/admin/builder/spi-builder-workspace/Sources/OneWay/ViewStore.swift:97:19: warning: capture of non-sendable type 'R.Type' in an isolated closure; this is an error in the Swift 6 language mode
 95 |     public func reset() {
 96 |         Task { @MainActor in
 97 |             await store.reset()
    |                   `- warning: capture of non-sendable type 'R.Type' in an isolated closure; this is an error in the Swift 6 language mode
 98 |         }
 99 |     }
/Users/admin/builder/spi-builder-workspace/Sources/OneWay/ViewStore.swift:95:17: warning: capture of non-sendable type 'R.Type' in an isolated closure; this is an error in the Swift 6 language mode
 93 |     /// - Note: This is useful when you need to call `bind()` again. Because you can't call `bind()`
 94 |     ///   directly
 95 |     public func reset() {
    |                 `- warning: capture of non-sendable type 'R.Type' in an isolated closure; this is an error in the Swift 6 language mode
 96 |         Task { @MainActor in
 97 |             await store.reset()
[17/19] Compiling OneWayTesting Store+Testing.swift
[18/19] Compiling OneWayTesting TestingEnvironment.swift
[19/19] Emitting module OneWayTesting
Build complete! (16.99s)
Fetching https://github.com/pointfreeco/swift-clocks
[1/1292] Fetching swift-clocks
Fetched https://github.com/pointfreeco/swift-clocks from cache (0.93s)
Computing version for https://github.com/pointfreeco/swift-clocks
Computed https://github.com/pointfreeco/swift-clocks at 1.0.6 (1.38s)
Fetching https://github.com/pointfreeco/swift-concurrency-extras
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/861] Fetching swift-concurrency-extras
[131/6328] Fetching swift-concurrency-extras, xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/swift-concurrency-extras from cache (0.94s)
[2078/5467] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (1.23s)
Computing version for https://github.com/pointfreeco/swift-concurrency-extras
Computed https://github.com/pointfreeco/swift-concurrency-extras at 1.3.1 (1.64s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.5.2 (0.40s)
Creating working copy for https://github.com/pointfreeco/swift-concurrency-extras
Working copy of https://github.com/pointfreeco/swift-concurrency-extras resolved at 1.3.1
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.5.2
Creating working copy for https://github.com/pointfreeco/swift-clocks
Working copy of https://github.com/pointfreeco/swift-clocks resolved at 1.0.6
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-clocks",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/pointfreeco/swift-clocks"
    }
  ],
  "manifest_display_name" : "OneWay",
  "name" : "OneWay",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "OneWay",
      "targets" : [
        "OneWay"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "OneWayTesting",
      "targets" : [
        "OneWayTesting"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "OneWayTests",
      "module_type" : "SwiftTarget",
      "name" : "OneWayTests",
      "path" : "Tests/OneWayTests",
      "product_dependencies" : [
        "Clocks"
      ],
      "sources" : [
        "EffectTests.swift",
        "EffectsBuilderTests.swift",
        "PropertyWrappersTests.swift",
        "StoreTests.swift",
        "TestHelper/Publisher+Async.swift",
        "TestHelper/XCTestCase+Expect.swift",
        "ViewStoreTests.swift"
      ],
      "target_dependencies" : [
        "OneWay",
        "OneWayTesting"
      ],
      "type" : "test"
    },
    {
      "c99name" : "OneWayTestingTests",
      "module_type" : "SwiftTarget",
      "name" : "OneWayTestingTests",
      "path" : "Tests/OneWayTestingTests",
      "sources" : [
        "TestingTests.swift",
        "XCTestTests.swift"
      ],
      "target_dependencies" : [
        "OneWayTesting"
      ],
      "type" : "test"
    },
    {
      "c99name" : "OneWayTesting",
      "module_type" : "SwiftTarget",
      "name" : "OneWayTesting",
      "path" : "Sources/OneWayTesting",
      "product_memberships" : [
        "OneWayTesting"
      ],
      "sources" : [
        "Store+Testing.swift",
        "TestingEnvironment.swift"
      ],
      "target_dependencies" : [
        "OneWay"
      ],
      "type" : "library"
    },
    {
      "c99name" : "OneWay",
      "module_type" : "SwiftTarget",
      "name" : "OneWay",
      "path" : "Sources/OneWay",
      "product_memberships" : [
        "OneWay",
        "OneWayTesting"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/OneWay/PrivacyInfo.xcprivacy",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "AnyEffect.swift",
        "AsyncSequences/AsyncViewStateSequence.swift",
        "Effect.swift",
        "EffectsBuilder.swift",
        "PropertyWrappers/CopyOnWrite.swift",
        "PropertyWrappers/Ignored.swift",
        "PropertyWrappers/Triggered.swift",
        "Reducer.swift",
        "Store.swift",
        "ViewStore.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Done.