Build Information
Failed to build ReSwiftSaga, reference main (13a9e6), with Swift 6.2 for macOS (SPM) on 13 Oct 2026 09:59:08 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 5.1.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mitsuharu/ReSwift-Saga.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/mitsuharu/ReSwift-Saga
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 13a9e69 Merge pull request #21 from mitsuharu/docs/deprecation-notice
Cloned https://github.com/mitsuharu/ReSwift-Saga.git
Revision (git rev-parse @):
13a9e69483553ba4fd28bb3bc01f993936e8aabd
SUCCESS checkout https://github.com/mitsuharu/ReSwift-Saga.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/mitsuharu/ReSwift-Saga.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64
Building for debugging...
[0/4] Write sources
[2/4] Copying PrivacyInfo.xcprivacy
[3/4] Write swift-version--3CB7CFEC50E0D141.txt
[5/17] Compiling ReSwift State.swift
[6/17] Compiling ReSwift Store.swift
[7/17] Compiling ReSwift Middleware.swift
[8/17] Compiling ReSwift Reducer.swift
[9/17] Compiling ReSwift StoreSubscriber.swift
[10/17] Compiling ReSwift Subscription.swift
[11/17] Compiling ReSwift Synchronized.swift
[12/17] Compiling ReSwift Action.swift
[13/17] Compiling ReSwift DispatchingStoreType.swift
[14/17] Emitting module ReSwift
[15/17] Compiling ReSwift StoreType.swift
[16/17] Compiling ReSwift Coding.swift
[17/17] Compiling ReSwift Assertions.swift
[18/18] Compiling ReSwift TypeHelper.swift
[19/25] Compiling ReSwiftSaga resource_bundle_accessor.swift
[20/25] Compiling ReSwiftSaga Error.swift
[21/25] Compiling ReSwiftSaga Saga.swift
/Users/admin/builder/spi-builder-workspace/Sources/ReSwiftSaga/Bridge.swift:20:27: error: 'PassthroughSubject' is only available in macOS 10.15 or newer
15 | - Action の発行や監視を行う
16 | */
17 | final class Bridge {
| `- note: add '@available' attribute to enclosing class
18 |
19 | static let shared = Bridge()
20 | private let subject = PassthroughSubject<Action, Error>()
| `- error: 'PassthroughSubject' is only available in macOS 10.15 or newer
21 | private var subscriptions = [AnyCancellable]()
22 |
/Users/admin/builder/spi-builder-workspace/Sources/ReSwiftSaga/Bridge.swift:21:34: error: 'AnyCancellable' is only available in macOS 10.15 or newer
15 | - Action の発行や監視を行う
16 | */
17 | final class Bridge {
| `- note: add '@available' attribute to enclosing class
18 |
19 | static let shared = Bridge()
20 | private let subject = PassthroughSubject<Action, Error>()
21 | private var subscriptions = [AnyCancellable]()
| `- error: 'AnyCancellable' is only available in macOS 10.15 or newer
22 |
23 | private init() { }
[22/25] Compiling ReSwiftSaga Effects.swift
/Users/admin/builder/spi-builder-workspace/Sources/ReSwiftSaga/Effects.swift:30:5: error: 'Task' is only available in macOS 10.15 or newer
24 | ```
25 | */
26 | public func put(_ action: Action) async throws {
| `- note: add '@available' attribute to enclosing global function
27 | guard let dispatch = Bridge.shared.dispatch else{
28 | throw SagaError.middlewareFailed(message: "SagaMiddleware has not prepared dispatch.")
29 | }
30 | Task.detached { @MainActor in
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
31 | dispatch(action)
32 | }
/Users/admin/builder/spi-builder-workspace/Sources/ReSwiftSaga/Effects.swift:30:10: error: 'detached(name:priority:operation:)' is only available in macOS 10.15 or newer
24 | ```
25 | */
26 | public func put(_ action: Action) async throws {
| `- note: add '@available' attribute to enclosing global function
27 | guard let dispatch = Bridge.shared.dispatch else{
28 | throw SagaError.middlewareFailed(message: "SagaMiddleware has not prepared dispatch.")
29 | }
30 | Task.detached { @MainActor in
| |- error: 'detached(name:priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
31 | dispatch(action)
32 | }
/Users/admin/builder/spi-builder-workspace/Sources/ReSwiftSaga/Effects.swift:103:5: error: 'Task' is only available in macOS 10.15 or newer
100 | ```
101 | */
102 | public func fork<T>(_ effect: @escaping Saga<T>, _ arg: Action) async rethrows -> Void {
| `- note: add '@available' attribute to enclosing global function
103 | Task.detached{
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
104 | let _ = try await effect(arg)
105 | }
/Users/admin/builder/spi-builder-workspace/Sources/ReSwiftSaga/Effects.swift:103:10: error: 'detached(name:priority:operation:)' is only available in macOS 10.15 or newer
100 | ```
101 | */
102 | public func fork<T>(_ effect: @escaping Saga<T>, _ arg: Action) async rethrows -> Void {
| `- note: add '@available' attribute to enclosing global function
103 | Task.detached{
| |- error: 'detached(name:priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
104 | let _ = try await effect(arg)
105 | }
/Users/admin/builder/spi-builder-workspace/Sources/ReSwiftSaga/Effects.swift:130:22: error: 'withCheckedContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
123 | */
124 | @discardableResult
125 | func take(_ actionType: Action.Type) async -> Action {
| `- note: add '@available' attribute to enclosing global function
126 | if #available(iOS 15, macOS 12, *) {
127 | let action = await Bridge.shared.take(actionType).value
128 | return action
129 | } else {
130 | return await withCheckedContinuation { continuation in
| |- error: 'withCheckedContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
131 | Bridge.shared.take(actionType) { action in
132 | continuation.resume(returning: action)
/Users/admin/builder/spi-builder-workspace/Sources/ReSwiftSaga/Effects.swift:130:47: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/ReSwiftSaga/Effects.swift:130:46: note: expanded code originates here
123 | */
124 | @discardableResult
125 | func take(_ actionType: Action.Type) async -> Action {
| `- note: add '@available' attribute to enclosing global function
126 | if #available(iOS 15, macOS 12, *) {
127 | let action = await Bridge.shared.take(actionType).value
128 | return action
129 | } else {
130 | return await withCheckedContinuation { continuation in
+--- /Users/admin/builder/spi-builder-workspace/Sources/ReSwiftSaga/Effects.swift
|128 |
|129 |
|130 | #isolation
| | `- error: 'isolation()' is only available in macOS 10.15 or newer
+---------------------------------------------------------------------------------
131 | Bridge.shared.take(actionType) { action in
132 | continuation.resume(returning: action)
/Users/admin/builder/spi-builder-workspace/Sources/ReSwiftSaga/Effects.swift:151:5: error: 'Task' is only available in macOS 10.15 or newer
148 | ```
149 | */
150 | public func takeEvery<T>( _ actionType: Action.Type, saga: @escaping Saga<T>) async {
| `- note: add '@available' attribute to enclosing global function
151 | Task.detached {
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
152 | while true {
153 | let action = await take(actionType)
/Users/admin/builder/spi-builder-workspace/Sources/ReSwiftSaga/Effects.swift:151:10: error: 'detached(name:priority:operation:)' is only available in macOS 10.15 or newer
148 | ```
149 | */
150 | public func takeEvery<T>( _ actionType: Action.Type, saga: @escaping Saga<T>) async {
| `- note: add '@available' attribute to enclosing global function
151 | Task.detached {
| |- error: 'detached(name:priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
152 | while true {
153 | let action = await take(actionType)
/Users/admin/builder/spi-builder-workspace/Sources/ReSwiftSaga/Effects.swift:174:5: error: 'Task' is only available in macOS 10.15 or newer
170 | ```
171 | */
172 | public func takeLatest<T>( _ actionType: Action.Type, saga: @escaping Saga<T>) async {
| `- note: add '@available' attribute to enclosing global function
173 | let buffer = Buffer()
174 | Task.detached {
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
175 | while true {
176 | let action = await take(actionType)
/Users/admin/builder/spi-builder-workspace/Sources/ReSwiftSaga/Effects.swift:174:10: error: 'detached(name:priority:operation:)' is only available in macOS 10.15 or newer
170 | ```
171 | */
172 | public func takeLatest<T>( _ actionType: Action.Type, saga: @escaping Saga<T>) async {
| `- note: add '@available' attribute to enclosing global function
173 | let buffer = Buffer()
174 | Task.detached {
| |- error: 'detached(name:priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
175 | while true {
176 | let action = await take(actionType)
/Users/admin/builder/spi-builder-workspace/Sources/ReSwiftSaga/Effects.swift:178:27: error: 'Task' is only available in macOS 10.15 or newer
170 | ```
171 | */
172 | public func takeLatest<T>( _ actionType: Action.Type, saga: @escaping Saga<T>) async {
| `- note: add '@available' attribute to enclosing global function
173 | let buffer = Buffer()
174 | Task.detached {
:
176 | let action = await take(actionType)
177 | buffer.done()
178 | buffer.task = Task.detached{
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
179 | defer { buffer.done() }
180 | let _ = try? await call(saga, action)
/Users/admin/builder/spi-builder-workspace/Sources/ReSwiftSaga/Effects.swift:178:32: error: 'detached(name:priority:operation:)' is only available in macOS 10.15 or newer
170 | ```
171 | */
172 | public func takeLatest<T>( _ actionType: Action.Type, saga: @escaping Saga<T>) async {
| `- note: add '@available' attribute to enclosing global function
173 | let buffer = Buffer()
174 | Task.detached {
:
176 | let action = await take(actionType)
177 | buffer.done()
178 | buffer.task = Task.detached{
| |- error: 'detached(name:priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
179 | defer { buffer.done() }
180 | let _ = try? await call(saga, action)
/Users/admin/builder/spi-builder-workspace/Sources/ReSwiftSaga/Effects.swift:201:5: error: 'Task' is only available in macOS 10.15 or newer
197 | ```
198 | */
199 | public func takeLeading<T>( _ actionType: Action.Type, saga: @escaping Saga<T>) async {
| `- note: add '@available' attribute to enclosing global function
200 | let buffer = Buffer()
201 | Task.detached {
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
202 | while true {
203 | let action = await take(actionType)
/Users/admin/builder/spi-builder-workspace/Sources/ReSwiftSaga/Effects.swift:201:10: error: 'detached(name:priority:operation:)' is only available in macOS 10.15 or newer
197 | ```
198 | */
199 | public func takeLeading<T>( _ actionType: Action.Type, saga: @escaping Saga<T>) async {
| `- note: add '@available' attribute to enclosing global function
200 | let buffer = Buffer()
201 | Task.detached {
| |- error: 'detached(name:priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
202 | while true {
203 | let action = await take(actionType)
/Users/admin/builder/spi-builder-workspace/Sources/ReSwiftSaga/Effects.swift:207:27: error: 'Task' is only available in macOS 10.15 or newer
197 | ```
198 | */
199 | public func takeLeading<T>( _ actionType: Action.Type, saga: @escaping Saga<T>) async {
| `- note: add '@available' attribute to enclosing global function
200 | let buffer = Buffer()
201 | Task.detached {
:
205 | continue
206 | }
207 | buffer.task = Task.detached {
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
208 | defer { buffer.done() }
209 | let _ = try? await call(saga, action)
/Users/admin/builder/spi-builder-workspace/Sources/ReSwiftSaga/Effects.swift:207:32: error: 'detached(name:priority:operation:)' is only available in macOS 10.15 or newer
197 | ```
198 | */
199 | public func takeLeading<T>( _ actionType: Action.Type, saga: @escaping Saga<T>) async {
| `- note: add '@available' attribute to enclosing global function
200 | let buffer = Buffer()
201 | Task.detached {
:
205 | continue
206 | }
207 | buffer.task = Task.detached {
| |- error: 'detached(name:priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
208 | defer { buffer.done() }
209 | let _ = try? await call(saga, action)
[23/25] Compiling ReSwiftSaga Buffer.swift
/Users/admin/builder/spi-builder-workspace/Sources/ReSwiftSaga/Buffer.swift:14:15: error: 'Task' is only available in macOS 10.15 or newer
11 | takeLeading, takeLatest 向けに task を管理する
12 | */
13 | class Buffer {
| `- note: add '@available' attribute to enclosing class
14 | var task: Task<(), Never>? = nil
| `- error: 'Task' is only available in macOS 10.15 or newer
15 |
16 | func done(){
/Users/admin/builder/spi-builder-workspace/Sources/ReSwiftSaga/Buffer.swift:17:20: error: 'cancel()' is only available in macOS 10.15 or newer
11 | takeLeading, takeLatest 向けに task を管理する
12 | */
13 | class Buffer {
| `- note: add '@available' attribute to enclosing class
14 | var task: Task<(), Never>? = nil
15 |
16 | func done(){
| `- note: add '@available' attribute to enclosing instance method
17 | self.task?.cancel()
| |- error: 'cancel()' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
18 | self.task = nil
19 | }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[24/25] Emitting module ReSwiftSaga
/Users/admin/builder/spi-builder-workspace/Sources/ReSwiftSaga/Bridge.swift:20:27: error: 'PassthroughSubject' is only available in macOS 10.15 or newer
15 | - Action の発行や監視を行う
16 | */
17 | final class Bridge {
| `- note: add '@available' attribute to enclosing class
18 |
19 | static let shared = Bridge()
20 | private let subject = PassthroughSubject<Action, Error>()
| `- error: 'PassthroughSubject' is only available in macOS 10.15 or newer
21 | private var subscriptions = [AnyCancellable]()
22 |
/Users/admin/builder/spi-builder-workspace/Sources/ReSwiftSaga/Bridge.swift:21:34: error: 'AnyCancellable' is only available in macOS 10.15 or newer
15 | - Action の発行や監視を行う
16 | */
17 | final class Bridge {
| `- note: add '@available' attribute to enclosing class
18 |
19 | static let shared = Bridge()
20 | private let subject = PassthroughSubject<Action, Error>()
21 | private var subscriptions = [AnyCancellable]()
| `- error: 'AnyCancellable' is only available in macOS 10.15 or newer
22 |
23 | private init() { }
/Users/admin/builder/spi-builder-workspace/Sources/ReSwiftSaga/Bridge.swift:87:41: error: 'Subscribers' is only available in macOS 10.15 or newer
15 | - Action の発行や監視を行う
16 | */
17 | final class Bridge {
| `- note: add '@available' attribute to enclosing class
18 |
19 | static let shared = Bridge()
:
85 | TODO: エラーを投げるかは検討
86 | */
87 | private func complete(_ completion: Subscribers.Completion<Error>){
| | `- error: 'Subscribers' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
88 | switch completion {
89 | case .finished:
/Users/admin/builder/spi-builder-workspace/Sources/ReSwiftSaga/Buffer.swift:14:15: error: 'Task' is only available in macOS 10.15 or newer
11 | takeLeading, takeLatest 向けに task を管理する
12 | */
13 | class Buffer {
| `- note: add '@available' attribute to enclosing class
14 | var task: Task<(), Never>? = nil
| `- error: 'Task' is only available in macOS 10.15 or newer
15 |
16 | func done(){
[25/25] Compiling ReSwiftSaga Bridge.swift
/Users/admin/builder/spi-builder-workspace/Sources/ReSwiftSaga/Bridge.swift:20:27: error: 'PassthroughSubject' is only available in macOS 10.15 or newer
15 | - Action の発行や監視を行う
16 | */
17 | final class Bridge {
| `- note: add '@available' attribute to enclosing class
18 |
19 | static let shared = Bridge()
20 | private let subject = PassthroughSubject<Action, Error>()
| `- error: 'PassthroughSubject' is only available in macOS 10.15 or newer
21 | private var subscriptions = [AnyCancellable]()
22 |
/Users/admin/builder/spi-builder-workspace/Sources/ReSwiftSaga/Bridge.swift:21:34: error: 'AnyCancellable' is only available in macOS 10.15 or newer
15 | - Action の発行や監視を行う
16 | */
17 | final class Bridge {
| `- note: add '@available' attribute to enclosing class
18 |
19 | static let shared = Bridge()
20 | private let subject = PassthroughSubject<Action, Error>()
21 | private var subscriptions = [AnyCancellable]()
| `- error: 'AnyCancellable' is only available in macOS 10.15 or newer
22 |
23 | private init() { }
/Users/admin/builder/spi-builder-workspace/Sources/ReSwiftSaga/Bridge.swift:87:41: error: 'Subscribers' is only available in macOS 10.15 or newer
15 | - Action の発行や監視を行う
16 | */
17 | final class Bridge {
| `- note: add '@available' attribute to enclosing class
18 |
19 | static let shared = Bridge()
:
85 | TODO: エラーを投げるかは検討
86 | */
87 | private func complete(_ completion: Subscribers.Completion<Error>){
| | `- error: 'Subscribers' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
88 | switch completion {
89 | case .finished:
/Users/admin/builder/spi-builder-workspace/Sources/ReSwiftSaga/Bridge.swift:71:26: error: 'AnyCancellable' is only available in macOS 10.15 or newer
15 | - Action の発行や監視を行う
16 | */
17 | final class Bridge {
| `- note: add '@available' attribute to enclosing class
18 |
19 | static let shared = Bridge()
:
66 | iOS 13, 14 向けの実装です。
67 | */
68 | func take(_ actionType: Action.Type, receive: @escaping (_ action: Action) -> Void ){
| `- note: add '@available' attribute to enclosing instance method
69 | // 監視は一度限りで行い、検出後は破棄する
70 | // 破棄しないと withCheckedContinuation で多重呼出の扱いになりクラッシュする
71 | var cancellable: AnyCancellable? = nil
| |- error: 'AnyCancellable' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
72 | cancellable = subject.filter {
73 | type(of: $0) == actionType
/Users/admin/builder/spi-builder-workspace/Sources/ReSwiftSaga/Bridge.swift:72:31: error: 'filter' is only available in macOS 10.15 or newer
15 | - Action の発行や監視を行う
16 | */
17 | final class Bridge {
| `- note: add '@available' attribute to enclosing class
18 |
19 | static let shared = Bridge()
:
66 | iOS 13, 14 向けの実装です。
67 | */
68 | func take(_ actionType: Action.Type, receive: @escaping (_ action: Action) -> Void ){
| `- note: add '@available' attribute to enclosing instance method
69 | // 監視は一度限りで行い、検出後は破棄する
70 | // 破棄しないと withCheckedContinuation で多重呼出の扱いになりクラッシュする
71 | var cancellable: AnyCancellable? = nil
72 | cancellable = subject.filter {
| |- error: 'filter' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
73 | type(of: $0) == actionType
74 | }.sink { [weak self] in
/Users/admin/builder/spi-builder-workspace/Sources/ReSwiftSaga/Bridge.swift:74:11: error: 'sink(receiveCompletion:receiveValue:)' is only available in macOS 10.15 or newer
15 | - Action の発行や監視を行う
16 | */
17 | final class Bridge {
| `- note: add '@available' attribute to enclosing class
18 |
19 | static let shared = Bridge()
:
66 | iOS 13, 14 向けの実装です。
67 | */
68 | func take(_ actionType: Action.Type, receive: @escaping (_ action: Action) -> Void ){
| `- note: add '@available' attribute to enclosing instance method
69 | // 監視は一度限りで行い、検出後は破棄する
70 | // 破棄しないと withCheckedContinuation で多重呼出の扱いになりクラッシュする
:
72 | cancellable = subject.filter {
73 | type(of: $0) == actionType
74 | }.sink { [weak self] in
| |- error: 'sink(receiveCompletion:receiveValue:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
75 | self?.complete($0)
76 | cancellable?.cancel()
Fetching https://github.com/ReSwift/ReSwift
[1/6447] Fetching reswift
Fetched https://github.com/ReSwift/ReSwift from cache (2.04s)
Computing version for https://github.com/ReSwift/ReSwift
Computed https://github.com/ReSwift/ReSwift at 6.1.1 (5.11s)
Creating working copy for https://github.com/ReSwift/ReSwift
Working copy of https://github.com/ReSwift/ReSwift resolved at 6.1.1
BUILD FAILURE 6.2 macosSpm