Build Information
Failed to build composable-core-motion, reference 0.1.1 (542372
), with Swift 6.0 for macOS (SPM) on 28 Nov 2024 05:22:11 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/HeadphoneMotionManager/HeadphoneMotionManagerMock.swift:12:16: error: @escaping attribute 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 attribute 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 '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 '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 attribute only applies to function types
19 | _unimplemented("isDeviceMotionAvailable")
20 | },
21 | startDeviceMotionUpdates: @escaping (AnyHashable, OperationQueue) ->
| `- error: @escaping attribute 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 '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 '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 attribute 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 attribute 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 '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 '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 attribute only applies to function types
70 |
71 | public init(
72 | create: @escaping (AnyHashable) -> Effect<Action, Never>,
| `- error: @escaping attribute 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 '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 '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 attribute only applies to function types
71 | public init(
72 | create: @escaping (AnyHashable) -> Effect<Action, Never>,
73 | destroy: @escaping (AnyHashable) -> Effect<Never, Never>,
| `- error: @escaping attribute 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 '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 '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 attribute only applies to function types
75 | isDeviceMotionActive: @escaping (AnyHashable) -> Bool,
76 | isDeviceMotionAvailable: @escaping (AnyHashable) -> Bool,
77 | startDeviceMotionUpdates: @escaping (AnyHashable, OperationQueue) ->
| `- error: @escaping attribute 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 '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 '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 attribute only applies to function types
77 | startDeviceMotionUpdates: @escaping (AnyHashable, OperationQueue) ->
78 | Effect<DeviceMotion, Error>,
79 | stopDeviceMotionUpdates: @escaping (AnyHashable) -> Effect<Never, Never>
| `- error: @escaping attribute only applies to function types
80 | ) {
81 | self.create = create
[305/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 '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 '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 attribute 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 attribute 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 '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 '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 attribute 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 attribute 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 '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 '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 attribute only applies to function types
19 | _unimplemented("isDeviceMotionAvailable")
20 | },
21 | startDeviceMotionUpdates: @escaping (AnyHashable, OperationQueue) ->
| `- error: @escaping attribute 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 '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 '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 attribute 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 attribute 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 '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 '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 attribute only applies to function types
70 |
71 | public init(
72 | create: @escaping (AnyHashable) -> Effect<Action, Never>,
| `- error: @escaping attribute 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 '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 '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 attribute only applies to function types
71 | public init(
72 | create: @escaping (AnyHashable) -> Effect<Action, Never>,
73 | destroy: @escaping (AnyHashable) -> Effect<Never, Never>,
| `- error: @escaping attribute 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 '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 '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 attribute only applies to function types
75 | isDeviceMotionActive: @escaping (AnyHashable) -> Bool,
76 | isDeviceMotionAvailable: @escaping (AnyHashable) -> Bool,
77 | startDeviceMotionUpdates: @escaping (AnyHashable, OperationQueue) ->
| `- error: @escaping attribute 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 '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 '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 attribute only applies to function types
77 | startDeviceMotionUpdates: @escaping (AnyHashable, OperationQueue) ->
78 | Effect<DeviceMotion, Error>,
79 | stopDeviceMotionUpdates: @escaping (AnyHashable) -> Effect<Never, Never>
| `- error: @escaping attribute only applies to function types
80 | ) {
81 | self.create = create
[306/309] Compiling ComposableCoreMotion Attitude.swift
[307/309] 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 '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 '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 '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 '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 '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 '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 '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 '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 '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 '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 attribute only applies to function types
70 |
71 | public init(
72 | create: @escaping (AnyHashable) -> Effect<Action, Never>,
| `- error: @escaping attribute 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 '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 '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 attribute only applies to function types
71 | public init(
72 | create: @escaping (AnyHashable) -> Effect<Action, Never>,
73 | destroy: @escaping (AnyHashable) -> Effect<Never, Never>,
| `- error: @escaping attribute 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 '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 '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 attribute only applies to function types
75 | isDeviceMotionActive: @escaping (AnyHashable) -> Bool,
76 | isDeviceMotionAvailable: @escaping (AnyHashable) -> Bool,
77 | startDeviceMotionUpdates: @escaping (AnyHashable, OperationQueue) ->
| `- error: @escaping attribute 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 '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 '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 attribute only applies to function types
77 | startDeviceMotionUpdates: @escaping (AnyHashable, OperationQueue) ->
78 | Effect<DeviceMotion, Error>,
79 | stopDeviceMotionUpdates: @escaping (AnyHashable) -> Effect<Never, Never>
| `- error: @escaping attribute 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 '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 '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 '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 '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 '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 '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 '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 '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 '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 '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 attribute 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 attribute 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 '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 '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 attribute 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 attribute 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 '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 '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 attribute only applies to function types
19 | _unimplemented("isDeviceMotionAvailable")
20 | },
21 | startDeviceMotionUpdates: @escaping (AnyHashable, OperationQueue) ->
| `- error: @escaping attribute 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 '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 '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 attribute 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 attribute 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 '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 '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 '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 '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 '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 '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 '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 '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 '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 '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 '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 '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 '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 '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 '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 '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 '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 '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 '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 '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 '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 '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 '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 '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 attribute only applies to function types
347 | attitudeReferenceFrame: @escaping (AnyHashable) -> CMAttitudeReferenceFrame,
348 | availableAttitudeReferenceFrames: @escaping () -> CMAttitudeReferenceFrame,
349 | create: @escaping (AnyHashable) -> Effect<Never, Never>,
| `- error: @escaping attribute 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 '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 '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 attribute 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 attribute 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 '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 '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 attribute 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 attribute 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 '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 '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 attribute 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 attribute 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 '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 '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 attribute only applies to function types
364 | AccelerometerData, Error
365 | >,
366 | startDeviceMotionUpdates: @escaping (AnyHashable, CMAttitudeReferenceFrame, OperationQueue) ->
| `- error: @escaping attribute 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 '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 '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 attribute 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 attribute 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 '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 '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 attribute 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 attribute 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 '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 '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 attribute only applies to function types
370 | MagnetometerData, Error
371 | >,
372 | stopAccelerometerUpdates: @escaping (AnyHashable) -> Effect<Never, Never>,
| `- error: @escaping attribute 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 '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 '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 attribute only applies to function types
371 | >,
372 | stopAccelerometerUpdates: @escaping (AnyHashable) -> Effect<Never, Never>,
373 | stopDeviceMotionUpdates: @escaping (AnyHashable) -> Effect<Never, Never>,
| `- error: @escaping attribute 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 '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 '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 attribute 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 attribute 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 '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 '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 attribute 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 attribute 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 '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 '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 '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 '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 '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 '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 '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 '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 '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 '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 '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 '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 '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 '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 '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 '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 '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 '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 '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 '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 '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 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerLive.swift:12:23: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
10 | @available(watchOS 2, *)
11 | extension MotionManager {
12 | public static let live = MotionManager(
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
13 | accelerometerData: { id in
14 | requireMotionManager(id: id)?.accelerometerData.map(AccelerometerData.init)
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerLive.swift:236:24: warning: static property 'managers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
234 | })
235 |
236 | private static var managers: [AnyHashable: CMMotionManager] = [:]
| |- warning: static property 'managers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'managers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'managers' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
237 |
238 | private static func requireMotionManager(id: AnyHashable) -> CMMotionManager? {
/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 '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 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerLive.swift:246:15: warning: var 'accelerometerUpdatesSubscribers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
244 | }
245 |
246 | private var accelerometerUpdatesSubscribers:
| |- warning: var 'accelerometerUpdatesSubscribers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'accelerometerUpdatesSubscribers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'accelerometerUpdatesSubscribers' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
247 | [AnyHashable: Effect<AccelerometerData, Error>.Subscriber] = [:]
248 | private var deviceMotionUpdatesSubscribers:
/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 '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 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerLive.swift:248:15: warning: var 'deviceMotionUpdatesSubscribers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
246 | private var accelerometerUpdatesSubscribers:
247 | [AnyHashable: Effect<AccelerometerData, Error>.Subscriber] = [:]
248 | private var deviceMotionUpdatesSubscribers:
| |- warning: var 'deviceMotionUpdatesSubscribers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'deviceMotionUpdatesSubscribers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'deviceMotionUpdatesSubscribers' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
249 | [AnyHashable: Effect<DeviceMotion, Error>.Subscriber] =
250 | [:]
/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 '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 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerLive.swift:251:15: warning: var 'deviceGyroUpdatesSubscribers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
249 | [AnyHashable: Effect<DeviceMotion, Error>.Subscriber] =
250 | [:]
251 | private var deviceGyroUpdatesSubscribers: [AnyHashable: Effect<GyroData, Error>.Subscriber] = [:]
| |- warning: var 'deviceGyroUpdatesSubscribers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'deviceGyroUpdatesSubscribers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'deviceGyroUpdatesSubscribers' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
252 | private var deviceMagnetometerUpdatesSubscribers:
253 | [AnyHashable: Effect<MagnetometerData, Error>.Subscriber] = [:]
/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 '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 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerLive.swift:252:15: warning: var 'deviceMagnetometerUpdatesSubscribers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
250 | [:]
251 | private var deviceGyroUpdatesSubscribers: [AnyHashable: Effect<GyroData, Error>.Subscriber] = [:]
252 | private var deviceMagnetometerUpdatesSubscribers:
| |- warning: var 'deviceMagnetometerUpdatesSubscribers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'deviceMagnetometerUpdatesSubscribers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'deviceMagnetometerUpdatesSubscribers' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
253 | [AnyHashable: Effect<MagnetometerData, Error>.Subscriber] = [:]
254 |
/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 '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 '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 attribute only applies to function types
18 | _unimplemented("availableAttitudeReferenceFrames")
19 | },
20 | create: @escaping (AnyHashable) -> Effect<Never, Never> = { _ in _unimplemented("create") },
| `- error: @escaping attribute 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 '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 '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 attribute 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 attribute 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 '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 '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 attribute only applies to function types
46 | _unimplemented("magnetometerData")
47 | },
48 | set: @escaping (AnyHashable, MotionManager.Properties) -> Effect<Never, Never> = { _, _ in
| `- error: @escaping attribute 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 '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 '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 attribute only applies to function types
49 | _unimplemented("set")
50 | },
51 | startAccelerometerUpdates: @escaping (AnyHashable, OperationQueue) -> Effect<
| `- error: @escaping attribute 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 '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 '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 attribute only applies to function types
52 | AccelerometerData, Error
53 | > = { _, _ in _unimplemented("startAccelerometerUpdates") },
54 | startDeviceMotionUpdates: @escaping (AnyHashable, CMAttitudeReferenceFrame, OperationQueue) ->
| `- error: @escaping attribute 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 '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 '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 attribute 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 attribute 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 '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 '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 attribute only applies to function types
58 | _unimplemented("startGyroUpdates")
59 | },
60 | startMagnetometerUpdates: @escaping (AnyHashable, OperationQueue) -> Effect<
| `- error: @escaping attribute 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 '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 '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 attribute only applies to function types
61 | MagnetometerData, Error
62 | > = { _, _ in _unimplemented("startMagnetometerUpdates") },
63 | stopAccelerometerUpdates: @escaping (AnyHashable) -> Effect<Never, Never> = { _ in
| `- error: @escaping attribute 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 '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 '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 attribute only applies to function types
64 | _unimplemented("stopAccelerometerUpdates")
65 | },
66 | stopDeviceMotionUpdates: @escaping (AnyHashable) -> Effect<Never, Never> = { _ in
| `- error: @escaping attribute 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 '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 '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 attribute only applies to function types
67 | _unimplemented("stopDeviceMotionUpdates")
68 | },
69 | stopGyroUpdates: @escaping (AnyHashable) -> Effect<Never, Never> = { _ in
| `- error: @escaping attribute 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 '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 '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 attribute only applies to function types
70 | _unimplemented("stopGyroUpdates")
71 | },
72 | stopMagnetometerUpdates: @escaping (AnyHashable) -> Effect<Never, Never> = { _ in
| `- error: @escaping attribute only applies to function types
73 | _unimplemented("stopMagnetometerUpdates")
74 | }
[308/309] Compiling ComposableCoreMotion MotionManagerLive.swift
/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 '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 '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 attribute only applies to function types
347 | attitudeReferenceFrame: @escaping (AnyHashable) -> CMAttitudeReferenceFrame,
348 | availableAttitudeReferenceFrames: @escaping () -> CMAttitudeReferenceFrame,
349 | create: @escaping (AnyHashable) -> Effect<Never, Never>,
| `- error: @escaping attribute 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 '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 '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 attribute 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 attribute 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 '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 '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 attribute 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 attribute 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 '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 '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 attribute 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 attribute 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 '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 '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 attribute only applies to function types
364 | AccelerometerData, Error
365 | >,
366 | startDeviceMotionUpdates: @escaping (AnyHashable, CMAttitudeReferenceFrame, OperationQueue) ->
| `- error: @escaping attribute 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 '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 '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 attribute 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 attribute 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 '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 '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 attribute 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 attribute 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 '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 '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 attribute only applies to function types
370 | MagnetometerData, Error
371 | >,
372 | stopAccelerometerUpdates: @escaping (AnyHashable) -> Effect<Never, Never>,
| `- error: @escaping attribute 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 '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 '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 attribute only applies to function types
371 | >,
372 | stopAccelerometerUpdates: @escaping (AnyHashable) -> Effect<Never, Never>,
373 | stopDeviceMotionUpdates: @escaping (AnyHashable) -> Effect<Never, Never>,
| `- error: @escaping attribute 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 '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 '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 attribute 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 attribute 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 '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 '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 attribute 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 attribute only applies to function types
376 | ) {
377 | self.accelerometerData = accelerometerData
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerLive.swift:12:23: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
10 | @available(watchOS 2, *)
11 | extension MotionManager {
12 | public static let live = MotionManager(
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
13 | accelerometerData: { id in
14 | requireMotionManager(id: id)?.accelerometerData.map(AccelerometerData.init)
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerLive.swift:236:24: warning: static property 'managers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
234 | })
235 |
236 | private static var managers: [AnyHashable: CMMotionManager] = [:]
| |- warning: static property 'managers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'managers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'managers' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
237 |
238 | private static func requireMotionManager(id: AnyHashable) -> CMMotionManager? {
/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 '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 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerLive.swift:246:15: warning: var 'accelerometerUpdatesSubscribers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
244 | }
245 |
246 | private var accelerometerUpdatesSubscribers:
| |- warning: var 'accelerometerUpdatesSubscribers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'accelerometerUpdatesSubscribers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'accelerometerUpdatesSubscribers' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
247 | [AnyHashable: Effect<AccelerometerData, Error>.Subscriber] = [:]
248 | private var deviceMotionUpdatesSubscribers:
/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 '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 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerLive.swift:248:15: warning: var 'deviceMotionUpdatesSubscribers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
246 | private var accelerometerUpdatesSubscribers:
247 | [AnyHashable: Effect<AccelerometerData, Error>.Subscriber] = [:]
248 | private var deviceMotionUpdatesSubscribers:
| |- warning: var 'deviceMotionUpdatesSubscribers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'deviceMotionUpdatesSubscribers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'deviceMotionUpdatesSubscribers' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
249 | [AnyHashable: Effect<DeviceMotion, Error>.Subscriber] =
250 | [:]
/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 '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 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerLive.swift:251:15: warning: var 'deviceGyroUpdatesSubscribers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
249 | [AnyHashable: Effect<DeviceMotion, Error>.Subscriber] =
250 | [:]
251 | private var deviceGyroUpdatesSubscribers: [AnyHashable: Effect<GyroData, Error>.Subscriber] = [:]
| |- warning: var 'deviceGyroUpdatesSubscribers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'deviceGyroUpdatesSubscribers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'deviceGyroUpdatesSubscribers' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
252 | private var deviceMagnetometerUpdatesSubscribers:
253 | [AnyHashable: Effect<MagnetometerData, Error>.Subscriber] = [:]
/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 '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 'Effect' declared here
128 |
129 | extension EffectPublisher where Failure == Never {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableCoreMotion/MotionManager/MotionManagerLive.swift:252:15: warning: var 'deviceMagnetometerUpdatesSubscribers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
250 | [:]
251 | private var deviceGyroUpdatesSubscribers: [AnyHashable: Effect<GyroData, Error>.Subscriber] = [:]
252 | private var deviceMagnetometerUpdatesSubscribers:
| |- warning: var 'deviceMagnetometerUpdatesSubscribers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'deviceMagnetometerUpdatesSubscribers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'deviceMagnetometerUpdatesSubscribers' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
253 | [AnyHashable: Effect<MagnetometerData, Error>.Subscriber] = [:]
254 |
[309/309] 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 '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 '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 attribute only applies to function types
18 | _unimplemented("availableAttitudeReferenceFrames")
19 | },
20 | create: @escaping (AnyHashable) -> Effect<Never, Never> = { _ in _unimplemented("create") },
| `- error: @escaping attribute 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 '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 '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 attribute 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 attribute 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 '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 '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 attribute only applies to function types
46 | _unimplemented("magnetometerData")
47 | },
48 | set: @escaping (AnyHashable, MotionManager.Properties) -> Effect<Never, Never> = { _, _ in
| `- error: @escaping attribute 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 '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 '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 attribute only applies to function types
49 | _unimplemented("set")
50 | },
51 | startAccelerometerUpdates: @escaping (AnyHashable, OperationQueue) -> Effect<
| `- error: @escaping attribute 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 '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 '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 attribute only applies to function types
52 | AccelerometerData, Error
53 | > = { _, _ in _unimplemented("startAccelerometerUpdates") },
54 | startDeviceMotionUpdates: @escaping (AnyHashable, CMAttitudeReferenceFrame, OperationQueue) ->
| `- error: @escaping attribute 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 '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 '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 attribute 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 attribute 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 '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 '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 attribute only applies to function types
58 | _unimplemented("startGyroUpdates")
59 | },
60 | startMagnetometerUpdates: @escaping (AnyHashable, OperationQueue) -> Effect<
| `- error: @escaping attribute 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 '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 '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 attribute only applies to function types
61 | MagnetometerData, Error
62 | > = { _, _ in _unimplemented("startMagnetometerUpdates") },
63 | stopAccelerometerUpdates: @escaping (AnyHashable) -> Effect<Never, Never> = { _ in
| `- error: @escaping attribute 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 '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 '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 attribute only applies to function types
64 | _unimplemented("stopAccelerometerUpdates")
65 | },
66 | stopDeviceMotionUpdates: @escaping (AnyHashable) -> Effect<Never, Never> = { _ in
| `- error: @escaping attribute 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 '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 '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 attribute only applies to function types
67 | _unimplemented("stopDeviceMotionUpdates")
68 | },
69 | stopGyroUpdates: @escaping (AnyHashable) -> Effect<Never, Never> = { _ in
| `- error: @escaping attribute 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 '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 '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 attribute only applies to function types
70 | _unimplemented("stopGyroUpdates")
71 | },
72 | stopMagnetometerUpdates: @escaping (AnyHashable) -> Effect<Never, Never> = { _ in
| `- error: @escaping attribute 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 '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 '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 attribute only applies to function types
347 | attitudeReferenceFrame: @escaping (AnyHashable) -> CMAttitudeReferenceFrame,
348 | availableAttitudeReferenceFrames: @escaping () -> CMAttitudeReferenceFrame,
349 | create: @escaping (AnyHashable) -> Effect<Never, Never>,
| `- error: @escaping attribute 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 '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 '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 attribute 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 attribute 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 '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 '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 attribute 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 attribute 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 '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 '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 attribute 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 attribute 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 '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 '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 attribute only applies to function types
364 | AccelerometerData, Error
365 | >,
366 | startDeviceMotionUpdates: @escaping (AnyHashable, CMAttitudeReferenceFrame, OperationQueue) ->
| `- error: @escaping attribute 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 '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 '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 attribute 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 attribute 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 '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 '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 attribute 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 attribute 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 '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 '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 attribute only applies to function types
370 | MagnetometerData, Error
371 | >,
372 | stopAccelerometerUpdates: @escaping (AnyHashable) -> Effect<Never, Never>,
| `- error: @escaping attribute 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 '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 '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 attribute only applies to function types
371 | >,
372 | stopAccelerometerUpdates: @escaping (AnyHashable) -> Effect<Never, Never>,
373 | stopDeviceMotionUpdates: @escaping (AnyHashable) -> Effect<Never, Never>,
| `- error: @escaping attribute 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 '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 '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 attribute 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 attribute 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 '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 '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 attribute 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 attribute only applies to function types
376 | ) {
377 | self.accelerometerData = accelerometerData
BUILD FAILURE 6.0 macosSpm