The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ReduxUI, reference 1.0.0 (187f4b), with Swift 6.2 for macOS (SPM) on 19 Jun 2025 13:28:44 UTC.

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/gre4ixin/ReduxUI.git
Reference: 1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/gre4ixin/ReduxUI
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at 187f4b3 Merge remote-tracking branch 'origin/main' into main
Cloned https://github.com/gre4ixin/ReduxUI.git
Revision (git rev-parse @):
187f4b3e279c9eef9a2e4474e79f9781d41ab94a
SUCCESS checkout https://github.com/gre4ixin/ReduxUI.git at 1.0.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/gre4ixin/ReduxUI.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.txt
[3/11] Compiling ReduxUI State.swift
[4/11] Compiling ReduxUI Route.swift
[5/11] Compiling ReduxUI Middleware.swift
/Users/admin/builder/spi-builder-workspace/Sources/ReduxUI/Middleware.swift:29:53: error: 'AnyPublisher' is only available in macOS 10.15 or newer
20 |
21 | /// Middleware protocol for process your action in background thread
22 | public protocol Middleware {
   |                 `- note: add @available attribute to enclosing protocol
23 |     associatedtype State: AnyState
24 |     associatedtype Action: AnyAction
   :
27 |     /// Return `AnyPublisher` if you want process current action or `nil` if you don't want process it
28 |     /// - Returns: `AnyPublisher` with `MiddlewareAction`
29 |     func execute(_ state: State, action: Action) -> AnyPublisher<MiddlewareAction<Action, Router>, Never>?
   |          |                                          `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
30 |
31 |     /// `TypeErasure`
/Users/admin/builder/spi-builder-workspace/Sources/ReduxUI/Middleware.swift:48:46: error: 'AnyPublisher' is only available in macOS 10.15 or newer
41 |
42 | /// TypeErasure Middleware
43 | public class AnyMiddleware<State: AnyState, Action: AnyAction, Route: AnyRoute>: Middleware {
   |              `- note: add @available attribute to enclosing generic class
44 |     public typealias State = State
45 |     public typealias Action = Action
46 |     public typealias Router = Route
47 |
48 |     private var _execute: (State, Action) -> AnyPublisher<MiddlewareAction<Action, Router>, Never>?
   |                                              `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
49 |
50 |     public init<U: Middleware>(base: U) where U.Action == Action, U.State == State, U.Router == Route {
/Users/admin/builder/spi-builder-workspace/Sources/ReduxUI/Middleware.swift:54:60: error: 'AnyPublisher' is only available in macOS 10.15 or newer
41 |
42 | /// TypeErasure Middleware
43 | public class AnyMiddleware<State: AnyState, Action: AnyAction, Route: AnyRoute>: Middleware {
   |              `- note: add @available attribute to enclosing generic class
44 |     public typealias State = State
45 |     public typealias Action = Action
   :
52 |     }
53 |
54 |     public func execute(_ state: State, action: Action) -> AnyPublisher<MiddlewareAction<Action, Route>, Never>? {
   |                 |                                          `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing instance method
55 |         return _execute(state, action)
56 |     }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/11] Compiling ReduxUI Coordinator.swift
[7/11] Compiling ReduxUI Reducer.swift
[8/11] Emitting module ReduxUI
/Users/admin/builder/spi-builder-workspace/Sources/ReduxUI/Action.swift:15:23: error: 'AnyPublisher' is only available in macOS 10.15 or newer
11 | public protocol AnyAction { }
12 |
13 | public protocol DeferredAction {
   |                 `- note: add @available attribute to enclosing protocol
14 |     associatedtype Action: AnyAction
15 |     func observe() -> AnyPublisher<Action, Never>?
   |          |            `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
16 |
17 |     func eraseToAnyDeferredAction() -> AnyDeferredAction<Action>
/Users/admin/builder/spi-builder-workspace/Sources/ReduxUI/Action.swift:29:33: error: 'AnyPublisher' is only available in macOS 10.15 or newer
24 | }
25 |
26 | public class AnyDeferredAction<ActionType: AnyAction>: DeferredAction {
   |              `- note: add @available attribute to enclosing generic class
27 |     public typealias Action = ActionType
28 |
29 |     private let _observe: () -> AnyPublisher<ActionType, Never>?
   |                                 `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
30 |
31 |     public init<U: DeferredAction>(base: U) where U.Action == ActionType {
/Users/admin/builder/spi-builder-workspace/Sources/ReduxUI/Action.swift:35:30: error: 'AnyPublisher' is only available in macOS 10.15 or newer
24 | }
25 |
26 | public class AnyDeferredAction<ActionType: AnyAction>: DeferredAction {
   |              `- note: add @available attribute to enclosing generic class
27 |     public typealias Action = ActionType
28 |
   :
33 |     }
34 |
35 |     public func observe() -> AnyPublisher<ActionType, Never>? {
   |                 |            `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing instance method
36 |         return _observe()
37 |     }
/Users/admin/builder/spi-builder-workspace/Sources/ReduxUI/Middleware.swift:29:53: error: 'AnyPublisher' is only available in macOS 10.15 or newer
20 |
21 | /// Middleware protocol for process your action in background thread
22 | public protocol Middleware {
   |                 `- note: add @available attribute to enclosing protocol
23 |     associatedtype State: AnyState
24 |     associatedtype Action: AnyAction
   :
27 |     /// Return `AnyPublisher` if you want process current action or `nil` if you don't want process it
28 |     /// - Returns: `AnyPublisher` with `MiddlewareAction`
29 |     func execute(_ state: State, action: Action) -> AnyPublisher<MiddlewareAction<Action, Router>, Never>?
   |          |                                          `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
30 |
31 |     /// `TypeErasure`
/Users/admin/builder/spi-builder-workspace/Sources/ReduxUI/Middleware.swift:48:46: error: 'AnyPublisher' is only available in macOS 10.15 or newer
41 |
42 | /// TypeErasure Middleware
43 | public class AnyMiddleware<State: AnyState, Action: AnyAction, Route: AnyRoute>: Middleware {
   |              `- note: add @available attribute to enclosing generic class
44 |     public typealias State = State
45 |     public typealias Action = Action
46 |     public typealias Router = Route
47 |
48 |     private var _execute: (State, Action) -> AnyPublisher<MiddlewareAction<Action, Router>, Never>?
   |                                              `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
49 |
50 |     public init<U: Middleware>(base: U) where U.Action == Action, U.State == State, U.Router == Route {
/Users/admin/builder/spi-builder-workspace/Sources/ReduxUI/Middleware.swift:54:60: error: 'AnyPublisher' is only available in macOS 10.15 or newer
41 |
42 | /// TypeErasure Middleware
43 | public class AnyMiddleware<State: AnyState, Action: AnyAction, Route: AnyRoute>: Middleware {
   |              `- note: add @available attribute to enclosing generic class
44 |     public typealias State = State
45 |     public typealias Action = Action
   :
52 |     }
53 |
54 |     public func execute(_ state: State, action: Action) -> AnyPublisher<MiddlewareAction<Action, Route>, Never>? {
   |                 |                                          `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing instance method
55 |         return _execute(state, action)
56 |     }
/Users/admin/builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:12:35: error: 'AnyCancellable' is only available in macOS 10.15 or newer
 10 | import Foundation
 11 |
 12 | public typealias CombineBag = Set<AnyCancellable>
    |                  |                `- error: 'AnyCancellable' is only available in macOS 10.15 or newer
    |                  `- note: add @available attribute to enclosing type alias
 13 |
 14 | public class Store<State: AnyState, Action: AnyAction, Router: AnyRoute>: ObservableObject {
/Users/admin/builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:19:6: error: 'Published' is only available in macOS 10.15 or newer
 12 | public typealias CombineBag = Set<AnyCancellable>
 13 |
 14 | public class Store<State: AnyState, Action: AnyAction, Router: AnyRoute>: ObservableObject {
    |              `- note: add @available attribute to enclosing generic class
 15 |
 16 |     ///  Change State from
 17 |     ///
 18 |     ///     public func dispatch(_ action: Action)
 19 |     @Published public private(set) var state: State
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 20 |
 21 |     public var outputReducer: AnyReducerWrapper<Action> {
[9/11] Compiling ReduxUI Action.swift
/Users/admin/builder/spi-builder-workspace/Sources/ReduxUI/Action.swift:15:23: error: 'AnyPublisher' is only available in macOS 10.15 or newer
11 | public protocol AnyAction { }
12 |
13 | public protocol DeferredAction {
   |                 `- note: add @available attribute to enclosing protocol
14 |     associatedtype Action: AnyAction
15 |     func observe() -> AnyPublisher<Action, Never>?
   |          |            `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
16 |
17 |     func eraseToAnyDeferredAction() -> AnyDeferredAction<Action>
/Users/admin/builder/spi-builder-workspace/Sources/ReduxUI/Action.swift:29:33: error: 'AnyPublisher' is only available in macOS 10.15 or newer
24 | }
25 |
26 | public class AnyDeferredAction<ActionType: AnyAction>: DeferredAction {
   |              `- note: add @available attribute to enclosing generic class
27 |     public typealias Action = ActionType
28 |
29 |     private let _observe: () -> AnyPublisher<ActionType, Never>?
   |                                 `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
30 |
31 |     public init<U: DeferredAction>(base: U) where U.Action == ActionType {
/Users/admin/builder/spi-builder-workspace/Sources/ReduxUI/Action.swift:35:30: error: 'AnyPublisher' is only available in macOS 10.15 or newer
24 | }
25 |
26 | public class AnyDeferredAction<ActionType: AnyAction>: DeferredAction {
   |              `- note: add @available attribute to enclosing generic class
27 |     public typealias Action = ActionType
28 |
   :
33 |     }
34 |
35 |     public func observe() -> AnyPublisher<ActionType, Never>? {
   |                 |            `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing instance method
36 |         return _observe()
37 |     }
[10/11] Compiling ReduxUI ReduxUI.swift
[11/11] Compiling ReduxUI Store.swift
/Users/admin/builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:12:35: error: 'AnyCancellable' is only available in macOS 10.15 or newer
 10 | import Foundation
 11 |
 12 | public typealias CombineBag = Set<AnyCancellable>
    |                  |                `- error: 'AnyCancellable' is only available in macOS 10.15 or newer
    |                  `- note: add @available attribute to enclosing type alias
 13 |
 14 | public class Store<State: AnyState, Action: AnyAction, Router: AnyRoute>: ObservableObject {
/Users/admin/builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:19:6: error: 'Published' is only available in macOS 10.15 or newer
 12 | public typealias CombineBag = Set<AnyCancellable>
 13 |
 14 | public class Store<State: AnyState, Action: AnyAction, Router: AnyRoute>: ObservableObject {
    |              `- note: add @available attribute to enclosing generic class
 15 |
 16 |     ///  Change State from
 17 |     ///
 18 |     ///     public func dispatch(_ action: Action)
 19 |     @Published public private(set) var state: State
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 20 |
 21 |     public var outputReducer: AnyReducerWrapper<Action> {
<unknown>:0: error: cannot convert value of type 'KeyPath<Store<State, Action, Router>, State>' to expected argument type 'ReferenceWritableKeyPath<Store<State, Action, Router>, State>'
/Users/admin/builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:43:9: error: setter for 'state' is only available in macOS 10.15 or newer
 12 | public typealias CombineBag = Set<AnyCancellable>
 13 |
 14 | public class Store<State: AnyState, Action: AnyAction, Router: AnyRoute>: ObservableObject {
    |              `- note: add @available attribute to enclosing generic class
 15 |
 16 |     ///  Change State from
    :
 40 |     ///   - coordinator:
 41 |     ///   - reducer: AnyReducer
 42 |     public init(initialState: State, coordinator: AnyCoordinator<Router>, reducer: StoreReducer) {
    |            `- note: add @available attribute to enclosing initializer
 43 |         self.state = initialState
    |         |- error: setter for 'state' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 44 |         self.coordinator = coordinator
 45 |         self.reducer = reducer
/Users/admin/builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:73:25: error: cannot pass as inout because setter for 'state' is only available in macOS 10.15 or newer
 12 | public typealias CombineBag = Set<AnyCancellable>
 13 |
 14 | public class Store<State: AnyState, Action: AnyAction, Router: AnyRoute>: ObservableObject {
    |              `- note: add @available attribute to enclosing generic class
 15 |
 16 |     ///  Change State from
    :
 69 |     /// Calling dispatch with action for processing State
 70 |     /// - Parameter action: AnyAction
 71 |     public func dispatch(_ action: Action) {
    |                 `- note: add @available attribute to enclosing instance method
 72 |         os_unfair_lock_lock(&lock)
 73 |         reducer.reduce(&state, action: action, performRoute: performRoute)
    |                         |- error: cannot pass as inout because setter for 'state' is only available in macOS 10.15 or newer
    |                         `- note: add 'if #available' version check
 74 |         os_unfair_lock_unlock(&lock)
 75 |
/Users/admin/builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:94:14: error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
 12 | public typealias CombineBag = Set<AnyCancellable>
 13 |
 14 | public class Store<State: AnyState, Action: AnyAction, Router: AnyRoute>: ObservableObject {
    |              `- note: add @available attribute to enclosing generic class
 15 |
 16 |     ///  Change State from
    :
 89 |     /// Deferred action runner
 90 |     /// - Parameter action: Erase deferred action and execute them
 91 |     private func runDeferredAction(_ action: AnyDeferredAction<Action>) {
    |                  `- note: add @available attribute to enclosing instance method
 92 |         guard let _action = action.observe() else { return }
 93 |         _action
 94 |             .sink { [weak self] action in
    |              |- error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 95 |                 guard let self = self else { return }
 96 |                 self.dispatch(action)
/Users/admin/builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:97:15: error: 'store(in:)' is only available in macOS 10.15 or newer
 12 | public typealias CombineBag = Set<AnyCancellable>
 13 |
 14 | public class Store<State: AnyState, Action: AnyAction, Router: AnyRoute>: ObservableObject {
    |              `- note: add @available attribute to enclosing generic class
 15 |
 16 |     ///  Change State from
    :
 89 |     /// Deferred action runner
 90 |     /// - Parameter action: Erase deferred action and execute them
 91 |     private func runDeferredAction(_ action: AnyDeferredAction<Action>) {
    |                  `- note: add @available attribute to enclosing instance method
 92 |         guard let _action = action.observe() else { return }
 93 |         _action
    :
 95 |                 guard let self = self else { return }
 96 |                 self.dispatch(action)
 97 |             }.store(in: &middlewareCancellables)
    |               |- error: 'store(in:)' is only available in macOS 10.15 or newer
    |               `- note: add 'if #available' version check
 98 |     }
 99 |
/Users/admin/builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:106:18: error: 'subscribe(on:options:)' is only available in macOS 10.15 or newer
 12 | public typealias CombineBag = Set<AnyCancellable>
 13 |
 14 | public class Store<State: AnyState, Action: AnyAction, Router: AnyRoute>: ObservableObject {
    |              `- note: add @available attribute to enclosing generic class
 15 |
 16 |     ///  Change State from
    :
 98 |     }
 99 |
100 |     private func performAnyMiddlewares(for action: Action) {
    |                  `- note: add @available attribute to enclosing instance method
101 |         /// Check if any middlewares can perform current action
102 |         for middleware in middlewares {
    :
104 |
105 |             future
106 |                 .subscribe(on: queue)
    |                  |- error: 'subscribe(on:options:)' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
107 |                 .receive(on: DispatchQueue.main)
108 |                 .sink(receiveValue: { [weak self] middlewareAction in
/Users/admin/builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:107:18: error: 'receive(on:options:)' is only available in macOS 10.15 or newer
 12 | public typealias CombineBag = Set<AnyCancellable>
 13 |
 14 | public class Store<State: AnyState, Action: AnyAction, Router: AnyRoute>: ObservableObject {
    |              `- note: add @available attribute to enclosing generic class
 15 |
 16 |     ///  Change State from
    :
 98 |     }
 99 |
100 |     private func performAnyMiddlewares(for action: Action) {
    |                  `- note: add @available attribute to enclosing instance method
101 |         /// Check if any middlewares can perform current action
102 |         for middleware in middlewares {
    :
105 |             future
106 |                 .subscribe(on: queue)
107 |                 .receive(on: DispatchQueue.main)
    |                  |- error: 'receive(on:options:)' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
108 |                 .sink(receiveValue: { [weak self] middlewareAction in
109 |                     guard let self = self else { return }
/Users/admin/builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:108:18: error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
 12 | public typealias CombineBag = Set<AnyCancellable>
 13 |
 14 | public class Store<State: AnyState, Action: AnyAction, Router: AnyRoute>: ObservableObject {
    |              `- note: add @available attribute to enclosing generic class
 15 |
 16 |     ///  Change State from
    :
 98 |     }
 99 |
100 |     private func performAnyMiddlewares(for action: Action) {
    |                  `- note: add @available attribute to enclosing instance method
101 |         /// Check if any middlewares can perform current action
102 |         for middleware in middlewares {
    :
106 |                 .subscribe(on: queue)
107 |                 .receive(on: DispatchQueue.main)
108 |                 .sink(receiveValue: { [weak self] middlewareAction in
    |                  |- error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
109 |                     guard let self = self else { return }
110 |                     switch middlewareAction {
/Users/admin/builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:133:18: error: 'store(in:)' is only available in macOS 10.15 or newer
 12 | public typealias CombineBag = Set<AnyCancellable>
 13 |
 14 | public class Store<State: AnyState, Action: AnyAction, Router: AnyRoute>: ObservableObject {
    |              `- note: add @available attribute to enclosing generic class
 15 |
 16 |     ///  Change State from
    :
 98 |     }
 99 |
100 |     private func performAnyMiddlewares(for action: Action) {
    |                  `- note: add @available attribute to enclosing instance method
101 |         /// Check if any middlewares can perform current action
102 |         for middleware in middlewares {
    :
131 |                     }
132 |                 })
133 |                 .store(in: &middlewareCancellables)
    |                  |- error: 'store(in:)' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
134 |         }
135 |     }
/Users/admin/builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:139:13: error: 'Task' is only available in macOS 10.15 or newer
 12 | public typealias CombineBag = Set<AnyCancellable>
 13 |
 14 | public class Store<State: AnyState, Action: AnyAction, Router: AnyRoute>: ObservableObject {
    |              `- note: add @available attribute to enclosing generic class
 15 |
 16 |     ///  Change State from
    :
135 |     }
136 |
137 |     private func performAsyncMiddlewares(for action: Action) {
    |                  `- note: add @available attribute to enclosing instance method
138 |         for asyncMiddleware in asyncMiddlewares {
139 |             Task {
    |             |- error: 'Task' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
140 |                 guard let middlewareAction = await asyncMiddleware.execute(state, action: action) else { return }
141 |                 switch middlewareAction {
/Users/admin/builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:139:13: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
 12 | public typealias CombineBag = Set<AnyCancellable>
 13 |
 14 | public class Store<State: AnyState, Action: AnyAction, Router: AnyRoute>: ObservableObject {
    |              `- note: add @available attribute to enclosing generic class
 15 |
 16 |     ///  Change State from
    :
135 |     }
136 |
137 |     private func performAsyncMiddlewares(for action: Action) {
    |                  `- note: add @available attribute to enclosing instance method
138 |         for asyncMiddleware in asyncMiddlewares {
139 |             Task {
    |             |- error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
140 |                 guard let middlewareAction = await asyncMiddleware.execute(state, action: action) else { return }
141 |                 switch middlewareAction {
/Users/admin/builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:144:27: error: 'MainActor' is only available in macOS 10.15 or newer
 12 | public typealias CombineBag = Set<AnyCancellable>
 13 |
 14 | public class Store<State: AnyState, Action: AnyAction, Router: AnyRoute>: ObservableObject {
    |              `- note: add @available attribute to enclosing generic class
 15 |
 16 |     ///  Change State from
    :
135 |     }
136 |
137 |     private func performAsyncMiddlewares(for action: Action) {
    |                  `- note: add @available attribute to enclosing instance method
138 |         for asyncMiddleware in asyncMiddlewares {
139 |             Task {
    :
142 |                 case .none: break
143 |                 case .performAction(let action):
144 |                     await MainActor.run {
    |                           |- error: 'MainActor' is only available in macOS 10.15 or newer
    |                           `- note: add 'if #available' version check
145 |                         self.dispatch(action)
146 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:144:37: error: 'run(resultType:body:)' is only available in macOS 10.15 or newer
 12 | public typealias CombineBag = Set<AnyCancellable>
 13 |
 14 | public class Store<State: AnyState, Action: AnyAction, Router: AnyRoute>: ObservableObject {
    |              `- note: add @available attribute to enclosing generic class
 15 |
 16 |     ///  Change State from
    :
135 |     }
136 |
137 |     private func performAsyncMiddlewares(for action: Action) {
    |                  `- note: add @available attribute to enclosing instance method
138 |         for asyncMiddleware in asyncMiddlewares {
139 |             Task {
    :
142 |                 case .none: break
143 |                 case .performAction(let action):
144 |                     await MainActor.run {
    |                                     |- error: 'run(resultType:body:)' is only available in macOS 10.15 or newer
    |                                     `- note: add 'if #available' version check
145 |                         self.dispatch(action)
146 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:148:27: error: 'MainActor' is only available in macOS 10.15 or newer
 12 | public typealias CombineBag = Set<AnyCancellable>
 13 |
 14 | public class Store<State: AnyState, Action: AnyAction, Router: AnyRoute>: ObservableObject {
    |              `- note: add @available attribute to enclosing generic class
 15 |
 16 |     ///  Change State from
    :
135 |     }
136 |
137 |     private func performAsyncMiddlewares(for action: Action) {
    |                  `- note: add @available attribute to enclosing instance method
138 |         for asyncMiddleware in asyncMiddlewares {
139 |             Task {
    :
146 |                     }
147 |                 case .performRoute(let route):
148 |                     await MainActor.run(body: {
    |                           |- error: 'MainActor' is only available in macOS 10.15 or newer
    |                           `- note: add 'if #available' version check
149 |                         self.route(route)
150 |                     })
/Users/admin/builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:148:37: error: 'run(resultType:body:)' is only available in macOS 10.15 or newer
 12 | public typealias CombineBag = Set<AnyCancellable>
 13 |
 14 | public class Store<State: AnyState, Action: AnyAction, Router: AnyRoute>: ObservableObject {
    |              `- note: add @available attribute to enclosing generic class
 15 |
 16 |     ///  Change State from
    :
135 |     }
136 |
137 |     private func performAsyncMiddlewares(for action: Action) {
    |                  `- note: add @available attribute to enclosing instance method
138 |         for asyncMiddleware in asyncMiddlewares {
139 |             Task {
    :
146 |                     }
147 |                 case .performRoute(let route):
148 |                     await MainActor.run(body: {
    |                                     |- error: 'run(resultType:body:)' is only available in macOS 10.15 or newer
    |                                     `- note: add 'if #available' version check
149 |                         self.route(route)
150 |                     })
/Users/admin/builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:152:27: error: 'MainActor' is only available in macOS 10.15 or newer
 12 | public typealias CombineBag = Set<AnyCancellable>
 13 |
 14 | public class Store<State: AnyState, Action: AnyAction, Router: AnyRoute>: ObservableObject {
    |              `- note: add @available attribute to enclosing generic class
 15 |
 16 |     ///  Change State from
    :
135 |     }
136 |
137 |     private func performAsyncMiddlewares(for action: Action) {
    |                  `- note: add @available attribute to enclosing instance method
138 |         for asyncMiddleware in asyncMiddlewares {
139 |             Task {
    :
150 |                     })
151 |                 case .performDeferredAction(let anyDeferredAction):
152 |                     await MainActor.run(body: {
    |                           |- error: 'MainActor' is only available in macOS 10.15 or newer
    |                           `- note: add 'if #available' version check
153 |                         self.runDeferredAction(anyDeferredAction)
154 |                     })
/Users/admin/builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:152:37: error: 'run(resultType:body:)' is only available in macOS 10.15 or newer
 12 | public typealias CombineBag = Set<AnyCancellable>
 13 |
 14 | public class Store<State: AnyState, Action: AnyAction, Router: AnyRoute>: ObservableObject {
    |              `- note: add @available attribute to enclosing generic class
 15 |
 16 |     ///  Change State from
    :
135 |     }
136 |
137 |     private func performAsyncMiddlewares(for action: Action) {
    |                  `- note: add @available attribute to enclosing instance method
138 |         for asyncMiddleware in asyncMiddlewares {
139 |             Task {
    :
150 |                     })
151 |                 case .performDeferredAction(let anyDeferredAction):
152 |                     await MainActor.run(body: {
    |                                     |- error: 'run(resultType:body:)' is only available in macOS 10.15 or newer
    |                                     `- note: add 'if #available' version check
153 |                         self.runDeferredAction(anyDeferredAction)
154 |                     })
/Users/admin/builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:156:27: error: 'MainActor' is only available in macOS 10.15 or newer
 12 | public typealias CombineBag = Set<AnyCancellable>
 13 |
 14 | public class Store<State: AnyState, Action: AnyAction, Router: AnyRoute>: ObservableObject {
    |              `- note: add @available attribute to enclosing generic class
 15 |
 16 |     ///  Change State from
    :
135 |     }
136 |
137 |     private func performAsyncMiddlewares(for action: Action) {
    |                  `- note: add @available attribute to enclosing instance method
138 |         for asyncMiddleware in asyncMiddlewares {
139 |             Task {
    :
154 |                     })
155 |                 case .multiple(let actionArray):
156 |                     await MainActor.run(body: {
    |                           |- error: 'MainActor' is only available in macOS 10.15 or newer
    |                           `- note: add 'if #available' version check
157 |                         actionArray.forEach({
158 |                             switch $0 {
/Users/admin/builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:156:37: error: 'run(resultType:body:)' is only available in macOS 10.15 or newer
 12 | public typealias CombineBag = Set<AnyCancellable>
 13 |
 14 | public class Store<State: AnyState, Action: AnyAction, Router: AnyRoute>: ObservableObject {
    |              `- note: add @available attribute to enclosing generic class
 15 |
 16 |     ///  Change State from
    :
135 |     }
136 |
137 |     private func performAsyncMiddlewares(for action: Action) {
    |                  `- note: add @available attribute to enclosing instance method
138 |         for asyncMiddleware in asyncMiddlewares {
139 |             Task {
    :
154 |                     })
155 |                 case .multiple(let actionArray):
156 |                     await MainActor.run(body: {
    |                                     |- error: 'run(resultType:body:)' is only available in macOS 10.15 or newer
    |                                     `- note: add 'if #available' version check
157 |                         actionArray.forEach({
158 |                             switch $0 {
/Users/admin/builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:140:46: warning: capture of non-sendable type 'Action.Type' in an isolated closure; this is an error in the Swift 6 language mode
138 |         for asyncMiddleware in asyncMiddlewares {
139 |             Task {
140 |                 guard let middlewareAction = await asyncMiddleware.execute(state, action: action) else { return }
    |                                              `- warning: capture of non-sendable type 'Action.Type' in an isolated closure; this is an error in the Swift 6 language mode
141 |                 switch middlewareAction {
142 |                 case .none: break
/Users/admin/builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:140:46: warning: capture of non-sendable type 'Router.Type' in an isolated closure; this is an error in the Swift 6 language mode
138 |         for asyncMiddleware in asyncMiddlewares {
139 |             Task {
140 |                 guard let middlewareAction = await asyncMiddleware.execute(state, action: action) else { return }
    |                                              `- warning: capture of non-sendable type 'Router.Type' in an isolated closure; this is an error in the Swift 6 language mode
141 |                 switch middlewareAction {
142 |                 case .none: break
/Users/admin/builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:140:68: warning: capture of non-sendable type 'State.Type' in an isolated closure; this is an error in the Swift 6 language mode
138 |         for asyncMiddleware in asyncMiddlewares {
139 |             Task {
140 |                 guard let middlewareAction = await asyncMiddleware.execute(state, action: action) else { return }
    |                                                                    `- warning: capture of non-sendable type 'State.Type' in an isolated closure; this is an error in the Swift 6 language mode
141 |                 switch middlewareAction {
142 |                 case .none: break
/Users/admin/builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:138:13: warning: capture of non-sendable type 'State.Type' in an isolated closure; this is an error in the Swift 6 language mode
136 |
137 |     private func performAsyncMiddlewares(for action: Action) {
138 |         for asyncMiddleware in asyncMiddlewares {
    |             `- warning: capture of non-sendable type 'State.Type' in an isolated closure; this is an error in the Swift 6 language mode
139 |             Task {
140 |                 guard let middlewareAction = await asyncMiddleware.execute(state, action: action) else { return }
/Users/admin/builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:138:13: warning: capture of non-sendable type 'Action.Type' in an isolated closure; this is an error in the Swift 6 language mode
136 |
137 |     private func performAsyncMiddlewares(for action: Action) {
138 |         for asyncMiddleware in asyncMiddlewares {
    |             `- warning: capture of non-sendable type 'Action.Type' in an isolated closure; this is an error in the Swift 6 language mode
139 |             Task {
140 |                 guard let middlewareAction = await asyncMiddleware.execute(state, action: action) else { return }
/Users/admin/builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:138:13: warning: capture of non-sendable type 'Router.Type' in an isolated closure; this is an error in the Swift 6 language mode
136 |
137 |     private func performAsyncMiddlewares(for action: Action) {
138 |         for asyncMiddleware in asyncMiddlewares {
    |             `- warning: capture of non-sendable type 'Router.Type' in an isolated closure; this is an error in the Swift 6 language mode
139 |             Task {
140 |                 guard let middlewareAction = await asyncMiddleware.execute(state, action: action) else { return }
/Users/admin/builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:145:30: warning: capture of non-sendable type 'Action.Type' in an isolated closure; this is an error in the Swift 6 language mode
143 |                 case .performAction(let action):
144 |                     await MainActor.run {
145 |                         self.dispatch(action)
    |                              `- warning: capture of non-sendable type 'Action.Type' in an isolated closure; this is an error in the Swift 6 language mode
146 |                     }
147 |                 case .performRoute(let route):
/Users/admin/builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:145:25: warning: capture of non-sendable type 'State.Type' in an isolated closure; this is an error in the Swift 6 language mode
143 |                 case .performAction(let action):
144 |                     await MainActor.run {
145 |                         self.dispatch(action)
    |                         `- warning: capture of non-sendable type 'State.Type' in an isolated closure; this is an error in the Swift 6 language mode
146 |                     }
147 |                 case .performRoute(let route):
/Users/admin/builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:145:25: warning: capture of non-sendable type 'Router.Type' in an isolated closure; this is an error in the Swift 6 language mode
143 |                 case .performAction(let action):
144 |                     await MainActor.run {
145 |                         self.dispatch(action)
    |                         `- warning: capture of non-sendable type 'Router.Type' in an isolated closure; this is an error in the Swift 6 language mode
146 |                     }
147 |                 case .performRoute(let route):
/Users/admin/builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:137:18: warning: capture of non-sendable type 'State.Type' in an isolated closure; this is an error in the Swift 6 language mode
135 |     }
136 |
137 |     private func performAsyncMiddlewares(for action: Action) {
    |                  `- warning: capture of non-sendable type 'State.Type' in an isolated closure; this is an error in the Swift 6 language mode
138 |         for asyncMiddleware in asyncMiddlewares {
139 |             Task {
/Users/admin/builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:137:18: warning: capture of non-sendable type 'Action.Type' in an isolated closure; this is an error in the Swift 6 language mode
135 |     }
136 |
137 |     private func performAsyncMiddlewares(for action: Action) {
    |                  `- warning: capture of non-sendable type 'Action.Type' in an isolated closure; this is an error in the Swift 6 language mode
138 |         for asyncMiddleware in asyncMiddlewares {
139 |             Task {
/Users/admin/builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:137:18: warning: capture of non-sendable type 'Router.Type' in an isolated closure; this is an error in the Swift 6 language mode
135 |     }
136 |
137 |     private func performAsyncMiddlewares(for action: Action) {
    |                  `- warning: capture of non-sendable type 'Router.Type' in an isolated closure; this is an error in the Swift 6 language mode
138 |         for asyncMiddleware in asyncMiddlewares {
139 |             Task {
/Users/admin/builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:149:30: warning: capture of non-sendable type 'Router.Type' in an isolated closure; this is an error in the Swift 6 language mode
147 |                 case .performRoute(let route):
148 |                     await MainActor.run(body: {
149 |                         self.route(route)
    |                              `- warning: capture of non-sendable type 'Router.Type' in an isolated closure; this is an error in the Swift 6 language mode
150 |                     })
151 |                 case .performDeferredAction(let anyDeferredAction):
/Users/admin/builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:149:25: warning: capture of non-sendable type 'State.Type' in an isolated closure; this is an error in the Swift 6 language mode
147 |                 case .performRoute(let route):
148 |                     await MainActor.run(body: {
149 |                         self.route(route)
    |                         `- warning: capture of non-sendable type 'State.Type' in an isolated closure; this is an error in the Swift 6 language mode
150 |                     })
151 |                 case .performDeferredAction(let anyDeferredAction):
/Users/admin/builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:149:25: warning: capture of non-sendable type 'Action.Type' in an isolated closure; this is an error in the Swift 6 language mode
147 |                 case .performRoute(let route):
148 |                     await MainActor.run(body: {
149 |                         self.route(route)
    |                         `- warning: capture of non-sendable type 'Action.Type' in an isolated closure; this is an error in the Swift 6 language mode
150 |                     })
151 |                 case .performDeferredAction(let anyDeferredAction):
/Users/admin/builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:137:18: warning: capture of non-sendable type 'State.Type' in an isolated closure; this is an error in the Swift 6 language mode
135 |     }
136 |
137 |     private func performAsyncMiddlewares(for action: Action) {
    |                  `- warning: capture of non-sendable type 'State.Type' in an isolated closure; this is an error in the Swift 6 language mode
138 |         for asyncMiddleware in asyncMiddlewares {
139 |             Task {
/Users/admin/builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:137:18: warning: capture of non-sendable type 'Action.Type' in an isolated closure; this is an error in the Swift 6 language mode
135 |     }
136 |
137 |     private func performAsyncMiddlewares(for action: Action) {
    |                  `- warning: capture of non-sendable type 'Action.Type' in an isolated closure; this is an error in the Swift 6 language mode
138 |         for asyncMiddleware in asyncMiddlewares {
139 |             Task {
/Users/admin/builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:137:18: warning: capture of non-sendable type 'Router.Type' in an isolated closure; this is an error in the Swift 6 language mode
135 |     }
136 |
137 |     private func performAsyncMiddlewares(for action: Action) {
    |                  `- warning: capture of non-sendable type 'Router.Type' in an isolated closure; this is an error in the Swift 6 language mode
138 |         for asyncMiddleware in asyncMiddlewares {
139 |             Task {
/Users/admin/builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:153:30: warning: capture of non-sendable type 'Action.Type' in an isolated closure; this is an error in the Swift 6 language mode
151 |                 case .performDeferredAction(let anyDeferredAction):
152 |                     await MainActor.run(body: {
153 |                         self.runDeferredAction(anyDeferredAction)
    |                              `- warning: capture of non-sendable type 'Action.Type' in an isolated closure; this is an error in the Swift 6 language mode
154 |                     })
155 |                 case .multiple(let actionArray):
/Users/admin/builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:153:25: warning: capture of non-sendable type 'State.Type' in an isolated closure; this is an error in the Swift 6 language mode
151 |                 case .performDeferredAction(let anyDeferredAction):
152 |                     await MainActor.run(body: {
153 |                         self.runDeferredAction(anyDeferredAction)
    |                         `- warning: capture of non-sendable type 'State.Type' in an isolated closure; this is an error in the Swift 6 language mode
154 |                     })
155 |                 case .multiple(let actionArray):
/Users/admin/builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:153:25: warning: capture of non-sendable type 'Router.Type' in an isolated closure; this is an error in the Swift 6 language mode
151 |                 case .performDeferredAction(let anyDeferredAction):
152 |                     await MainActor.run(body: {
153 |                         self.runDeferredAction(anyDeferredAction)
    |                         `- warning: capture of non-sendable type 'Router.Type' in an isolated closure; this is an error in the Swift 6 language mode
154 |                     })
155 |                 case .multiple(let actionArray):
/Users/admin/builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:137:18: warning: capture of non-sendable type 'State.Type' in an isolated closure; this is an error in the Swift 6 language mode
135 |     }
136 |
137 |     private func performAsyncMiddlewares(for action: Action) {
    |                  `- warning: capture of non-sendable type 'State.Type' in an isolated closure; this is an error in the Swift 6 language mode
138 |         for asyncMiddleware in asyncMiddlewares {
139 |             Task {
/Users/admin/builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:137:18: warning: capture of non-sendable type 'Action.Type' in an isolated closure; this is an error in the Swift 6 language mode
135 |     }
136 |
137 |     private func performAsyncMiddlewares(for action: Action) {
    |                  `- warning: capture of non-sendable type 'Action.Type' in an isolated closure; this is an error in the Swift 6 language mode
138 |         for asyncMiddleware in asyncMiddlewares {
139 |             Task {
/Users/admin/builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:137:18: warning: capture of non-sendable type 'Router.Type' in an isolated closure; this is an error in the Swift 6 language mode
135 |     }
136 |
137 |     private func performAsyncMiddlewares(for action: Action) {
    |                  `- warning: capture of non-sendable type 'Router.Type' in an isolated closure; this is an error in the Swift 6 language mode
138 |         for asyncMiddleware in asyncMiddlewares {
139 |             Task {
/Users/admin/builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:157:37: warning: capture of non-sendable type 'Action.Type' in an isolated closure; this is an error in the Swift 6 language mode
155 |                 case .multiple(let actionArray):
156 |                     await MainActor.run(body: {
157 |                         actionArray.forEach({
    |                                     `- warning: capture of non-sendable type 'Action.Type' in an isolated closure; this is an error in the Swift 6 language mode
158 |                             switch $0 {
159 |                             case .performDeferredAction(let anyDeferredAction):
/Users/admin/builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:157:37: warning: capture of non-sendable type 'Router.Type' in an isolated closure; this is an error in the Swift 6 language mode
155 |                 case .multiple(let actionArray):
156 |                     await MainActor.run(body: {
157 |                         actionArray.forEach({
    |                                     `- warning: capture of non-sendable type 'Router.Type' in an isolated closure; this is an error in the Swift 6 language mode
158 |                             switch $0 {
159 |                             case .performDeferredAction(let anyDeferredAction):
/Users/admin/builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:155:36: warning: capture of non-sendable type 'Action.Type' in an isolated closure; this is an error in the Swift 6 language mode
153 |                         self.runDeferredAction(anyDeferredAction)
154 |                     })
155 |                 case .multiple(let actionArray):
    |                                    `- warning: capture of non-sendable type 'Action.Type' in an isolated closure; this is an error in the Swift 6 language mode
156 |                     await MainActor.run(body: {
157 |                         actionArray.forEach({
/Users/admin/builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:155:36: warning: capture of non-sendable type 'Router.Type' in an isolated closure; this is an error in the Swift 6 language mode
153 |                         self.runDeferredAction(anyDeferredAction)
154 |                     })
155 |                 case .multiple(let actionArray):
    |                                    `- warning: capture of non-sendable type 'Router.Type' in an isolated closure; this is an error in the Swift 6 language mode
156 |                     await MainActor.run(body: {
157 |                         actionArray.forEach({
/Users/admin/builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:137:18: warning: capture of non-sendable type 'State.Type' in an isolated closure; this is an error in the Swift 6 language mode
135 |     }
136 |
137 |     private func performAsyncMiddlewares(for action: Action) {
    |                  `- warning: capture of non-sendable type 'State.Type' in an isolated closure; this is an error in the Swift 6 language mode
138 |         for asyncMiddleware in asyncMiddlewares {
139 |             Task {
BUILD FAILURE 6.2 macosSpm