Build Information
Failed to build composable-core-motion, reference 0.1.1 (542372), with Swift 6.3 for macOS (SPM) on 12 Apr 2026 11:13:35 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64Build Log
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/HeadphoneMotionManager/HeadphoneMotionManagerInterface.swift:72:15: error: '@escaping' only applies to function types
70 |
71 | public init(
72 | create: @escaping (AnyHashable) -> Effect<Action, Never>,
| `- error: '@escaping' only applies to function types
73 | destroy: @escaping (AnyHashable) -> Effect<Never, Never>,
74 | deviceMotion: @escaping (AnyHashable) -> DeviceMotion?,
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/HeadphoneMotionManager/HeadphoneMotionManagerInterface.swift:73:43: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
71 | public init(
72 | create: @escaping (AnyHashable) -> Effect<Action, Never>,
73 | destroy: @escaping (AnyHashable) -> Effect<Never, Never>,
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
74 | deviceMotion: @escaping (AnyHashable) -> DeviceMotion?,
75 | isDeviceMotionActive: @escaping (AnyHashable) -> Bool,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/HeadphoneMotionManager/HeadphoneMotionManagerInterface.swift:73:16: error: '@escaping' only applies to function types
71 | public init(
72 | create: @escaping (AnyHashable) -> Effect<Action, Never>,
73 | destroy: @escaping (AnyHashable) -> Effect<Never, Never>,
| `- error: '@escaping' only applies to function types
74 | deviceMotion: @escaping (AnyHashable) -> DeviceMotion?,
75 | isDeviceMotionActive: @escaping (AnyHashable) -> Bool,
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/HeadphoneMotionManager/HeadphoneMotionManagerInterface.swift:78:9: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
76 | isDeviceMotionAvailable: @escaping (AnyHashable) -> Bool,
77 | startDeviceMotionUpdates: @escaping (AnyHashable, OperationQueue) ->
78 | Effect<DeviceMotion, Error>,
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
79 | stopDeviceMotionUpdates: @escaping (AnyHashable) -> Effect<Never, Never>
80 | ) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/HeadphoneMotionManager/HeadphoneMotionManagerInterface.swift:77:33: error: '@escaping' only applies to function types
75 | isDeviceMotionActive: @escaping (AnyHashable) -> Bool,
76 | isDeviceMotionAvailable: @escaping (AnyHashable) -> Bool,
77 | startDeviceMotionUpdates: @escaping (AnyHashable, OperationQueue) ->
| `- error: '@escaping' only applies to function types
78 | Effect<DeviceMotion, Error>,
79 | stopDeviceMotionUpdates: @escaping (AnyHashable) -> Effect<Never, Never>
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/HeadphoneMotionManager/HeadphoneMotionManagerInterface.swift:79:59: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
77 | startDeviceMotionUpdates: @escaping (AnyHashable, OperationQueue) ->
78 | Effect<DeviceMotion, Error>,
79 | stopDeviceMotionUpdates: @escaping (AnyHashable) -> Effect<Never, Never>
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
80 | ) {
81 | self.create = create
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/HeadphoneMotionManager/HeadphoneMotionManagerInterface.swift:79:32: error: '@escaping' only applies to function types
77 | startDeviceMotionUpdates: @escaping (AnyHashable, OperationQueue) ->
78 | Effect<DeviceMotion, Error>,
79 | stopDeviceMotionUpdates: @escaping (AnyHashable) -> Effect<Never, Never>
| `- error: '@escaping' only applies to function types
80 | ) {
81 | self.create = create
[304/309] Compiling ComposableCoreMotion Exports.swift
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/HeadphoneMotionManager/HeadphoneMotionManagerMock.swift:11:42: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
9 | extension HeadphoneMotionManager {
10 | public static func unimplemented(
11 | create: @escaping (AnyHashable) -> Effect<Action, Never> = { _ in _unimplemented("create") },
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
12 | destroy: @escaping (AnyHashable) -> Effect<Never, Never> = { _ in _unimplemented("destroy") },
13 | deviceMotion: @escaping (AnyHashable) -> DeviceMotion? = { _ in _unimplemented("deviceMotion")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/HeadphoneMotionManager/HeadphoneMotionManagerMock.swift:11:15: error: '@escaping' only applies to function types
9 | extension HeadphoneMotionManager {
10 | public static func unimplemented(
11 | create: @escaping (AnyHashable) -> Effect<Action, Never> = { _ in _unimplemented("create") },
| `- error: '@escaping' only applies to function types
12 | destroy: @escaping (AnyHashable) -> Effect<Never, Never> = { _ in _unimplemented("destroy") },
13 | deviceMotion: @escaping (AnyHashable) -> DeviceMotion? = { _ in _unimplemented("deviceMotion")
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/HeadphoneMotionManager/HeadphoneMotionManagerMock.swift:12:43: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
10 | public static func unimplemented(
11 | create: @escaping (AnyHashable) -> Effect<Action, Never> = { _ in _unimplemented("create") },
12 | destroy: @escaping (AnyHashable) -> Effect<Never, Never> = { _ in _unimplemented("destroy") },
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
13 | deviceMotion: @escaping (AnyHashable) -> DeviceMotion? = { _ in _unimplemented("deviceMotion")
14 | },
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/HeadphoneMotionManager/HeadphoneMotionManagerMock.swift:12:16: error: '@escaping' only applies to function types
10 | public static func unimplemented(
11 | create: @escaping (AnyHashable) -> Effect<Action, Never> = { _ in _unimplemented("create") },
12 | destroy: @escaping (AnyHashable) -> Effect<Never, Never> = { _ in _unimplemented("destroy") },
| `- error: '@escaping' only applies to function types
13 | deviceMotion: @escaping (AnyHashable) -> DeviceMotion? = { _ in _unimplemented("deviceMotion")
14 | },
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/HeadphoneMotionManager/HeadphoneMotionManagerMock.swift:22:9: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
20 | },
21 | startDeviceMotionUpdates: @escaping (AnyHashable, OperationQueue) ->
22 | Effect<DeviceMotion, Error> = { _, _ in _unimplemented("startDeviceMotionUpdates") },
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
23 | stopDeviceMotionUpdates: @escaping (AnyHashable) -> Effect<Never, Never> = { _ in
24 | _unimplemented("stopDeviceMotionUpdates")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/HeadphoneMotionManager/HeadphoneMotionManagerMock.swift:21:33: error: '@escaping' only applies to function types
19 | _unimplemented("isDeviceMotionAvailable")
20 | },
21 | startDeviceMotionUpdates: @escaping (AnyHashable, OperationQueue) ->
| `- error: '@escaping' only applies to function types
22 | Effect<DeviceMotion, Error> = { _, _ in _unimplemented("startDeviceMotionUpdates") },
23 | stopDeviceMotionUpdates: @escaping (AnyHashable) -> Effect<Never, Never> = { _ in
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/HeadphoneMotionManager/HeadphoneMotionManagerMock.swift:23:59: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
21 | startDeviceMotionUpdates: @escaping (AnyHashable, OperationQueue) ->
22 | Effect<DeviceMotion, Error> = { _, _ in _unimplemented("startDeviceMotionUpdates") },
23 | stopDeviceMotionUpdates: @escaping (AnyHashable) -> Effect<Never, Never> = { _ in
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
24 | _unimplemented("stopDeviceMotionUpdates")
25 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/HeadphoneMotionManager/HeadphoneMotionManagerMock.swift:23:32: error: '@escaping' only applies to function types
21 | startDeviceMotionUpdates: @escaping (AnyHashable, OperationQueue) ->
22 | Effect<DeviceMotion, Error> = { _, _ in _unimplemented("startDeviceMotionUpdates") },
23 | stopDeviceMotionUpdates: @escaping (AnyHashable) -> Effect<Never, Never> = { _ in
| `- error: '@escaping' only applies to function types
24 | _unimplemented("stopDeviceMotionUpdates")
25 | }
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/HeadphoneMotionManager/HeadphoneMotionManagerInterface.swift:72:42: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
70 |
71 | public init(
72 | create: @escaping (AnyHashable) -> Effect<Action, Never>,
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
73 | destroy: @escaping (AnyHashable) -> Effect<Never, Never>,
74 | deviceMotion: @escaping (AnyHashable) -> DeviceMotion?,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/HeadphoneMotionManager/HeadphoneMotionManagerInterface.swift:72:15: error: '@escaping' only applies to function types
70 |
71 | public init(
72 | create: @escaping (AnyHashable) -> Effect<Action, Never>,
| `- error: '@escaping' only applies to function types
73 | destroy: @escaping (AnyHashable) -> Effect<Never, Never>,
74 | deviceMotion: @escaping (AnyHashable) -> DeviceMotion?,
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/HeadphoneMotionManager/HeadphoneMotionManagerInterface.swift:73:43: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
71 | public init(
72 | create: @escaping (AnyHashable) -> Effect<Action, Never>,
73 | destroy: @escaping (AnyHashable) -> Effect<Never, Never>,
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
74 | deviceMotion: @escaping (AnyHashable) -> DeviceMotion?,
75 | isDeviceMotionActive: @escaping (AnyHashable) -> Bool,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/HeadphoneMotionManager/HeadphoneMotionManagerInterface.swift:73:16: error: '@escaping' only applies to function types
71 | public init(
72 | create: @escaping (AnyHashable) -> Effect<Action, Never>,
73 | destroy: @escaping (AnyHashable) -> Effect<Never, Never>,
| `- error: '@escaping' only applies to function types
74 | deviceMotion: @escaping (AnyHashable) -> DeviceMotion?,
75 | isDeviceMotionActive: @escaping (AnyHashable) -> Bool,
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/HeadphoneMotionManager/HeadphoneMotionManagerInterface.swift:78:9: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
76 | isDeviceMotionAvailable: @escaping (AnyHashable) -> Bool,
77 | startDeviceMotionUpdates: @escaping (AnyHashable, OperationQueue) ->
78 | Effect<DeviceMotion, Error>,
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
79 | stopDeviceMotionUpdates: @escaping (AnyHashable) -> Effect<Never, Never>
80 | ) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/HeadphoneMotionManager/HeadphoneMotionManagerInterface.swift:77:33: error: '@escaping' only applies to function types
75 | isDeviceMotionActive: @escaping (AnyHashable) -> Bool,
76 | isDeviceMotionAvailable: @escaping (AnyHashable) -> Bool,
77 | startDeviceMotionUpdates: @escaping (AnyHashable, OperationQueue) ->
| `- error: '@escaping' only applies to function types
78 | Effect<DeviceMotion, Error>,
79 | stopDeviceMotionUpdates: @escaping (AnyHashable) -> Effect<Never, Never>
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/HeadphoneMotionManager/HeadphoneMotionManagerInterface.swift:79:59: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
77 | startDeviceMotionUpdates: @escaping (AnyHashable, OperationQueue) ->
78 | Effect<DeviceMotion, Error>,
79 | stopDeviceMotionUpdates: @escaping (AnyHashable) -> Effect<Never, Never>
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
80 | ) {
81 | self.create = create
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/HeadphoneMotionManager/HeadphoneMotionManagerInterface.swift:79:32: error: '@escaping' only applies to function types
77 | startDeviceMotionUpdates: @escaping (AnyHashable, OperationQueue) ->
78 | Effect<DeviceMotion, Error>,
79 | stopDeviceMotionUpdates: @escaping (AnyHashable) -> Effect<Never, Never>
| `- error: '@escaping' only applies to function types
80 | ) {
81 | self.create = create
error: emit-module command failed with exit code 1 (use -v to see invocation)
[305/310] Compiling ComposableCoreMotion Unimplemented.swift
[306/310] Compiling ComposableCoreMotion AccelerometerData.swift
[307/310] Emitting module ComposableCoreMotion
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/HeadphoneMotionManager/HeadphoneMotionManagerInterface.swift:27:44: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
25 | /// A motion manager must be first created before you can use its functionality, such as
26 | /// starting device motion updates or accessing data directly from the manager.
27 | public func create(id: AnyHashable) -> Effect<Action, Never> {
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
28 | self.create(id)
29 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/HeadphoneMotionManager/HeadphoneMotionManagerInterface.swift:35:45: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
33 | /// In is good practice to destroy a headphone motion manager once you are done with it, such as
34 | /// when you leave a screen or no longer need motion data.
35 | public func destroy(id: AnyHashable) -> Effect<Never, Never> {
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
36 | self.destroy(id)
37 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/HeadphoneMotionManager/HeadphoneMotionManagerInterface.swift:62:10: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
60 | id: AnyHashable,
61 | to queue: OperationQueue = .main
62 | ) -> Effect<DeviceMotion, Error> {
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
63 | self.startDeviceMotionUpdates(id, queue)
64 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/HeadphoneMotionManager/HeadphoneMotionManagerInterface.swift:67:61: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
65 |
66 | /// Stops device-motion updates.
67 | public func stopDeviceMotionUpdates(id: AnyHashable) -> Effect<Never, Never> {
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
68 | self.stopDeviceMotionUpdates(id)
69 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/HeadphoneMotionManager/HeadphoneMotionManagerInterface.swift:72:42: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
70 |
71 | public init(
72 | create: @escaping (AnyHashable) -> Effect<Action, Never>,
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
73 | destroy: @escaping (AnyHashable) -> Effect<Never, Never>,
74 | deviceMotion: @escaping (AnyHashable) -> DeviceMotion?,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/HeadphoneMotionManager/HeadphoneMotionManagerInterface.swift:72:15: error: '@escaping' only applies to function types
70 |
71 | public init(
72 | create: @escaping (AnyHashable) -> Effect<Action, Never>,
| `- error: '@escaping' only applies to function types
73 | destroy: @escaping (AnyHashable) -> Effect<Never, Never>,
74 | deviceMotion: @escaping (AnyHashable) -> DeviceMotion?,
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/HeadphoneMotionManager/HeadphoneMotionManagerInterface.swift:73:43: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
71 | public init(
72 | create: @escaping (AnyHashable) -> Effect<Action, Never>,
73 | destroy: @escaping (AnyHashable) -> Effect<Never, Never>,
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
74 | deviceMotion: @escaping (AnyHashable) -> DeviceMotion?,
75 | isDeviceMotionActive: @escaping (AnyHashable) -> Bool,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/HeadphoneMotionManager/HeadphoneMotionManagerInterface.swift:73:16: error: '@escaping' only applies to function types
71 | public init(
72 | create: @escaping (AnyHashable) -> Effect<Action, Never>,
73 | destroy: @escaping (AnyHashable) -> Effect<Never, Never>,
| `- error: '@escaping' only applies to function types
74 | deviceMotion: @escaping (AnyHashable) -> DeviceMotion?,
75 | isDeviceMotionActive: @escaping (AnyHashable) -> Bool,
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/HeadphoneMotionManager/HeadphoneMotionManagerInterface.swift:78:9: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
76 | isDeviceMotionAvailable: @escaping (AnyHashable) -> Bool,
77 | startDeviceMotionUpdates: @escaping (AnyHashable, OperationQueue) ->
78 | Effect<DeviceMotion, Error>,
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
79 | stopDeviceMotionUpdates: @escaping (AnyHashable) -> Effect<Never, Never>
80 | ) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/HeadphoneMotionManager/HeadphoneMotionManagerInterface.swift:77:33: error: '@escaping' only applies to function types
75 | isDeviceMotionActive: @escaping (AnyHashable) -> Bool,
76 | isDeviceMotionAvailable: @escaping (AnyHashable) -> Bool,
77 | startDeviceMotionUpdates: @escaping (AnyHashable, OperationQueue) ->
| `- error: '@escaping' only applies to function types
78 | Effect<DeviceMotion, Error>,
79 | stopDeviceMotionUpdates: @escaping (AnyHashable) -> Effect<Never, Never>
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/HeadphoneMotionManager/HeadphoneMotionManagerInterface.swift:79:59: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
77 | startDeviceMotionUpdates: @escaping (AnyHashable, OperationQueue) ->
78 | Effect<DeviceMotion, Error>,
79 | stopDeviceMotionUpdates: @escaping (AnyHashable) -> Effect<Never, Never>
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
80 | ) {
81 | self.create = create
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/HeadphoneMotionManager/HeadphoneMotionManagerInterface.swift:79:32: error: '@escaping' only applies to function types
77 | startDeviceMotionUpdates: @escaping (AnyHashable, OperationQueue) ->
78 | Effect<DeviceMotion, Error>,
79 | stopDeviceMotionUpdates: @escaping (AnyHashable) -> Effect<Never, Never>
| `- error: '@escaping' only applies to function types
80 | ) {
81 | self.create = create
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/HeadphoneMotionManager/HeadphoneMotionManagerInterface.swift:90:34: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
88 | }
89 |
90 | var create: (AnyHashable) -> Effect<Action, Never>
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
91 | var destroy: (AnyHashable) -> Effect<Never, Never>
92 | var deviceMotion: (AnyHashable) -> DeviceMotion?
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/HeadphoneMotionManager/HeadphoneMotionManagerInterface.swift:91:35: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
89 |
90 | var create: (AnyHashable) -> Effect<Action, Never>
91 | var destroy: (AnyHashable) -> Effect<Never, Never>
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
92 | var deviceMotion: (AnyHashable) -> DeviceMotion?
93 | var isDeviceMotionActive: (AnyHashable) -> Bool
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/HeadphoneMotionManager/HeadphoneMotionManagerInterface.swift:95:68: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
93 | var isDeviceMotionActive: (AnyHashable) -> Bool
94 | var isDeviceMotionAvailable: (AnyHashable) -> Bool
95 | var startDeviceMotionUpdates: (AnyHashable, OperationQueue) -> Effect<DeviceMotion, Error>
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
96 | var stopDeviceMotionUpdates: (AnyHashable) -> Effect<Never, Never>
97 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/HeadphoneMotionManager/HeadphoneMotionManagerInterface.swift:96:51: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
94 | var isDeviceMotionAvailable: (AnyHashable) -> Bool
95 | var startDeviceMotionUpdates: (AnyHashable, OperationQueue) -> Effect<DeviceMotion, Error>
96 | var stopDeviceMotionUpdates: (AnyHashable) -> Effect<Never, Never>
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
97 | }
98 | #endif
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/HeadphoneMotionManager/HeadphoneMotionManagerMock.swift:11:42: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
9 | extension HeadphoneMotionManager {
10 | public static func unimplemented(
11 | create: @escaping (AnyHashable) -> Effect<Action, Never> = { _ in _unimplemented("create") },
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
12 | destroy: @escaping (AnyHashable) -> Effect<Never, Never> = { _ in _unimplemented("destroy") },
13 | deviceMotion: @escaping (AnyHashable) -> DeviceMotion? = { _ in _unimplemented("deviceMotion")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/HeadphoneMotionManager/HeadphoneMotionManagerMock.swift:11:15: error: '@escaping' only applies to function types
9 | extension HeadphoneMotionManager {
10 | public static func unimplemented(
11 | create: @escaping (AnyHashable) -> Effect<Action, Never> = { _ in _unimplemented("create") },
| `- error: '@escaping' only applies to function types
12 | destroy: @escaping (AnyHashable) -> Effect<Never, Never> = { _ in _unimplemented("destroy") },
13 | deviceMotion: @escaping (AnyHashable) -> DeviceMotion? = { _ in _unimplemented("deviceMotion")
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/HeadphoneMotionManager/HeadphoneMotionManagerMock.swift:12:43: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
10 | public static func unimplemented(
11 | create: @escaping (AnyHashable) -> Effect<Action, Never> = { _ in _unimplemented("create") },
12 | destroy: @escaping (AnyHashable) -> Effect<Never, Never> = { _ in _unimplemented("destroy") },
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
13 | deviceMotion: @escaping (AnyHashable) -> DeviceMotion? = { _ in _unimplemented("deviceMotion")
14 | },
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/HeadphoneMotionManager/HeadphoneMotionManagerMock.swift:12:16: error: '@escaping' only applies to function types
10 | public static func unimplemented(
11 | create: @escaping (AnyHashable) -> Effect<Action, Never> = { _ in _unimplemented("create") },
12 | destroy: @escaping (AnyHashable) -> Effect<Never, Never> = { _ in _unimplemented("destroy") },
| `- error: '@escaping' only applies to function types
13 | deviceMotion: @escaping (AnyHashable) -> DeviceMotion? = { _ in _unimplemented("deviceMotion")
14 | },
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/HeadphoneMotionManager/HeadphoneMotionManagerMock.swift:22:9: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
20 | },
21 | startDeviceMotionUpdates: @escaping (AnyHashable, OperationQueue) ->
22 | Effect<DeviceMotion, Error> = { _, _ in _unimplemented("startDeviceMotionUpdates") },
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
23 | stopDeviceMotionUpdates: @escaping (AnyHashable) -> Effect<Never, Never> = { _ in
24 | _unimplemented("stopDeviceMotionUpdates")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/HeadphoneMotionManager/HeadphoneMotionManagerMock.swift:21:33: error: '@escaping' only applies to function types
19 | _unimplemented("isDeviceMotionAvailable")
20 | },
21 | startDeviceMotionUpdates: @escaping (AnyHashable, OperationQueue) ->
| `- error: '@escaping' only applies to function types
22 | Effect<DeviceMotion, Error> = { _, _ in _unimplemented("startDeviceMotionUpdates") },
23 | stopDeviceMotionUpdates: @escaping (AnyHashable) -> Effect<Never, Never> = { _ in
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/HeadphoneMotionManager/HeadphoneMotionManagerMock.swift:23:59: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
21 | startDeviceMotionUpdates: @escaping (AnyHashable, OperationQueue) ->
22 | Effect<DeviceMotion, Error> = { _, _ in _unimplemented("startDeviceMotionUpdates") },
23 | stopDeviceMotionUpdates: @escaping (AnyHashable) -> Effect<Never, Never> = { _ in
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
24 | _unimplemented("stopDeviceMotionUpdates")
25 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/HeadphoneMotionManager/HeadphoneMotionManagerMock.swift:23:32: error: '@escaping' only applies to function types
21 | startDeviceMotionUpdates: @escaping (AnyHashable, OperationQueue) ->
22 | Effect<DeviceMotion, Error> = { _, _ in _unimplemented("startDeviceMotionUpdates") },
23 | stopDeviceMotionUpdates: @escaping (AnyHashable) -> Effect<Never, Never> = { _ in
| `- error: '@escaping' only applies to function types
24 | _unimplemented("stopDeviceMotionUpdates")
25 | }
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerInterface.swift:191:44: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
189 | /// A motion manager must be first created before you can use its functionality, such as starting
190 | /// device motion updates or accessing data directly from the manager.
191 | public func create(id: AnyHashable) -> Effect<Never, Never> {
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
192 | self.create(id)
193 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerInterface.swift:199:45: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
197 | /// In is good practice to destroy a motion manager once you are done with it, such as when you
198 | /// leave a screen or no longer need motion data.
199 | public func destroy(id: AnyHashable) -> Effect<Never, Never> {
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
200 | self.destroy(id)
201 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerInterface.swift:267:10: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
265 | magnetometerUpdateInterval: TimeInterval? = nil,
266 | showsDeviceMovementDisplay: Bool? = nil
267 | ) -> Effect<Never, Never> {
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
268 | self.set(
269 | id,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerInterface.swift:287:10: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
285 | id: AnyHashable,
286 | to queue: OperationQueue = .main
287 | ) -> Effect<AccelerometerData, Error> {
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
288 | self.startAccelerometerUpdates(id, queue)
289 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerInterface.swift:299:10: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
297 | using referenceFrame: CMAttitudeReferenceFrame,
298 | to queue: OperationQueue = .main
299 | ) -> Effect<DeviceMotion, Error> {
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
300 | self.startDeviceMotionUpdates(id, referenceFrame, queue)
301 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerInterface.swift:310:10: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
308 | id: AnyHashable,
309 | to queue: OperationQueue = .main
310 | ) -> Effect<GyroData, Error> {
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
311 | self.startGyroUpdates(id, queue)
312 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerInterface.swift:321:10: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
319 | id: AnyHashable,
320 | to queue: OperationQueue = .main
321 | ) -> Effect<MagnetometerData, Error> {
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
322 | self.startMagnetometerUpdates(id, queue)
323 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerInterface.swift:326:62: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
324 |
325 | /// Stops accelerometer updates.
326 | public func stopAccelerometerUpdates(id: AnyHashable) -> Effect<Never, Never> {
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
327 | self.stopAccelerometerUpdates(id)
328 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerInterface.swift:331:61: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
329 |
330 | /// Stops device-motion updates.
331 | public func stopDeviceMotionUpdates(id: AnyHashable) -> Effect<Never, Never> {
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
332 | self.stopDeviceMotionUpdates(id)
333 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerInterface.swift:336:53: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
334 |
335 | /// Stops gyroscope updates.
336 | public func stopGyroUpdates(id: AnyHashable) -> Effect<Never, Never> {
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
337 | self.stopGyroUpdates(id)
338 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerInterface.swift:341:61: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
339 |
340 | /// Stops magnetometer updates.
341 | public func stopMagnetometerUpdates(id: AnyHashable) -> Effect<Never, Never> {
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
342 | self.stopMagnetometerUpdates(id)
343 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerInterface.swift:349:42: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
347 | attitudeReferenceFrame: @escaping (AnyHashable) -> CMAttitudeReferenceFrame,
348 | availableAttitudeReferenceFrames: @escaping () -> CMAttitudeReferenceFrame,
349 | create: @escaping (AnyHashable) -> Effect<Never, Never>,
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
350 | destroy: @escaping (AnyHashable) -> Effect<Never, Never>,
351 | deviceMotion: @escaping (AnyHashable) -> DeviceMotion?,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerInterface.swift:349:15: error: '@escaping' only applies to function types
347 | attitudeReferenceFrame: @escaping (AnyHashable) -> CMAttitudeReferenceFrame,
348 | availableAttitudeReferenceFrames: @escaping () -> CMAttitudeReferenceFrame,
349 | create: @escaping (AnyHashable) -> Effect<Never, Never>,
| `- error: '@escaping' only applies to function types
350 | destroy: @escaping (AnyHashable) -> Effect<Never, Never>,
351 | deviceMotion: @escaping (AnyHashable) -> DeviceMotion?,
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerInterface.swift:350:43: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
348 | availableAttitudeReferenceFrames: @escaping () -> CMAttitudeReferenceFrame,
349 | create: @escaping (AnyHashable) -> Effect<Never, Never>,
350 | destroy: @escaping (AnyHashable) -> Effect<Never, Never>,
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
351 | deviceMotion: @escaping (AnyHashable) -> DeviceMotion?,
352 | gyroData: @escaping (AnyHashable) -> GyroData?,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerInterface.swift:350:16: error: '@escaping' only applies to function types
348 | availableAttitudeReferenceFrames: @escaping () -> CMAttitudeReferenceFrame,
349 | create: @escaping (AnyHashable) -> Effect<Never, Never>,
350 | destroy: @escaping (AnyHashable) -> Effect<Never, Never>,
| `- error: '@escaping' only applies to function types
351 | deviceMotion: @escaping (AnyHashable) -> DeviceMotion?,
352 | gyroData: @escaping (AnyHashable) -> GyroData?,
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerInterface.swift:362:51: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
360 | isMagnetometerAvailable: @escaping (AnyHashable) -> Bool,
361 | magnetometerData: @escaping (AnyHashable) -> MagnetometerData?,
362 | set: @escaping (AnyHashable, Properties) -> Effect<Never, Never>,
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
363 | startAccelerometerUpdates: @escaping (AnyHashable, OperationQueue) -> Effect<
364 | AccelerometerData, Error
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerInterface.swift:362:12: error: '@escaping' only applies to function types
360 | isMagnetometerAvailable: @escaping (AnyHashable) -> Bool,
361 | magnetometerData: @escaping (AnyHashable) -> MagnetometerData?,
362 | set: @escaping (AnyHashable, Properties) -> Effect<Never, Never>,
| `- error: '@escaping' only applies to function types
363 | startAccelerometerUpdates: @escaping (AnyHashable, OperationQueue) -> Effect<
364 | AccelerometerData, Error
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerInterface.swift:363:77: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
361 | magnetometerData: @escaping (AnyHashable) -> MagnetometerData?,
362 | set: @escaping (AnyHashable, Properties) -> Effect<Never, Never>,
363 | startAccelerometerUpdates: @escaping (AnyHashable, OperationQueue) -> Effect<
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
364 | AccelerometerData, Error
365 | >,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerInterface.swift:363:34: error: '@escaping' only applies to function types
361 | magnetometerData: @escaping (AnyHashable) -> MagnetometerData?,
362 | set: @escaping (AnyHashable, Properties) -> Effect<Never, Never>,
363 | startAccelerometerUpdates: @escaping (AnyHashable, OperationQueue) -> Effect<
| `- error: '@escaping' only applies to function types
364 | AccelerometerData, Error
365 | >,
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerInterface.swift:367:9: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
365 | >,
366 | startDeviceMotionUpdates: @escaping (AnyHashable, CMAttitudeReferenceFrame, OperationQueue) ->
367 | Effect<DeviceMotion, Error>,
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
368 | startGyroUpdates: @escaping (AnyHashable, OperationQueue) -> Effect<GyroData, Error>,
369 | startMagnetometerUpdates: @escaping (AnyHashable, OperationQueue) -> Effect<
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerInterface.swift:366:33: error: '@escaping' only applies to function types
364 | AccelerometerData, Error
365 | >,
366 | startDeviceMotionUpdates: @escaping (AnyHashable, CMAttitudeReferenceFrame, OperationQueue) ->
| `- error: '@escaping' only applies to function types
367 | Effect<DeviceMotion, Error>,
368 | startGyroUpdates: @escaping (AnyHashable, OperationQueue) -> Effect<GyroData, Error>,
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerInterface.swift:368:68: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
366 | startDeviceMotionUpdates: @escaping (AnyHashable, CMAttitudeReferenceFrame, OperationQueue) ->
367 | Effect<DeviceMotion, Error>,
368 | startGyroUpdates: @escaping (AnyHashable, OperationQueue) -> Effect<GyroData, Error>,
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
369 | startMagnetometerUpdates: @escaping (AnyHashable, OperationQueue) -> Effect<
370 | MagnetometerData, Error
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerInterface.swift:368:25: error: '@escaping' only applies to function types
366 | startDeviceMotionUpdates: @escaping (AnyHashable, CMAttitudeReferenceFrame, OperationQueue) ->
367 | Effect<DeviceMotion, Error>,
368 | startGyroUpdates: @escaping (AnyHashable, OperationQueue) -> Effect<GyroData, Error>,
| `- error: '@escaping' only applies to function types
369 | startMagnetometerUpdates: @escaping (AnyHashable, OperationQueue) -> Effect<
370 | MagnetometerData, Error
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerInterface.swift:369:76: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
367 | Effect<DeviceMotion, Error>,
368 | startGyroUpdates: @escaping (AnyHashable, OperationQueue) -> Effect<GyroData, Error>,
369 | startMagnetometerUpdates: @escaping (AnyHashable, OperationQueue) -> Effect<
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
370 | MagnetometerData, Error
371 | >,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerInterface.swift:369:33: error: '@escaping' only applies to function types
367 | Effect<DeviceMotion, Error>,
368 | startGyroUpdates: @escaping (AnyHashable, OperationQueue) -> Effect<GyroData, Error>,
369 | startMagnetometerUpdates: @escaping (AnyHashable, OperationQueue) -> Effect<
| `- error: '@escaping' only applies to function types
370 | MagnetometerData, Error
371 | >,
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerInterface.swift:372:60: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
370 | MagnetometerData, Error
371 | >,
372 | stopAccelerometerUpdates: @escaping (AnyHashable) -> Effect<Never, Never>,
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
373 | stopDeviceMotionUpdates: @escaping (AnyHashable) -> Effect<Never, Never>,
374 | stopGyroUpdates: @escaping (AnyHashable) -> Effect<Never, Never>,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerInterface.swift:372:33: error: '@escaping' only applies to function types
370 | MagnetometerData, Error
371 | >,
372 | stopAccelerometerUpdates: @escaping (AnyHashable) -> Effect<Never, Never>,
| `- error: '@escaping' only applies to function types
373 | stopDeviceMotionUpdates: @escaping (AnyHashable) -> Effect<Never, Never>,
374 | stopGyroUpdates: @escaping (AnyHashable) -> Effect<Never, Never>,
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerInterface.swift:373:59: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
371 | >,
372 | stopAccelerometerUpdates: @escaping (AnyHashable) -> Effect<Never, Never>,
373 | stopDeviceMotionUpdates: @escaping (AnyHashable) -> Effect<Never, Never>,
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
374 | stopGyroUpdates: @escaping (AnyHashable) -> Effect<Never, Never>,
375 | stopMagnetometerUpdates: @escaping (AnyHashable) -> Effect<Never, Never>
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerInterface.swift:373:32: error: '@escaping' only applies to function types
371 | >,
372 | stopAccelerometerUpdates: @escaping (AnyHashable) -> Effect<Never, Never>,
373 | stopDeviceMotionUpdates: @escaping (AnyHashable) -> Effect<Never, Never>,
| `- error: '@escaping' only applies to function types
374 | stopGyroUpdates: @escaping (AnyHashable) -> Effect<Never, Never>,
375 | stopMagnetometerUpdates: @escaping (AnyHashable) -> Effect<Never, Never>
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerInterface.swift:374:51: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
372 | stopAccelerometerUpdates: @escaping (AnyHashable) -> Effect<Never, Never>,
373 | stopDeviceMotionUpdates: @escaping (AnyHashable) -> Effect<Never, Never>,
374 | stopGyroUpdates: @escaping (AnyHashable) -> Effect<Never, Never>,
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
375 | stopMagnetometerUpdates: @escaping (AnyHashable) -> Effect<Never, Never>
376 | ) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerInterface.swift:374:24: error: '@escaping' only applies to function types
372 | stopAccelerometerUpdates: @escaping (AnyHashable) -> Effect<Never, Never>,
373 | stopDeviceMotionUpdates: @escaping (AnyHashable) -> Effect<Never, Never>,
374 | stopGyroUpdates: @escaping (AnyHashable) -> Effect<Never, Never>,
| `- error: '@escaping' only applies to function types
375 | stopMagnetometerUpdates: @escaping (AnyHashable) -> Effect<Never, Never>
376 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerInterface.swift:375:59: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
373 | stopDeviceMotionUpdates: @escaping (AnyHashable) -> Effect<Never, Never>,
374 | stopGyroUpdates: @escaping (AnyHashable) -> Effect<Never, Never>,
375 | stopMagnetometerUpdates: @escaping (AnyHashable) -> Effect<Never, Never>
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
376 | ) {
377 | self.accelerometerData = accelerometerData
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerInterface.swift:375:32: error: '@escaping' only applies to function types
373 | stopDeviceMotionUpdates: @escaping (AnyHashable) -> Effect<Never, Never>,
374 | stopGyroUpdates: @escaping (AnyHashable) -> Effect<Never, Never>,
375 | stopMagnetometerUpdates: @escaping (AnyHashable) -> Effect<Never, Never>
| `- error: '@escaping' only applies to function types
376 | ) {
377 | self.accelerometerData = accelerometerData
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerInterface.swift:430:34: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
428 | /// Returns a bitmask specifying the available attitude reference frames on the device.
429 | var availableAttitudeReferenceFrames: () -> CMAttitudeReferenceFrame
430 | var create: (AnyHashable) -> Effect<Never, Never>
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
431 | var destroy: (AnyHashable) -> Effect<Never, Never>
432 | var deviceMotion: (AnyHashable) -> DeviceMotion?
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerInterface.swift:431:35: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
429 | var availableAttitudeReferenceFrames: () -> CMAttitudeReferenceFrame
430 | var create: (AnyHashable) -> Effect<Never, Never>
431 | var destroy: (AnyHashable) -> Effect<Never, Never>
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
432 | var deviceMotion: (AnyHashable) -> DeviceMotion?
433 | var gyroData: (AnyHashable) -> GyroData?
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerInterface.swift:443:43: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
441 | var isMagnetometerAvailable: (AnyHashable) -> Bool
442 | var magnetometerData: (AnyHashable) -> MagnetometerData?
443 | var set: (AnyHashable, Properties) -> Effect<Never, Never>
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
444 | var startAccelerometerUpdates: (AnyHashable, OperationQueue) -> Effect<AccelerometerData, Error>
445 | var startDeviceMotionUpdates:
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerInterface.swift:444:69: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
442 | var magnetometerData: (AnyHashable) -> MagnetometerData?
443 | var set: (AnyHashable, Properties) -> Effect<Never, Never>
444 | var startAccelerometerUpdates: (AnyHashable, OperationQueue) -> Effect<AccelerometerData, Error>
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
445 | var startDeviceMotionUpdates:
446 | (AnyHashable, CMAttitudeReferenceFrame, OperationQueue) -> Effect<DeviceMotion, Error>
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerInterface.swift:446:66: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
444 | var startAccelerometerUpdates: (AnyHashable, OperationQueue) -> Effect<AccelerometerData, Error>
445 | var startDeviceMotionUpdates:
446 | (AnyHashable, CMAttitudeReferenceFrame, OperationQueue) -> Effect<DeviceMotion, Error>
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
447 | var startGyroUpdates: (AnyHashable, OperationQueue) -> Effect<GyroData, Error>
448 | var startMagnetometerUpdates: (AnyHashable, OperationQueue) -> Effect<MagnetometerData, Error>
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerInterface.swift:447:60: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
445 | var startDeviceMotionUpdates:
446 | (AnyHashable, CMAttitudeReferenceFrame, OperationQueue) -> Effect<DeviceMotion, Error>
447 | var startGyroUpdates: (AnyHashable, OperationQueue) -> Effect<GyroData, Error>
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
448 | var startMagnetometerUpdates: (AnyHashable, OperationQueue) -> Effect<MagnetometerData, Error>
449 | var stopAccelerometerUpdates: (AnyHashable) -> Effect<Never, Never>
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerInterface.swift:448:68: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
446 | (AnyHashable, CMAttitudeReferenceFrame, OperationQueue) -> Effect<DeviceMotion, Error>
447 | var startGyroUpdates: (AnyHashable, OperationQueue) -> Effect<GyroData, Error>
448 | var startMagnetometerUpdates: (AnyHashable, OperationQueue) -> Effect<MagnetometerData, Error>
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
449 | var stopAccelerometerUpdates: (AnyHashable) -> Effect<Never, Never>
450 | var stopDeviceMotionUpdates: (AnyHashable) -> Effect<Never, Never>
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerInterface.swift:449:52: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
447 | var startGyroUpdates: (AnyHashable, OperationQueue) -> Effect<GyroData, Error>
448 | var startMagnetometerUpdates: (AnyHashable, OperationQueue) -> Effect<MagnetometerData, Error>
449 | var stopAccelerometerUpdates: (AnyHashable) -> Effect<Never, Never>
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
450 | var stopDeviceMotionUpdates: (AnyHashable) -> Effect<Never, Never>
451 | var stopGyroUpdates: (AnyHashable) -> Effect<Never, Never>
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerInterface.swift:450:51: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
448 | var startMagnetometerUpdates: (AnyHashable, OperationQueue) -> Effect<MagnetometerData, Error>
449 | var stopAccelerometerUpdates: (AnyHashable) -> Effect<Never, Never>
450 | var stopDeviceMotionUpdates: (AnyHashable) -> Effect<Never, Never>
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
451 | var stopGyroUpdates: (AnyHashable) -> Effect<Never, Never>
452 | var stopMagnetometerUpdates: (AnyHashable) -> Effect<Never, Never>
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerInterface.swift:451:43: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
449 | var stopAccelerometerUpdates: (AnyHashable) -> Effect<Never, Never>
450 | var stopDeviceMotionUpdates: (AnyHashable) -> Effect<Never, Never>
451 | var stopGyroUpdates: (AnyHashable) -> Effect<Never, Never>
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
452 | var stopMagnetometerUpdates: (AnyHashable) -> Effect<Never, Never>
453 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerInterface.swift:452:51: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
450 | var stopDeviceMotionUpdates: (AnyHashable) -> Effect<Never, Never>
451 | var stopGyroUpdates: (AnyHashable) -> Effect<Never, Never>
452 | var stopMagnetometerUpdates: (AnyHashable) -> Effect<Never, Never>
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
453 | }
454 | #endif
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerLive.swift:253:19: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
251 | private var deviceGyroUpdatesSubscribers: [AnyHashable: Effect<GyroData, Error>.Subscriber] = [:]
252 | private var deviceMagnetometerUpdatesSubscribers:
253 | [AnyHashable: Effect<MagnetometerData, Error>.Subscriber] = [:]
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
254 |
255 | private func couldNotFindMotionManager(id: Any) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerLive.swift:251:59: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
249 | [AnyHashable: Effect<DeviceMotion, Error>.Subscriber] =
250 | [:]
251 | private var deviceGyroUpdatesSubscribers: [AnyHashable: Effect<GyroData, Error>.Subscriber] = [:]
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
252 | private var deviceMagnetometerUpdatesSubscribers:
253 | [AnyHashable: Effect<MagnetometerData, Error>.Subscriber] = [:]
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerLive.swift:249:19: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
247 | [AnyHashable: Effect<AccelerometerData, Error>.Subscriber] = [:]
248 | private var deviceMotionUpdatesSubscribers:
249 | [AnyHashable: Effect<DeviceMotion, Error>.Subscriber] =
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
250 | [:]
251 | private var deviceGyroUpdatesSubscribers: [AnyHashable: Effect<GyroData, Error>.Subscriber] = [:]
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerLive.swift:247:19: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
245 |
246 | private var accelerometerUpdatesSubscribers:
247 | [AnyHashable: Effect<AccelerometerData, Error>.Subscriber] = [:]
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
248 | private var deviceMotionUpdatesSubscribers:
249 | [AnyHashable: Effect<DeviceMotion, Error>.Subscriber] =
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerLive.swift:23:10: error: cannot infer contextual base in reference to member 'fireAndForget'
21 | },
22 | create: { id in
23 | .fireAndForget {
| `- error: cannot infer contextual base in reference to member 'fireAndForget'
24 | if managers[id] != nil {
25 | assertionFailure(
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerLive.swift:39:10: error: cannot infer contextual base in reference to member 'fireAndForget'
37 | },
38 | destroy: { id in
39 | .fireAndForget { managers[id] = nil }
| `- error: cannot infer contextual base in reference to member 'fireAndForget'
40 | },
41 | deviceMotion: { id in
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerLive.swift:75:10: error: cannot infer contextual base in reference to member 'fireAndForget'
73 | },
74 | set: { id, properties in
75 | .fireAndForget {
| `- error: cannot infer contextual base in reference to member 'fireAndForget'
76 | guard let manager = requireMotionManager(id: id)
77 | else {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerLive.swift:99:16: error: generic parameter 'Action' could not be inferred
97 | },
98 | startAccelerometerUpdates: { id, queue in
99 | return Effect.run { subscriber in
| |- error: generic parameter 'Action' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
100 | guard let manager = requireMotionManager(id: id)
101 | else {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerLive.swift:102:20: error: cannot convert value of type 'AnyCancellable' to closure result type 'Void'
100 | guard let manager = requireMotionManager(id: id)
101 | else {
102 | return AnyCancellable {}
| `- error: cannot convert value of type 'AnyCancellable' to closure result type 'Void'
103 | }
104 | guard accelerometerUpdatesSubscribers[id] == nil
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerLive.swift:121:16: error: generic parameter 'Action' could not be inferred
119 | },
120 | startDeviceMotionUpdates: { id, frame, queue in
121 | return Effect.run { subscriber in
| |- error: generic parameter 'Action' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
122 | guard let manager = requireMotionManager(id: id)
123 | else {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerLive.swift:124:20: error: cannot convert value of type 'AnyCancellable' to closure result type 'Void'
122 | guard let manager = requireMotionManager(id: id)
123 | else {
124 | return AnyCancellable {}
| `- error: cannot convert value of type 'AnyCancellable' to closure result type 'Void'
125 | }
126 | guard deviceMotionUpdatesSubscribers[id] == nil
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerLive.swift:143:16: error: generic parameter 'Action' could not be inferred
141 | },
142 | startGyroUpdates: { id, queue in
143 | return Effect.run { subscriber in
| |- error: generic parameter 'Action' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
144 | guard let manager = requireMotionManager(id: id)
145 | else {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerLive.swift:146:20: error: cannot convert value of type 'AnyCancellable' to closure result type 'Void'
144 | guard let manager = requireMotionManager(id: id)
145 | else {
146 | return AnyCancellable {}
| `- error: cannot convert value of type 'AnyCancellable' to closure result type 'Void'
147 | }
148 | guard deviceGyroUpdatesSubscribers[id] == nil
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerLive.swift:165:16: error: generic parameter 'Action' could not be inferred
163 | },
164 | startMagnetometerUpdates: { id, queue in
165 | return Effect.run { subscriber in
| |- error: generic parameter 'Action' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
166 | guard let manager = managers[id]
167 | else {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerLive.swift:169:20: error: cannot convert value of type 'AnyCancellable' to closure result type 'Void'
167 | else {
168 | couldNotFindMotionManager(id: id)
169 | return AnyCancellable {}
| `- error: cannot convert value of type 'AnyCancellable' to closure result type 'Void'
170 | }
171 | guard deviceMagnetometerUpdatesSubscribers[id] == nil
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerLive.swift:188:10: error: cannot infer contextual base in reference to member 'fireAndForget'
186 | },
187 | stopAccelerometerUpdates: { id in
188 | .fireAndForget {
| `- error: cannot infer contextual base in reference to member 'fireAndForget'
189 | guard let manager = managers[id]
190 | else {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerLive.swift:194:19: error: value of tuple type '(key: AnyHashable, value: CMMotionManager)' has no member 'stopAccelerometerUpdates'
192 | return
193 | }
194 | manager.stopAccelerometerUpdates()
| `- error: value of tuple type '(key: AnyHashable, value: CMMotionManager)' has no member 'stopAccelerometerUpdates'
195 | accelerometerUpdatesSubscribers[id]?.send(completion: .finished)
196 | accelerometerUpdatesSubscribers[id] = nil
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerLive.swift:200:10: error: cannot infer contextual base in reference to member 'fireAndForget'
198 | },
199 | stopDeviceMotionUpdates: { id in
200 | .fireAndForget {
| `- error: cannot infer contextual base in reference to member 'fireAndForget'
201 | guard let manager = managers[id]
202 | else {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerLive.swift:206:19: error: value of tuple type '(key: AnyHashable, value: CMMotionManager)' has no member 'stopDeviceMotionUpdates'
204 | return
205 | }
206 | manager.stopDeviceMotionUpdates()
| `- error: value of tuple type '(key: AnyHashable, value: CMMotionManager)' has no member 'stopDeviceMotionUpdates'
207 | deviceMotionUpdatesSubscribers[id]?.send(completion: .finished)
208 | deviceMotionUpdatesSubscribers[id] = nil
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerLive.swift:212:10: error: cannot infer contextual base in reference to member 'fireAndForget'
210 | },
211 | stopGyroUpdates: { id in
212 | .fireAndForget {
| `- error: cannot infer contextual base in reference to member 'fireAndForget'
213 | guard let manager = managers[id]
214 | else {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerLive.swift:218:19: error: value of tuple type '(key: AnyHashable, value: CMMotionManager)' has no member 'stopGyroUpdates'
216 | return
217 | }
218 | manager.stopGyroUpdates()
| `- error: value of tuple type '(key: AnyHashable, value: CMMotionManager)' has no member 'stopGyroUpdates'
219 | deviceGyroUpdatesSubscribers[id]?.send(completion: .finished)
220 | deviceGyroUpdatesSubscribers[id] = nil
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerLive.swift:224:10: error: cannot infer contextual base in reference to member 'fireAndForget'
222 | },
223 | stopMagnetometerUpdates: { id in
224 | .fireAndForget {
| `- error: cannot infer contextual base in reference to member 'fireAndForget'
225 | guard let manager = managers[id]
226 | else {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerLive.swift:230:19: error: value of tuple type '(key: AnyHashable, value: CMMotionManager)' has no member 'stopMagnetometerUpdates'
228 | return
229 | }
230 | manager.stopMagnetometerUpdates()
| `- error: value of tuple type '(key: AnyHashable, value: CMMotionManager)' has no member 'stopMagnetometerUpdates'
231 | deviceMagnetometerUpdatesSubscribers[id]?.send(completion: .finished)
232 | deviceMagnetometerUpdatesSubscribers[id] = nil
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerMock.swift:20:42: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
18 | _unimplemented("availableAttitudeReferenceFrames")
19 | },
20 | create: @escaping (AnyHashable) -> Effect<Never, Never> = { _ in _unimplemented("create") },
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
21 | destroy: @escaping (AnyHashable) -> Effect<Never, Never> = { _ in _unimplemented("destroy") },
22 | deviceMotion: @escaping (AnyHashable) -> DeviceMotion? = { _ in _unimplemented("deviceMotion")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerMock.swift:20:15: error: '@escaping' only applies to function types
18 | _unimplemented("availableAttitudeReferenceFrames")
19 | },
20 | create: @escaping (AnyHashable) -> Effect<Never, Never> = { _ in _unimplemented("create") },
| `- error: '@escaping' only applies to function types
21 | destroy: @escaping (AnyHashable) -> Effect<Never, Never> = { _ in _unimplemented("destroy") },
22 | deviceMotion: @escaping (AnyHashable) -> DeviceMotion? = { _ in _unimplemented("deviceMotion")
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerMock.swift:21:43: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
19 | },
20 | create: @escaping (AnyHashable) -> Effect<Never, Never> = { _ in _unimplemented("create") },
21 | destroy: @escaping (AnyHashable) -> Effect<Never, Never> = { _ in _unimplemented("destroy") },
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
22 | deviceMotion: @escaping (AnyHashable) -> DeviceMotion? = { _ in _unimplemented("deviceMotion")
23 | },
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerMock.swift:21:16: error: '@escaping' only applies to function types
19 | },
20 | create: @escaping (AnyHashable) -> Effect<Never, Never> = { _ in _unimplemented("create") },
21 | destroy: @escaping (AnyHashable) -> Effect<Never, Never> = { _ in _unimplemented("destroy") },
| `- error: '@escaping' only applies to function types
22 | deviceMotion: @escaping (AnyHashable) -> DeviceMotion? = { _ in _unimplemented("deviceMotion")
23 | },
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerMock.swift:48:65: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
46 | _unimplemented("magnetometerData")
47 | },
48 | set: @escaping (AnyHashable, MotionManager.Properties) -> Effect<Never, Never> = { _, _ in
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
49 | _unimplemented("set")
50 | },
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerMock.swift:48:12: error: '@escaping' only applies to function types
46 | _unimplemented("magnetometerData")
47 | },
48 | set: @escaping (AnyHashable, MotionManager.Properties) -> Effect<Never, Never> = { _, _ in
| `- error: '@escaping' only applies to function types
49 | _unimplemented("set")
50 | },
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerMock.swift:51:77: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
49 | _unimplemented("set")
50 | },
51 | startAccelerometerUpdates: @escaping (AnyHashable, OperationQueue) -> Effect<
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
52 | AccelerometerData, Error
53 | > = { _, _ in _unimplemented("startAccelerometerUpdates") },
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerMock.swift:51:34: error: '@escaping' only applies to function types
49 | _unimplemented("set")
50 | },
51 | startAccelerometerUpdates: @escaping (AnyHashable, OperationQueue) -> Effect<
| `- error: '@escaping' only applies to function types
52 | AccelerometerData, Error
53 | > = { _, _ in _unimplemented("startAccelerometerUpdates") },
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerMock.swift:55:9: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
53 | > = { _, _ in _unimplemented("startAccelerometerUpdates") },
54 | startDeviceMotionUpdates: @escaping (AnyHashable, CMAttitudeReferenceFrame, OperationQueue) ->
55 | Effect<DeviceMotion, Error> = { _, _, _ in _unimplemented("startDeviceMotionUpdates") },
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
56 | startGyroUpdates: @escaping (AnyHashable, OperationQueue) -> Effect<GyroData, Error> = {
57 | _, _ in
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerMock.swift:54:33: error: '@escaping' only applies to function types
52 | AccelerometerData, Error
53 | > = { _, _ in _unimplemented("startAccelerometerUpdates") },
54 | startDeviceMotionUpdates: @escaping (AnyHashable, CMAttitudeReferenceFrame, OperationQueue) ->
| `- error: '@escaping' only applies to function types
55 | Effect<DeviceMotion, Error> = { _, _, _ in _unimplemented("startDeviceMotionUpdates") },
56 | startGyroUpdates: @escaping (AnyHashable, OperationQueue) -> Effect<GyroData, Error> = {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerMock.swift:56:68: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
54 | startDeviceMotionUpdates: @escaping (AnyHashable, CMAttitudeReferenceFrame, OperationQueue) ->
55 | Effect<DeviceMotion, Error> = { _, _, _ in _unimplemented("startDeviceMotionUpdates") },
56 | startGyroUpdates: @escaping (AnyHashable, OperationQueue) -> Effect<GyroData, Error> = {
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
57 | _, _ in
58 | _unimplemented("startGyroUpdates")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerMock.swift:56:25: error: '@escaping' only applies to function types
54 | startDeviceMotionUpdates: @escaping (AnyHashable, CMAttitudeReferenceFrame, OperationQueue) ->
55 | Effect<DeviceMotion, Error> = { _, _, _ in _unimplemented("startDeviceMotionUpdates") },
56 | startGyroUpdates: @escaping (AnyHashable, OperationQueue) -> Effect<GyroData, Error> = {
| `- error: '@escaping' only applies to function types
57 | _, _ in
58 | _unimplemented("startGyroUpdates")
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerMock.swift:60:76: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
58 | _unimplemented("startGyroUpdates")
59 | },
60 | startMagnetometerUpdates: @escaping (AnyHashable, OperationQueue) -> Effect<
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
61 | MagnetometerData, Error
62 | > = { _, _ in _unimplemented("startMagnetometerUpdates") },
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerMock.swift:60:33: error: '@escaping' only applies to function types
58 | _unimplemented("startGyroUpdates")
59 | },
60 | startMagnetometerUpdates: @escaping (AnyHashable, OperationQueue) -> Effect<
| `- error: '@escaping' only applies to function types
61 | MagnetometerData, Error
62 | > = { _, _ in _unimplemented("startMagnetometerUpdates") },
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerMock.swift:63:60: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
61 | MagnetometerData, Error
62 | > = { _, _ in _unimplemented("startMagnetometerUpdates") },
63 | stopAccelerometerUpdates: @escaping (AnyHashable) -> Effect<Never, Never> = { _ in
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
64 | _unimplemented("stopAccelerometerUpdates")
65 | },
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerMock.swift:63:33: error: '@escaping' only applies to function types
61 | MagnetometerData, Error
62 | > = { _, _ in _unimplemented("startMagnetometerUpdates") },
63 | stopAccelerometerUpdates: @escaping (AnyHashable) -> Effect<Never, Never> = { _ in
| `- error: '@escaping' only applies to function types
64 | _unimplemented("stopAccelerometerUpdates")
65 | },
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerMock.swift:66:59: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
64 | _unimplemented("stopAccelerometerUpdates")
65 | },
66 | stopDeviceMotionUpdates: @escaping (AnyHashable) -> Effect<Never, Never> = { _ in
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
67 | _unimplemented("stopDeviceMotionUpdates")
68 | },
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerMock.swift:66:32: error: '@escaping' only applies to function types
64 | _unimplemented("stopAccelerometerUpdates")
65 | },
66 | stopDeviceMotionUpdates: @escaping (AnyHashable) -> Effect<Never, Never> = { _ in
| `- error: '@escaping' only applies to function types
67 | _unimplemented("stopDeviceMotionUpdates")
68 | },
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerMock.swift:69:51: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
67 | _unimplemented("stopDeviceMotionUpdates")
68 | },
69 | stopGyroUpdates: @escaping (AnyHashable) -> Effect<Never, Never> = { _ in
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
70 | _unimplemented("stopGyroUpdates")
71 | },
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerMock.swift:69:24: error: '@escaping' only applies to function types
67 | _unimplemented("stopDeviceMotionUpdates")
68 | },
69 | stopGyroUpdates: @escaping (AnyHashable) -> Effect<Never, Never> = { _ in
| `- error: '@escaping' only applies to function types
70 | _unimplemented("stopGyroUpdates")
71 | },
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerMock.swift:72:59: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
70 | _unimplemented("stopGyroUpdates")
71 | },
72 | stopMagnetometerUpdates: @escaping (AnyHashable) -> Effect<Never, Never> = { _ in
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
73 | _unimplemented("stopMagnetometerUpdates")
74 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerMock.swift:72:32: error: '@escaping' only applies to function types
70 | _unimplemented("stopGyroUpdates")
71 | },
72 | stopMagnetometerUpdates: @escaping (AnyHashable) -> Effect<Never, Never> = { _ in
| `- error: '@escaping' only applies to function types
73 | _unimplemented("stopMagnetometerUpdates")
74 | }
[308/310] Compiling ComposableCoreMotion HeadphoneMotionManagerInterface.swift
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/HeadphoneMotionManager/HeadphoneMotionManagerInterface.swift:27:44: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
25 | /// A motion manager must be first created before you can use its functionality, such as
26 | /// starting device motion updates or accessing data directly from the manager.
27 | public func create(id: AnyHashable) -> Effect<Action, Never> {
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
28 | self.create(id)
29 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/HeadphoneMotionManager/HeadphoneMotionManagerInterface.swift:35:45: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
33 | /// In is good practice to destroy a headphone motion manager once you are done with it, such as
34 | /// when you leave a screen or no longer need motion data.
35 | public func destroy(id: AnyHashable) -> Effect<Never, Never> {
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
36 | self.destroy(id)
37 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/HeadphoneMotionManager/HeadphoneMotionManagerInterface.swift:62:10: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
60 | id: AnyHashable,
61 | to queue: OperationQueue = .main
62 | ) -> Effect<DeviceMotion, Error> {
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
63 | self.startDeviceMotionUpdates(id, queue)
64 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/HeadphoneMotionManager/HeadphoneMotionManagerInterface.swift:67:61: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
65 |
66 | /// Stops device-motion updates.
67 | public func stopDeviceMotionUpdates(id: AnyHashable) -> Effect<Never, Never> {
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
68 | self.stopDeviceMotionUpdates(id)
69 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/HeadphoneMotionManager/HeadphoneMotionManagerInterface.swift:72:42: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
70 |
71 | public init(
72 | create: @escaping (AnyHashable) -> Effect<Action, Never>,
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
73 | destroy: @escaping (AnyHashable) -> Effect<Never, Never>,
74 | deviceMotion: @escaping (AnyHashable) -> DeviceMotion?,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/HeadphoneMotionManager/HeadphoneMotionManagerInterface.swift:72:15: error: '@escaping' only applies to function types
70 |
71 | public init(
72 | create: @escaping (AnyHashable) -> Effect<Action, Never>,
| `- error: '@escaping' only applies to function types
73 | destroy: @escaping (AnyHashable) -> Effect<Never, Never>,
74 | deviceMotion: @escaping (AnyHashable) -> DeviceMotion?,
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/HeadphoneMotionManager/HeadphoneMotionManagerInterface.swift:73:43: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
71 | public init(
72 | create: @escaping (AnyHashable) -> Effect<Action, Never>,
73 | destroy: @escaping (AnyHashable) -> Effect<Never, Never>,
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
74 | deviceMotion: @escaping (AnyHashable) -> DeviceMotion?,
75 | isDeviceMotionActive: @escaping (AnyHashable) -> Bool,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/HeadphoneMotionManager/HeadphoneMotionManagerInterface.swift:73:16: error: '@escaping' only applies to function types
71 | public init(
72 | create: @escaping (AnyHashable) -> Effect<Action, Never>,
73 | destroy: @escaping (AnyHashable) -> Effect<Never, Never>,
| `- error: '@escaping' only applies to function types
74 | deviceMotion: @escaping (AnyHashable) -> DeviceMotion?,
75 | isDeviceMotionActive: @escaping (AnyHashable) -> Bool,
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/HeadphoneMotionManager/HeadphoneMotionManagerInterface.swift:78:9: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
76 | isDeviceMotionAvailable: @escaping (AnyHashable) -> Bool,
77 | startDeviceMotionUpdates: @escaping (AnyHashable, OperationQueue) ->
78 | Effect<DeviceMotion, Error>,
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
79 | stopDeviceMotionUpdates: @escaping (AnyHashable) -> Effect<Never, Never>
80 | ) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/HeadphoneMotionManager/HeadphoneMotionManagerInterface.swift:77:33: error: '@escaping' only applies to function types
75 | isDeviceMotionActive: @escaping (AnyHashable) -> Bool,
76 | isDeviceMotionAvailable: @escaping (AnyHashable) -> Bool,
77 | startDeviceMotionUpdates: @escaping (AnyHashable, OperationQueue) ->
| `- error: '@escaping' only applies to function types
78 | Effect<DeviceMotion, Error>,
79 | stopDeviceMotionUpdates: @escaping (AnyHashable) -> Effect<Never, Never>
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/HeadphoneMotionManager/HeadphoneMotionManagerInterface.swift:79:59: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
77 | startDeviceMotionUpdates: @escaping (AnyHashable, OperationQueue) ->
78 | Effect<DeviceMotion, Error>,
79 | stopDeviceMotionUpdates: @escaping (AnyHashable) -> Effect<Never, Never>
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
80 | ) {
81 | self.create = create
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/HeadphoneMotionManager/HeadphoneMotionManagerInterface.swift:79:32: error: '@escaping' only applies to function types
77 | startDeviceMotionUpdates: @escaping (AnyHashable, OperationQueue) ->
78 | Effect<DeviceMotion, Error>,
79 | stopDeviceMotionUpdates: @escaping (AnyHashable) -> Effect<Never, Never>
| `- error: '@escaping' only applies to function types
80 | ) {
81 | self.create = create
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/HeadphoneMotionManager/HeadphoneMotionManagerInterface.swift:90:34: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
88 | }
89 |
90 | var create: (AnyHashable) -> Effect<Action, Never>
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
91 | var destroy: (AnyHashable) -> Effect<Never, Never>
92 | var deviceMotion: (AnyHashable) -> DeviceMotion?
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/HeadphoneMotionManager/HeadphoneMotionManagerInterface.swift:91:35: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
89 |
90 | var create: (AnyHashable) -> Effect<Action, Never>
91 | var destroy: (AnyHashable) -> Effect<Never, Never>
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
92 | var deviceMotion: (AnyHashable) -> DeviceMotion?
93 | var isDeviceMotionActive: (AnyHashable) -> Bool
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/HeadphoneMotionManager/HeadphoneMotionManagerInterface.swift:95:68: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
93 | var isDeviceMotionActive: (AnyHashable) -> Bool
94 | var isDeviceMotionAvailable: (AnyHashable) -> Bool
95 | var startDeviceMotionUpdates: (AnyHashable, OperationQueue) -> Effect<DeviceMotion, Error>
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
96 | var stopDeviceMotionUpdates: (AnyHashable) -> Effect<Never, Never>
97 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/HeadphoneMotionManager/HeadphoneMotionManagerInterface.swift:96:51: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
94 | var isDeviceMotionAvailable: (AnyHashable) -> Bool
95 | var startDeviceMotionUpdates: (AnyHashable, OperationQueue) -> Effect<DeviceMotion, Error>
96 | var stopDeviceMotionUpdates: (AnyHashable) -> Effect<Never, Never>
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
97 | }
98 | #endif
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
[309/310] Compiling ComposableCoreMotion HeadphoneMotionManagerLive.swift
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/HeadphoneMotionManager/HeadphoneMotionManagerInterface.swift:27:44: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
25 | /// A motion manager must be first created before you can use its functionality, such as
26 | /// starting device motion updates or accessing data directly from the manager.
27 | public func create(id: AnyHashable) -> Effect<Action, Never> {
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
28 | self.create(id)
29 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/HeadphoneMotionManager/HeadphoneMotionManagerInterface.swift:35:45: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
33 | /// In is good practice to destroy a headphone motion manager once you are done with it, such as
34 | /// when you leave a screen or no longer need motion data.
35 | public func destroy(id: AnyHashable) -> Effect<Never, Never> {
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
36 | self.destroy(id)
37 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/HeadphoneMotionManager/HeadphoneMotionManagerInterface.swift:62:10: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
60 | id: AnyHashable,
61 | to queue: OperationQueue = .main
62 | ) -> Effect<DeviceMotion, Error> {
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
63 | self.startDeviceMotionUpdates(id, queue)
64 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/HeadphoneMotionManager/HeadphoneMotionManagerInterface.swift:67:61: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
65 |
66 | /// Stops device-motion updates.
67 | public func stopDeviceMotionUpdates(id: AnyHashable) -> Effect<Never, Never> {
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
68 | self.stopDeviceMotionUpdates(id)
69 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/HeadphoneMotionManager/HeadphoneMotionManagerInterface.swift:72:42: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
70 |
71 | public init(
72 | create: @escaping (AnyHashable) -> Effect<Action, Never>,
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
73 | destroy: @escaping (AnyHashable) -> Effect<Never, Never>,
74 | deviceMotion: @escaping (AnyHashable) -> DeviceMotion?,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/HeadphoneMotionManager/HeadphoneMotionManagerInterface.swift:72:15: error: '@escaping' only applies to function types
70 |
71 | public init(
72 | create: @escaping (AnyHashable) -> Effect<Action, Never>,
| `- error: '@escaping' only applies to function types
73 | destroy: @escaping (AnyHashable) -> Effect<Never, Never>,
74 | deviceMotion: @escaping (AnyHashable) -> DeviceMotion?,
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/HeadphoneMotionManager/HeadphoneMotionManagerInterface.swift:73:43: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
71 | public init(
72 | create: @escaping (AnyHashable) -> Effect<Action, Never>,
73 | destroy: @escaping (AnyHashable) -> Effect<Never, Never>,
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
74 | deviceMotion: @escaping (AnyHashable) -> DeviceMotion?,
75 | isDeviceMotionActive: @escaping (AnyHashable) -> Bool,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/HeadphoneMotionManager/HeadphoneMotionManagerInterface.swift:73:16: error: '@escaping' only applies to function types
71 | public init(
72 | create: @escaping (AnyHashable) -> Effect<Action, Never>,
73 | destroy: @escaping (AnyHashable) -> Effect<Never, Never>,
| `- error: '@escaping' only applies to function types
74 | deviceMotion: @escaping (AnyHashable) -> DeviceMotion?,
75 | isDeviceMotionActive: @escaping (AnyHashable) -> Bool,
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/HeadphoneMotionManager/HeadphoneMotionManagerInterface.swift:78:9: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
76 | isDeviceMotionAvailable: @escaping (AnyHashable) -> Bool,
77 | startDeviceMotionUpdates: @escaping (AnyHashable, OperationQueue) ->
78 | Effect<DeviceMotion, Error>,
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
79 | stopDeviceMotionUpdates: @escaping (AnyHashable) -> Effect<Never, Never>
80 | ) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/HeadphoneMotionManager/HeadphoneMotionManagerInterface.swift:77:33: error: '@escaping' only applies to function types
75 | isDeviceMotionActive: @escaping (AnyHashable) -> Bool,
76 | isDeviceMotionAvailable: @escaping (AnyHashable) -> Bool,
77 | startDeviceMotionUpdates: @escaping (AnyHashable, OperationQueue) ->
| `- error: '@escaping' only applies to function types
78 | Effect<DeviceMotion, Error>,
79 | stopDeviceMotionUpdates: @escaping (AnyHashable) -> Effect<Never, Never>
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/HeadphoneMotionManager/HeadphoneMotionManagerInterface.swift:79:59: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
77 | startDeviceMotionUpdates: @escaping (AnyHashable, OperationQueue) ->
78 | Effect<DeviceMotion, Error>,
79 | stopDeviceMotionUpdates: @escaping (AnyHashable) -> Effect<Never, Never>
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
80 | ) {
81 | self.create = create
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/HeadphoneMotionManager/HeadphoneMotionManagerInterface.swift:79:32: error: '@escaping' only applies to function types
77 | startDeviceMotionUpdates: @escaping (AnyHashable, OperationQueue) ->
78 | Effect<DeviceMotion, Error>,
79 | stopDeviceMotionUpdates: @escaping (AnyHashable) -> Effect<Never, Never>
| `- error: '@escaping' only applies to function types
80 | ) {
81 | self.create = create
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/HeadphoneMotionManager/HeadphoneMotionManagerInterface.swift:90:34: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
88 | }
89 |
90 | var create: (AnyHashable) -> Effect<Action, Never>
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
91 | var destroy: (AnyHashable) -> Effect<Never, Never>
92 | var deviceMotion: (AnyHashable) -> DeviceMotion?
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/HeadphoneMotionManager/HeadphoneMotionManagerInterface.swift:91:35: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
89 |
90 | var create: (AnyHashable) -> Effect<Action, Never>
91 | var destroy: (AnyHashable) -> Effect<Never, Never>
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
92 | var deviceMotion: (AnyHashable) -> DeviceMotion?
93 | var isDeviceMotionActive: (AnyHashable) -> Bool
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/HeadphoneMotionManager/HeadphoneMotionManagerInterface.swift:95:68: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
93 | var isDeviceMotionActive: (AnyHashable) -> Bool
94 | var isDeviceMotionAvailable: (AnyHashable) -> Bool
95 | var startDeviceMotionUpdates: (AnyHashable, OperationQueue) -> Effect<DeviceMotion, Error>
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
96 | var stopDeviceMotionUpdates: (AnyHashable) -> Effect<Never, Never>
97 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/HeadphoneMotionManager/HeadphoneMotionManagerInterface.swift:96:51: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
94 | var isDeviceMotionAvailable: (AnyHashable) -> Bool
95 | var startDeviceMotionUpdates: (AnyHashable, OperationQueue) -> Effect<DeviceMotion, Error>
96 | var stopDeviceMotionUpdates: (AnyHashable) -> Effect<Never, Never>
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
97 | }
98 | #endif
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
[310/310] Compiling ComposableCoreMotion MotionManagerMock.swift
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerMock.swift:20:42: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
18 | _unimplemented("availableAttitudeReferenceFrames")
19 | },
20 | create: @escaping (AnyHashable) -> Effect<Never, Never> = { _ in _unimplemented("create") },
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
21 | destroy: @escaping (AnyHashable) -> Effect<Never, Never> = { _ in _unimplemented("destroy") },
22 | deviceMotion: @escaping (AnyHashable) -> DeviceMotion? = { _ in _unimplemented("deviceMotion")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerMock.swift:20:15: error: '@escaping' only applies to function types
18 | _unimplemented("availableAttitudeReferenceFrames")
19 | },
20 | create: @escaping (AnyHashable) -> Effect<Never, Never> = { _ in _unimplemented("create") },
| `- error: '@escaping' only applies to function types
21 | destroy: @escaping (AnyHashable) -> Effect<Never, Never> = { _ in _unimplemented("destroy") },
22 | deviceMotion: @escaping (AnyHashable) -> DeviceMotion? = { _ in _unimplemented("deviceMotion")
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerMock.swift:21:43: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
19 | },
20 | create: @escaping (AnyHashable) -> Effect<Never, Never> = { _ in _unimplemented("create") },
21 | destroy: @escaping (AnyHashable) -> Effect<Never, Never> = { _ in _unimplemented("destroy") },
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
22 | deviceMotion: @escaping (AnyHashable) -> DeviceMotion? = { _ in _unimplemented("deviceMotion")
23 | },
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerMock.swift:21:16: error: '@escaping' only applies to function types
19 | },
20 | create: @escaping (AnyHashable) -> Effect<Never, Never> = { _ in _unimplemented("create") },
21 | destroy: @escaping (AnyHashable) -> Effect<Never, Never> = { _ in _unimplemented("destroy") },
| `- error: '@escaping' only applies to function types
22 | deviceMotion: @escaping (AnyHashable) -> DeviceMotion? = { _ in _unimplemented("deviceMotion")
23 | },
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerMock.swift:48:65: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
46 | _unimplemented("magnetometerData")
47 | },
48 | set: @escaping (AnyHashable, MotionManager.Properties) -> Effect<Never, Never> = { _, _ in
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
49 | _unimplemented("set")
50 | },
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerMock.swift:48:12: error: '@escaping' only applies to function types
46 | _unimplemented("magnetometerData")
47 | },
48 | set: @escaping (AnyHashable, MotionManager.Properties) -> Effect<Never, Never> = { _, _ in
| `- error: '@escaping' only applies to function types
49 | _unimplemented("set")
50 | },
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerMock.swift:51:77: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
49 | _unimplemented("set")
50 | },
51 | startAccelerometerUpdates: @escaping (AnyHashable, OperationQueue) -> Effect<
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
52 | AccelerometerData, Error
53 | > = { _, _ in _unimplemented("startAccelerometerUpdates") },
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerMock.swift:51:34: error: '@escaping' only applies to function types
49 | _unimplemented("set")
50 | },
51 | startAccelerometerUpdates: @escaping (AnyHashable, OperationQueue) -> Effect<
| `- error: '@escaping' only applies to function types
52 | AccelerometerData, Error
53 | > = { _, _ in _unimplemented("startAccelerometerUpdates") },
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerMock.swift:55:9: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
53 | > = { _, _ in _unimplemented("startAccelerometerUpdates") },
54 | startDeviceMotionUpdates: @escaping (AnyHashable, CMAttitudeReferenceFrame, OperationQueue) ->
55 | Effect<DeviceMotion, Error> = { _, _, _ in _unimplemented("startDeviceMotionUpdates") },
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
56 | startGyroUpdates: @escaping (AnyHashable, OperationQueue) -> Effect<GyroData, Error> = {
57 | _, _ in
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerMock.swift:54:33: error: '@escaping' only applies to function types
52 | AccelerometerData, Error
53 | > = { _, _ in _unimplemented("startAccelerometerUpdates") },
54 | startDeviceMotionUpdates: @escaping (AnyHashable, CMAttitudeReferenceFrame, OperationQueue) ->
| `- error: '@escaping' only applies to function types
55 | Effect<DeviceMotion, Error> = { _, _, _ in _unimplemented("startDeviceMotionUpdates") },
56 | startGyroUpdates: @escaping (AnyHashable, OperationQueue) -> Effect<GyroData, Error> = {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerMock.swift:56:68: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
54 | startDeviceMotionUpdates: @escaping (AnyHashable, CMAttitudeReferenceFrame, OperationQueue) ->
55 | Effect<DeviceMotion, Error> = { _, _, _ in _unimplemented("startDeviceMotionUpdates") },
56 | startGyroUpdates: @escaping (AnyHashable, OperationQueue) -> Effect<GyroData, Error> = {
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
57 | _, _ in
58 | _unimplemented("startGyroUpdates")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerMock.swift:56:25: error: '@escaping' only applies to function types
54 | startDeviceMotionUpdates: @escaping (AnyHashable, CMAttitudeReferenceFrame, OperationQueue) ->
55 | Effect<DeviceMotion, Error> = { _, _, _ in _unimplemented("startDeviceMotionUpdates") },
56 | startGyroUpdates: @escaping (AnyHashable, OperationQueue) -> Effect<GyroData, Error> = {
| `- error: '@escaping' only applies to function types
57 | _, _ in
58 | _unimplemented("startGyroUpdates")
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerMock.swift:60:76: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
58 | _unimplemented("startGyroUpdates")
59 | },
60 | startMagnetometerUpdates: @escaping (AnyHashable, OperationQueue) -> Effect<
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
61 | MagnetometerData, Error
62 | > = { _, _ in _unimplemented("startMagnetometerUpdates") },
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerMock.swift:60:33: error: '@escaping' only applies to function types
58 | _unimplemented("startGyroUpdates")
59 | },
60 | startMagnetometerUpdates: @escaping (AnyHashable, OperationQueue) -> Effect<
| `- error: '@escaping' only applies to function types
61 | MagnetometerData, Error
62 | > = { _, _ in _unimplemented("startMagnetometerUpdates") },
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerMock.swift:63:60: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
61 | MagnetometerData, Error
62 | > = { _, _ in _unimplemented("startMagnetometerUpdates") },
63 | stopAccelerometerUpdates: @escaping (AnyHashable) -> Effect<Never, Never> = { _ in
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
64 | _unimplemented("stopAccelerometerUpdates")
65 | },
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerMock.swift:63:33: error: '@escaping' only applies to function types
61 | MagnetometerData, Error
62 | > = { _, _ in _unimplemented("startMagnetometerUpdates") },
63 | stopAccelerometerUpdates: @escaping (AnyHashable) -> Effect<Never, Never> = { _ in
| `- error: '@escaping' only applies to function types
64 | _unimplemented("stopAccelerometerUpdates")
65 | },
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerMock.swift:66:59: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
64 | _unimplemented("stopAccelerometerUpdates")
65 | },
66 | stopDeviceMotionUpdates: @escaping (AnyHashable) -> Effect<Never, Never> = { _ in
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
67 | _unimplemented("stopDeviceMotionUpdates")
68 | },
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerMock.swift:66:32: error: '@escaping' only applies to function types
64 | _unimplemented("stopAccelerometerUpdates")
65 | },
66 | stopDeviceMotionUpdates: @escaping (AnyHashable) -> Effect<Never, Never> = { _ in
| `- error: '@escaping' only applies to function types
67 | _unimplemented("stopDeviceMotionUpdates")
68 | },
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerMock.swift:69:51: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
67 | _unimplemented("stopDeviceMotionUpdates")
68 | },
69 | stopGyroUpdates: @escaping (AnyHashable) -> Effect<Never, Never> = { _ in
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
70 | _unimplemented("stopGyroUpdates")
71 | },
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerMock.swift:69:24: error: '@escaping' only applies to function types
67 | _unimplemented("stopDeviceMotionUpdates")
68 | },
69 | stopGyroUpdates: @escaping (AnyHashable) -> Effect<Never, Never> = { _ in
| `- error: '@escaping' only applies to function types
70 | _unimplemented("stopGyroUpdates")
71 | },
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerMock.swift:72:59: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
70 | _unimplemented("stopGyroUpdates")
71 | },
72 | stopMagnetometerUpdates: @escaping (AnyHashable) -> Effect<Never, Never> = { _ in
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
73 | _unimplemented("stopMagnetometerUpdates")
74 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerMock.swift:72:32: error: '@escaping' only applies to function types
70 | _unimplemented("stopGyroUpdates")
71 | },
72 | stopMagnetometerUpdates: @escaping (AnyHashable) -> Effect<Never, Never> = { _ in
| `- error: '@escaping' only applies to function types
73 | _unimplemented("stopMagnetometerUpdates")
74 | }
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerInterface.swift:349:42: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
347 | attitudeReferenceFrame: @escaping (AnyHashable) -> CMAttitudeReferenceFrame,
348 | availableAttitudeReferenceFrames: @escaping () -> CMAttitudeReferenceFrame,
349 | create: @escaping (AnyHashable) -> Effect<Never, Never>,
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
350 | destroy: @escaping (AnyHashable) -> Effect<Never, Never>,
351 | deviceMotion: @escaping (AnyHashable) -> DeviceMotion?,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerInterface.swift:349:15: error: '@escaping' only applies to function types
347 | attitudeReferenceFrame: @escaping (AnyHashable) -> CMAttitudeReferenceFrame,
348 | availableAttitudeReferenceFrames: @escaping () -> CMAttitudeReferenceFrame,
349 | create: @escaping (AnyHashable) -> Effect<Never, Never>,
| `- error: '@escaping' only applies to function types
350 | destroy: @escaping (AnyHashable) -> Effect<Never, Never>,
351 | deviceMotion: @escaping (AnyHashable) -> DeviceMotion?,
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerInterface.swift:350:43: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
348 | availableAttitudeReferenceFrames: @escaping () -> CMAttitudeReferenceFrame,
349 | create: @escaping (AnyHashable) -> Effect<Never, Never>,
350 | destroy: @escaping (AnyHashable) -> Effect<Never, Never>,
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
351 | deviceMotion: @escaping (AnyHashable) -> DeviceMotion?,
352 | gyroData: @escaping (AnyHashable) -> GyroData?,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerInterface.swift:350:16: error: '@escaping' only applies to function types
348 | availableAttitudeReferenceFrames: @escaping () -> CMAttitudeReferenceFrame,
349 | create: @escaping (AnyHashable) -> Effect<Never, Never>,
350 | destroy: @escaping (AnyHashable) -> Effect<Never, Never>,
| `- error: '@escaping' only applies to function types
351 | deviceMotion: @escaping (AnyHashable) -> DeviceMotion?,
352 | gyroData: @escaping (AnyHashable) -> GyroData?,
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerInterface.swift:362:51: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
360 | isMagnetometerAvailable: @escaping (AnyHashable) -> Bool,
361 | magnetometerData: @escaping (AnyHashable) -> MagnetometerData?,
362 | set: @escaping (AnyHashable, Properties) -> Effect<Never, Never>,
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
363 | startAccelerometerUpdates: @escaping (AnyHashable, OperationQueue) -> Effect<
364 | AccelerometerData, Error
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerInterface.swift:362:12: error: '@escaping' only applies to function types
360 | isMagnetometerAvailable: @escaping (AnyHashable) -> Bool,
361 | magnetometerData: @escaping (AnyHashable) -> MagnetometerData?,
362 | set: @escaping (AnyHashable, Properties) -> Effect<Never, Never>,
| `- error: '@escaping' only applies to function types
363 | startAccelerometerUpdates: @escaping (AnyHashable, OperationQueue) -> Effect<
364 | AccelerometerData, Error
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerInterface.swift:363:77: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
361 | magnetometerData: @escaping (AnyHashable) -> MagnetometerData?,
362 | set: @escaping (AnyHashable, Properties) -> Effect<Never, Never>,
363 | startAccelerometerUpdates: @escaping (AnyHashable, OperationQueue) -> Effect<
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
364 | AccelerometerData, Error
365 | >,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerInterface.swift:363:34: error: '@escaping' only applies to function types
361 | magnetometerData: @escaping (AnyHashable) -> MagnetometerData?,
362 | set: @escaping (AnyHashable, Properties) -> Effect<Never, Never>,
363 | startAccelerometerUpdates: @escaping (AnyHashable, OperationQueue) -> Effect<
| `- error: '@escaping' only applies to function types
364 | AccelerometerData, Error
365 | >,
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerInterface.swift:367:9: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
365 | >,
366 | startDeviceMotionUpdates: @escaping (AnyHashable, CMAttitudeReferenceFrame, OperationQueue) ->
367 | Effect<DeviceMotion, Error>,
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
368 | startGyroUpdates: @escaping (AnyHashable, OperationQueue) -> Effect<GyroData, Error>,
369 | startMagnetometerUpdates: @escaping (AnyHashable, OperationQueue) -> Effect<
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerInterface.swift:366:33: error: '@escaping' only applies to function types
364 | AccelerometerData, Error
365 | >,
366 | startDeviceMotionUpdates: @escaping (AnyHashable, CMAttitudeReferenceFrame, OperationQueue) ->
| `- error: '@escaping' only applies to function types
367 | Effect<DeviceMotion, Error>,
368 | startGyroUpdates: @escaping (AnyHashable, OperationQueue) -> Effect<GyroData, Error>,
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerInterface.swift:368:68: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
366 | startDeviceMotionUpdates: @escaping (AnyHashable, CMAttitudeReferenceFrame, OperationQueue) ->
367 | Effect<DeviceMotion, Error>,
368 | startGyroUpdates: @escaping (AnyHashable, OperationQueue) -> Effect<GyroData, Error>,
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
369 | startMagnetometerUpdates: @escaping (AnyHashable, OperationQueue) -> Effect<
370 | MagnetometerData, Error
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerInterface.swift:368:25: error: '@escaping' only applies to function types
366 | startDeviceMotionUpdates: @escaping (AnyHashable, CMAttitudeReferenceFrame, OperationQueue) ->
367 | Effect<DeviceMotion, Error>,
368 | startGyroUpdates: @escaping (AnyHashable, OperationQueue) -> Effect<GyroData, Error>,
| `- error: '@escaping' only applies to function types
369 | startMagnetometerUpdates: @escaping (AnyHashable, OperationQueue) -> Effect<
370 | MagnetometerData, Error
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerInterface.swift:369:76: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
367 | Effect<DeviceMotion, Error>,
368 | startGyroUpdates: @escaping (AnyHashable, OperationQueue) -> Effect<GyroData, Error>,
369 | startMagnetometerUpdates: @escaping (AnyHashable, OperationQueue) -> Effect<
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
370 | MagnetometerData, Error
371 | >,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerInterface.swift:369:33: error: '@escaping' only applies to function types
367 | Effect<DeviceMotion, Error>,
368 | startGyroUpdates: @escaping (AnyHashable, OperationQueue) -> Effect<GyroData, Error>,
369 | startMagnetometerUpdates: @escaping (AnyHashable, OperationQueue) -> Effect<
| `- error: '@escaping' only applies to function types
370 | MagnetometerData, Error
371 | >,
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerInterface.swift:372:60: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
370 | MagnetometerData, Error
371 | >,
372 | stopAccelerometerUpdates: @escaping (AnyHashable) -> Effect<Never, Never>,
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
373 | stopDeviceMotionUpdates: @escaping (AnyHashable) -> Effect<Never, Never>,
374 | stopGyroUpdates: @escaping (AnyHashable) -> Effect<Never, Never>,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerInterface.swift:372:33: error: '@escaping' only applies to function types
370 | MagnetometerData, Error
371 | >,
372 | stopAccelerometerUpdates: @escaping (AnyHashable) -> Effect<Never, Never>,
| `- error: '@escaping' only applies to function types
373 | stopDeviceMotionUpdates: @escaping (AnyHashable) -> Effect<Never, Never>,
374 | stopGyroUpdates: @escaping (AnyHashable) -> Effect<Never, Never>,
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerInterface.swift:373:59: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
371 | >,
372 | stopAccelerometerUpdates: @escaping (AnyHashable) -> Effect<Never, Never>,
373 | stopDeviceMotionUpdates: @escaping (AnyHashable) -> Effect<Never, Never>,
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
374 | stopGyroUpdates: @escaping (AnyHashable) -> Effect<Never, Never>,
375 | stopMagnetometerUpdates: @escaping (AnyHashable) -> Effect<Never, Never>
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerInterface.swift:373:32: error: '@escaping' only applies to function types
371 | >,
372 | stopAccelerometerUpdates: @escaping (AnyHashable) -> Effect<Never, Never>,
373 | stopDeviceMotionUpdates: @escaping (AnyHashable) -> Effect<Never, Never>,
| `- error: '@escaping' only applies to function types
374 | stopGyroUpdates: @escaping (AnyHashable) -> Effect<Never, Never>,
375 | stopMagnetometerUpdates: @escaping (AnyHashable) -> Effect<Never, Never>
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerInterface.swift:374:51: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
372 | stopAccelerometerUpdates: @escaping (AnyHashable) -> Effect<Never, Never>,
373 | stopDeviceMotionUpdates: @escaping (AnyHashable) -> Effect<Never, Never>,
374 | stopGyroUpdates: @escaping (AnyHashable) -> Effect<Never, Never>,
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
375 | stopMagnetometerUpdates: @escaping (AnyHashable) -> Effect<Never, Never>
376 | ) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerInterface.swift:374:24: error: '@escaping' only applies to function types
372 | stopAccelerometerUpdates: @escaping (AnyHashable) -> Effect<Never, Never>,
373 | stopDeviceMotionUpdates: @escaping (AnyHashable) -> Effect<Never, Never>,
374 | stopGyroUpdates: @escaping (AnyHashable) -> Effect<Never, Never>,
| `- error: '@escaping' only applies to function types
375 | stopMagnetometerUpdates: @escaping (AnyHashable) -> Effect<Never, Never>
376 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerInterface.swift:375:59: error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
373 | stopDeviceMotionUpdates: @escaping (AnyHashable) -> Effect<Never, Never>,
374 | stopGyroUpdates: @escaping (AnyHashable) -> Effect<Never, Never>,
375 | stopMagnetometerUpdates: @escaping (AnyHashable) -> Effect<Never, Never>
| `- error: generic type 'Effect' specialized with too many type parameters (got 2, but expected 1)
376 | ) {
377 | self.accelerometerData = accelerometerData
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-composable-architecture/Sources/ComposableArchitecture/Effect.swift:127:18: note: generic type alias 'Effect' declared here
125 | /// > above. If you are using Swift's concurrency tools and the `.run` function on ``Effect``,
126 | /// > then threading is automatically handled for you.
127 | public typealias Effect<Action> = EffectPublisher<Action, Never>
| `- note: generic type alias 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerInterface.swift:375:32: error: '@escaping' only applies to function types
373 | stopDeviceMotionUpdates: @escaping (AnyHashable) -> Effect<Never, Never>,
374 | stopGyroUpdates: @escaping (AnyHashable) -> Effect<Never, Never>,
375 | stopMagnetometerUpdates: @escaping (AnyHashable) -> Effect<Never, Never>
| `- error: '@escaping' only applies to function types
376 | ) {
377 | self.accelerometerData = accelerometerData
BUILD FAILURE 6.3 macosSpm