Build Information
Failed to build Feedbacks, reference main (e31d30
), with Swift 6.0 for macOS (SPM) on 1 Nov 2024 17:42:53 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/CombineCommunity/Feedbacks.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/CombineCommunity/Feedbacks
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at e31d304 Merge pull request #44 from CombineCommunity/feature/improve-dsl-error-msg
Cloned https://github.com/CombineCommunity/Feedbacks.git
Revision (git rev-parse @):
e31d304ee0731e9a6381cdfbc6276fb84e2ec508
SUCCESS checkout https://github.com/CombineCommunity/Feedbacks.git at main
Fetching https://github.com/pointfreeco/combine-schedulers.git
Fetching https://github.com/CombineCommunity/CombineExt.git
[1/2347] Fetching combine-schedulers
[95/4569] Fetching combine-schedulers, combineext
Fetched https://github.com/pointfreeco/combine-schedulers.git from cache (1.01s)
Fetched https://github.com/CombineCommunity/CombineExt.git from cache (1.01s)
Computing version for https://github.com/CombineCommunity/CombineExt.git
Computed https://github.com/CombineCommunity/CombineExt.git at 1.3.0 (0.72s)
Computing version for https://github.com/pointfreeco/combine-schedulers.git
Computed https://github.com/pointfreeco/combine-schedulers.git at 0.1.2 (0.68s)
Creating working copy for https://github.com/CombineCommunity/CombineExt.git
Working copy of https://github.com/CombineCommunity/CombineExt.git resolved at 1.3.0
Creating working copy for https://github.com/pointfreeco/combine-schedulers.git
Working copy of https://github.com/pointfreeco/combine-schedulers.git resolved at 0.1.2
========================================
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",
"dependencies": [
{
"identity": "feedbacks",
"name": "Feedbacks",
"url": "https://github.com/CombineCommunity/Feedbacks.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Feedbacks",
"dependencies": [
{
"identity": "combineext",
"name": "CombineExt",
"url": "https://github.com/CombineCommunity/CombineExt.git",
"version": "1.3.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/CombineExt",
"dependencies": [
{
"identity": "combine-schedulers",
"name": "combine-schedulers",
"url": "https://github.com/pointfreeco/combine-schedulers",
"version": "0.11.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/combine-schedulers",
"dependencies": [
{
"identity": "swift-concurrency-extras",
"name": "swift-concurrency-extras",
"url": "https://github.com/pointfreeco/swift-concurrency-extras",
"version": "0.1.2",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-concurrency-extras",
"dependencies": [
]
},
{
"identity": "xctest-dynamic-overlay",
"name": "xctest-dynamic-overlay",
"url": "https://github.com/pointfreeco/xctest-dynamic-overlay",
"version": "0.9.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/xctest-dynamic-overlay",
"dependencies": [
]
}
]
}
]
}
]
}
]
}
Fetching https://github.com/CombineCommunity/Feedbacks.git
[9/835] Fetching feedbacks
Fetched https://github.com/CombineCommunity/Feedbacks.git from cache (1.13s)
Fetching https://github.com/CombineCommunity/CombineExt.git from cache
Fetched https://github.com/CombineCommunity/CombineExt.git from cache (0.45s)
Computing version for https://github.com/CombineCommunity/CombineExt.git
Computed https://github.com/CombineCommunity/CombineExt.git at 1.3.0 (0.02s)
Fetching https://github.com/pointfreeco/combine-schedulers from cache
Fetched https://github.com/pointfreeco/combine-schedulers from cache (0.44s)
Computing version for https://github.com/pointfreeco/combine-schedulers
Computed https://github.com/pointfreeco/combine-schedulers at 0.11.0 (0.67s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
Fetching https://github.com/pointfreeco/swift-concurrency-extras
[1/752] Fetching swift-concurrency-extras
[242/5726] Fetching swift-concurrency-extras, xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/swift-concurrency-extras from cache (1.40s)
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (1.40s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 0.9.0 (0.66s)
Computing version for https://github.com/pointfreeco/swift-concurrency-extras
Computed https://github.com/pointfreeco/swift-concurrency-extras at 0.1.2 (0.67s)
Creating working copy for https://github.com/pointfreeco/swift-concurrency-extras
Working copy of https://github.com/pointfreeco/swift-concurrency-extras resolved at 0.1.2
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 0.9.0
Creating working copy for https://github.com/CombineCommunity/CombineExt.git
Working copy of https://github.com/CombineCommunity/CombineExt.git resolved at 1.3.0
Creating working copy for https://github.com/pointfreeco/combine-schedulers
Working copy of https://github.com/pointfreeco/combine-schedulers resolved at 0.11.0
Creating working copy for https://github.com/CombineCommunity/Feedbacks.git
Working copy of https://github.com/CombineCommunity/Feedbacks.git resolved at main (e31d304)
warning: '.resolve-product-dependencies': dependency 'feedbacks' is not used by any target
Found 1 product dependencies
- CombineExt
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/CombineCommunity/Feedbacks.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version--7754E27361AE5C74.txt
[5/36] Compiling CombineExt WithLatestFrom.swift
[6/36] Compiling CombineExt ZipMany.swift
[7/36] Compiling CombineExt CurrentValueRelay.swift
[8/39] Compiling CombineExt Materialize.swift
[9/39] Compiling CombineExt MergeMany.swift
[10/39] Compiling CombineExt Nwise.swift
[11/39] Compiling CombineExt SetOutputType.swift
[12/39] Compiling CombineExt ShareReplay.swift
[13/39] Compiling CombineExt Toggle.swift
[14/39] Compiling CombineExt PassthroughRelay.swift
[15/39] Compiling CombineExt Relay.swift
[16/39] Compiling CombineExt ReplaySubject.swift
[17/39] Emitting module CombineExt
[18/39] Compiling CombineExt ObjectOwnership.swift
[19/39] Compiling CombineExt Amb.swift
[20/39] Compiling CombineExt AssignOwnership.swift
[21/39] Compiling CombineExt AssignToMany.swift
[22/39] Compiling CombineExt FlatMapBatches.swift
[23/39] Compiling CombineExt FlatMapLatest.swift
[24/39] Compiling CombineExt IgnoreFailure.swift
[25/39] Compiling CombineExt IgnoreOutputSetOutputType.swift
[26/39] Compiling CombineExt DemandBuffer.swift
[27/39] Compiling CombineExt Sink.swift
[28/39] Compiling CombineExt Optional.swift
[29/39] Compiling CombineExt Event.swift
[30/39] Compiling CombineExt Lock.swift
[31/39] Compiling CombineExt Timer.swift
[32/39] Compiling CombineExt MapMany.swift
[33/39] Compiling CombineExt CombineLatestMany.swift
[34/39] Compiling CombineExt Create.swift
[35/39] Compiling CombineExt Dematerialize.swift
[36/39] Compiling CombineExt FilterMany.swift
[37/39] Compiling CombineExt Partition.swift
[38/39] Compiling CombineExt PrefixDuration.swift
[39/39] Compiling CombineExt RemoveAllDuplicates.swift
[40/57] Compiling Feedbacks AnyEvent.swift
/Users/admin/builder/spi-builder-workspace/Sources/Feedbacks/Transitions/AnyState.swift:15:23: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'AnyState' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// }`
13 | ///
14 | public struct AnyState: State, Instantiable {
| `- note: consider making struct 'AnyState' conform to the 'Sendable' protocol
15 | public static let instance = AnyState()
| |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'AnyState' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | }
17 |
[41/57] Compiling Feedbacks AnyState.swift
/Users/admin/builder/spi-builder-workspace/Sources/Feedbacks/Transitions/AnyState.swift:15:23: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'AnyState' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// }`
13 | ///
14 | public struct AnyState: State, Instantiable {
| `- note: consider making struct 'AnyState' conform to the 'Sendable' protocol
15 | public static let instance = AnyState()
| |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'AnyState' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | }
17 |
[42/57] Compiling Feedbacks StaticIdentifiable.swift
[43/57] Compiling Feedbacks On.swift
[44/57] Compiling Feedbacks State.swift
[45/58] Compiling Feedbacks ArrayBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/Feedbacks/Transitions/ArrayBuilder.swift:8:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
6 | //
7 |
8 | @_functionBuilder
| `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
9 | public struct ArrayBuilder<Value> {
10 | public static func buildBlock(_ values: Value...) -> [Value] {
[46/58] Compiling Feedbacks Event.swift
/Users/admin/builder/spi-builder-workspace/Sources/Feedbacks/Transitions/ArrayBuilder.swift:8:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
6 | //
7 |
8 | @_functionBuilder
| `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
9 | public struct ArrayBuilder<Value> {
10 | public static func buildBlock(_ values: Value...) -> [Value] {
[47/58] Compiling Feedbacks Mediator.swift
/Users/admin/builder/spi-builder-workspace/Sources/Feedbacks/System/System.swift:242:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
240 | }
241 |
242 | @_functionBuilder
| `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
243 | public struct SystemBuilder {
244 | public static func buildBlock(
[48/58] Compiling Feedbacks System.swift
/Users/admin/builder/spi-builder-workspace/Sources/Feedbacks/System/System.swift:242:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
240 | }
241 |
242 | @_functionBuilder
| `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
243 | public struct SystemBuilder {
244 | public static func buildBlock(
[49/58] Compiling Feedbacks From.swift
/Users/admin/builder/spi-builder-workspace/Sources/Feedbacks/Transitions/AnyState.swift:15:23: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'AnyState' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// }`
13 | ///
14 | public struct AnyState: State, Instantiable {
| `- note: consider making struct 'AnyState' conform to the 'Sendable' protocol
15 | public static let instance = AnyState()
| |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'AnyState' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | }
17 |
[50/58] Compiling Feedbacks Instantiable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Feedbacks/Transitions/AnyState.swift:15:23: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'AnyState' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// }`
13 | ///
14 | public struct AnyState: State, Instantiable {
| `- note: consider making struct 'AnyState' conform to the 'Sendable' protocol
15 | public static let instance = AnyState()
| |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'AnyState' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | }
17 |
[51/58] Compiling Feedbacks Transitions.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[52/58] Compiling Feedbacks SideEffect.swift
[53/58] Compiling Feedbacks InitialState.swift
[54/58] Compiling Feedbacks Feedback.swift
/Users/admin/builder/spi-builder-workspace/Sources/Feedbacks/Feedbacks/Feedbacks.swift:160:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
158 | }
159 |
160 | @_functionBuilder
| `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
161 | public struct FeedbacksBuilder {
162 | public static func buildBlock(_ feedbacks: Feedback...) -> [Feedback] {
[55/58] Compiling Feedbacks Feedbacks.swift
/Users/admin/builder/spi-builder-workspace/Sources/Feedbacks/Feedbacks/Feedbacks.swift:160:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
158 | }
159 |
160 | @_functionBuilder
| `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
161 | public struct FeedbacksBuilder {
162 | public static func buildBlock(_ feedbacks: Feedback...) -> [Feedback] {
[56/58] Emitting module Feedbacks
/Users/admin/builder/spi-builder-workspace/Sources/Feedbacks/Feedbacks/Feedbacks.swift:160:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
158 | }
159 |
160 | @_functionBuilder
| `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
161 | public struct FeedbacksBuilder {
162 | public static func buildBlock(_ feedbacks: Feedback...) -> [Feedback] {
/Users/admin/builder/spi-builder-workspace/Sources/Feedbacks/System/System.swift:242:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
240 | }
241 |
242 | @_functionBuilder
| `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
243 | public struct SystemBuilder {
244 | public static func buildBlock(
/Users/admin/builder/spi-builder-workspace/Sources/Feedbacks/Transitions/ArrayBuilder.swift:8:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
6 | //
7 |
8 | @_functionBuilder
| `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
9 | public struct ArrayBuilder<Value> {
10 | public static func buildBlock(_ values: Value...) -> [Value] {
/Users/admin/builder/spi-builder-workspace/Sources/Feedbacks/System/UISystem.swift:54:14: error: initializer does not override a designated initializer from its superclass
52 | }
53 |
54 | override init(initialState: InitialState,
| `- error: initializer does not override a designated initializer from its superclass
55 | feedbacks: Feedbacks,
56 | transitions: Transitions) where PublishedState == RawState {
/Users/admin/builder/spi-builder-workspace/Sources/Feedbacks/Transitions/AnyState.swift:15:23: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'AnyState' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// }`
13 | ///
14 | public struct AnyState: State, Instantiable {
| `- note: consider making struct 'AnyState' conform to the 'Sendable' protocol
15 | public static let instance = AnyState()
| |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'AnyState' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | }
17 |
[57/58] Compiling Feedbacks UISystem+Binding.swift
/Users/admin/builder/spi-builder-workspace/Sources/Feedbacks/System/UISystem+Binding.swift:17:13: warning: capture of 'get' with non-sendable type '(PublishedState) -> Output' in a `@Sendable` closure; this is an error in the Swift 6 language mode
15 | func binding<Output>(get: @escaping (PublishedState) -> Output) -> Binding<Output> {
16 | Binding<Output> { [state] in
17 | get(state)
| |- warning: capture of 'get' with non-sendable type '(PublishedState) -> Output' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
18 | } set: { _ in
19 | }
/Users/admin/builder/spi-builder-workspace/Sources/Feedbacks/System/UISystem+Binding.swift:17:17: warning: capture of 'state' with non-sendable type 'PublishedState' in a `@Sendable` closure; this is an error in the Swift 6 language mode
15 | func binding<Output>(get: @escaping (PublishedState) -> Output) -> Binding<Output> {
16 | Binding<Output> { [state] in
17 | get(state)
| `- warning: capture of 'state' with non-sendable type 'PublishedState' in a `@Sendable` closure; this is an error in the Swift 6 language mode
18 | } set: { _ in
19 | }
/Users/admin/builder/spi-builder-workspace/Sources/Feedbacks/System/UISystem.swift:33:23: note: consider making generic parameter 'PublishedState' conform to the 'Sendable' protocol
31 | /// 2 - A Feedback that outputs a stream of user events
32 | /// The published states are always published on the main thread.
33 | public class UISystem<PublishedState: State>: System, ObservableObject {
| `- note: consider making generic parameter 'PublishedState' conform to the 'Sendable' protocol
34 | @Published public private(set) var state: PublishedState
35 | public let events = PassthroughSubject<Event, Never>()
/Users/admin/builder/spi-builder-workspace/Sources/Feedbacks/System/UISystem+Binding.swift:31:13: warning: capture of 'get' with non-sendable type '(PublishedState) -> Output' in a `@Sendable` closure; this is an error in the Swift 6 language mode
29 | func binding<Output>(get: @escaping (PublishedState) -> Output, emit: @escaping (Output) -> Event) -> Binding<Output> {
30 | Binding<Output> { [state] in
31 | get(state)
| |- warning: capture of 'get' with non-sendable type '(PublishedState) -> Output' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
32 | } set: { [weak self] in
33 | self?.emit(emit($0))
/Users/admin/builder/spi-builder-workspace/Sources/Feedbacks/System/UISystem+Binding.swift:31:17: warning: capture of 'state' with non-sendable type 'PublishedState' in a `@Sendable` closure; this is an error in the Swift 6 language mode
29 | func binding<Output>(get: @escaping (PublishedState) -> Output, emit: @escaping (Output) -> Event) -> Binding<Output> {
30 | Binding<Output> { [state] in
31 | get(state)
| `- warning: capture of 'state' with non-sendable type 'PublishedState' in a `@Sendable` closure; this is an error in the Swift 6 language mode
32 | } set: { [weak self] in
33 | self?.emit(emit($0))
/Users/admin/builder/spi-builder-workspace/Sources/Feedbacks/System/UISystem.swift:33:23: note: consider making generic parameter 'PublishedState' conform to the 'Sendable' protocol
31 | /// 2 - A Feedback that outputs a stream of user events
32 | /// The published states are always published on the main thread.
33 | public class UISystem<PublishedState: State>: System, ObservableObject {
| `- note: consider making generic parameter 'PublishedState' conform to the 'Sendable' protocol
34 | @Published public private(set) var state: PublishedState
35 | public let events = PassthroughSubject<Event, Never>()
/Users/admin/builder/spi-builder-workspace/Sources/Feedbacks/System/UISystem+Binding.swift:33:13: warning: capture of 'self' with non-sendable type 'UISystem<PublishedState>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
31 | get(state)
32 | } set: { [weak self] in
33 | self?.emit(emit($0))
| `- warning: capture of 'self' with non-sendable type 'UISystem<PublishedState>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
34 | }
35 | }
/Users/admin/builder/spi-builder-workspace/Sources/Feedbacks/System/UISystem.swift:33:14: note: generic class 'UISystem' does not conform to the 'Sendable' protocol
31 | /// 2 - A Feedback that outputs a stream of user events
32 | /// The published states are always published on the main thread.
33 | public class UISystem<PublishedState: State>: System, ObservableObject {
| `- note: generic class 'UISystem' does not conform to the 'Sendable' protocol
34 | @Published public private(set) var state: PublishedState
35 | public let events = PassthroughSubject<Event, Never>()
/Users/admin/builder/spi-builder-workspace/Sources/Feedbacks/System/UISystem+Binding.swift:33:24: warning: capture of 'emit' with non-sendable type '(Output) -> any Event' in a `@Sendable` closure; this is an error in the Swift 6 language mode
31 | get(state)
32 | } set: { [weak self] in
33 | self?.emit(emit($0))
| |- warning: capture of 'emit' with non-sendable type '(Output) -> any Event' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
34 | }
35 | }
/Users/admin/builder/spi-builder-workspace/Sources/Feedbacks/System/UISystem.swift:54:14: error: initializer does not override a designated initializer from its superclass
52 | }
53 |
54 | override init(initialState: InitialState,
| `- error: initializer does not override a designated initializer from its superclass
55 | feedbacks: Feedbacks,
56 | transitions: Transitions) where PublishedState == RawState {
[58/58] Compiling Feedbacks UISystem.swift
/Users/admin/builder/spi-builder-workspace/Sources/Feedbacks/System/UISystem+Binding.swift:17:13: warning: capture of 'get' with non-sendable type '(PublishedState) -> Output' in a `@Sendable` closure; this is an error in the Swift 6 language mode
15 | func binding<Output>(get: @escaping (PublishedState) -> Output) -> Binding<Output> {
16 | Binding<Output> { [state] in
17 | get(state)
| |- warning: capture of 'get' with non-sendable type '(PublishedState) -> Output' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
18 | } set: { _ in
19 | }
/Users/admin/builder/spi-builder-workspace/Sources/Feedbacks/System/UISystem+Binding.swift:17:17: warning: capture of 'state' with non-sendable type 'PublishedState' in a `@Sendable` closure; this is an error in the Swift 6 language mode
15 | func binding<Output>(get: @escaping (PublishedState) -> Output) -> Binding<Output> {
16 | Binding<Output> { [state] in
17 | get(state)
| `- warning: capture of 'state' with non-sendable type 'PublishedState' in a `@Sendable` closure; this is an error in the Swift 6 language mode
18 | } set: { _ in
19 | }
/Users/admin/builder/spi-builder-workspace/Sources/Feedbacks/System/UISystem.swift:33:23: note: consider making generic parameter 'PublishedState' conform to the 'Sendable' protocol
31 | /// 2 - A Feedback that outputs a stream of user events
32 | /// The published states are always published on the main thread.
33 | public class UISystem<PublishedState: State>: System, ObservableObject {
| `- note: consider making generic parameter 'PublishedState' conform to the 'Sendable' protocol
34 | @Published public private(set) var state: PublishedState
35 | public let events = PassthroughSubject<Event, Never>()
/Users/admin/builder/spi-builder-workspace/Sources/Feedbacks/System/UISystem+Binding.swift:31:13: warning: capture of 'get' with non-sendable type '(PublishedState) -> Output' in a `@Sendable` closure; this is an error in the Swift 6 language mode
29 | func binding<Output>(get: @escaping (PublishedState) -> Output, emit: @escaping (Output) -> Event) -> Binding<Output> {
30 | Binding<Output> { [state] in
31 | get(state)
| |- warning: capture of 'get' with non-sendable type '(PublishedState) -> Output' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
32 | } set: { [weak self] in
33 | self?.emit(emit($0))
/Users/admin/builder/spi-builder-workspace/Sources/Feedbacks/System/UISystem+Binding.swift:31:17: warning: capture of 'state' with non-sendable type 'PublishedState' in a `@Sendable` closure; this is an error in the Swift 6 language mode
29 | func binding<Output>(get: @escaping (PublishedState) -> Output, emit: @escaping (Output) -> Event) -> Binding<Output> {
30 | Binding<Output> { [state] in
31 | get(state)
| `- warning: capture of 'state' with non-sendable type 'PublishedState' in a `@Sendable` closure; this is an error in the Swift 6 language mode
32 | } set: { [weak self] in
33 | self?.emit(emit($0))
/Users/admin/builder/spi-builder-workspace/Sources/Feedbacks/System/UISystem.swift:33:23: note: consider making generic parameter 'PublishedState' conform to the 'Sendable' protocol
31 | /// 2 - A Feedback that outputs a stream of user events
32 | /// The published states are always published on the main thread.
33 | public class UISystem<PublishedState: State>: System, ObservableObject {
| `- note: consider making generic parameter 'PublishedState' conform to the 'Sendable' protocol
34 | @Published public private(set) var state: PublishedState
35 | public let events = PassthroughSubject<Event, Never>()
/Users/admin/builder/spi-builder-workspace/Sources/Feedbacks/System/UISystem+Binding.swift:33:13: warning: capture of 'self' with non-sendable type 'UISystem<PublishedState>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
31 | get(state)
32 | } set: { [weak self] in
33 | self?.emit(emit($0))
| `- warning: capture of 'self' with non-sendable type 'UISystem<PublishedState>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
34 | }
35 | }
/Users/admin/builder/spi-builder-workspace/Sources/Feedbacks/System/UISystem.swift:33:14: note: generic class 'UISystem' does not conform to the 'Sendable' protocol
31 | /// 2 - A Feedback that outputs a stream of user events
32 | /// The published states are always published on the main thread.
33 | public class UISystem<PublishedState: State>: System, ObservableObject {
| `- note: generic class 'UISystem' does not conform to the 'Sendable' protocol
34 | @Published public private(set) var state: PublishedState
35 | public let events = PassthroughSubject<Event, Never>()
/Users/admin/builder/spi-builder-workspace/Sources/Feedbacks/System/UISystem+Binding.swift:33:24: warning: capture of 'emit' with non-sendable type '(Output) -> any Event' in a `@Sendable` closure; this is an error in the Swift 6 language mode
31 | get(state)
32 | } set: { [weak self] in
33 | self?.emit(emit($0))
| |- warning: capture of 'emit' with non-sendable type '(Output) -> any Event' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
34 | }
35 | }
/Users/admin/builder/spi-builder-workspace/Sources/Feedbacks/System/UISystem.swift:54:14: error: initializer does not override a designated initializer from its superclass
52 | }
53 |
54 | override init(initialState: InitialState,
| `- error: initializer does not override a designated initializer from its superclass
55 | feedbacks: Feedbacks,
56 | transitions: Transitions) where PublishedState == RawState {
BUILD FAILURE 6.0 macosSpm