Build Information
Failed to build ReduxUI with Swift 5.9 for macOS (SPM).
Build Command
Build command unavailable
Build Log
========================================
RunAll
========================================
Builder version: 4.27.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/gre4ixin/ReduxUI.git
Reference: main
Initialized empty Git repository in /Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/gre4ixin/ReduxUI
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 72698ce Update README.md
Cloned https://github.com/gre4ixin/ReduxUI.git
Revision (git rev-parse @):
72698ce97526741601f7da875497d55ecbb58dee
SUCCESS checkout https://github.com/gre4ixin/ReduxUI.git at main
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "reduxui",
"name": "ReduxUI",
"url": "https://github.com/gre4ixin/ReduxUI.git",
"version": "unspecified",
"path": "/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ReduxUI",
"dependencies": [
]
}
]
}
Fetching https://github.com/gre4ixin/ReduxUI.git
[1/276] Fetching reduxui
Fetched https://github.com/gre4ixin/ReduxUI.git (0.82s)
Creating working copy for https://github.com/gre4ixin/ReduxUI.git
Working copy of https://github.com/gre4ixin/ReduxUI.git resolved at main
warning: '.resolve-product-dependencies': dependency 'reduxui' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.9
Building package at path: $PWD/checkout
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.0.0.app xcrun swift build --arch arm64
Building for debugging...
[1/8] Compiling ReduxUI Route.swift
[2/8] Compiling ReduxUI ReduxUI.swift
[3/8] Compiling ReduxUI State.swift
[4/8] Compiling ReduxUI Middleware.swift
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Middleware.swift:29:53: error: 'AnyPublisher' is only available in macOS 10.15 or newer
func execute(_ state: State, action: Action) -> AnyPublisher<MiddlewareAction<Action, Router>, Never>?
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Middleware.swift:29:10: note: add @available attribute to enclosing instance method
func execute(_ state: State, action: Action) -> AnyPublisher<MiddlewareAction<Action, Router>, Never>?
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Middleware.swift:22:17: note: add @available attribute to enclosing protocol
public protocol Middleware {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Middleware.swift:48:46: error: 'AnyPublisher' is only available in macOS 10.15 or newer
private var _execute: (State, Action) -> AnyPublisher<MiddlewareAction<Action, Router>, Never>?
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Middleware.swift:43:14: note: add @available attribute to enclosing generic class
public class AnyMiddleware<State: AnyState, Action: AnyAction, Route: AnyRoute>: Middleware {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Middleware.swift:54:60: error: 'AnyPublisher' is only available in macOS 10.15 or newer
public func execute(_ state: State, action: Action) -> AnyPublisher<MiddlewareAction<Action, Route>, Never>? {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Middleware.swift:54:17: note: add @available attribute to enclosing instance method
public func execute(_ state: State, action: Action) -> AnyPublisher<MiddlewareAction<Action, Route>, Never>? {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Middleware.swift:43:14: note: add @available attribute to enclosing generic class
public class AnyMiddleware<State: AnyState, Action: AnyAction, Route: AnyRoute>: Middleware {
^
[5/9] Compiling ReduxUI Coordinator.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/9] Compiling ReduxUI Reducer.swift
[7/9] Emitting module ReduxUI
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Action.swift:15:23: error: 'AnyPublisher' is only available in macOS 10.15 or newer
func observe() -> AnyPublisher<Action, Never>?
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Action.swift:15:10: note: add @available attribute to enclosing instance method
func observe() -> AnyPublisher<Action, Never>?
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Action.swift:13:17: note: add @available attribute to enclosing protocol
public protocol DeferredAction {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Action.swift:29:33: error: 'AnyPublisher' is only available in macOS 10.15 or newer
private let _observe: () -> AnyPublisher<ActionType, Never>?
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Action.swift:26:14: note: add @available attribute to enclosing generic class
public class AnyDeferredAction<ActionType: AnyAction>: DeferredAction {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Action.swift:35:30: error: 'AnyPublisher' is only available in macOS 10.15 or newer
public func observe() -> AnyPublisher<ActionType, Never>? {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Action.swift:35:17: note: add @available attribute to enclosing instance method
public func observe() -> AnyPublisher<ActionType, Never>? {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Action.swift:26:14: note: add @available attribute to enclosing generic class
public class AnyDeferredAction<ActionType: AnyAction>: DeferredAction {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Middleware.swift:29:53: error: 'AnyPublisher' is only available in macOS 10.15 or newer
func execute(_ state: State, action: Action) -> AnyPublisher<MiddlewareAction<Action, Router>, Never>?
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Middleware.swift:29:10: note: add @available attribute to enclosing instance method
func execute(_ state: State, action: Action) -> AnyPublisher<MiddlewareAction<Action, Router>, Never>?
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Middleware.swift:22:17: note: add @available attribute to enclosing protocol
public protocol Middleware {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Middleware.swift:48:46: error: 'AnyPublisher' is only available in macOS 10.15 or newer
private var _execute: (State, Action) -> AnyPublisher<MiddlewareAction<Action, Router>, Never>?
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Middleware.swift:43:14: note: add @available attribute to enclosing generic class
public class AnyMiddleware<State: AnyState, Action: AnyAction, Route: AnyRoute>: Middleware {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Middleware.swift:54:60: error: 'AnyPublisher' is only available in macOS 10.15 or newer
public func execute(_ state: State, action: Action) -> AnyPublisher<MiddlewareAction<Action, Route>, Never>? {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Middleware.swift:54:17: note: add @available attribute to enclosing instance method
public func execute(_ state: State, action: Action) -> AnyPublisher<MiddlewareAction<Action, Route>, Never>? {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Middleware.swift:43:14: note: add @available attribute to enclosing generic class
public class AnyMiddleware<State: AnyState, Action: AnyAction, Route: AnyRoute>: Middleware {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:12:35: error: 'AnyCancellable' is only available in macOS 10.15 or newer
public typealias CombineBag = Set<AnyCancellable>
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:19:6: error: 'Published' is only available in macOS 10.15 or newer
@Published public private(set) var state: State
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:14:14: note: add @available attribute to enclosing generic class
public class Store<State: AnyState, Action: AnyAction, Router: AnyRoute>: ObservableObject {
^
<unknown>:0: error: key path value type 'ReferenceWritableKeyPath<Store<State, Action, Router>, State>' cannot be converted to contextual type 'KeyPath<Store<State, Action, Router>, State>'
[8/9] Compiling ReduxUI Action.swift
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Action.swift:15:23: error: 'AnyPublisher' is only available in macOS 10.15 or newer
func observe() -> AnyPublisher<Action, Never>?
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Action.swift:15:10: note: add @available attribute to enclosing instance method
func observe() -> AnyPublisher<Action, Never>?
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Action.swift:13:17: note: add @available attribute to enclosing protocol
public protocol DeferredAction {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Action.swift:29:33: error: 'AnyPublisher' is only available in macOS 10.15 or newer
private let _observe: () -> AnyPublisher<ActionType, Never>?
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Action.swift:26:14: note: add @available attribute to enclosing generic class
public class AnyDeferredAction<ActionType: AnyAction>: DeferredAction {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Action.swift:35:30: error: 'AnyPublisher' is only available in macOS 10.15 or newer
public func observe() -> AnyPublisher<ActionType, Never>? {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Action.swift:35:17: note: add @available attribute to enclosing instance method
public func observe() -> AnyPublisher<ActionType, Never>? {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Action.swift:26:14: note: add @available attribute to enclosing generic class
public class AnyDeferredAction<ActionType: AnyAction>: DeferredAction {
^
[9/9] Compiling ReduxUI Store.swift
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:12:35: error: 'AnyCancellable' is only available in macOS 10.15 or newer
public typealias CombineBag = Set<AnyCancellable>
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:19:6: error: 'Published' is only available in macOS 10.15 or newer
@Published public private(set) var state: State
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:14:14: note: add @available attribute to enclosing generic class
public class Store<State: AnyState, Action: AnyAction, Router: AnyRoute>: ObservableObject {
^
<unknown>:0: error: key path value type 'ReferenceWritableKeyPath<Store<State, Action, Router>, State>' cannot be converted to contextual type 'KeyPath<Store<State, Action, Router>, State>'
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:43:9: error: setter for 'state' is only available in macOS 10.15 or newer
self.state = initialState
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:43:9: note: add 'if #available' version check
self.state = initialState
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:42:12: note: add @available attribute to enclosing initializer
public init(initialState: State, coordinator: AnyCoordinator<Router>, reducer: StoreReducer) {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:14:14: note: add @available attribute to enclosing generic class
public class Store<State: AnyState, Action: AnyAction, Router: AnyRoute>: ObservableObject {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-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
reducer.reduce(&state, action: action, performRoute: performRoute)
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:73:25: note: add 'if #available' version check
reducer.reduce(&state, action: action, performRoute: performRoute)
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:71:17: note: add @available attribute to enclosing instance method
public func dispatch(_ action: Action) {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:14:14: note: add @available attribute to enclosing generic class
public class Store<State: AnyState, Action: AnyAction, Router: AnyRoute>: ObservableObject {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:94:14: error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
.sink { [weak self] action in
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:94:14: note: add 'if #available' version check
.sink { [weak self] action in
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:91:18: note: add @available attribute to enclosing instance method
private func runDeferredAction(_ action: AnyDeferredAction<Action>) {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:14:14: note: add @available attribute to enclosing generic class
public class Store<State: AnyState, Action: AnyAction, Router: AnyRoute>: ObservableObject {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:97:15: error: 'store(in:)' is only available in macOS 10.15 or newer
}.store(in: &middlewareCancellables)
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:97:15: note: add 'if #available' version check
}.store(in: &middlewareCancellables)
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:91:18: note: add @available attribute to enclosing instance method
private func runDeferredAction(_ action: AnyDeferredAction<Action>) {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:14:14: note: add @available attribute to enclosing generic class
public class Store<State: AnyState, Action: AnyAction, Router: AnyRoute>: ObservableObject {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:106:18: error: 'subscribe(on:options:)' is only available in macOS 10.15 or newer
.subscribe(on: queue)
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:106:18: note: add 'if #available' version check
.subscribe(on: queue)
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:100:18: note: add @available attribute to enclosing instance method
private func performAnyMiddlewares(for action: Action) {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:14:14: note: add @available attribute to enclosing generic class
public class Store<State: AnyState, Action: AnyAction, Router: AnyRoute>: ObservableObject {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:107:18: error: 'receive(on:options:)' is only available in macOS 10.15 or newer
.receive(on: DispatchQueue.main)
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:107:18: note: add 'if #available' version check
.receive(on: DispatchQueue.main)
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:100:18: note: add @available attribute to enclosing instance method
private func performAnyMiddlewares(for action: Action) {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:14:14: note: add @available attribute to enclosing generic class
public class Store<State: AnyState, Action: AnyAction, Router: AnyRoute>: ObservableObject {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:108:18: error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
.sink(receiveValue: { [weak self] middlewareAction in
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:108:18: note: add 'if #available' version check
.sink(receiveValue: { [weak self] middlewareAction in
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:100:18: note: add @available attribute to enclosing instance method
private func performAnyMiddlewares(for action: Action) {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:14:14: note: add @available attribute to enclosing generic class
public class Store<State: AnyState, Action: AnyAction, Router: AnyRoute>: ObservableObject {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:133:18: error: 'store(in:)' is only available in macOS 10.15 or newer
.store(in: &middlewareCancellables)
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:133:18: note: add 'if #available' version check
.store(in: &middlewareCancellables)
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:100:18: note: add @available attribute to enclosing instance method
private func performAnyMiddlewares(for action: Action) {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:14:14: note: add @available attribute to enclosing generic class
public class Store<State: AnyState, Action: AnyAction, Router: AnyRoute>: ObservableObject {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:139:13: error: 'Task' is only available in macOS 10.15 or newer
Task {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:139:13: note: add 'if #available' version check
Task {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:137:18: note: add @available attribute to enclosing instance method
private func performAsyncMiddlewares(for action: Action) {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:14:14: note: add @available attribute to enclosing generic class
public class Store<State: AnyState, Action: AnyAction, Router: AnyRoute>: ObservableObject {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:139:13: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
Task {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:139:13: note: add 'if #available' version check
Task {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:137:18: note: add @available attribute to enclosing instance method
private func performAsyncMiddlewares(for action: Action) {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:14:14: note: add @available attribute to enclosing generic class
public class Store<State: AnyState, Action: AnyAction, Router: AnyRoute>: ObservableObject {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:144:27: error: 'MainActor' is only available in macOS 10.15 or newer
await MainActor.run {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:144:27: note: add 'if #available' version check
await MainActor.run {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:137:18: note: add @available attribute to enclosing instance method
private func performAsyncMiddlewares(for action: Action) {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:14:14: note: add @available attribute to enclosing generic class
public class Store<State: AnyState, Action: AnyAction, Router: AnyRoute>: ObservableObject {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:144:37: error: 'run(resultType:body:)' is only available in macOS 10.15 or newer
await MainActor.run {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:144:37: note: add 'if #available' version check
await MainActor.run {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:137:18: note: add @available attribute to enclosing instance method
private func performAsyncMiddlewares(for action: Action) {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:14:14: note: add @available attribute to enclosing generic class
public class Store<State: AnyState, Action: AnyAction, Router: AnyRoute>: ObservableObject {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:148:27: error: 'MainActor' is only available in macOS 10.15 or newer
await MainActor.run(body: {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:148:27: note: add 'if #available' version check
await MainActor.run(body: {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:137:18: note: add @available attribute to enclosing instance method
private func performAsyncMiddlewares(for action: Action) {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:14:14: note: add @available attribute to enclosing generic class
public class Store<State: AnyState, Action: AnyAction, Router: AnyRoute>: ObservableObject {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:148:37: error: 'run(resultType:body:)' is only available in macOS 10.15 or newer
await MainActor.run(body: {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:148:37: note: add 'if #available' version check
await MainActor.run(body: {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:137:18: note: add @available attribute to enclosing instance method
private func performAsyncMiddlewares(for action: Action) {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:14:14: note: add @available attribute to enclosing generic class
public class Store<State: AnyState, Action: AnyAction, Router: AnyRoute>: ObservableObject {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:152:27: error: 'MainActor' is only available in macOS 10.15 or newer
await MainActor.run(body: {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:152:27: note: add 'if #available' version check
await MainActor.run(body: {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:137:18: note: add @available attribute to enclosing instance method
private func performAsyncMiddlewares(for action: Action) {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:14:14: note: add @available attribute to enclosing generic class
public class Store<State: AnyState, Action: AnyAction, Router: AnyRoute>: ObservableObject {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:152:37: error: 'run(resultType:body:)' is only available in macOS 10.15 or newer
await MainActor.run(body: {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:152:37: note: add 'if #available' version check
await MainActor.run(body: {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:137:18: note: add @available attribute to enclosing instance method
private func performAsyncMiddlewares(for action: Action) {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:14:14: note: add @available attribute to enclosing generic class
public class Store<State: AnyState, Action: AnyAction, Router: AnyRoute>: ObservableObject {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:156:27: error: 'MainActor' is only available in macOS 10.15 or newer
await MainActor.run(body: {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:156:27: note: add 'if #available' version check
await MainActor.run(body: {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:137:18: note: add @available attribute to enclosing instance method
private func performAsyncMiddlewares(for action: Action) {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:14:14: note: add @available attribute to enclosing generic class
public class Store<State: AnyState, Action: AnyAction, Router: AnyRoute>: ObservableObject {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:156:37: error: 'run(resultType:body:)' is only available in macOS 10.15 or newer
await MainActor.run(body: {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:156:37: note: add 'if #available' version check
await MainActor.run(body: {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:137:18: note: add @available attribute to enclosing instance method
private func performAsyncMiddlewares(for action: Action) {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:14:14: note: add @available attribute to enclosing generic class
public class Store<State: AnyState, Action: AnyAction, Router: AnyRoute>: ObservableObject {
^
error: fatalError
[0/1] Planning build
Building for debugging...
[1/4] Compiling ReduxUI Middleware.swift
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Middleware.swift:29:53: error: 'AnyPublisher' is only available in macOS 10.15 or newer
func execute(_ state: State, action: Action) -> AnyPublisher<MiddlewareAction<Action, Router>, Never>?
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Middleware.swift:29:10: note: add @available attribute to enclosing instance method
func execute(_ state: State, action: Action) -> AnyPublisher<MiddlewareAction<Action, Router>, Never>?
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Middleware.swift:22:17: note: add @available attribute to enclosing protocol
public protocol Middleware {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Middleware.swift:48:46: error: 'AnyPublisher' is only available in macOS 10.15 or newer
private var _execute: (State, Action) -> AnyPublisher<MiddlewareAction<Action, Router>, Never>?
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Middleware.swift:43:14: note: add @available attribute to enclosing generic class
public class AnyMiddleware<State: AnyState, Action: AnyAction, Route: AnyRoute>: Middleware {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Middleware.swift:54:60: error: 'AnyPublisher' is only available in macOS 10.15 or newer
public func execute(_ state: State, action: Action) -> AnyPublisher<MiddlewareAction<Action, Route>, Never>? {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Middleware.swift:54:17: note: add @available attribute to enclosing instance method
public func execute(_ state: State, action: Action) -> AnyPublisher<MiddlewareAction<Action, Route>, Never>? {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Middleware.swift:43:14: note: add @available attribute to enclosing generic class
public class AnyMiddleware<State: AnyState, Action: AnyAction, Route: AnyRoute>: Middleware {
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/4] Emitting module ReduxUI
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Action.swift:15:23: error: 'AnyPublisher' is only available in macOS 10.15 or newer
func observe() -> AnyPublisher<Action, Never>?
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Action.swift:15:10: note: add @available attribute to enclosing instance method
func observe() -> AnyPublisher<Action, Never>?
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Action.swift:13:17: note: add @available attribute to enclosing protocol
public protocol DeferredAction {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Action.swift:29:33: error: 'AnyPublisher' is only available in macOS 10.15 or newer
private let _observe: () -> AnyPublisher<ActionType, Never>?
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Action.swift:26:14: note: add @available attribute to enclosing generic class
public class AnyDeferredAction<ActionType: AnyAction>: DeferredAction {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Action.swift:35:30: error: 'AnyPublisher' is only available in macOS 10.15 or newer
public func observe() -> AnyPublisher<ActionType, Never>? {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Action.swift:35:17: note: add @available attribute to enclosing instance method
public func observe() -> AnyPublisher<ActionType, Never>? {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Action.swift:26:14: note: add @available attribute to enclosing generic class
public class AnyDeferredAction<ActionType: AnyAction>: DeferredAction {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Middleware.swift:29:53: error: 'AnyPublisher' is only available in macOS 10.15 or newer
func execute(_ state: State, action: Action) -> AnyPublisher<MiddlewareAction<Action, Router>, Never>?
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Middleware.swift:29:10: note: add @available attribute to enclosing instance method
func execute(_ state: State, action: Action) -> AnyPublisher<MiddlewareAction<Action, Router>, Never>?
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Middleware.swift:22:17: note: add @available attribute to enclosing protocol
public protocol Middleware {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Middleware.swift:48:46: error: 'AnyPublisher' is only available in macOS 10.15 or newer
private var _execute: (State, Action) -> AnyPublisher<MiddlewareAction<Action, Router>, Never>?
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Middleware.swift:43:14: note: add @available attribute to enclosing generic class
public class AnyMiddleware<State: AnyState, Action: AnyAction, Route: AnyRoute>: Middleware {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Middleware.swift:54:60: error: 'AnyPublisher' is only available in macOS 10.15 or newer
public func execute(_ state: State, action: Action) -> AnyPublisher<MiddlewareAction<Action, Route>, Never>? {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Middleware.swift:54:17: note: add @available attribute to enclosing instance method
public func execute(_ state: State, action: Action) -> AnyPublisher<MiddlewareAction<Action, Route>, Never>? {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Middleware.swift:43:14: note: add @available attribute to enclosing generic class
public class AnyMiddleware<State: AnyState, Action: AnyAction, Route: AnyRoute>: Middleware {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:12:35: error: 'AnyCancellable' is only available in macOS 10.15 or newer
public typealias CombineBag = Set<AnyCancellable>
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:19:6: error: 'Published' is only available in macOS 10.15 or newer
@Published public private(set) var state: State
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:14:14: note: add @available attribute to enclosing generic class
public class Store<State: AnyState, Action: AnyAction, Router: AnyRoute>: ObservableObject {
^
<unknown>:0: error: key path value type 'ReferenceWritableKeyPath<Store<State, Action, Router>, State>' cannot be converted to contextual type 'KeyPath<Store<State, Action, Router>, State>'
[3/4] Compiling ReduxUI Store.swift
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:12:35: error: 'AnyCancellable' is only available in macOS 10.15 or newer
public typealias CombineBag = Set<AnyCancellable>
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:19:6: error: 'Published' is only available in macOS 10.15 or newer
@Published public private(set) var state: State
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:14:14: note: add @available attribute to enclosing generic class
public class Store<State: AnyState, Action: AnyAction, Router: AnyRoute>: ObservableObject {
^
<unknown>:0: error: key path value type 'ReferenceWritableKeyPath<Store<State, Action, Router>, State>' cannot be converted to contextual type 'KeyPath<Store<State, Action, Router>, State>'
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:43:9: error: setter for 'state' is only available in macOS 10.15 or newer
self.state = initialState
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:43:9: note: add 'if #available' version check
self.state = initialState
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:42:12: note: add @available attribute to enclosing initializer
public init(initialState: State, coordinator: AnyCoordinator<Router>, reducer: StoreReducer) {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:14:14: note: add @available attribute to enclosing generic class
public class Store<State: AnyState, Action: AnyAction, Router: AnyRoute>: ObservableObject {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-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
reducer.reduce(&state, action: action, performRoute: performRoute)
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:73:25: note: add 'if #available' version check
reducer.reduce(&state, action: action, performRoute: performRoute)
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:71:17: note: add @available attribute to enclosing instance method
public func dispatch(_ action: Action) {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:14:14: note: add @available attribute to enclosing generic class
public class Store<State: AnyState, Action: AnyAction, Router: AnyRoute>: ObservableObject {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:94:14: error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
.sink { [weak self] action in
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:94:14: note: add 'if #available' version check
.sink { [weak self] action in
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:91:18: note: add @available attribute to enclosing instance method
private func runDeferredAction(_ action: AnyDeferredAction<Action>) {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:14:14: note: add @available attribute to enclosing generic class
public class Store<State: AnyState, Action: AnyAction, Router: AnyRoute>: ObservableObject {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:97:15: error: 'store(in:)' is only available in macOS 10.15 or newer
}.store(in: &middlewareCancellables)
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:97:15: note: add 'if #available' version check
}.store(in: &middlewareCancellables)
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:91:18: note: add @available attribute to enclosing instance method
private func runDeferredAction(_ action: AnyDeferredAction<Action>) {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:14:14: note: add @available attribute to enclosing generic class
public class Store<State: AnyState, Action: AnyAction, Router: AnyRoute>: ObservableObject {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:106:18: error: 'subscribe(on:options:)' is only available in macOS 10.15 or newer
.subscribe(on: queue)
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:106:18: note: add 'if #available' version check
.subscribe(on: queue)
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:100:18: note: add @available attribute to enclosing instance method
private func performAnyMiddlewares(for action: Action) {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:14:14: note: add @available attribute to enclosing generic class
public class Store<State: AnyState, Action: AnyAction, Router: AnyRoute>: ObservableObject {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:107:18: error: 'receive(on:options:)' is only available in macOS 10.15 or newer
.receive(on: DispatchQueue.main)
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:107:18: note: add 'if #available' version check
.receive(on: DispatchQueue.main)
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:100:18: note: add @available attribute to enclosing instance method
private func performAnyMiddlewares(for action: Action) {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:14:14: note: add @available attribute to enclosing generic class
public class Store<State: AnyState, Action: AnyAction, Router: AnyRoute>: ObservableObject {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:108:18: error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
.sink(receiveValue: { [weak self] middlewareAction in
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:108:18: note: add 'if #available' version check
.sink(receiveValue: { [weak self] middlewareAction in
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:100:18: note: add @available attribute to enclosing instance method
private func performAnyMiddlewares(for action: Action) {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:14:14: note: add @available attribute to enclosing generic class
public class Store<State: AnyState, Action: AnyAction, Router: AnyRoute>: ObservableObject {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:133:18: error: 'store(in:)' is only available in macOS 10.15 or newer
.store(in: &middlewareCancellables)
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:133:18: note: add 'if #available' version check
.store(in: &middlewareCancellables)
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:100:18: note: add @available attribute to enclosing instance method
private func performAnyMiddlewares(for action: Action) {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:14:14: note: add @available attribute to enclosing generic class
public class Store<State: AnyState, Action: AnyAction, Router: AnyRoute>: ObservableObject {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:139:13: error: 'Task' is only available in macOS 10.15 or newer
Task {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:139:13: note: add 'if #available' version check
Task {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:137:18: note: add @available attribute to enclosing instance method
private func performAsyncMiddlewares(for action: Action) {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:14:14: note: add @available attribute to enclosing generic class
public class Store<State: AnyState, Action: AnyAction, Router: AnyRoute>: ObservableObject {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:139:13: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
Task {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:139:13: note: add 'if #available' version check
Task {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:137:18: note: add @available attribute to enclosing instance method
private func performAsyncMiddlewares(for action: Action) {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:14:14: note: add @available attribute to enclosing generic class
public class Store<State: AnyState, Action: AnyAction, Router: AnyRoute>: ObservableObject {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:144:27: error: 'MainActor' is only available in macOS 10.15 or newer
await MainActor.run {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:144:27: note: add 'if #available' version check
await MainActor.run {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:137:18: note: add @available attribute to enclosing instance method
private func performAsyncMiddlewares(for action: Action) {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:14:14: note: add @available attribute to enclosing generic class
public class Store<State: AnyState, Action: AnyAction, Router: AnyRoute>: ObservableObject {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:144:37: error: 'run(resultType:body:)' is only available in macOS 10.15 or newer
await MainActor.run {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:144:37: note: add 'if #available' version check
await MainActor.run {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:137:18: note: add @available attribute to enclosing instance method
private func performAsyncMiddlewares(for action: Action) {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:14:14: note: add @available attribute to enclosing generic class
public class Store<State: AnyState, Action: AnyAction, Router: AnyRoute>: ObservableObject {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:148:27: error: 'MainActor' is only available in macOS 10.15 or newer
await MainActor.run(body: {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:148:27: note: add 'if #available' version check
await MainActor.run(body: {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:137:18: note: add @available attribute to enclosing instance method
private func performAsyncMiddlewares(for action: Action) {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:14:14: note: add @available attribute to enclosing generic class
public class Store<State: AnyState, Action: AnyAction, Router: AnyRoute>: ObservableObject {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:148:37: error: 'run(resultType:body:)' is only available in macOS 10.15 or newer
await MainActor.run(body: {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:148:37: note: add 'if #available' version check
await MainActor.run(body: {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:137:18: note: add @available attribute to enclosing instance method
private func performAsyncMiddlewares(for action: Action) {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:14:14: note: add @available attribute to enclosing generic class
public class Store<State: AnyState, Action: AnyAction, Router: AnyRoute>: ObservableObject {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:152:27: error: 'MainActor' is only available in macOS 10.15 or newer
await MainActor.run(body: {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:152:27: note: add 'if #available' version check
await MainActor.run(body: {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:137:18: note: add @available attribute to enclosing instance method
private func performAsyncMiddlewares(for action: Action) {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:14:14: note: add @available attribute to enclosing generic class
public class Store<State: AnyState, Action: AnyAction, Router: AnyRoute>: ObservableObject {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:152:37: error: 'run(resultType:body:)' is only available in macOS 10.15 or newer
await MainActor.run(body: {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:152:37: note: add 'if #available' version check
await MainActor.run(body: {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:137:18: note: add @available attribute to enclosing instance method
private func performAsyncMiddlewares(for action: Action) {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:14:14: note: add @available attribute to enclosing generic class
public class Store<State: AnyState, Action: AnyAction, Router: AnyRoute>: ObservableObject {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:156:27: error: 'MainActor' is only available in macOS 10.15 or newer
await MainActor.run(body: {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:156:27: note: add 'if #available' version check
await MainActor.run(body: {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:137:18: note: add @available attribute to enclosing instance method
private func performAsyncMiddlewares(for action: Action) {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:14:14: note: add @available attribute to enclosing generic class
public class Store<State: AnyState, Action: AnyAction, Router: AnyRoute>: ObservableObject {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:156:37: error: 'run(resultType:body:)' is only available in macOS 10.15 or newer
await MainActor.run(body: {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:156:37: note: add 'if #available' version check
await MainActor.run(body: {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:137:18: note: add @available attribute to enclosing instance method
private func performAsyncMiddlewares(for action: Action) {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Store.swift:14:14: note: add @available attribute to enclosing generic class
public class Store<State: AnyState, Action: AnyAction, Router: AnyRoute>: ObservableObject {
^
[4/4] Compiling ReduxUI Action.swift
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Action.swift:15:23: error: 'AnyPublisher' is only available in macOS 10.15 or newer
func observe() -> AnyPublisher<Action, Never>?
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Action.swift:15:10: note: add @available attribute to enclosing instance method
func observe() -> AnyPublisher<Action, Never>?
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Action.swift:13:17: note: add @available attribute to enclosing protocol
public protocol DeferredAction {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Action.swift:29:33: error: 'AnyPublisher' is only available in macOS 10.15 or newer
private let _observe: () -> AnyPublisher<ActionType, Never>?
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Action.swift:26:14: note: add @available attribute to enclosing generic class
public class AnyDeferredAction<ActionType: AnyAction>: DeferredAction {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Action.swift:35:30: error: 'AnyPublisher' is only available in macOS 10.15 or newer
public func observe() -> AnyPublisher<ActionType, Never>? {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Action.swift:35:17: note: add @available attribute to enclosing instance method
public func observe() -> AnyPublisher<ActionType, Never>? {
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ReduxUI/Action.swift:26:14: note: add @available attribute to enclosing generic class
public class AnyDeferredAction<ActionType: AnyAction>: DeferredAction {
^
error: fatalError
BUILD FAILURE 5.9 macosSpm