Build Information
Failed to build makata, reference main (17bf6a), with Swift 6.3 for macOS (SPM) on 22 Apr 2026 13:47:07 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/buslo/makata.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/buslo/makata
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 17bf6a4 Add update for initial value.
Cloned https://github.com/buslo/makata.git
Revision (git rev-parse @):
17bf6a4ee96f2587a0792cc1cdcc0d3fa9d52429
SUCCESS checkout https://github.com/buslo/makata.git at main
Fetching https://github.com/snapkit/snapkit.git
Fetching https://github.com/nicklockwood/swiftformat
[1/4269] Fetching snapkit
[898/60386] Fetching snapkit, swiftformat
Fetched https://github.com/snapkit/snapkit.git from cache (1.29s)
[2806/56117] Fetching swiftformat
Fetched https://github.com/nicklockwood/swiftformat from cache (50.78s)
Computing version for https://github.com/nicklockwood/swiftformat
Computed https://github.com/nicklockwood/swiftformat at 0.50.8 (51.60s)
Computing version for https://github.com/snapkit/snapkit.git
Computed https://github.com/snapkit/snapkit.git at 5.6.0 (0.64s)
Creating working copy for https://github.com/nicklockwood/swiftformat
Working copy of https://github.com/nicklockwood/swiftformat resolved at 0.50.8
Creating working copy for https://github.com/snapkit/snapkit.git
Working copy of https://github.com/snapkit/snapkit.git resolved at 5.6.0
========================================
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": "makata",
"name": "makata",
"url": "https://github.com/buslo/makata.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/makata",
"traits": [
"default"
],
"dependencies": [
{
"identity": "snapkit",
"name": "SnapKit",
"url": "https://github.com/snapkit/snapkit.git",
"version": "5.7.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/snapkit",
"traits": [
"default"
],
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/buslo/makata.git
[1/892] Fetching makata
Fetched https://github.com/buslo/makata.git from cache (0.76s)
Fetching https://github.com/snapkit/snapkit.git from cache
Fetched https://github.com/snapkit/snapkit.git from cache (0.55s)
Computing version for https://github.com/snapkit/snapkit.git
Computed https://github.com/snapkit/snapkit.git at 5.7.1 (1.11s)
Creating working copy for https://github.com/buslo/makata.git
Working copy of https://github.com/buslo/makata.git resolved at main (17bf6a4)
Creating working copy for https://github.com/snapkit/snapkit.git
Working copy of https://github.com/snapkit/snapkit.git resolved at 5.7.1
warning: '.resolve-product-dependencies': dependency 'makata' is not used by any target
Found 1 product dependencies
- SnapKit
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.3
Building package at path: $PWD
https://github.com/buslo/makata.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
[1/1] Compiling plugin SwiftFormatPlugin
Building for debugging...
[1/6] Write sources
[5/6] Write swift-version--6988338F2F200930.txt
[7/64] Emitting module SnapKit
[8/67] Compiling makataForm protocol-field-formattable.swift
[9/67] Compiling makataForm protocol-field-transformable.swift
[10/68] Compiling makataForm protocol-formable.swift
/Users/admin/builder/spi-builder-workspace/Sources/makata-form/protocol/protocol-formable.swift:113:13: error: 'Task' is only available in macOS 10.15 or newer
102 | }
103 |
104 | public extension Formable {
| `- note: add '@available' attribute to enclosing extension
105 | func defineSubmit(
| `- note: add '@available' attribute to enclosing instance method
106 | onInvoked: @escaping () -> Void,
107 | onSuccess: (() -> Void)? = nil,
:
111 | onInvoked()
112 |
113 | Task {
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
114 | do {
115 | try await formHandler.submit { shape in
/Users/admin/builder/spi-builder-workspace/Sources/makata-form/protocol/protocol-formable.swift:113:13: error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
102 | }
103 |
104 | public extension Formable {
| `- note: add '@available' attribute to enclosing extension
105 | func defineSubmit(
| `- note: add '@available' attribute to enclosing instance method
106 | onInvoked: @escaping () -> Void,
107 | onSuccess: (() -> Void)? = nil,
:
111 | onInvoked()
112 |
113 | Task {
| |- error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
114 | do {
115 | try await formHandler.submit { shape in
/Users/admin/builder/spi-builder-workspace/Sources/makata-form/protocol/protocol-formable.swift:120:31: error: 'MainActor' is only available in macOS 10.15 or newer
102 | }
103 |
104 | public extension Formable {
| `- note: add '@available' attribute to enclosing extension
105 | func defineSubmit(
| `- note: add '@available' attribute to enclosing instance method
106 | onInvoked: @escaping () -> Void,
107 | onSuccess: (() -> Void)? = nil,
:
118 |
119 | if let onSuccess {
120 | await MainActor.run {
| |- error: 'MainActor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
121 | onSuccess()
122 | }
/Users/admin/builder/spi-builder-workspace/Sources/makata-form/protocol/protocol-formable.swift:120:41: error: 'run(resultType:body:)' is only available in macOS 10.15 or newer
102 | }
103 |
104 | public extension Formable {
| `- note: add '@available' attribute to enclosing extension
105 | func defineSubmit(
| `- note: add '@available' attribute to enclosing instance method
106 | onInvoked: @escaping () -> Void,
107 | onSuccess: (() -> Void)? = nil,
:
118 |
119 | if let onSuccess {
120 | await MainActor.run {
| |- error: 'run(resultType:body:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
121 | onSuccess()
122 | }
/Users/admin/builder/spi-builder-workspace/Sources/makata-form/protocol/protocol-formable.swift:125:27: error: 'MainActor' is only available in macOS 10.15 or newer
102 | }
103 |
104 | public extension Formable {
| `- note: add '@available' attribute to enclosing extension
105 | func defineSubmit(
| `- note: add '@available' attribute to enclosing instance method
106 | onInvoked: @escaping () -> Void,
107 | onSuccess: (() -> Void)? = nil,
:
123 | }
124 | } catch {
125 | await MainActor.run {
| |- error: 'MainActor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
126 | onFailure(error)
127 | }
/Users/admin/builder/spi-builder-workspace/Sources/makata-form/protocol/protocol-formable.swift:125:37: error: 'run(resultType:body:)' is only available in macOS 10.15 or newer
102 | }
103 |
104 | public extension Formable {
| `- note: add '@available' attribute to enclosing extension
105 | func defineSubmit(
| `- note: add '@available' attribute to enclosing instance method
106 | onInvoked: @escaping () -> Void,
107 | onSuccess: (() -> Void)? = nil,
:
123 | }
124 | } catch {
125 | await MainActor.run {
| |- error: 'run(resultType:body:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
126 | onFailure(error)
127 | }
/Users/admin/builder/spi-builder-workspace/Sources/makata-form/protocol/protocol-formable.swift:135:13: error: 'Task' is only available in macOS 10.15 or newer
102 | }
103 |
104 | public extension Formable {
| `- note: add '@available' attribute to enclosing extension
105 | func defineSubmit(
106 | onInvoked: @escaping () -> Void,
:
131 | }
132 |
133 | func defineSubmit(onSuccess: @escaping () -> Void, onFailure: @escaping (Error) -> Void) -> () -> Void {
| `- note: add '@available' attribute to enclosing instance method
134 | return {
135 | Task {
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
136 | do {
137 | try await formHandler.submit { shape in
/Users/admin/builder/spi-builder-workspace/Sources/makata-form/protocol/protocol-formable.swift:135:13: error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
102 | }
103 |
104 | public extension Formable {
| `- note: add '@available' attribute to enclosing extension
105 | func defineSubmit(
106 | onInvoked: @escaping () -> Void,
:
131 | }
132 |
133 | func defineSubmit(onSuccess: @escaping () -> Void, onFailure: @escaping (Error) -> Void) -> () -> Void {
| `- note: add '@available' attribute to enclosing instance method
134 | return {
135 | Task {
| |- error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
136 | do {
137 | try await formHandler.submit { shape in
/Users/admin/builder/spi-builder-workspace/Sources/makata-form/protocol/protocol-formable.swift:141:27: error: 'MainActor' is only available in macOS 10.15 or newer
102 | }
103 |
104 | public extension Formable {
| `- note: add '@available' attribute to enclosing extension
105 | func defineSubmit(
106 | onInvoked: @escaping () -> Void,
:
131 | }
132 |
133 | func defineSubmit(onSuccess: @escaping () -> Void, onFailure: @escaping (Error) -> Void) -> () -> Void {
| `- note: add '@available' attribute to enclosing instance method
134 | return {
135 | Task {
:
139 | }
140 |
141 | await MainActor.run {
| |- error: 'MainActor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
142 | onSuccess()
143 | }
/Users/admin/builder/spi-builder-workspace/Sources/makata-form/protocol/protocol-formable.swift:141:37: error: 'run(resultType:body:)' is only available in macOS 10.15 or newer
102 | }
103 |
104 | public extension Formable {
| `- note: add '@available' attribute to enclosing extension
105 | func defineSubmit(
106 | onInvoked: @escaping () -> Void,
:
131 | }
132 |
133 | func defineSubmit(onSuccess: @escaping () -> Void, onFailure: @escaping (Error) -> Void) -> () -> Void {
| `- note: add '@available' attribute to enclosing instance method
134 | return {
135 | Task {
:
139 | }
140 |
141 | await MainActor.run {
| |- error: 'run(resultType:body:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
142 | onSuccess()
143 | }
/Users/admin/builder/spi-builder-workspace/Sources/makata-form/protocol/protocol-formable.swift:145:27: error: 'MainActor' is only available in macOS 10.15 or newer
102 | }
103 |
104 | public extension Formable {
| `- note: add '@available' attribute to enclosing extension
105 | func defineSubmit(
106 | onInvoked: @escaping () -> Void,
:
131 | }
132 |
133 | func defineSubmit(onSuccess: @escaping () -> Void, onFailure: @escaping (Error) -> Void) -> () -> Void {
| `- note: add '@available' attribute to enclosing instance method
134 | return {
135 | Task {
:
143 | }
144 | } catch {
145 | await MainActor.run {
| |- error: 'MainActor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
146 | onFailure(error)
147 | }
/Users/admin/builder/spi-builder-workspace/Sources/makata-form/protocol/protocol-formable.swift:145:37: error: 'run(resultType:body:)' is only available in macOS 10.15 or newer
102 | }
103 |
104 | public extension Formable {
| `- note: add '@available' attribute to enclosing extension
105 | func defineSubmit(
106 | onInvoked: @escaping () -> Void,
:
131 | }
132 |
133 | func defineSubmit(onSuccess: @escaping () -> Void, onFailure: @escaping (Error) -> Void) -> () -> Void {
| `- note: add '@available' attribute to enclosing instance method
134 | return {
135 | Task {
:
143 | }
144 | } catch {
145 | await MainActor.run {
| |- error: 'run(resultType:body:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
146 | onFailure(error)
147 | }
[11/68] Compiling SnapKit LayoutConstraintItem.swift
[12/68] Compiling SnapKit Typealiases.swift
[13/68] Compiling SnapKit UILayoutSupport+Extensions.swift
[14/68] Compiling SnapKit ConstraintDSL.swift
[15/68] Compiling SnapKit ConstraintDescription.swift
[16/68] Compiling SnapKit ConstraintDirectionalInsetTarget.swift
[17/68] Compiling SnapKit ConstraintDirectionalInsets.swift
[18/68] Compiling makataInteraction protocol-lifetimeable.swift
[19/68] Compiling makataInteraction protocol-hookable+routeable.swift
[20/68] Compiling makataInteraction protocol-loadable.swift
/Users/admin/builder/spi-builder-workspace/Sources/makata-interaction/protocol/protocol-loadable.swift:24:16: error: 'Task' is only available in macOS 10.15 or newer
14 | }
15 |
16 | public extension Loadable {
| `- note: add '@available' attribute to enclosing extension
17 | func invalidate() async {
| `- note: add '@available' attribute to enclosing instance method
18 | let previousData = stateHandler.current.value
19 | await updateState(to: .pending(previousData))
:
22 | let newData = try await loadData(previousData: previousData)
23 |
24 | if Task.isCancelled {
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
25 | return
26 | }
/Users/admin/builder/spi-builder-workspace/Sources/makata-interaction/protocol/protocol-loadable.swift:24:21: error: 'isCancelled' is only available in macOS 10.15 or newer
14 | }
15 |
16 | public extension Loadable {
| `- note: add '@available' attribute to enclosing extension
17 | func invalidate() async {
| `- note: add '@available' attribute to enclosing instance method
18 | let previousData = stateHandler.current.value
19 | await updateState(to: .pending(previousData))
:
22 | let newData = try await loadData(previousData: previousData)
23 |
24 | if Task.isCancelled {
| |- error: 'isCancelled' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
25 | return
26 | }
/Users/admin/builder/spi-builder-workspace/Sources/makata-interaction/protocol/protocol-loadable.swift:30:16: error: 'Task' is only available in macOS 10.15 or newer
14 | }
15 |
16 | public extension Loadable {
| `- note: add '@available' attribute to enclosing extension
17 | func invalidate() async {
| `- note: add '@available' attribute to enclosing instance method
18 | let previousData = stateHandler.current.value
19 | await updateState(to: .pending(previousData))
:
28 | await updateState(to: .success(newData))
29 | } catch {
30 | if Task.isCancelled {
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
31 | return
32 | }
/Users/admin/builder/spi-builder-workspace/Sources/makata-interaction/protocol/protocol-loadable.swift:30:21: error: 'isCancelled' is only available in macOS 10.15 or newer
14 | }
15 |
16 | public extension Loadable {
| `- note: add '@available' attribute to enclosing extension
17 | func invalidate() async {
| `- note: add '@available' attribute to enclosing instance method
18 | let previousData = stateHandler.current.value
19 | await updateState(to: .pending(previousData))
:
28 | await updateState(to: .success(newData))
29 | } catch {
30 | if Task.isCancelled {
| |- error: 'isCancelled' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
31 | return
32 | }
[21/68] Compiling SnapKit ConstraintOffsetTarget.swift
[22/68] Compiling SnapKit ConstraintPriority.swift
[23/68] Compiling SnapKit ConstraintPriorityTarget.swift
[24/68] Compiling SnapKit ConstraintRelatableTarget.swift
[25/69] Compiling SnapKit ConstraintInsetTarget.swift
[26/69] Compiling SnapKit ConstraintInsets.swift
[27/69] Compiling SnapKit ConstraintItem.swift
[28/69] Compiling SnapKit ConstraintLayoutGuide+Extensions.swift
[29/69] Compiling SnapKit ConstraintLayoutGuide.swift
[30/69] Compiling SnapKit ConstraintLayoutGuideDSL.swift
[31/69] Compiling SnapKit ConstraintLayoutSupport.swift
[32/69] Compiling SnapKit ConstraintLayoutSupportDSL.swift
[33/69] Compiling SnapKit ConstraintMaker.swift
[34/69] Compiling SnapKit ConstraintMakerEditable.swift
[35/69] Compiling SnapKit ConstraintMakerExtendable.swift
[36/69] Compiling SnapKit ConstraintMakerFinalizable.swift
[37/69] Compiling SnapKit Constraint.swift
[38/69] Compiling SnapKit ConstraintAttributes.swift
[39/69] Compiling SnapKit ConstraintConfig.swift
[40/69] Compiling SnapKit ConstraintConstantTarget.swift
[41/69] Compiling SnapKit ConstraintRelation.swift
[42/69] Compiling SnapKit ConstraintView+Extensions.swift
[43/69] Compiling SnapKit ConstraintView.swift
[44/69] Compiling makataInteraction protocol-routeable.swift
[45/69] Compiling makataInteraction protocol-hookable.swift
[46/69] Compiling SnapKit ConstraintMakerPrioritizable.swift
[47/69] Compiling SnapKit ConstraintMakerRelatable+Extensions.swift
[48/69] Compiling makataInteraction protocol-assignable.swift
[49/69] Compiling SnapKit ConstraintMakerRelatable.swift
[50/69] Compiling SnapKit ConstraintMultiplierTarget.swift
[51/69] Compiling SnapKit ConstraintViewDSL.swift
[52/69] Compiling SnapKit Debugging.swift
[53/69] Compiling SnapKit LayoutConstraint.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[54/69] Compiling makataInteraction protocol-stateable.swift
/Users/admin/builder/spi-builder-workspace/Sources/makata-interaction/protocol/protocol-stateable.swift:99:6: error: 'Published' is only available in macOS 10.15 or newer
92 | - Remark: Do not define this object in your classes directly. Instead, conform to ``Stateable``.
93 | */
94 | public final class StateHandler<State>: ObservableObject, Sendable {
| `- note: add '@available' attribute to enclosing generic class
95 | public typealias Provider = @MainActor (State) async -> Void
96 |
97 | var provider: Provider = { _ in }
98 |
99 | @Published public internal(set) var current: State
| `- error: 'Published' is only available in macOS 10.15 or newer
100 |
101 | public init(initial: State) {
/Users/admin/builder/spi-builder-workspace/Sources/makata-interaction/protocol/protocol-stateable.swift:94:41: error: 'ObservableObject' is only available in macOS 10.15 or newer
92 | - Remark: Do not define this object in your classes directly. Instead, conform to ``Stateable``.
93 | */
94 | public final class StateHandler<State>: ObservableObject, Sendable {
| | `- error: 'ObservableObject' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing generic class
95 | public typealias Provider = @MainActor (State) async -> Void
96 |
/Users/admin/builder/spi-builder-workspace/Sources/makata-interaction/protocol/protocol-stateable.swift:97:9: warning: stored property 'provider' of 'Sendable'-conforming generic class 'StateHandler' is mutable; this is an error in the Swift 6 language mode
95 | public typealias Provider = @MainActor (State) async -> Void
96 |
97 | var provider: Provider = { _ in }
| `- warning: stored property 'provider' of 'Sendable'-conforming generic class 'StateHandler' is mutable; this is an error in the Swift 6 language mode
98 |
99 | @Published public internal(set) var current: State
/Users/admin/builder/spi-builder-workspace/Sources/makata-interaction/protocol/protocol-stateable.swift:83:9: error: setter for 'current' is only available in macOS 10.15 or newer
72 | }
73 |
74 | public extension Stateable {
| `- note: add '@available' attribute to enclosing extension
75 | /**
76 | Method to update the current state.
:
78 | - Parameter state: The new state to apply.
79 | */
80 | func updateState(to state: State) async {
| `- note: add '@available' attribute to enclosing instance method
81 | await stateHandler.provider(state)
82 |
83 | stateHandler.current = state
| |- error: setter for 'current' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
84 | }
85 | }
<unknown>:0: error: cannot convert value of type 'KeyPath<StateHandler<State>, State>' to expected argument type 'ReferenceWritableKeyPath<StateHandler<State>, State>'
/Users/admin/builder/spi-builder-workspace/Sources/makata-interaction/protocol/protocol-stateable.swift:102:9: error: setter for 'current' is only available in macOS 10.15 or newer
92 | - Remark: Do not define this object in your classes directly. Instead, conform to ``Stateable``.
93 | */
94 | public final class StateHandler<State>: ObservableObject, Sendable {
| `- note: add '@available' attribute to enclosing generic class
95 | public typealias Provider = @MainActor (State) async -> Void
96 |
:
99 | @Published public internal(set) var current: State
100 |
101 | public init(initial: State) {
| `- note: add '@available' attribute to enclosing initializer
102 | current = initial
| |- error: setter for 'current' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
103 | }
104 |
/Users/admin/builder/spi-builder-workspace/Sources/makata-interaction/protocol/protocol-stateable.swift:108:9: error: 'Task' is only available in macOS 10.15 or newer
92 | - Remark: Do not define this object in your classes directly. Instead, conform to ``Stateable``.
93 | */
94 | public final class StateHandler<State>: ObservableObject, Sendable {
| `- note: add '@available' attribute to enclosing generic class
95 | public typealias Provider = @MainActor (State) async -> Void
96 |
:
103 | }
104 |
105 | public func callAsFunction(_ callback: @escaping Provider) {
| `- note: add '@available' attribute to enclosing instance method
106 | provider = callback
107 |
108 | Task {
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
109 | await callback(current)
110 | }
/Users/admin/builder/spi-builder-workspace/Sources/makata-interaction/protocol/protocol-stateable.swift:108:9: error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
92 | - Remark: Do not define this object in your classes directly. Instead, conform to ``Stateable``.
93 | */
94 | public final class StateHandler<State>: ObservableObject, Sendable {
| `- note: add '@available' attribute to enclosing generic class
95 | public typealias Provider = @MainActor (State) async -> Void
96 |
:
103 | }
104 |
105 | public func callAsFunction(_ callback: @escaping Provider) {
| `- note: add '@available' attribute to enclosing instance method
106 | provider = callback
107 |
108 | Task {
| |- error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
109 | await callback(current)
110 | }
[55/69] Emitting module makataInteraction
/Users/admin/builder/spi-builder-workspace/Sources/makata-interaction/protocol/observable.swift:9:11: error: 'AnyCancellable' is only available in macOS 10.15 or newer
7 | import Combine
8 |
9 | extension AnyCancellable: Lifetimeable {
| | `- error: 'AnyCancellable' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing extension
10 |
11 | }
/Users/admin/builder/spi-builder-workspace/Sources/makata-interaction/protocol/observable.swift:13:11: error: 'Published' is only available in macOS 10.15 or newer
11 | }
12 |
13 | extension Published.Publisher {
| | `- error: 'Published' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing extension
14 | public func subscribe(action: @escaping (Value) -> Void) -> Lifetimeable {
15 | sink { value in
/Users/admin/builder/spi-builder-workspace/Sources/makata-interaction/protocol/observable.swift:33:11: error: 'Publisher' is only available in macOS 10.15 or newer
31 | }
32 |
33 | extension Publisher where Failure == Never {
| | `- error: 'Publisher' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing extension
34 | public func bind<Target: Loadable & AnyObject>(to loadable: Target) -> Lifetimeable {
35 | sink { [weak loadable] value in
/Users/admin/builder/spi-builder-workspace/Sources/makata-interaction/protocol/protocol-stateable+swiftui.swift:13:62: error: 'AnyPublisher' is only available in macOS 10.15 or newer
10 | import SwiftUI
11 |
12 | public extension Stateable {
| `- note: add '@available' attribute to enclosing extension
13 | func mapToState<Value>(_ path: KeyPath<State, Value>) -> AnyPublisher<Value, Never> {
| | `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
14 | stateHandler.$current.map(path).eraseToAnyPublisher()
15 | }
/Users/admin/builder/spi-builder-workspace/Sources/makata-interaction/protocol/protocol-stateable+swiftui.swift:17:73: error: 'AnyPublisher' is only available in macOS 10.15 or newer
10 | import SwiftUI
11 |
12 | public extension Stateable {
| `- note: add '@available' attribute to enclosing extension
13 | func mapToState<Value>(_ path: KeyPath<State, Value>) -> AnyPublisher<Value, Never> {
14 | stateHandler.$current.map(path).eraseToAnyPublisher()
15 | }
16 |
17 | func mapToState<Value: Equatable>(_ path: KeyPath<State, Value>) -> AnyPublisher<Value, Never> {
| | `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
18 | stateHandler.$current.map(path).removeDuplicates().eraseToAnyPublisher()
19 | }
/Users/admin/builder/spi-builder-workspace/Sources/makata-interaction/protocol/protocol-stateable+swiftui.swift:23:38: error: 'AnyPublisher' is only available in macOS 10.15 or newer
20 | }
21 |
22 | public extension View {
| `- note: add '@available' attribute to enclosing extension
23 | func onEffect<Value>(from state: AnyPublisher<Value, Never>, changes receive: Binding<Value>) -> some View {
| | `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
24 | onReceive(state) { value in
25 | receive.wrappedValue = value
/Users/admin/builder/spi-builder-workspace/Sources/makata-interaction/protocol/protocol-stateable+swiftui.swift:23:83: error: 'Binding' is only available in macOS 10.15 or newer
20 | }
21 |
22 | public extension View {
| `- note: add '@available' attribute to enclosing extension
23 | func onEffect<Value>(from state: AnyPublisher<Value, Never>, changes receive: Binding<Value>) -> some View {
| | `- error: 'Binding' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
24 | onReceive(state) { value in
25 | receive.wrappedValue = value
/Users/admin/builder/spi-builder-workspace/Sources/makata-interaction/protocol/protocol-stateable+swiftui.swift:23:107: error: 'View' is only available in macOS 10.15 or newer
20 | }
21 |
22 | public extension View {
| `- note: add '@available' attribute to enclosing extension
23 | func onEffect<Value>(from state: AnyPublisher<Value, Never>, changes receive: Binding<Value>) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
24 | onReceive(state) { value in
25 | receive.wrappedValue = value
/Users/admin/builder/spi-builder-workspace/Sources/makata-interaction/protocol/protocol-stateable+swiftui.swift:22:18: error: 'View' is only available in macOS 10.15 or newer
20 | }
21 |
22 | public extension View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing extension
23 | func onEffect<Value>(from state: AnyPublisher<Value, Never>, changes receive: Binding<Value>) -> some View {
24 | onReceive(state) { value in
/Users/admin/builder/spi-builder-workspace/Sources/makata-interaction/protocol/protocol-stateable.swift:99:6: error: 'Published' is only available in macOS 10.15 or newer
92 | - Remark: Do not define this object in your classes directly. Instead, conform to ``Stateable``.
93 | */
94 | public final class StateHandler<State>: ObservableObject, Sendable {
| `- note: add '@available' attribute to enclosing generic class
95 | public typealias Provider = @MainActor (State) async -> Void
96 |
97 | var provider: Provider = { _ in }
98 |
99 | @Published public internal(set) var current: State
| `- error: 'Published' is only available in macOS 10.15 or newer
100 |
101 | public init(initial: State) {
/Users/admin/builder/spi-builder-workspace/Sources/makata-interaction/protocol/protocol-stateable.swift:94:41: error: 'ObservableObject' is only available in macOS 10.15 or newer
92 | - Remark: Do not define this object in your classes directly. Instead, conform to ``Stateable``.
93 | */
94 | public final class StateHandler<State>: ObservableObject, Sendable {
| | `- error: 'ObservableObject' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing generic class
95 | public typealias Provider = @MainActor (State) async -> Void
96 |
/Users/admin/builder/spi-builder-workspace/Sources/makata-interaction/protocol/protocol-stateable.swift:97:9: warning: stored property 'provider' of 'Sendable'-conforming generic class 'StateHandler' is mutable; this is an error in the Swift 6 language mode
95 | public typealias Provider = @MainActor (State) async -> Void
96 |
97 | var provider: Provider = { _ in }
| `- warning: stored property 'provider' of 'Sendable'-conforming generic class 'StateHandler' is mutable; this is an error in the Swift 6 language mode
98 |
99 | @Published public internal(set) var current: State
[56/69] Compiling makataInteraction protocol-stateable+swiftui.swift
/Users/admin/builder/spi-builder-workspace/Sources/makata-interaction/protocol/protocol-stateable+swiftui.swift:13:62: error: 'AnyPublisher' is only available in macOS 10.15 or newer
10 | import SwiftUI
11 |
12 | public extension Stateable {
| `- note: add '@available' attribute to enclosing extension
13 | func mapToState<Value>(_ path: KeyPath<State, Value>) -> AnyPublisher<Value, Never> {
| | `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
14 | stateHandler.$current.map(path).eraseToAnyPublisher()
15 | }
/Users/admin/builder/spi-builder-workspace/Sources/makata-interaction/protocol/protocol-stateable+swiftui.swift:17:73: error: 'AnyPublisher' is only available in macOS 10.15 or newer
10 | import SwiftUI
11 |
12 | public extension Stateable {
| `- note: add '@available' attribute to enclosing extension
13 | func mapToState<Value>(_ path: KeyPath<State, Value>) -> AnyPublisher<Value, Never> {
14 | stateHandler.$current.map(path).eraseToAnyPublisher()
15 | }
16 |
17 | func mapToState<Value: Equatable>(_ path: KeyPath<State, Value>) -> AnyPublisher<Value, Never> {
| | `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
18 | stateHandler.$current.map(path).removeDuplicates().eraseToAnyPublisher()
19 | }
/Users/admin/builder/spi-builder-workspace/Sources/makata-interaction/protocol/protocol-stateable+swiftui.swift:23:38: error: 'AnyPublisher' is only available in macOS 10.15 or newer
20 | }
21 |
22 | public extension View {
| `- note: add '@available' attribute to enclosing extension
23 | func onEffect<Value>(from state: AnyPublisher<Value, Never>, changes receive: Binding<Value>) -> some View {
| | `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
24 | onReceive(state) { value in
25 | receive.wrappedValue = value
/Users/admin/builder/spi-builder-workspace/Sources/makata-interaction/protocol/protocol-stateable+swiftui.swift:23:83: error: 'Binding' is only available in macOS 10.15 or newer
20 | }
21 |
22 | public extension View {
| `- note: add '@available' attribute to enclosing extension
23 | func onEffect<Value>(from state: AnyPublisher<Value, Never>, changes receive: Binding<Value>) -> some View {
| | `- error: 'Binding' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
24 | onReceive(state) { value in
25 | receive.wrappedValue = value
/Users/admin/builder/spi-builder-workspace/Sources/makata-interaction/protocol/protocol-stateable+swiftui.swift:23:107: error: 'View' is only available in macOS 10.15 or newer
20 | }
21 |
22 | public extension View {
| `- note: add '@available' attribute to enclosing extension
23 | func onEffect<Value>(from state: AnyPublisher<Value, Never>, changes receive: Binding<Value>) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
24 | onReceive(state) { value in
25 | receive.wrappedValue = value
/Users/admin/builder/spi-builder-workspace/Sources/makata-interaction/protocol/protocol-stateable+swiftui.swift:22:18: error: 'View' is only available in macOS 10.15 or newer
20 | }
21 |
22 | public extension View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing extension
23 | func onEffect<Value>(from state: AnyPublisher<Value, Never>, changes receive: Binding<Value>) -> some View {
24 | onReceive(state) { value in
/Users/admin/builder/spi-builder-workspace/Sources/makata-interaction/protocol/protocol-stateable+swiftui.swift:14:31: error: 'map' is only available in macOS 10.15 or newer
10 | import SwiftUI
11 |
12 | public extension Stateable {
| `- note: add '@available' attribute to enclosing extension
13 | func mapToState<Value>(_ path: KeyPath<State, Value>) -> AnyPublisher<Value, Never> {
| `- note: add '@available' attribute to enclosing instance method
14 | stateHandler.$current.map(path).eraseToAnyPublisher()
| |- error: 'map' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
15 | }
16 |
/Users/admin/builder/spi-builder-workspace/Sources/makata-interaction/protocol/protocol-stateable+swiftui.swift:14:41: error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
10 | import SwiftUI
11 |
12 | public extension Stateable {
| `- note: add '@available' attribute to enclosing extension
13 | func mapToState<Value>(_ path: KeyPath<State, Value>) -> AnyPublisher<Value, Never> {
| `- note: add '@available' attribute to enclosing instance method
14 | stateHandler.$current.map(path).eraseToAnyPublisher()
| |- error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
15 | }
16 |
/Users/admin/builder/spi-builder-workspace/Sources/makata-interaction/protocol/protocol-stateable+swiftui.swift:18:31: error: 'map' is only available in macOS 10.15 or newer
10 | import SwiftUI
11 |
12 | public extension Stateable {
| `- note: add '@available' attribute to enclosing extension
13 | func mapToState<Value>(_ path: KeyPath<State, Value>) -> AnyPublisher<Value, Never> {
14 | stateHandler.$current.map(path).eraseToAnyPublisher()
15 | }
16 |
17 | func mapToState<Value: Equatable>(_ path: KeyPath<State, Value>) -> AnyPublisher<Value, Never> {
| `- note: add '@available' attribute to enclosing instance method
18 | stateHandler.$current.map(path).removeDuplicates().eraseToAnyPublisher()
| |- error: 'map' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
19 | }
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/makata-interaction/protocol/protocol-stateable+swiftui.swift:18:41: error: 'removeDuplicates()' is only available in macOS 10.15 or newer
10 | import SwiftUI
11 |
12 | public extension Stateable {
| `- note: add '@available' attribute to enclosing extension
13 | func mapToState<Value>(_ path: KeyPath<State, Value>) -> AnyPublisher<Value, Never> {
14 | stateHandler.$current.map(path).eraseToAnyPublisher()
15 | }
16 |
17 | func mapToState<Value: Equatable>(_ path: KeyPath<State, Value>) -> AnyPublisher<Value, Never> {
| `- note: add '@available' attribute to enclosing instance method
18 | stateHandler.$current.map(path).removeDuplicates().eraseToAnyPublisher()
| |- error: 'removeDuplicates()' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
19 | }
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/makata-interaction/protocol/protocol-stateable+swiftui.swift:18:60: error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
10 | import SwiftUI
11 |
12 | public extension Stateable {
| `- note: add '@available' attribute to enclosing extension
13 | func mapToState<Value>(_ path: KeyPath<State, Value>) -> AnyPublisher<Value, Never> {
14 | stateHandler.$current.map(path).eraseToAnyPublisher()
15 | }
16 |
17 | func mapToState<Value: Equatable>(_ path: KeyPath<State, Value>) -> AnyPublisher<Value, Never> {
| `- note: add '@available' attribute to enclosing instance method
18 | stateHandler.$current.map(path).removeDuplicates().eraseToAnyPublisher()
| |- error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
19 | }
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/makata-interaction/protocol/protocol-stateable+swiftui.swift:24:9: error: 'onReceive(_:perform:)' is only available in macOS 10.15 or newer
20 | }
21 |
22 | public extension View {
| `- note: add '@available' attribute to enclosing extension
23 | func onEffect<Value>(from state: AnyPublisher<Value, Never>, changes receive: Binding<Value>) -> some View {
| `- note: add '@available' attribute to enclosing instance method
24 | onReceive(state) { value in
| |- error: 'onReceive(_:perform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
25 | receive.wrappedValue = value
26 | }
/Users/admin/builder/spi-builder-workspace/Sources/makata-interaction/protocol/observable.swift:9:11: error: 'AnyCancellable' is only available in macOS 10.15 or newer
7 | import Combine
8 |
9 | extension AnyCancellable: Lifetimeable {
| | `- error: 'AnyCancellable' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing extension
10 |
11 | }
/Users/admin/builder/spi-builder-workspace/Sources/makata-interaction/protocol/observable.swift:13:11: error: 'Published' is only available in macOS 10.15 or newer
11 | }
12 |
13 | extension Published.Publisher {
| | `- error: 'Published' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing extension
14 | public func subscribe(action: @escaping (Value) -> Void) -> Lifetimeable {
15 | sink { value in
/Users/admin/builder/spi-builder-workspace/Sources/makata-interaction/protocol/observable.swift:33:11: error: 'Publisher' is only available in macOS 10.15 or newer
31 | }
32 |
33 | extension Publisher where Failure == Never {
| | `- error: 'Publisher' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing extension
34 | public func bind<Target: Loadable & AnyObject>(to loadable: Target) -> Lifetimeable {
35 | sink { [weak loadable] value in
/Users/admin/builder/spi-builder-workspace/Sources/makata-interaction/protocol/observable.swift:15:9: error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
11 | }
12 |
13 | extension Published.Publisher {
| `- note: add '@available' attribute to enclosing extension
14 | public func subscribe(action: @escaping (Value) -> Void) -> Lifetimeable {
| `- note: add '@available' attribute to enclosing instance method
15 | sink { value in
| |- error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
16 | action(value)
17 | }
/Users/admin/builder/spi-builder-workspace/Sources/makata-interaction/protocol/observable.swift:26:13: error: 'Task' is only available in macOS 10.15 or newer
11 | }
12 |
13 | extension Published.Publisher {
| `- note: add '@available' attribute to enclosing extension
14 | public func subscribe(action: @escaping (Value) -> Void) -> Lifetimeable {
15 | sink { value in
:
18 | }
19 |
20 | public func bind<Target: Loadable & AnyObject>(to loadable: Target) -> Lifetimeable {
| `- note: add '@available' attribute to enclosing instance method
21 | subscribe { [weak loadable] _ in
22 | guard let loadable else {
:
24 | }
25 |
26 | Task {
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
27 | await loadable.invalidate()
28 | }
/Users/admin/builder/spi-builder-workspace/Sources/makata-interaction/protocol/observable.swift:26:13: error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
11 | }
12 |
13 | extension Published.Publisher {
| `- note: add '@available' attribute to enclosing extension
14 | public func subscribe(action: @escaping (Value) -> Void) -> Lifetimeable {
15 | sink { value in
:
18 | }
19 |
20 | public func bind<Target: Loadable & AnyObject>(to loadable: Target) -> Lifetimeable {
| `- note: add '@available' attribute to enclosing instance method
21 | subscribe { [weak loadable] _ in
22 | guard let loadable else {
:
24 | }
25 |
26 | Task {
| |- error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
27 | await loadable.invalidate()
28 | }
/Users/admin/builder/spi-builder-workspace/Sources/makata-interaction/protocol/observable.swift:35:9: error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
31 | }
32 |
33 | extension Publisher where Failure == Never {
| `- note: add '@available' attribute to enclosing extension
34 | public func bind<Target: Loadable & AnyObject>(to loadable: Target) -> Lifetimeable {
| `- note: add '@available' attribute to enclosing instance method
35 | sink { [weak loadable] value in
| |- error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
36 | guard let loadable else {
37 | return
/Users/admin/builder/spi-builder-workspace/Sources/makata-interaction/protocol/observable.swift:40:13: error: 'Task' is only available in macOS 10.15 or newer
31 | }
32 |
33 | extension Publisher where Failure == Never {
| `- note: add '@available' attribute to enclosing extension
34 | public func bind<Target: Loadable & AnyObject>(to loadable: Target) -> Lifetimeable {
| `- note: add '@available' attribute to enclosing instance method
35 | sink { [weak loadable] value in
36 | guard let loadable else {
:
38 | }
39 |
40 | Task {
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
41 | await loadable.invalidate()
42 | }
/Users/admin/builder/spi-builder-workspace/Sources/makata-interaction/protocol/observable.swift:40:13: error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
31 | }
32 |
33 | extension Publisher where Failure == Never {
| `- note: add '@available' attribute to enclosing extension
34 | public func bind<Target: Loadable & AnyObject>(to loadable: Target) -> Lifetimeable {
| `- note: add '@available' attribute to enclosing instance method
35 | sink { [weak loadable] value in
36 | guard let loadable else {
:
38 | }
39 |
40 | Task {
| |- error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
41 | await loadable.invalidate()
42 | }
/Users/admin/builder/spi-builder-workspace/Sources/makata-interaction/protocol/observable.swift:9:11: error: 'AnyCancellable' is only available in macOS 10.15 or newer
7 | import Combine
8 |
9 | extension AnyCancellable: Lifetimeable {
| | `- error: 'AnyCancellable' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing extension
10 |
11 | }
/Users/admin/builder/spi-builder-workspace/Sources/makata-interaction/protocol/observable.swift:13:11: error: 'Published' is only available in macOS 10.15 or newer
11 | }
12 |
13 | extension Published.Publisher {
| | `- error: 'Published' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing extension
14 | public func subscribe(action: @escaping (Value) -> Void) -> Lifetimeable {
15 | sink { value in
/Users/admin/builder/spi-builder-workspace/Sources/makata-interaction/protocol/observable.swift:33:11: error: 'Publisher' is only available in macOS 10.15 or newer
31 | }
32 |
33 | extension Publisher where Failure == Never {
| | `- error: 'Publisher' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing extension
34 | public func bind<Target: Loadable & AnyObject>(to loadable: Target) -> Lifetimeable {
35 | sink { [weak loadable] value in
/Users/admin/builder/spi-builder-workspace/Sources/makata-interaction/protocol/observable.swift:15:9: error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
11 | }
12 |
13 | extension Published.Publisher {
| `- note: add '@available' attribute to enclosing extension
14 | public func subscribe(action: @escaping (Value) -> Void) -> Lifetimeable {
| `- note: add '@available' attribute to enclosing instance method
15 | sink { value in
| |- error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
16 | action(value)
17 | }
/Users/admin/builder/spi-builder-workspace/Sources/makata-interaction/protocol/observable.swift:26:13: error: 'Task' is only available in macOS 10.15 or newer
11 | }
12 |
13 | extension Published.Publisher {
| `- note: add '@available' attribute to enclosing extension
14 | public func subscribe(action: @escaping (Value) -> Void) -> Lifetimeable {
15 | sink { value in
:
18 | }
19 |
20 | public func bind<Target: Loadable & AnyObject>(to loadable: Target) -> Lifetimeable {
| `- note: add '@available' attribute to enclosing instance method
21 | subscribe { [weak loadable] _ in
22 | guard let loadable else {
:
24 | }
25 |
26 | Task {
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
27 | await loadable.invalidate()
28 | }
/Users/admin/builder/spi-builder-workspace/Sources/makata-interaction/protocol/observable.swift:26:13: error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
11 | }
12 |
13 | extension Published.Publisher {
| `- note: add '@available' attribute to enclosing extension
14 | public func subscribe(action: @escaping (Value) -> Void) -> Lifetimeable {
15 | sink { value in
:
18 | }
19 |
20 | public func bind<Target: Loadable & AnyObject>(to loadable: Target) -> Lifetimeable {
| `- note: add '@available' attribute to enclosing instance method
21 | subscribe { [weak loadable] _ in
22 | guard let loadable else {
:
24 | }
25 |
26 | Task {
| |- error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
27 | await loadable.invalidate()
28 | }
/Users/admin/builder/spi-builder-workspace/Sources/makata-interaction/protocol/observable.swift:35:9: error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
31 | }
32 |
33 | extension Publisher where Failure == Never {
| `- note: add '@available' attribute to enclosing extension
34 | public func bind<Target: Loadable & AnyObject>(to loadable: Target) -> Lifetimeable {
| `- note: add '@available' attribute to enclosing instance method
35 | sink { [weak loadable] value in
| |- error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
36 | guard let loadable else {
37 | return
/Users/admin/builder/spi-builder-workspace/Sources/makata-interaction/protocol/observable.swift:40:13: error: 'Task' is only available in macOS 10.15 or newer
31 | }
32 |
33 | extension Publisher where Failure == Never {
| `- note: add '@available' attribute to enclosing extension
34 | public func bind<Target: Loadable & AnyObject>(to loadable: Target) -> Lifetimeable {
| `- note: add '@available' attribute to enclosing instance method
35 | sink { [weak loadable] value in
36 | guard let loadable else {
:
38 | }
39 |
40 | Task {
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
41 | await loadable.invalidate()
42 | }
/Users/admin/builder/spi-builder-workspace/Sources/makata-interaction/protocol/observable.swift:40:13: error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
31 | }
32 |
33 | extension Publisher where Failure == Never {
| `- note: add '@available' attribute to enclosing extension
34 | public func bind<Target: Loadable & AnyObject>(to loadable: Target) -> Lifetimeable {
| `- note: add '@available' attribute to enclosing instance method
35 | sink { [weak loadable] value in
36 | guard let loadable else {
:
38 | }
39 |
40 | Task {
| |- error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
41 | await loadable.invalidate()
42 | }
[59/69] Compiling makataForm form-validation.swift
[60/69] Compiling makataForm form-observer.swift
[61/69] Compiling makataForm form-handler.swift
/Users/admin/builder/spi-builder-workspace/Sources/makata-form/form-handler.swift:140:26: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
138 | updateHandler = callback
139 |
140 | Task { @MainActor () in await pushUpdates() }
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
141 |
142 | return self
/Users/admin/builder/spi-builder-workspace/Sources/makata-form/form-handler.swift:164:26: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
162 | validations = handler
163 |
164 | Task { @MainActor () in await pushUpdates() }
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
165 |
166 | return self
/Users/admin/builder/spi-builder-workspace/Sources/makata-form/form-handler.swift:217:30: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
215 | }
216 |
217 | Task { @MainActor () in await pushUpdates() }
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
218 | }
219 | }
/Users/admin/builder/spi-builder-workspace/Sources/makata-form/form-handler.swift:54:6: error: 'Published' is only available in macOS 10.15 or newer
15 | */
16 | @dynamicMemberLookup
17 | public class FormHandler<Shape>: ObservableObject {
| `- note: add '@available' attribute to enclosing generic class
18 | /**
19 | Contains definitions when form validation failed.
:
52 |
53 | /// The current recorded values of the form.
54 | @Published public internal(set) var current: Shape
| `- error: 'Published' is only available in macOS 10.15 or newer
55 | /// The current recoded validation state of the form
56 | @Published public internal(set) var currentState: State?
/Users/admin/builder/spi-builder-workspace/Sources/makata-form/form-handler.swift:56:6: error: 'Published' is only available in macOS 10.15 or newer
15 | */
16 | @dynamicMemberLookup
17 | public class FormHandler<Shape>: ObservableObject {
| `- note: add '@available' attribute to enclosing generic class
18 | /**
19 | Contains definitions when form validation failed.
:
54 | @Published public internal(set) var current: Shape
55 | /// The current recoded validation state of the form
56 | @Published public internal(set) var currentState: State?
| `- error: 'Published' is only available in macOS 10.15 or newer
57 |
58 | var isModified: (Shape) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/makata-form/form-handler.swift:17:34: error: 'ObservableObject' is only available in macOS 10.15 or newer
15 | */
16 | @dynamicMemberLookup
17 | public class FormHandler<Shape>: ObservableObject {
| | `- error: 'ObservableObject' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing generic class
18 | /**
19 | Contains definitions when form validation failed.
<unknown>:0: error: cannot convert value of type 'KeyPath<FormHandler<Shape>, Shape>' to expected argument type 'ReferenceWritableKeyPath<FormHandler<Shape>, Shape>'
<unknown>:0: error: cannot convert value of type 'KeyPath<FormHandler<Shape>, FormHandler<Shape>.State?>' to expected argument type 'ReferenceWritableKeyPath<FormHandler<Shape>, FormHandler<Shape>.State?>'
/Users/admin/builder/spi-builder-workspace/Sources/makata-form/form-handler.swift:75:9: error: setter for 'current' is only available in macOS 10.15 or newer
15 | */
16 | @dynamicMemberLookup
17 | public class FormHandler<Shape>: ObservableObject {
| `- note: add '@available' attribute to enclosing generic class
18 | /**
19 | Contains definitions when form validation failed.
:
72 | - parameter submitInvoked: Override if the form should be created with a submitted state.
73 | */
74 | public init(initial: Shape, submitInvoked: Bool = false) {
| `- note: add '@available' attribute to enclosing initializer
75 | self.current = initial
| |- error: setter for 'current' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
76 | self.submitInvoked = submitInvoked
77 | self.isModified = { _ in false }
/Users/admin/builder/spi-builder-workspace/Sources/makata-form/form-handler.swift:81:9: error: setter for 'current' is only available in macOS 10.15 or newer
15 | */
16 | @dynamicMemberLookup
17 | public class FormHandler<Shape>: ObservableObject {
| `- note: add '@available' attribute to enclosing generic class
18 | /**
19 | Contains definitions when form validation failed.
:
78 | }
79 |
80 | public init(initial: Shape, submitInvoked: Bool = false) where Shape: Equatable {
| `- note: add '@available' attribute to enclosing initializer
81 | self.current = initial
| |- error: setter for 'current' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
82 | self.submitInvoked = submitInvoked
83 | self.isModified = { current in current != initial }
/Users/admin/builder/spi-builder-workspace/Sources/makata-form/form-handler.swift:117:9: error: setter for 'currentState' is only available in macOS 10.15 or newer
15 | */
16 | @dynamicMemberLookup
17 | public class FormHandler<Shape>: ObservableObject {
| `- note: add '@available' attribute to enclosing generic class
18 | /**
19 | Contains definitions when form validation failed.
:
105 |
106 | @MainActor @discardableResult
107 | func pushUpdates() async -> FormValidation<Shape>.Result {
| `- note: add '@available' attribute to enclosing instance method
108 | let result = validations?.validate(current) ?? .noErrors
109 | let newState = State(
:
115 | )
116 |
117 | currentState = newState
| |- error: setter for 'currentState' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
118 |
119 | await updateHandler(current, newState)
/Users/admin/builder/spi-builder-workspace/Sources/makata-form/form-handler.swift:140:9: error: 'Task' is only available in macOS 10.15 or newer
123 | }
124 |
125 | public extension FormHandler {
| `- note: add '@available' attribute to enclosing extension
126 | func setInitialValue(_ newShape: Shape) where Shape: Equatable {
127 | isModified = { current in current != newShape }
:
135 | */
136 | @discardableResult
137 | func callAsFunction(_ callback: @escaping UpdatesHandler) -> Self {
| `- note: add '@available' attribute to enclosing instance method
138 | updateHandler = callback
139 |
140 | Task { @MainActor () in await pushUpdates() }
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
141 |
142 | return self
/Users/admin/builder/spi-builder-workspace/Sources/makata-form/form-handler.swift:140:9: error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
123 | }
124 |
125 | public extension FormHandler {
| `- note: add '@available' attribute to enclosing extension
126 | func setInitialValue(_ newShape: Shape) where Shape: Equatable {
127 | isModified = { current in current != newShape }
:
135 | */
136 | @discardableResult
137 | func callAsFunction(_ callback: @escaping UpdatesHandler) -> Self {
| `- note: add '@available' attribute to enclosing instance method
138 | updateHandler = callback
139 |
140 | Task { @MainActor () in await pushUpdates() }
| |- error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
141 |
142 | return self
/Users/admin/builder/spi-builder-workspace/Sources/makata-form/form-handler.swift:164:9: error: 'Task' is only available in macOS 10.15 or newer
123 | }
124 |
125 | public extension FormHandler {
| `- note: add '@available' attribute to enclosing extension
126 | func setInitialValue(_ newShape: Shape) where Shape: Equatable {
127 | isModified = { current in current != newShape }
:
159 | */
160 | @discardableResult
161 | func setValidationHandler(_ handler: FormValidation<Shape>?) -> Self {
| `- note: add '@available' attribute to enclosing instance method
162 | validations = handler
163 |
164 | Task { @MainActor () in await pushUpdates() }
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
165 |
166 | return self
/Users/admin/builder/spi-builder-workspace/Sources/makata-form/form-handler.swift:164:9: error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
123 | }
124 |
125 | public extension FormHandler {
| `- note: add '@available' attribute to enclosing extension
126 | func setInitialValue(_ newShape: Shape) where Shape: Equatable {
127 | isModified = { current in current != newShape }
:
159 | */
160 | @discardableResult
161 | func setValidationHandler(_ handler: FormValidation<Shape>?) -> Self {
| `- note: add '@available' attribute to enclosing instance method
162 | validations = handler
163 |
164 | Task { @MainActor () in await pushUpdates() }
| |- error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
165 |
166 | return self
/Users/admin/builder/spi-builder-workspace/Sources/makata-form/form-handler.swift:211:13: error: setter for 'current' is only available in macOS 10.15 or newer
190 | }
191 |
192 | public extension FormHandler {
| `- note: add '@available' attribute to enclosing extension
193 | /**
194 | Allows direct read-write access to the form's current recorded state.
:
204 |
205 | */
206 | subscript<Value>(dynamicMember member: WritableKeyPath<Shape, Value>) -> Value {
| `- note: add '@available' attribute to enclosing subscript
207 | get {
208 | current[keyPath: member]
209 | }
210 | set {
211 | current[keyPath: member] = newValue
| |- error: setter for 'current' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
212 |
213 | if let observations, let action = observations.observationDict[member] {
/Users/admin/builder/spi-builder-workspace/Sources/makata-form/form-handler.swift:217:13: error: 'Task' is only available in macOS 10.15 or newer
190 | }
191 |
192 | public extension FormHandler {
| `- note: add '@available' attribute to enclosing extension
193 | /**
194 | Allows direct read-write access to the form's current recorded state.
:
204 |
205 | */
206 | subscript<Value>(dynamicMember member: WritableKeyPath<Shape, Value>) -> Value {
| `- note: add '@available' attribute to enclosing subscript
207 | get {
208 | current[keyPath: member]
:
215 | }
216 |
217 | Task { @MainActor () in await pushUpdates() }
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
218 | }
219 | }
/Users/admin/builder/spi-builder-workspace/Sources/makata-form/form-handler.swift:217:13: error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
190 | }
191 |
192 | public extension FormHandler {
| `- note: add '@available' attribute to enclosing extension
193 | /**
194 | Allows direct read-write access to the form's current recorded state.
:
204 |
205 | */
206 | subscript<Value>(dynamicMember member: WritableKeyPath<Shape, Value>) -> Value {
| `- note: add '@available' attribute to enclosing subscript
207 | get {
208 | current[keyPath: member]
:
215 | }
216 |
217 | Task { @MainActor () in await pushUpdates() }
| |- error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
218 | }
219 | }
[62/69] Compiling makataForm form-binding.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[65/69] Emitting module makataForm
/Users/admin/builder/spi-builder-workspace/Sources/makata-form/form-binding+swiftui.swift:12:26: error: 'Binding' is only available in macOS 10.15 or newer
10 | import SwiftUI
11 |
12 | public extension SwiftUI.Binding {
| | `- error: 'Binding' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing extension
13 | init<FormSource: Formable>(
14 | form: FormSource,
/Users/admin/builder/spi-builder-workspace/Sources/makata-form/form-binding+swiftui.swift:71:6: warning: unexpected version number for *
69 |
70 | public extension Formable {
71 | @available(*, deprecated: 0.0.6, renamed: "formBinding(for:)")
| `- warning: unexpected version number for *
72 | func binding<Value>(
73 | for field: WritableKeyPath<FormData, Value>
/Users/admin/builder/spi-builder-workspace/Sources/makata-form/form-binding+swiftui.swift:78:6: warning: unexpected version number for *
76 | }
77 |
78 | @available(*, deprecated: 0.0.6, renamed: "formBinding(for:transform:)")
| `- warning: unexpected version number for *
79 | func binding<Value, Transform: FieldTransformable>(
80 | for field: WritableKeyPath<FormData, Transform.Output>,
/Users/admin/builder/spi-builder-workspace/Sources/makata-form/form-binding+swiftui.swift:86:6: warning: unexpected version number for *
84 | }
85 |
86 | @available(*, deprecated: 0.0.6, renamed: "formBinding(for:transform:)")
| `- warning: unexpected version number for *
87 | func binding<Value, CompleteValue, Transform: FieldTransformable>(
88 | for field: WritableKeyPath<FormData, FieldPartialValue<CompleteValue, Value>>,
/Users/admin/builder/spi-builder-workspace/Sources/makata-form/form-binding+swiftui.swift:74:18: error: 'Binding' is only available in macOS 10.15 or newer
68 | }
69 |
70 | public extension Formable {
| `- note: add '@available' attribute to enclosing extension
71 | @available(*, deprecated: 0.0.6, renamed: "formBinding(for:)")
72 | func binding<Value>(
| `- note: add '@available' attribute to enclosing instance method
73 | for field: WritableKeyPath<FormData, Value>
74 | ) -> SwiftUI.Binding<Value> {
| `- error: 'Binding' is only available in macOS 10.15 or newer
75 | formBinding(for: field)
76 | }
/Users/admin/builder/spi-builder-workspace/Sources/makata-form/form-binding+swiftui.swift:82:18: error: 'Binding' is only available in macOS 10.15 or newer
68 | }
69 |
70 | public extension Formable {
| `- note: add '@available' attribute to enclosing extension
71 | @available(*, deprecated: 0.0.6, renamed: "formBinding(for:)")
72 | func binding<Value>(
:
77 |
78 | @available(*, deprecated: 0.0.6, renamed: "formBinding(for:transform:)")
79 | func binding<Value, Transform: FieldTransformable>(
| `- note: add '@available' attribute to enclosing instance method
80 | for field: WritableKeyPath<FormData, Transform.Output>,
81 | transform: Transform
82 | ) -> SwiftUI.Binding<Value> where Transform.Value == Value {
| `- error: 'Binding' is only available in macOS 10.15 or newer
83 | formBinding(for: field, transform: transform)
84 | }
/Users/admin/builder/spi-builder-workspace/Sources/makata-form/form-binding+swiftui.swift:90:18: error: 'Binding' is only available in macOS 10.15 or newer
68 | }
69 |
70 | public extension Formable {
| `- note: add '@available' attribute to enclosing extension
71 | @available(*, deprecated: 0.0.6, renamed: "formBinding(for:)")
72 | func binding<Value>(
:
85 |
86 | @available(*, deprecated: 0.0.6, renamed: "formBinding(for:transform:)")
87 | func binding<Value, CompleteValue, Transform: FieldTransformable>(
| `- note: add '@available' attribute to enclosing instance method
88 | for field: WritableKeyPath<FormData, FieldPartialValue<CompleteValue, Value>>,
89 | transform: Transform
90 | ) -> SwiftUI.Binding<Value> where Transform.Output == CompleteValue, Transform.Value == Value {
| `- error: 'Binding' is only available in macOS 10.15 or newer
91 | formBinding(for: field, transform: transform)
92 | }
/Users/admin/builder/spi-builder-workspace/Sources/makata-form/form-binding+swiftui.swift:98:18: error: 'Binding' is only available in macOS 10.15 or newer
93 | }
94 |
95 | public extension Formable {
| `- note: add '@available' attribute to enclosing extension
96 | func formBinding<Value>(
| `- note: add '@available' attribute to enclosing instance method
97 | for field: WritableKeyPath<FormData, Value>
98 | ) -> SwiftUI.Binding<Value> {
| `- error: 'Binding' is only available in macOS 10.15 or newer
99 | .init(form: self, field: field)
100 | }
/Users/admin/builder/spi-builder-workspace/Sources/makata-form/form-binding+swiftui.swift:105:18: error: 'Binding' is only available in macOS 10.15 or newer
93 | }
94 |
95 | public extension Formable {
| `- note: add '@available' attribute to enclosing extension
96 | func formBinding<Value>(
97 | for field: WritableKeyPath<FormData, Value>
:
100 | }
101 |
102 | func formBinding<Value, Transform: FieldTransformable>(
| `- note: add '@available' attribute to enclosing instance method
103 | for field: WritableKeyPath<FormData, Transform.Output>,
104 | transform: Transform
105 | ) -> SwiftUI.Binding<Value> where Transform.Value == Value {
| `- error: 'Binding' is only available in macOS 10.15 or newer
106 | .init(form: self, field: field, transform: transform)
107 | }
/Users/admin/builder/spi-builder-workspace/Sources/makata-form/form-binding+swiftui.swift:112:18: error: 'Binding' is only available in macOS 10.15 or newer
93 | }
94 |
95 | public extension Formable {
| `- note: add '@available' attribute to enclosing extension
96 | func formBinding<Value>(
97 | for field: WritableKeyPath<FormData, Value>
:
107 | }
108 |
109 | func formBinding<Value, CompleteValue, Transform: FieldTransformable>(
| `- note: add '@available' attribute to enclosing instance method
110 | for field: WritableKeyPath<FormData, FieldPartialValue<CompleteValue, Value>>,
111 | transform: Transform
112 | ) -> SwiftUI.Binding<Value> where Transform.Output == CompleteValue, Transform.Value == Value {
| `- error: 'Binding' is only available in macOS 10.15 or newer
113 | .init(form: self, field: field, transform: transform)
114 | }
/Users/admin/builder/spi-builder-workspace/Sources/makata-form/form-handler.swift:54:6: error: 'Published' is only available in macOS 10.15 or newer
15 | */
16 | @dynamicMemberLookup
17 | public class FormHandler<Shape>: ObservableObject {
| `- note: add '@available' attribute to enclosing generic class
18 | /**
19 | Contains definitions when form validation failed.
:
52 |
53 | /// The current recorded values of the form.
54 | @Published public internal(set) var current: Shape
| `- error: 'Published' is only available in macOS 10.15 or newer
55 | /// The current recoded validation state of the form
56 | @Published public internal(set) var currentState: State?
/Users/admin/builder/spi-builder-workspace/Sources/makata-form/form-handler.swift:56:6: error: 'Published' is only available in macOS 10.15 or newer
15 | */
16 | @dynamicMemberLookup
17 | public class FormHandler<Shape>: ObservableObject {
| `- note: add '@available' attribute to enclosing generic class
18 | /**
19 | Contains definitions when form validation failed.
:
54 | @Published public internal(set) var current: Shape
55 | /// The current recoded validation state of the form
56 | @Published public internal(set) var currentState: State?
| `- error: 'Published' is only available in macOS 10.15 or newer
57 |
58 | var isModified: (Shape) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/makata-form/form-handler.swift:17:34: error: 'ObservableObject' is only available in macOS 10.15 or newer
15 | */
16 | @dynamicMemberLookup
17 | public class FormHandler<Shape>: ObservableObject {
| | `- error: 'ObservableObject' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing generic class
18 | /**
19 | Contains definitions when form validation failed.
[66/69] Compiling makataForm form-binding+swiftui.swift
/Users/admin/builder/spi-builder-workspace/Sources/makata-form/form-binding+swiftui.swift:12:26: error: 'Binding' is only available in macOS 10.15 or newer
10 | import SwiftUI
11 |
12 | public extension SwiftUI.Binding {
| | `- error: 'Binding' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing extension
13 | init<FormSource: Formable>(
14 | form: FormSource,
/Users/admin/builder/spi-builder-workspace/Sources/makata-form/form-binding+swiftui.swift:71:6: warning: unexpected version number for *
69 |
70 | public extension Formable {
71 | @available(*, deprecated: 0.0.6, renamed: "formBinding(for:)")
| `- warning: unexpected version number for *
72 | func binding<Value>(
73 | for field: WritableKeyPath<FormData, Value>
/Users/admin/builder/spi-builder-workspace/Sources/makata-form/form-binding+swiftui.swift:78:6: warning: unexpected version number for *
76 | }
77 |
78 | @available(*, deprecated: 0.0.6, renamed: "formBinding(for:transform:)")
| `- warning: unexpected version number for *
79 | func binding<Value, Transform: FieldTransformable>(
80 | for field: WritableKeyPath<FormData, Transform.Output>,
/Users/admin/builder/spi-builder-workspace/Sources/makata-form/form-binding+swiftui.swift:86:6: warning: unexpected version number for *
84 | }
85 |
86 | @available(*, deprecated: 0.0.6, renamed: "formBinding(for:transform:)")
| `- warning: unexpected version number for *
87 | func binding<Value, CompleteValue, Transform: FieldTransformable>(
88 | for field: WritableKeyPath<FormData, FieldPartialValue<CompleteValue, Value>>,
/Users/admin/builder/spi-builder-workspace/Sources/makata-form/form-binding+swiftui.swift:74:18: error: 'Binding' is only available in macOS 10.15 or newer
68 | }
69 |
70 | public extension Formable {
| `- note: add '@available' attribute to enclosing extension
71 | @available(*, deprecated: 0.0.6, renamed: "formBinding(for:)")
72 | func binding<Value>(
| `- note: add '@available' attribute to enclosing instance method
73 | for field: WritableKeyPath<FormData, Value>
74 | ) -> SwiftUI.Binding<Value> {
| `- error: 'Binding' is only available in macOS 10.15 or newer
75 | formBinding(for: field)
76 | }
/Users/admin/builder/spi-builder-workspace/Sources/makata-form/form-binding+swiftui.swift:82:18: error: 'Binding' is only available in macOS 10.15 or newer
68 | }
69 |
70 | public extension Formable {
| `- note: add '@available' attribute to enclosing extension
71 | @available(*, deprecated: 0.0.6, renamed: "formBinding(for:)")
72 | func binding<Value>(
:
77 |
78 | @available(*, deprecated: 0.0.6, renamed: "formBinding(for:transform:)")
79 | func binding<Value, Transform: FieldTransformable>(
| `- note: add '@available' attribute to enclosing instance method
80 | for field: WritableKeyPath<FormData, Transform.Output>,
81 | transform: Transform
82 | ) -> SwiftUI.Binding<Value> where Transform.Value == Value {
| `- error: 'Binding' is only available in macOS 10.15 or newer
83 | formBinding(for: field, transform: transform)
84 | }
/Users/admin/builder/spi-builder-workspace/Sources/makata-form/form-binding+swiftui.swift:90:18: error: 'Binding' is only available in macOS 10.15 or newer
68 | }
69 |
70 | public extension Formable {
| `- note: add '@available' attribute to enclosing extension
71 | @available(*, deprecated: 0.0.6, renamed: "formBinding(for:)")
72 | func binding<Value>(
:
85 |
86 | @available(*, deprecated: 0.0.6, renamed: "formBinding(for:transform:)")
87 | func binding<Value, CompleteValue, Transform: FieldTransformable>(
| `- note: add '@available' attribute to enclosing instance method
88 | for field: WritableKeyPath<FormData, FieldPartialValue<CompleteValue, Value>>,
89 | transform: Transform
90 | ) -> SwiftUI.Binding<Value> where Transform.Output == CompleteValue, Transform.Value == Value {
| `- error: 'Binding' is only available in macOS 10.15 or newer
91 | formBinding(for: field, transform: transform)
92 | }
/Users/admin/builder/spi-builder-workspace/Sources/makata-form/form-binding+swiftui.swift:98:18: error: 'Binding' is only available in macOS 10.15 or newer
93 | }
94 |
95 | public extension Formable {
| `- note: add '@available' attribute to enclosing extension
96 | func formBinding<Value>(
| `- note: add '@available' attribute to enclosing instance method
97 | for field: WritableKeyPath<FormData, Value>
98 | ) -> SwiftUI.Binding<Value> {
| `- error: 'Binding' is only available in macOS 10.15 or newer
99 | .init(form: self, field: field)
100 | }
/Users/admin/builder/spi-builder-workspace/Sources/makata-form/form-binding+swiftui.swift:105:18: error: 'Binding' is only available in macOS 10.15 or newer
93 | }
94 |
95 | public extension Formable {
| `- note: add '@available' attribute to enclosing extension
96 | func formBinding<Value>(
97 | for field: WritableKeyPath<FormData, Value>
:
100 | }
101 |
102 | func formBinding<Value, Transform: FieldTransformable>(
| `- note: add '@available' attribute to enclosing instance method
103 | for field: WritableKeyPath<FormData, Transform.Output>,
104 | transform: Transform
105 | ) -> SwiftUI.Binding<Value> where Transform.Value == Value {
| `- error: 'Binding' is only available in macOS 10.15 or newer
106 | .init(form: self, field: field, transform: transform)
107 | }
/Users/admin/builder/spi-builder-workspace/Sources/makata-form/form-binding+swiftui.swift:112:18: error: 'Binding' is only available in macOS 10.15 or newer
93 | }
94 |
95 | public extension Formable {
| `- note: add '@available' attribute to enclosing extension
96 | func formBinding<Value>(
97 | for field: WritableKeyPath<FormData, Value>
:
107 | }
108 |
109 | func formBinding<Value, CompleteValue, Transform: FieldTransformable>(
| `- note: add '@available' attribute to enclosing instance method
110 | for field: WritableKeyPath<FormData, FieldPartialValue<CompleteValue, Value>>,
111 | transform: Transform
112 | ) -> SwiftUI.Binding<Value> where Transform.Output == CompleteValue, Transform.Value == Value {
| `- error: 'Binding' is only available in macOS 10.15 or newer
113 | .init(form: self, field: field, transform: transform)
114 | }
/Users/admin/builder/spi-builder-workspace/Sources/makata-form/error+formatting.swift:12:42: error: 'formatted' is only available in macOS 12.0 or newer
8 | import Foundation
9 |
10 | public extension Sequence where Element == Error {
| `- note: add '@available' attribute to enclosing extension
11 | var formatted: String {
| `- note: add '@available' attribute to enclosing property
12 | map({ $0.localizedDescription }).formatted(.list(type: .and))
| |- error: 'formatted' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
13 | }
14 |
/Users/admin/builder/spi-builder-workspace/Sources/makata-form/error+formatting.swift:12:53: error: 'list(type:width:)' is only available in macOS 12.0 or newer
8 | import Foundation
9 |
10 | public extension Sequence where Element == Error {
| `- note: add '@available' attribute to enclosing extension
11 | var formatted: String {
| `- note: add '@available' attribute to enclosing property
12 | map({ $0.localizedDescription }).formatted(.list(type: .and))
| |- error: 'list(type:width:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
13 | }
14 |
/Users/admin/builder/spi-builder-workspace/Sources/makata-form/error+formatting.swift:12:42: error: 'formatted' is only available in macOS 12.0 or newer
8 | import Foundation
9 |
10 | public extension Sequence where Element == Error {
| `- note: add '@available' attribute to enclosing extension
11 | var formatted: String {
| `- note: add '@available' attribute to enclosing property
12 | map({ $0.localizedDescription }).formatted(.list(type: .and))
| |- error: 'formatted' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
13 | }
14 |
/Users/admin/builder/spi-builder-workspace/Sources/makata-form/error+formatting.swift:12:53: error: 'list(type:width:)' is only available in macOS 12.0 or newer
8 | import Foundation
9 |
10 | public extension Sequence where Element == Error {
| `- note: add '@available' attribute to enclosing extension
11 | var formatted: String {
| `- note: add '@available' attribute to enclosing property
12 | map({ $0.localizedDescription }).formatted(.list(type: .and))
| |- error: 'list(type:width:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
13 | }
14 |
BUILD FAILURE 6.3 macosSpm