Build Information
Failed to build ReSwiftSaga, reference main (2d60e2), with Swift 6.3 for macOS (SPM) on 14 Apr 2026 13:28:55 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
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 2d60e2f Merge pull request #20 from mitsuharu/develop
Cloned https://github.com/mitsuharu/ReSwift-Saga.git
Revision (git rev-parse @):
2d60e2f5dec2d828b19c419eab3d72dd9330f501
SUCCESS checkout https://github.com/mitsuharu/ReSwift-Saga.git at main
Fetching https://github.com/ReSwift/ReSwift
[1/6447] Fetching reswift
Fetched https://github.com/ReSwift/ReSwift from cache (1.43s)
Computing version for https://github.com/ReSwift/ReSwift
Computed https://github.com/ReSwift/ReSwift at 6.1.1 (4.63s)
Creating working copy for https://github.com/ReSwift/ReSwift
Working copy of https://github.com/ReSwift/ReSwift resolved at 6.1.1
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"traits": [
"default"
],
"dependencies": [
{
"identity": "reswift-saga",
"name": "ReSwiftSaga",
"url": "https://github.com/mitsuharu/ReSwift-Saga.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ReSwift-Saga",
"traits": [
"default"
],
"dependencies": [
{
"identity": "reswift",
"name": "ReSwift",
"url": "https://github.com/ReSwift/ReSwift",
"version": "6.1.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ReSwift",
"traits": [
"default"
],
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/mitsuharu/ReSwift-Saga.git
[1/415] Fetching reswift-saga
Fetched https://github.com/mitsuharu/ReSwift-Saga.git from cache (0.79s)
Fetching https://github.com/ReSwift/ReSwift from cache
Fetched https://github.com/ReSwift/ReSwift from cache (0.53s)
Computing version for https://github.com/ReSwift/ReSwift
Computed https://github.com/ReSwift/ReSwift at 6.1.1 (0.61s)
Creating working copy for https://github.com/mitsuharu/ReSwift-Saga.git
Working copy of https://github.com/mitsuharu/ReSwift-Saga.git resolved at main (2d60e2f)
Creating working copy for https://github.com/ReSwift/ReSwift
Working copy of https://github.com/ReSwift/ReSwift resolved at 6.1.1
warning: '.resolve-product-dependencies': dependency 'reswift-saga' is not used by any target
Found 1 product dependencies
- ReSwift
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.3
Building package at path: $PWD
https://github.com/mitsuharu/ReSwift-Saga.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/4] Copying PrivacyInfo.xcprivacy
[1/4] Write sources
[3/4] Write swift-version--6988338F2F200930.txt
[5/17] Compiling ReSwift State.swift
[6/17] Compiling ReSwift Store.swift
[7/17] Compiling ReSwift Action.swift
[8/17] Compiling ReSwift DispatchingStoreType.swift
[9/18] Compiling ReSwift StoreSubscriber.swift
[10/18] Compiling ReSwift Assertions.swift
[11/18] Emitting module ReSwift
[12/18] Compiling ReSwift Coding.swift
[13/18] Compiling ReSwift Subscription.swift
[14/18] Compiling ReSwift StoreType.swift
[15/18] Compiling ReSwift Synchronized.swift
[16/18] Compiling ReSwift Middleware.swift
[17/18] Compiling ReSwift Reducer.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()
BUILD FAILURE 6.3 macosSpm