Build Information
Successful build of Fluxor, reference master (d924fe
), with Swift 6.0 for macOS (SPM) on 28 Nov 2024 08:27:13 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 --target Fluxor -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/FluxorOrg/Fluxor.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/FluxorOrg/Fluxor
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at d924fec Remove wiki docs (#112)
Cloned https://github.com/FluxorOrg/Fluxor.git
Revision (git rev-parse @):
d924fec95afbc80a5c67f32ab7293950c951ff10
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/FluxorOrg/Fluxor.git at master
========================================
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": "fluxor",
"name": "Fluxor",
"url": "https://github.com/FluxorOrg/Fluxor.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Fluxor",
"dependencies": [
]
}
]
}
Fetching https://github.com/FluxorOrg/Fluxor.git
[1/3662] Fetching fluxor
Fetched https://github.com/FluxorOrg/Fluxor.git from cache (1.15s)
Creating working copy for https://github.com/FluxorOrg/Fluxor.git
Working copy of https://github.com/FluxorOrg/Fluxor.git resolved at master (d924fec)
warning: '.resolve-product-dependencies': dependency 'fluxor' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/FluxorOrg/Fluxor.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 --target Fluxor -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version--7754E27361AE5C74.txt
[4/5] Emitting module AnyCodable
[5/5] Compiling AnyCodable AnyCodable.swift
[6/17] Compiling Fluxor Selector.swift
[7/17] Compiling Fluxor ActionPublisher+OfType.swift
[8/17] Compiling Fluxor Store.swift
[9/17] Compiling Fluxor ActionPublisher+WasCreatedBy.swift
[10/17] Emitting module Fluxor
[11/17] Compiling Fluxor ActionPublisher+WithIdentifier.swift
[12/17] Compiling Fluxor Reducer.swift
[13/17] Compiling Fluxor Interceptor.swift
[14/17] Compiling Fluxor PrintInterceptor.swift
[15/17] Compiling Fluxor Store+Binding.swift
/Users/admin/builder/spi-builder-workspace/Sources/Fluxor/SwiftUI/Store+Binding.swift:25:22: warning: capture of 'self' with non-sendable type 'Store<State, Environment>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
23 | func binding<Value>(get selector: Selector<State, Value>,
24 | send actionTemplate: ActionTemplate<Value>) -> Binding<Value> {
25 | .init(get: { self.selectCurrent(selector) },
| `- warning: capture of 'self' with non-sendable type 'Store<State, Environment>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
26 | set: { self.dispatch(action: actionTemplate.createAction(payload: $0)) })
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/Fluxor/Store.swift:33:12: note: generic class 'Store' does not conform to the 'Sendable' protocol
31 | It is possible to intercept all `Action`s and `State` changes by registering an `Interceptor`.
32 | */
33 | open class Store<State, Environment>: ObservableObject {
| `- note: generic class 'Store' does not conform to the 'Sendable' protocol
34 | /// The state of the `Store`. It can only be modified by the registered `Reducer`s when `Action`s are dispatched.
35 | @Published public private(set) var state: State
/Users/admin/builder/spi-builder-workspace/Sources/Fluxor/SwiftUI/Store+Binding.swift:25:41: warning: capture of 'selector' with non-sendable type 'Selector<State, Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
23 | func binding<Value>(get selector: Selector<State, Value>,
24 | send actionTemplate: ActionTemplate<Value>) -> Binding<Value> {
25 | .init(get: { self.selectCurrent(selector) },
| `- warning: capture of 'selector' with non-sendable type 'Selector<State, Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
26 | set: { self.dispatch(action: actionTemplate.createAction(payload: $0)) })
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/Fluxor/Selector.swift:32:14: note: generic class 'Selector' does not conform to the 'Sendable' protocol
30 | `Selector`s can be based on other `Selector`s making it possible to select a combined `Value`.
31 | */
32 | public class Selector<State, Value>: SelectorProtocol {
| `- note: generic class 'Selector' does not conform to the 'Sendable' protocol
33 | /// An unique identifier used when overriding the `Selector` on the `MockStore`.
34 | public let id = UUID()
/Users/admin/builder/spi-builder-workspace/Sources/Fluxor/SwiftUI/Store+Binding.swift:26:22: warning: capture of 'self' with non-sendable type 'Store<State, Environment>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 | send actionTemplate: ActionTemplate<Value>) -> Binding<Value> {
25 | .init(get: { self.selectCurrent(selector) },
26 | set: { self.dispatch(action: actionTemplate.createAction(payload: $0)) })
| `- warning: capture of 'self' with non-sendable type 'Store<State, Environment>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
27 | }
28 |
/Users/admin/builder/spi-builder-workspace/Sources/Fluxor/Store.swift:33:12: note: generic class 'Store' does not conform to the 'Sendable' protocol
31 | It is possible to intercept all `Action`s and `State` changes by registering an `Interceptor`.
32 | */
33 | open class Store<State, Environment>: ObservableObject {
| `- note: generic class 'Store' does not conform to the 'Sendable' protocol
34 | /// The state of the `Store`. It can only be modified by the registered `Reducer`s when `Action`s are dispatched.
35 | @Published public private(set) var state: State
/Users/admin/builder/spi-builder-workspace/Sources/Fluxor/SwiftUI/Store+Binding.swift:26:44: warning: capture of 'actionTemplate' with non-sendable type 'ActionTemplate<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 | send actionTemplate: ActionTemplate<Value>) -> Binding<Value> {
25 | .init(get: { self.selectCurrent(selector) },
26 | set: { self.dispatch(action: actionTemplate.createAction(payload: $0)) })
| `- warning: capture of 'actionTemplate' with non-sendable type 'ActionTemplate<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
27 | }
28 |
/Users/admin/builder/spi-builder-workspace/Sources/Fluxor/Action.swift:39:15: note: consider making generic struct 'ActionTemplate' conform to the 'Sendable' protocol
37 | The template can have a `Payload`type which is used when creating an actual `Action` from the template.
38 | */
39 | public struct ActionTemplate<Payload> {
| `- note: consider making generic struct 'ActionTemplate' conform to the 'Sendable' protocol
40 | /// The identifier for the `ActionTemplate`
41 | public let id: String
/Users/admin/builder/spi-builder-workspace/Sources/Fluxor/SwiftUI/Store+Binding.swift:46:29: warning: capture of 'self' with non-sendable type 'Store<State, Environment>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
44 | disable disableActionTemplate: ActionTemplate<Void>)
45 | -> Binding<Bool> {
46 | return .init(get: { self.selectCurrent(selector) },
| `- warning: capture of 'self' with non-sendable type 'Store<State, Environment>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
47 | set: { self.dispatch(action: ($0 ? enableActionTemplate : disableActionTemplate)()) })
48 | }
/Users/admin/builder/spi-builder-workspace/Sources/Fluxor/Store.swift:33:12: note: generic class 'Store' does not conform to the 'Sendable' protocol
31 | It is possible to intercept all `Action`s and `State` changes by registering an `Interceptor`.
32 | */
33 | open class Store<State, Environment>: ObservableObject {
| `- note: generic class 'Store' does not conform to the 'Sendable' protocol
34 | /// The state of the `Store`. It can only be modified by the registered `Reducer`s when `Action`s are dispatched.
35 | @Published public private(set) var state: State
/Users/admin/builder/spi-builder-workspace/Sources/Fluxor/SwiftUI/Store+Binding.swift:46:48: warning: capture of 'selector' with non-sendable type 'Selector<State, Bool>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
44 | disable disableActionTemplate: ActionTemplate<Void>)
45 | -> Binding<Bool> {
46 | return .init(get: { self.selectCurrent(selector) },
| `- warning: capture of 'selector' with non-sendable type 'Selector<State, Bool>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
47 | set: { self.dispatch(action: ($0 ? enableActionTemplate : disableActionTemplate)()) })
48 | }
/Users/admin/builder/spi-builder-workspace/Sources/Fluxor/Selector.swift:32:14: note: generic class 'Selector' does not conform to the 'Sendable' protocol
30 | `Selector`s can be based on other `Selector`s making it possible to select a combined `Value`.
31 | */
32 | public class Selector<State, Value>: SelectorProtocol {
| `- note: generic class 'Selector' does not conform to the 'Sendable' protocol
33 | /// An unique identifier used when overriding the `Selector` on the `MockStore`.
34 | public let id = UUID()
/Users/admin/builder/spi-builder-workspace/Sources/Fluxor/SwiftUI/Store+Binding.swift:47:29: warning: capture of 'self' with non-sendable type 'Store<State, Environment>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
45 | -> Binding<Bool> {
46 | return .init(get: { self.selectCurrent(selector) },
47 | set: { self.dispatch(action: ($0 ? enableActionTemplate : disableActionTemplate)()) })
| `- warning: capture of 'self' with non-sendable type 'Store<State, Environment>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
48 | }
49 |
/Users/admin/builder/spi-builder-workspace/Sources/Fluxor/Store.swift:33:12: note: generic class 'Store' does not conform to the 'Sendable' protocol
31 | It is possible to intercept all `Action`s and `State` changes by registering an `Interceptor`.
32 | */
33 | open class Store<State, Environment>: ObservableObject {
| `- note: generic class 'Store' does not conform to the 'Sendable' protocol
34 | /// The state of the `Store`. It can only be modified by the registered `Reducer`s when `Action`s are dispatched.
35 | @Published public private(set) var state: State
/Users/admin/builder/spi-builder-workspace/Sources/Fluxor/SwiftUI/Store+Binding.swift:47:57: warning: capture of 'enableActionTemplate' with non-sendable type 'ActionTemplate<Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
45 | -> Binding<Bool> {
46 | return .init(get: { self.selectCurrent(selector) },
47 | set: { self.dispatch(action: ($0 ? enableActionTemplate : disableActionTemplate)()) })
| `- warning: capture of 'enableActionTemplate' with non-sendable type 'ActionTemplate<Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
48 | }
49 |
/Users/admin/builder/spi-builder-workspace/Sources/Fluxor/Action.swift:39:15: note: consider making generic struct 'ActionTemplate' conform to the 'Sendable' protocol
37 | The template can have a `Payload`type which is used when creating an actual `Action` from the template.
38 | */
39 | public struct ActionTemplate<Payload> {
| `- note: consider making generic struct 'ActionTemplate' conform to the 'Sendable' protocol
40 | /// The identifier for the `ActionTemplate`
41 | public let id: String
/Users/admin/builder/spi-builder-workspace/Sources/Fluxor/SwiftUI/Store+Binding.swift:47:80: warning: capture of 'disableActionTemplate' with non-sendable type 'ActionTemplate<Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
45 | -> Binding<Bool> {
46 | return .init(get: { self.selectCurrent(selector) },
47 | set: { self.dispatch(action: ($0 ? enableActionTemplate : disableActionTemplate)()) })
| `- warning: capture of 'disableActionTemplate' with non-sendable type 'ActionTemplate<Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
48 | }
49 |
/Users/admin/builder/spi-builder-workspace/Sources/Fluxor/Action.swift:39:15: note: consider making generic struct 'ActionTemplate' conform to the 'Sendable' protocol
37 | The template can have a `Payload`type which is used when creating an actual `Action` from the template.
38 | */
39 | public struct ActionTemplate<Payload> {
| `- note: consider making generic struct 'ActionTemplate' conform to the 'Sendable' protocol
40 | /// The identifier for the `ActionTemplate`
41 | public let id: String
/Users/admin/builder/spi-builder-workspace/Sources/Fluxor/SwiftUI/Store+Binding.swift:63:29: warning: capture of 'self' with non-sendable type 'Store<State, Environment>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
61 | send action: @escaping (_ value: Value) -> Action)
62 | -> Binding<Value> {
63 | return .init(get: { self.selectCurrent(selector) },
| `- warning: capture of 'self' with non-sendable type 'Store<State, Environment>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
64 | set: { self.dispatch(action: action($0)) })
65 | }
/Users/admin/builder/spi-builder-workspace/Sources/Fluxor/Store.swift:33:12: note: generic class 'Store' does not conform to the 'Sendable' protocol
31 | It is possible to intercept all `Action`s and `State` changes by registering an `Interceptor`.
32 | */
33 | open class Store<State, Environment>: ObservableObject {
| `- note: generic class 'Store' does not conform to the 'Sendable' protocol
34 | /// The state of the `Store`. It can only be modified by the registered `Reducer`s when `Action`s are dispatched.
35 | @Published public private(set) var state: State
/Users/admin/builder/spi-builder-workspace/Sources/Fluxor/SwiftUI/Store+Binding.swift:63:48: warning: capture of 'selector' with non-sendable type 'Selector<State, Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
61 | send action: @escaping (_ value: Value) -> Action)
62 | -> Binding<Value> {
63 | return .init(get: { self.selectCurrent(selector) },
| `- warning: capture of 'selector' with non-sendable type 'Selector<State, Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
64 | set: { self.dispatch(action: action($0)) })
65 | }
/Users/admin/builder/spi-builder-workspace/Sources/Fluxor/Selector.swift:32:14: note: generic class 'Selector' does not conform to the 'Sendable' protocol
30 | `Selector`s can be based on other `Selector`s making it possible to select a combined `Value`.
31 | */
32 | public class Selector<State, Value>: SelectorProtocol {
| `- note: generic class 'Selector' does not conform to the 'Sendable' protocol
33 | /// An unique identifier used when overriding the `Selector` on the `MockStore`.
34 | public let id = UUID()
/Users/admin/builder/spi-builder-workspace/Sources/Fluxor/SwiftUI/Store+Binding.swift:64:29: warning: capture of 'self' with non-sendable type 'Store<State, Environment>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
62 | -> Binding<Value> {
63 | return .init(get: { self.selectCurrent(selector) },
64 | set: { self.dispatch(action: action($0)) })
| `- warning: capture of 'self' with non-sendable type 'Store<State, Environment>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
65 | }
66 | }
/Users/admin/builder/spi-builder-workspace/Sources/Fluxor/Store.swift:33:12: note: generic class 'Store' does not conform to the 'Sendable' protocol
31 | It is possible to intercept all `Action`s and `State` changes by registering an `Interceptor`.
32 | */
33 | open class Store<State, Environment>: ObservableObject {
| `- note: generic class 'Store' does not conform to the 'Sendable' protocol
34 | /// The state of the `Store`. It can only be modified by the registered `Reducer`s when `Action`s are dispatched.
35 | @Published public private(set) var state: State
/Users/admin/builder/spi-builder-workspace/Sources/Fluxor/SwiftUI/Store+Binding.swift:64:51: warning: capture of 'action' with non-sendable type '(Value) -> any Action' in a `@Sendable` closure; this is an error in the Swift 6 language mode
62 | -> Binding<Value> {
63 | return .init(get: { self.selectCurrent(selector) },
64 | set: { self.dispatch(action: action($0)) })
| |- warning: capture of 'action' with non-sendable type '(Value) -> any Action' 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'
65 | }
66 | }
[16/17] Compiling Fluxor Action.swift
[17/17] Compiling Fluxor Effects.swift
[18/18] Compiling Fluxor StoreValue.swift
Build of target: 'Fluxor' complete! (12.38s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Fluxor",
"name" : "Fluxor",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "Fluxor",
"targets" : [
"Fluxor"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "FluxorTestSupport",
"targets" : [
"FluxorTestSupport"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "FluxorTests",
"module_type" : "SwiftTarget",
"name" : "FluxorTests",
"path" : "Tests/FluxorTests",
"sources" : [
"ActionTests.swift",
"EffectsTests.swift",
"Interceptors/PrintInterceptorTests.swift",
"Interceptors/TestInterceptorTests.swift",
"MockStoreTests.swift",
"Operators/ActionPublisher+OfTypeTests.swift",
"Operators/ActionPublisher+WasCreatedByTests.swift",
"Operators/ActionPublisher+WithIdentifierTests.swift",
"ReducerTests.swift",
"SelectorTests.swift",
"StoreTests.swift",
"SwiftUI/Store+BindingTests.swift",
"SwiftUI/StoreValueTests.swift"
],
"target_dependencies" : [
"Fluxor",
"FluxorTestSupport"
],
"type" : "test"
},
{
"c99name" : "FluxorTestSupport",
"module_type" : "SwiftTarget",
"name" : "FluxorTestSupport",
"path" : "Sources/FluxorTestSupport",
"product_memberships" : [
"FluxorTestSupport"
],
"sources" : [
"EffectRunner.swift",
"MockStore.swift",
"TestInterceptor.swift"
],
"target_dependencies" : [
"Fluxor"
],
"type" : "library"
},
{
"c99name" : "Fluxor",
"module_type" : "SwiftTarget",
"name" : "Fluxor",
"path" : "Sources/Fluxor",
"product_memberships" : [
"Fluxor",
"FluxorTestSupport"
],
"sources" : [
"Action.swift",
"Effects.swift",
"Interceptor.swift",
"Interceptors/PrintInterceptor.swift",
"Operators/ActionPublisher+OfType.swift",
"Operators/ActionPublisher+WasCreatedBy.swift",
"Operators/ActionPublisher+WithIdentifier.swift",
"Reducer.swift",
"Selector.swift",
"Store.swift",
"SwiftUI/Store+Binding.swift",
"SwiftUI/StoreValue.swift"
],
"target_dependencies" : [
"AnyCodable"
],
"type" : "library"
},
{
"c99name" : "AnyCodableTests",
"module_type" : "SwiftTarget",
"name" : "AnyCodableTests",
"path" : "Tests/AnyCodableTests",
"sources" : [
"AnyCodable+DecodableTests.swift",
"AnyCodable+EncodableTests.swift",
"AnyCodable+EquatableTests.swift",
"AnyCodable+StringTests.swift"
],
"target_dependencies" : [
"AnyCodable"
],
"type" : "test"
},
{
"c99name" : "AnyCodable",
"module_type" : "SwiftTarget",
"name" : "AnyCodable",
"path" : "Sources/AnyCodable",
"product_memberships" : [
"Fluxor",
"FluxorTestSupport"
],
"sources" : [
"AnyCodable.swift"
],
"type" : "library"
}
],
"tools_version" : "5.2"
}
✅ Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path: $PWD/.docs/fluxororg/fluxor/master
Repository: FluxorOrg/Fluxor
Swift version used: 6.0
Target: Fluxor
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/swift-docc-render-artifact/.git/
From https://github.com/swiftlang/swift-docc-render-artifact
* branch 88815688627177b9716a01ca41da19397bd30e47 -> FETCH_HEAD
HEAD is now at 8881568 Update the artifact
Extracting symbol information for 'Fluxor'...
Finished extracting symbol information for 'Fluxor'. (6.25s)
Building documentation for 'Fluxor'...
warning: Parameter 'state' not found in initializer declaration
--> Sources/Fluxor/Reducer.swift:22:6-22:46
20 |
21 | - Parameter reduce: The `reduce` function to create a `Reducer` from
22 + - Parameter state: The `State` to mutate
| ╰─suggestion: Remove 'state' parameter documentation
23 | - Parameter action: The `Action` dispatched
24 | */
warning: Parameter 'action' not found in initializer declaration
--> Sources/Fluxor/Reducer.swift:23:6-23:49
21 | - Parameter reduce: The `reduce` function to create a `Reducer` from
22 | - Parameter state: The `State` to mutate
23 + - Parameter action: The `Action` dispatched
| ╰─suggestion: Remove 'action' parameter documentation
24 | */
25 | public init(id: String = UUID().uuidString, reduce: @escaping (_ state: inout State, _ action: Action) -> Void) {
warning: Parameter 'id' is missing documentation
--> Sources/Fluxor/Reducer.swift:23:49-23:49
21 | - Parameter reduce: The `reduce` function to create a `Reducer` from
| ╰─suggestion: Document 'id' parameter
22 | - Parameter state: The `State` to mutate
23 + - Parameter action: The `Action` dispatched
24 | */
25 | public init(id: String = UUID().uuidString, reduce: @escaping (_ state: inout State, _ action: Action) -> Void) {
warning: Parameter 'id' is missing documentation
--> Sources/Fluxor/Reducer.swift:33:87-33:87
31 | Creates a `Reducer` from a list of `ReduceOn`s.
32 |
33 + - Parameter reduceOns: The `ReduceOn`s which the created `Reducer` should contain
| ╰─suggestion: Document 'id' parameter
34 | */
35 | public init(id: String = UUID().uuidString, _ reduceOns: ReduceOn<State>...) {
warning: Parameter 'state' not found in initializer declaration
--> Sources/Fluxor/Reducer.swift:53:6-53:46
51 | - Parameter actionType: The type of `Action` to filter on
52 | - Parameter reduce: A pure function which takes a `State` and an `Action` and returns a new `State`.
53 + - Parameter state: The `State` to mutate
| ╰─suggestion: Remove 'state' parameter documentation
54 | - Parameter action: The `Action` dispatched
55 | */
warning: Parameter 'action' not found in initializer declaration
--> Sources/Fluxor/Reducer.swift:54:18-54:24
52 | - Parameter reduce: A pure function which takes a `State` and an `Action` and returns a new `State`.
53 | - Parameter state: The `State` to mutate
54 + - Parameter action: The `Action` dispatched
| ╰─suggestion: Replace 'action' with 'actionType'
55 | */
56 | public init<A: Action>(_ actionType: A.Type, reduce: @escaping (_ state: inout State, _ action: A) -> Void) {
warning: Parameter 'state' not found in initializer declaration
--> Sources/Fluxor/Reducer.swift:68:6-68:46
66 | - Parameter actionTemplates: The `ActionTemplate`s to filter on
67 | - Parameter reduce: A pure function which takes a `State` and an `Action` and returns a new `State`.
68 + - Parameter state: The `State` to mutate
| ╰─suggestion: Remove 'state' parameter documentation
69 | - Parameter action: The `Action` dispatched
70 | */
warning: Parameter 'action' not found in initializer declaration
--> Sources/Fluxor/Reducer.swift:69:18-69:24
67 | - Parameter reduce: A pure function which takes a `State` and an `Action` and returns a new `State`.
68 | - Parameter state: The `State` to mutate
69 + - Parameter action: The `Action` dispatched
| ╰─suggestion: Replace 'action' with 'actionTemplates'
70 | */
71 | public init<Payload>(_ actionTemplates: ActionTemplate<Payload>...,
warning: Parameter 'projector' not found in initializer declaration
--> Sources/Fluxor/Selector.swift:84:6-84:81
82 |
83 | - Parameter selector1: The first `Selector`
84 + - Parameter projector: The closure to pass the value from the `Selector` to
| ╰─suggestion: Remove 'projector' parameter documentation
85 | */
86 | public convenience init(_ selector1: S1, keyPath: KeyPath<S1.Value, Value>) {
warning: Parameter 'keyPath' is missing documentation
--> Sources/Fluxor/Selector.swift:84:81-84:81
82 |
83 | - Parameter selector1: The first `Selector`
84 + - Parameter projector: The closure to pass the value from the `Selector` to
| ╰─suggestion: Document 'keyPath' parameter
85 | */
86 | public convenience init(_ selector1: S1, keyPath: KeyPath<S1.Value, Value>) {
warning: Parameter 'keyPath' is already documented
Sources/Fluxor/Selector.swift:225:6: Previously documented here
--> Sources/Fluxor/Selector.swift:226:6-226:86
224 | - Parameter selector1: The first `Selector`
225 | - Parameter keyPath: The `keyPath` to create the `Selector` from
226 + - Parameter keyPath: The `KeyPath` to subscript in the value from the `Selector`
| ╰─suggestion: Remove duplicate parameter documentation
227 | - Returns: A `Selector` from the given `Selector` and the `KeyPath`
228 | */
warning: Parameter 'value' not found in instance method declaration
--> Sources/Fluxor/SwiftUI/Store+Binding.swift:57:6-57:82
55 | - Parameter selector: The `Selector`s to use for getting the current value
56 | - Parameter action: A closure which returns an `Action` to be dispatched when the value changes
57 + - Parameter value: The value used to decide which `Action` to be dispatched.
| ╰─suggestion: Remove 'value' parameter documentation
58 | - Returns: A `Binding` based on the given `Selector` and closure
59 | */Finished building documentation for 'Fluxor' (0.15s)
Generated documentation archive at:
/Users/admin/builder/spi-builder-workspace/.docs/fluxororg/fluxor/master
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/2038] Fetching swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.31s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.3 (0.56s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3186] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.23s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.59s)
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.3
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Building for debugging...
[0/8] Write sources
[3/8] Write snippet-extract-tool-entitlement.plist
[4/8] Write swift-version--7754E27361AE5C74.txt
[6/53] Compiling SymbolKit SourceRange.swift
[7/53] Compiling SymbolKit Metadata.swift
[8/53] Compiling SymbolKit Module.swift
[9/53] Compiling SymbolKit OperatingSystem.swift
[10/53] Compiling SymbolKit Platform.swift
[11/57] Emitting module SymbolKit
[12/57] Compiling SymbolKit Relationship.swift
[13/57] Compiling SymbolKit RelationshipKind.swift
[14/57] Compiling SymbolKit SourceOrigin.swift
[15/57] Compiling SymbolKit GenericConstraints.swift
[16/57] Compiling SymbolKit Swift.swift
[17/57] Compiling Snippets Snippet.swift
[18/57] Emitting module Snippets
[19/57] Compiling Snippets SnippetParser.swift
[20/57] Compiling SymbolKit SemanticVersion.swift
[21/57] Compiling SymbolKit AccessControl.swift
[22/57] Compiling SymbolKit Availability.swift
[23/57] Compiling SymbolKit AvailabilityItem.swift
[24/57] Compiling SymbolKit Domain.swift
[25/57] Compiling SymbolKit Mixin+Equals.swift
[26/57] Compiling SymbolKit Mixin+Hash.swift
[27/57] Compiling SymbolKit Mixin.swift
[28/57] Compiling SymbolKit LineList.swift
[29/57] Compiling SymbolKit Position.swift
[30/57] Compiling SymbolKit Names.swift
[31/57] Compiling SymbolKit SPI.swift
[32/57] Compiling SymbolKit Snippet.swift
[33/57] Compiling SymbolKit Extension.swift
[34/57] Compiling SymbolKit GenericConstraint.swift
[35/57] Compiling SymbolKit GenericParameter.swift
[36/57] Compiling SymbolKit Generics.swift
[37/57] Compiling SymbolKit Namespace.swift
[38/57] Compiling SymbolKit Symbol.swift
[39/57] Compiling SymbolKit SymbolKind.swift
[40/57] Compiling SymbolKit SymbolGraph.swift
[41/57] Compiling SymbolKit GraphCollector.swift
[42/57] Compiling SymbolKit DeclarationFragments.swift
[43/57] Compiling SymbolKit Fragment.swift
[44/57] Compiling SymbolKit FragmentKind.swift
[45/57] Compiling SymbolKit FunctionParameter.swift
[46/57] Compiling SymbolKit FunctionSignature.swift
[47/57] Compiling SymbolKit Identifier.swift
[48/57] Compiling SymbolKit KindIdentifier.swift
[49/57] Compiling SymbolKit Location.swift
[50/57] Compiling SymbolKit Mutability.swift
[51/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[52/57] Compiling SymbolKit UnifiedSymbol.swift
[53/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[54/57] Compiling SymbolKit UnifiedSymbolGraph.swift
[55/61] Compiling snippet_extract URL+Status.swift
[56/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[57/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Emitting module snippet_extract
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (4.27s)
Building for debugging...
[0/1] Write swift-version--7754E27361AE5C74.txt
[2/3] Compiling AnyCodable AnyCodable.swift
[3/3] Emitting module AnyCodable
[4/15] Compiling Fluxor Store+Binding.swift
[5/15] Compiling Fluxor ActionPublisher+WasCreatedBy.swift
[6/15] Compiling Fluxor Selector.swift
[7/15] Compiling Fluxor ActionPublisher+OfType.swift
[8/15] Compiling Fluxor Reducer.swift
[9/15] Compiling Fluxor ActionPublisher+WithIdentifier.swift
[10/15] Compiling Fluxor Action.swift
[11/15] Compiling Fluxor Effects.swift
[12/15] Compiling Fluxor Store.swift
[13/15] Compiling Fluxor Interceptor.swift
[14/15] Compiling Fluxor PrintInterceptor.swift
[15/15] Emitting module Fluxor
[16/16] Compiling Fluxor StoreValue.swift
Build of target: 'Fluxor' complete! (2.27s)
Target: FluxorTestSupport
Extracting symbol information for 'FluxorTestSupport'...
Finished extracting symbol information for 'FluxorTestSupport'. (4.83s)
Building documentation for 'FluxorTestSupport'...
warning: Parameter 'effects' not found in initializer declaration
--> Sources/FluxorTestSupport/MockStore.swift:48:6-48:52
46 | - Parameter initialState: The initial `State` for the `Store`
47 | - Parameter reducers: The `Reducer`s to register
48 + - Parameter effects: The `Effect`s to register
| ╰─suggestion: Remove 'effects' parameter documentation
49 | */
50 | override public init(initialState: State, environment: Environment, reducers: [Reducer<State>] = []) {
warning: Parameter 'environment' is missing documentation
--> Sources/FluxorTestSupport/MockStore.swift:48:52-48:52
46 | - Parameter initialState: The initial `State` for the `Store`
47 | - Parameter reducers: The `Reducer`s to register
| ╰─suggestion: Document 'environment' parameter
48 + - Parameter effects: The `Effect`s to register
49 | */
50 | override public init(initialState: State, environment: Environment, reducers: [Reducer<State>] = []) {Finished building documentation for 'FluxorTestSupport' (0.06s)
Generated documentation archive at:
/Users/admin/builder/spi-builder-workspace/.docs/fluxororg/fluxor/master
Building for debugging...
[0/3] Write swift-version--7754E27361AE5C74.txt
Build of product 'snippet-extract' complete! (0.17s)
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/6] Compiling FluxorTestSupport EffectRunner.swift
[4/6] Emitting module FluxorTestSupport
/Users/admin/builder/spi-builder-workspace/Sources/FluxorTestSupport/MockStore.swift:16:1: warning: extension declares a conformance of imported type 'AnonymousAction' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Fluxor' introduce this conformance in the future
14 | import XCTest
15 |
16 | extension AnonymousAction: Equatable {
| |- warning: extension declares a conformance of imported type 'AnonymousAction' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Fluxor' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
17 | public static func == (lhs: Self, rhs: Self) -> Bool {
18 | lhs.id == rhs.id
[5/6] Compiling FluxorTestSupport TestInterceptor.swift
[6/6] Compiling FluxorTestSupport MockStore.swift
/Users/admin/builder/spi-builder-workspace/Sources/FluxorTestSupport/MockStore.swift:16:1: warning: extension declares a conformance of imported type 'AnonymousAction' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Fluxor' introduce this conformance in the future
14 | import XCTest
15 |
16 | extension AnonymousAction: Equatable {
| |- warning: extension declares a conformance of imported type 'AnonymousAction' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Fluxor' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
17 | public static func == (lhs: Self, rhs: Self) -> Bool {
18 | lhs.id == rhs.id
Build of target: 'FluxorTestSupport' complete! (4.57s)
Successfully merged into /Users/admin/builder/spi-builder-workspace/.docs-staging/fluxororg/fluxor/master/index/index.json
Successfully merged into /Users/admin/builder/spi-builder-workspace/.docs-staging/fluxororg/fluxor/master/linkable-paths.json
358
3 /Users/admin/builder/spi-builder-workspace/.docs/fluxororg/fluxor/master
✅ Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/fluxororg/fluxor/master
File count: 358
Doc size: 3.0MB
Preparing doc bundle ...
Uploading prod-fluxororg-fluxor-master-c9414afc.zip to s3://spi-docs-inbox/prod-fluxororg-fluxor-master-c9414afc.zip
Copying... [19%]
Copying... [28%]
Copying... [38%]
Copying... [47%]
Copying... [57%]
Copying... [66%]
Copying... [76%]
Copying... [85%]
Copying... [94%]
Copying... [100%]
Done.