Build Information
Failed to build BowArch, reference 0.1.0 (9287e7
), with Swift 6.1 for Wasm on 27 May 2025 20:04:08 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
14 | }
15 |
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Internal/Queue.swift:13:9: error: instance member 'queue' cannot be used on type 'Queue'
11 |
12 | /* convenience */ static func queue(label: String, qos: DispatchQoS = .default) -> Queue {
13 | queue(DispatchQueue(label: label, qos: qos))
| `- error: instance member 'queue' cannot be used on type 'Queue'
14 | }
15 |
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Internal/Queue.swift:13:9: error: cannot call value of non-function type 'Queue._Queue'
11 |
12 | /* convenience */ static func queue(label: String, qos: DispatchQoS = .default) -> Queue {
13 | queue(DispatchQueue(label: label, qos: qos))
| `- error: cannot call value of non-function type 'Queue._Queue'
14 | }
15 |
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Internal/Queue.swift:34:20: error: cannot find 'DispatchQueue' in scope
32 | return queue.label
33 | case ._current:
34 | return DispatchQueue.currentLabel
| `- error: cannot find 'DispatchQueue' in scope
35 | }
36 | }
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Internal/Queue.swift:60:16: error: cannot find 'DispatchQueue' in scope
58 | switch queue {
59 | case ._queue(let queue):
60 | if DispatchQueue.currentLabel == queue.label {
| `- error: cannot find 'DispatchQueue' in scope
61 | return try work()
62 | } else {
[106/177] Compiling BowOptics ConstOpticsInstances.swift
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Internal/Queue.swift:7:32: error: cannot find type 'DispatchQueue' in scope
5 | // case current
6 |
7 | static func queue(_ queue: DispatchQueue = .main) -> Queue {
| `- error: cannot find type 'DispatchQueue' in scope
8 | queue.setSpecific(key: Key.threadLabel, value: queue.label)
9 | return .init(queue: ._queue(queue))
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Internal/Queue.swift:12:61: error: cannot find type 'DispatchQoS' in scope
10 | }
11 |
12 | /* convenience */ static func queue(label: String, qos: DispatchQoS = .default) -> Queue {
| `- error: cannot find type 'DispatchQoS' in scope
13 | queue(DispatchQueue(label: label, qos: qos))
14 | }
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Internal/Queue.swift:24:21: error: cannot find type 'DispatchQueue' in scope
22 |
23 | private enum _Queue {
24 | case _queue(DispatchQueue)
| `- error: cannot find type 'DispatchQueue' in scope
25 | case _current
26 | }
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Internal/Queue.swift:38:14: error: cannot find type 'DispatchQoS' in scope
36 | }
37 |
38 | var qos: DispatchQoS {
| `- error: cannot find type 'DispatchQoS' in scope
39 | switch queue {
40 | case ._queue(let queue):
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Internal/Queue.swift:72:34: error: cannot find 'DispatchSpecificKey' in scope
70 |
71 | fileprivate enum Key {
72 | static let threadLabel = DispatchSpecificKey<String>()
| `- error: cannot find 'DispatchSpecificKey' in scope
73 | }
74 | }
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Internal/Queue.swift:78:20: error: cannot find type 'DispatchQueue' in scope
76 |
77 | // MARK: - helpers
78 | internal extension DispatchQueue {
| `- error: cannot find type 'DispatchQueue' in scope
79 | var queue: Queue {
80 | .queue(self)
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Internal/Queue.swift:84:18: error: cannot find type 'DispatchQueue' in scope
82 | }
83 |
84 | public extension DispatchQueue {
| `- error: cannot find type 'DispatchQueue' in scope
85 | static var currentLabel: String {
86 | DispatchQueue.getSpecific(key: Queue.Key.threadLabel) ?? "unknown-\(Date().timeIntervalSince1970)"
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Internal/Queue.swift:13:15: error: cannot find 'DispatchQueue' in scope
11 |
12 | /* convenience */ static func queue(label: String, qos: DispatchQoS = .default) -> Queue {
13 | queue(DispatchQueue(label: label, qos: qos))
| `- error: cannot find 'DispatchQueue' in scope
14 | }
15 |
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Internal/Queue.swift:13:9: error: instance member 'queue' cannot be used on type 'Queue'
11 |
12 | /* convenience */ static func queue(label: String, qos: DispatchQoS = .default) -> Queue {
13 | queue(DispatchQueue(label: label, qos: qos))
| `- error: instance member 'queue' cannot be used on type 'Queue'
14 | }
15 |
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Internal/Queue.swift:13:9: error: cannot call value of non-function type 'Queue._Queue'
11 |
12 | /* convenience */ static func queue(label: String, qos: DispatchQoS = .default) -> Queue {
13 | queue(DispatchQueue(label: label, qos: qos))
| `- error: cannot call value of non-function type 'Queue._Queue'
14 | }
15 |
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Internal/Queue.swift:34:20: error: cannot find 'DispatchQueue' in scope
32 | return queue.label
33 | case ._current:
34 | return DispatchQueue.currentLabel
| `- error: cannot find 'DispatchQueue' in scope
35 | }
36 | }
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Internal/Queue.swift:60:16: error: cannot find 'DispatchQueue' in scope
58 | switch queue {
59 | case ._queue(let queue):
60 | if DispatchQueue.currentLabel == queue.label {
| `- error: cannot find 'DispatchQueue' in scope
61 | return try work()
62 | } else {
[107/177] Compiling BowEffects MonadDefer.swift
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Typeclasses/UnsafeRun.swift:14:19: error: cannot find type 'DispatchQueue' in scope
12 | /// - Throws: Error happened during the execution of the computation, of the error type of the underlying `MonadError`.
13 | static func runBlocking<A>(
14 | on queue: DispatchQueue,
| `- error: cannot find type 'DispatchQueue' in scope
15 | _ fa: @escaping () -> Kind<Self, A>) throws -> A
16 |
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Typeclasses/UnsafeRun.swift:24:19: error: cannot find type 'DispatchQueue' in scope
22 | /// - callback: Callback to report the result of the evaluation.
23 | static func runNonBlocking<A>(
24 | on queue: DispatchQueue,
| `- error: cannot find type 'DispatchQueue' in scope
25 | _ fa: @escaping () -> Kind<Self, A>,
26 | _ callback: @escaping Callback<E, A>)
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Typeclasses/UnsafeRun.swift:38:32: error: cannot find type 'DispatchQueue' in scope
36 | /// - Returns: Result of running the computation.
37 | /// - Throws: Error happened during the execution of the computation, of the error type of the underlying `MonadError`.
38 | func runBlocking(on queue: DispatchQueue = .main) throws -> A {
| `- error: cannot find type 'DispatchQueue' in scope
39 | try F.runBlocking(on: queue, { self })
40 | }
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Typeclasses/UnsafeRun.swift:48:19: error: cannot find type 'DispatchQueue' in scope
46 | /// - callback: Callback to report the result of the evaluation.
47 | func runNonBlocking(
48 | on queue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
49 | _ callback: @escaping Callback<F.E, A> = { _ in }) {
50 | F.runNonBlocking(on: queue, { self }, callback)
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Typeclasses/UnsafeRun.swift:56:18: error: cannot find type 'DispatchQueue' in scope
54 | // MARK: Syntax for DispatchQueue and UnsafeRun
55 |
56 | public extension DispatchQueue {
| `- error: cannot find type 'DispatchQueue' in scope
57 | /// Unsafely runs a computation in a synchronous manner.
58 | ///
[108/177] Compiling BowEffects UnsafeRun.swift
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Typeclasses/UnsafeRun.swift:14:19: error: cannot find type 'DispatchQueue' in scope
12 | /// - Throws: Error happened during the execution of the computation, of the error type of the underlying `MonadError`.
13 | static func runBlocking<A>(
14 | on queue: DispatchQueue,
| `- error: cannot find type 'DispatchQueue' in scope
15 | _ fa: @escaping () -> Kind<Self, A>) throws -> A
16 |
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Typeclasses/UnsafeRun.swift:24:19: error: cannot find type 'DispatchQueue' in scope
22 | /// - callback: Callback to report the result of the evaluation.
23 | static func runNonBlocking<A>(
24 | on queue: DispatchQueue,
| `- error: cannot find type 'DispatchQueue' in scope
25 | _ fa: @escaping () -> Kind<Self, A>,
26 | _ callback: @escaping Callback<E, A>)
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Typeclasses/UnsafeRun.swift:38:32: error: cannot find type 'DispatchQueue' in scope
36 | /// - Returns: Result of running the computation.
37 | /// - Throws: Error happened during the execution of the computation, of the error type of the underlying `MonadError`.
38 | func runBlocking(on queue: DispatchQueue = .main) throws -> A {
| `- error: cannot find type 'DispatchQueue' in scope
39 | try F.runBlocking(on: queue, { self })
40 | }
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Typeclasses/UnsafeRun.swift:48:19: error: cannot find type 'DispatchQueue' in scope
46 | /// - callback: Callback to report the result of the evaluation.
47 | func runNonBlocking(
48 | on queue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
49 | _ callback: @escaping Callback<F.E, A> = { _ in }) {
50 | F.runNonBlocking(on: queue, { self }, callback)
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Typeclasses/UnsafeRun.swift:56:18: error: cannot find type 'DispatchQueue' in scope
54 | // MARK: Syntax for DispatchQueue and UnsafeRun
55 |
56 | public extension DispatchQueue {
| `- error: cannot find type 'DispatchQueue' in scope
57 | /// Unsafely runs a computation in a synchronous manner.
58 | ///
[109/177] Emitting module BowOptics
error: emit-module command failed with exit code 1 (use -v to see invocation)
[110/184] Emitting module BowEffects
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Atomic.swift:5:25: error: cannot find 'DispatchQueue' in scope
3 | /// An atomically modifiable reference to a value
4 | public final class Atomic<A> {
5 | private let queue = DispatchQueue(label: "Atomic serial queue")
| `- error: cannot find 'DispatchQueue' in scope
6 | private var _value: A
7 |
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/EnvIO.swift:190:19: error: cannot find type 'DispatchQueue' in scope
188 | func unsafeRunSync<E: Error>(
189 | with d: D,
190 | on queue: DispatchQueue = .main) throws -> A
| `- error: cannot find type 'DispatchQueue' in scope
191 | where F == IOPartial<E> {
192 | try self.provide(d).unsafeRunSync(on: queue)
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/EnvIO.swift:203:19: error: cannot find type 'DispatchQueue' in scope
201 | func unsafeRunSyncEither<E: Error>(
202 | with d: D,
203 | on queue: DispatchQueue = .main) -> Either<E, A>
| `- error: cannot find type 'DispatchQueue' in scope
204 | where F == IOPartial<E> {
205 | self.provide(d).unsafeRunSyncEither(on: queue)
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/EnvIO.swift:216:19: error: cannot find type 'DispatchQueue' in scope
214 | func unsafeRunAsync<E: Error>(
215 | with d: D,
216 | on queue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
217 | _ callback: @escaping Callback<E, A> = { _ in })
218 | where F == IOPartial<E> {
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/EnvIO.swift:239:44: error: cannot find type 'DispatchQueue' in scope
237 | /// - Returns: Value produced after running the suspended side effects.
238 | /// - Throws: Error of type `E` that may happen during the evaluation of the side-effects. Errors of other types thrown from the evaluation of this IO will cause a fatal error.
239 | func unsafeRunSync<E: Error>(on queue: DispatchQueue = .main) throws -> A
| `- error: cannot find type 'DispatchQueue' in scope
240 | where F == IOPartial<E> {
241 | try self.provide(()).unsafeRunSync(on: queue)
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/EnvIO.swift:248:50: error: cannot find type 'DispatchQueue' in scope
246 | /// - Parameter queue: Dispatch queue used to execute the side effects. Defaults to the main queue.
247 | /// - Returns: An Either wrapping errors in the left side and values on the right side. Errors of other types thrown from the evaluation of this IO will cause a fatal error.
248 | func unsafeRunSyncEither<E: Error>(on queue: DispatchQueue = .main) -> Either<E, A>
| `- error: cannot find type 'DispatchQueue' in scope
249 | where F == IOPartial<E> {
250 | self.provide(()).unsafeRunSyncEither(on: queue)
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/EnvIO.swift:259:19: error: cannot find type 'DispatchQueue' in scope
257 | /// - callback: A callback function to receive the results of the evaluation. Errors of other types thrown from the evaluation of this IO will cause a fatal error.
258 | func unsafeRunAsync<E: Error>(
259 | on queue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
260 | _ callback: @escaping Callback<E, A> = { _ in })
261 | where F == IOPartial<E> {
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/EnvIO.swift:271:45: error: cannot find type 'DispatchTimeInterval' in scope
269 | /// - Parameter interval: Time to sleep.
270 | /// - Returns: A computation that sleeps for the specified amount of time.
271 | static func sleep<E: Error>(_ interval: DispatchTimeInterval) -> EnvIO<D, E, Void>
| `- error: cannot find type 'DispatchTimeInterval' in scope
272 | where F == IOPartial<E> {
273 | EnvIO { _ in IO.sleep(interval) }
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/EnvIO.swift:307:18: error: cannot find type 'DispatchQueue' in scope
305 | public static func continueOn<A>(
306 | _ fa: KleisliOf<F, D, A>,
307 | _ queue: DispatchQueue) -> KleisliOf<F, D, A> {
| `- error: cannot find type 'DispatchQueue' in scope
308 | Kleisli { d in
309 | fa^.run(d).continueOn(queue)
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Typeclasses/Async.swift:29:18: error: cannot find type 'DispatchQueue' in scope
27 | static func continueOn<A>(
28 | _ fa: Kind<Self, A>,
29 | _ queue: DispatchQueue) -> Kind<Self, A>
| `- error: cannot find type 'DispatchQueue' in scope
30 | }
31 |
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/IO.swift:300:41: error: cannot find type 'DispatchQueue' in scope
298 | /// - Returns: Value produced after running the suspended side effects.
299 | /// - Throws: Error of type `E` that may happen during the evaluation of the side-effects. Errors of other types thrown from the evaluation of this IO will cause a fatal error.
300 | public func unsafeRunSync(on queue: DispatchQueue = .main) throws -> A {
| `- error: cannot find type 'DispatchQueue' in scope
301 | let either = self.unsafeRunSyncEither(on: queue)
302 | if either.isRight {
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/IO.swift:313:47: error: cannot find type 'DispatchQueue' in scope
311 | /// - Parameter queue: Dispatch queue used to execute the side effects. Defaults to the main queue.
312 | /// - Returns: An Either wrapping errors in the left side and values on the right side. Errors of other types thrown from the evaluation of this IO will cause a fatal error.
313 | public func unsafeRunSyncEither(on queue: DispatchQueue = .main) -> Either<E, A> {
| `- error: cannot find type 'DispatchQueue' in scope
314 | self._unsafeRunSyncEither(on: .queue(queue)).run().0
315 | }
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Internal/Queue.swift:7:32: error: cannot find type 'DispatchQueue' in scope
5 | // case current
6 |
7 | static func queue(_ queue: DispatchQueue = .main) -> Queue {
| `- error: cannot find type 'DispatchQueue' in scope
8 | queue.setSpecific(key: Key.threadLabel, value: queue.label)
9 | return .init(queue: ._queue(queue))
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Internal/Queue.swift:12:61: error: cannot find type 'DispatchQoS' in scope
10 | }
11 |
12 | /* convenience */ static func queue(label: String, qos: DispatchQoS = .default) -> Queue {
| `- error: cannot find type 'DispatchQoS' in scope
13 | queue(DispatchQueue(label: label, qos: qos))
14 | }
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/IO.swift:329:35: error: cannot find type 'DispatchQueue' in scope
327 | /// - Parameter queue: Dispatch queue used to execute the side effects. Defaults to the main queue.
328 | /// - Returns: An IO that either contains the value produced or an error. Errors of other types thrown from the evaluation of this IO will cause a fatal error.
329 | public func attempt(on queue: DispatchQueue = .main) -> IO<E, A> {
| `- error: cannot find type 'DispatchQueue' in scope
330 | do {
331 | let result = try self.unsafeRunSync(on: queue)
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/IO.swift:345:42: error: cannot find type 'DispatchQueue' in scope
343 | /// - queue: Dispatch queue used to execute the side effects. Defaults to the main queue.
344 | /// - callback: A callback function to receive the results of the evaluation. Errors of other types thrown from the evaluation of this IO will cause a fatal error.
345 | public func unsafeRunAsync(on queue: DispatchQueue = .main, _ callback: @escaping Callback<E, A> = { _ in }) {
| `- error: cannot find type 'DispatchQueue' in scope
346 | queue.async {
347 | callback(self.unsafeRunSyncEither(on: queue))
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/IO.swift:462:35: error: cannot find type 'DispatchTimeInterval' in scope
460 | /// - Parameter interval: Interval of time to sleep.
461 | /// - Returns: An IO that sleeps for the specified amount of time.
462 | static func sleep(_ interval: DispatchTimeInterval) -> IO<E, Void> {
| `- error: cannot find type 'DispatchTimeInterval' in scope
463 | if let timeInterval = interval.toDouble() {
464 | return IO.invoke {
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/IO.swift:624:35: error: cannot find type 'DispatchQueue' in scope
622 | let queue: DispatchQueue
623 |
624 | init(_ io: IO<E, A>, _ queue: DispatchQueue) {
| `- error: cannot find type 'DispatchQueue' in scope
625 | self.io = io
626 | self.queue = queue
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/IO.swift:622:16: error: cannot find type 'DispatchQueue' in scope
620 | internal class ContinueOn<E: Error, A>: IO<E, A> {
621 | let io: IO<E, A>
622 | let queue: DispatchQueue
| `- error: cannot find type 'DispatchQueue' in scope
623 |
624 | init(_ io: IO<E, A>, _ queue: DispatchQueue) {
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/IO.swift:906:18: error: cannot find type 'DispatchQueue' in scope
904 | public static func continueOn<A>(
905 | _ fa: IOOf<E, A>,
906 | _ queue: DispatchQueue) -> IOOf<E, A> {
| `- error: cannot find type 'DispatchQueue' in scope
907 | ContinueOn(fa^, queue)
908 | }
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/IO.swift:947:19: error: cannot find type 'DispatchQueue' in scope
945 | extension IOPartial: UnsafeRun {
946 | public static func runBlocking<A>(
947 | on queue: DispatchQueue,
| `- error: cannot find type 'DispatchQueue' in scope
948 | _ fa: @escaping () -> Kind<IOPartial<E>, A>) throws -> A {
949 | try fa()^.unsafeRunSync(on: queue)
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/IO.swift:953:19: error: cannot find type 'DispatchQueue' in scope
951 |
952 | public static func runNonBlocking<A>(
953 | on queue: DispatchQueue,
| `- error: cannot find type 'DispatchQueue' in scope
954 | _ fa: @escaping () -> Kind<IOPartial<E>, A>,
955 | _ callback: @escaping (Either<E, A>) -> ()) {
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Typeclasses/UnsafeRun.swift:14:19: error: cannot find type 'DispatchQueue' in scope
12 | /// - Throws: Error happened during the execution of the computation, of the error type of the underlying `MonadError`.
13 | static func runBlocking<A>(
14 | on queue: DispatchQueue,
| `- error: cannot find type 'DispatchQueue' in scope
15 | _ fa: @escaping () -> Kind<Self, A>) throws -> A
16 |
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Typeclasses/UnsafeRun.swift:24:19: error: cannot find type 'DispatchQueue' in scope
22 | /// - callback: Callback to report the result of the evaluation.
23 | static func runNonBlocking<A>(
24 | on queue: DispatchQueue,
| `- error: cannot find type 'DispatchQueue' in scope
25 | _ fa: @escaping () -> Kind<Self, A>,
26 | _ callback: @escaping Callback<E, A>)
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Internal/DispatchTimeInterval+Extensions.swift:21:49: error: cannot find type 'DispatchTimeInterval' in scope
19 | }
20 |
21 | func -(lhs: DispatchTime, rhs: DispatchTime) -> DispatchTimeInterval {
| `- error: cannot find type 'DispatchTimeInterval' in scope
22 | let l = Int(lhs.rawValue)
23 | let r = Int(rhs.rawValue)
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Internal/DispatchTimeInterval+Extensions.swift:21:13: error: cannot find type 'DispatchTime' in scope
19 | }
20 |
21 | func -(lhs: DispatchTime, rhs: DispatchTime) -> DispatchTimeInterval {
| `- error: cannot find type 'DispatchTime' in scope
22 | let l = Int(lhs.rawValue)
23 | let r = Int(rhs.rawValue)
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Internal/DispatchTimeInterval+Extensions.swift:21:32: error: cannot find type 'DispatchTime' in scope
19 | }
20 |
21 | func -(lhs: DispatchTime, rhs: DispatchTime) -> DispatchTimeInterval {
| `- error: cannot find type 'DispatchTime' in scope
22 | let l = Int(lhs.rawValue)
23 | let r = Int(rhs.rawValue)
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Internal/DispatchTimeInterval+Extensions.swift:3:11: error: cannot find type 'DispatchTimeInterval' in scope
1 | import Foundation
2 |
3 | extension DispatchTimeInterval {
| `- error: cannot find type 'DispatchTimeInterval' in scope
4 | func toDouble() -> Double? {
5 | switch self {
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Internal/DispatchTimeInterval+Extensions.swift:16:14: error: cannot find type 'DispatchTimeInterval' in scope
14 | }
15 |
16 | func >=(lhs: DispatchTimeInterval, rhs: DispatchTimeInterval) -> Bool {
| `- error: cannot find type 'DispatchTimeInterval' in scope
17 | let now = DispatchTime.now()
18 | return now + lhs >= now + rhs
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Internal/DispatchTimeInterval+Extensions.swift:16:41: error: cannot find type 'DispatchTimeInterval' in scope
14 | }
15 |
16 | func >=(lhs: DispatchTimeInterval, rhs: DispatchTimeInterval) -> Bool {
| `- error: cannot find type 'DispatchTimeInterval' in scope
17 | let now = DispatchTime.now()
18 | return now + lhs >= now + rhs
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Internal/Queue.swift:24:21: error: cannot find type 'DispatchQueue' in scope
22 |
23 | private enum _Queue {
24 | case _queue(DispatchQueue)
| `- error: cannot find type 'DispatchQueue' in scope
25 | case _current
26 | }
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Internal/Queue.swift:38:14: error: cannot find type 'DispatchQoS' in scope
36 | }
37 |
38 | var qos: DispatchQoS {
| `- error: cannot find type 'DispatchQoS' in scope
39 | switch queue {
40 | case ._queue(let queue):
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Internal/Queue.swift:72:34: error: cannot find 'DispatchSpecificKey' in scope
70 |
71 | fileprivate enum Key {
72 | static let threadLabel = DispatchSpecificKey<String>()
| `- error: cannot find 'DispatchSpecificKey' in scope
73 | }
74 | }
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Internal/Queue.swift:78:20: error: cannot find type 'DispatchQueue' in scope
76 |
77 | // MARK: - helpers
78 | internal extension DispatchQueue {
| `- error: cannot find type 'DispatchQueue' in scope
79 | var queue: Queue {
80 | .queue(self)
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Internal/Queue.swift:84:18: error: cannot find type 'DispatchQueue' in scope
82 | }
83 |
84 | public extension DispatchQueue {
| `- error: cannot find type 'DispatchQueue' in scope
85 | static var currentLabel: String {
86 | DispatchQueue.getSpecific(key: Queue.Key.threadLabel) ?? "unknown-\(Date().timeIntervalSince1970)"
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Schedule.swift:143:48: error: cannot find type 'DispatchTimeInterval' in scope
141 | ///
142 | /// - Parameter f: Function computing the delay time based on the output of the schedule.
143 | public func addDelay(_ f: @escaping (B) -> DispatchTimeInterval) -> Schedule<R, A, State, B> {
| `- error: cannot find type 'DispatchTimeInterval' in scope
144 | addDelayM { b in EnvIO<R, Never, DispatchTimeInterval>.pure(f(b))^ }
145 | }
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Schedule.swift:143:31: error: @escaping attribute only applies to function types
141 | ///
142 | /// - Parameter f: Function computing the delay time based on the output of the schedule.
143 | public func addDelay(_ f: @escaping (B) -> DispatchTimeInterval) -> Schedule<R, A, State, B> {
| `- error: @escaping attribute only applies to function types
144 | addDelayM { b in EnvIO<R, Never, DispatchTimeInterval>.pure(f(b))^ }
145 | }
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Schedule.swift:150:65: error: cannot find type 'DispatchTimeInterval' in scope
148 | ///
149 | /// - Parameter f: An effectful function that provides the delay time based on the output of the schedule.
150 | public func addDelayM(_ f: @escaping (B) -> EnvIO<R, Never, DispatchTimeInterval>) -> Schedule<R, A, State, B> {
| `- error: cannot find type 'DispatchTimeInterval' in scope
151 | addDelayM { b in f(b).map { x in x.toDouble() ?? 0 }^ }
152 | }
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Schedule.swift:150:32: error: @escaping attribute only applies to function types
148 | ///
149 | /// - Parameter f: An effectful function that provides the delay time based on the output of the schedule.
150 | public func addDelayM(_ f: @escaping (B) -> EnvIO<R, Never, DispatchTimeInterval>) -> Schedule<R, A, State, B> {
| `- error: @escaping attribute only applies to function types
151 | addDelayM { b in f(b).map { x in x.toDouble() ?? 0 }^ }
152 | }
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Schedule.swift:490:31: error: cannot find type 'DispatchTimeInterval' in scope
488 | }
489 |
490 | extension Schedule where B == DispatchTimeInterval {
| `- error: cannot find type 'DispatchTimeInterval' in scope
491 | /// Provides a schedule from the given schedule which transforms the delays into effectufl sleeps.
492 | ///
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Schedule.swift:494:107: error: cannot find type 'DispatchTimeInterval' in scope
492 | ///
493 | /// - Parameter s: A schedule producing time intervals.
494 | public static func delayed(_ s: Schedule<R, A, State, DispatchTimeInterval>) -> Schedule<R, A, State, DispatchTimeInterval> {
| `- error: cannot find type 'DispatchTimeInterval' in scope
495 | s.addDelay(id)
496 | }
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Schedule.swift:494:59: error: cannot find type 'DispatchTimeInterval' in scope
492 | ///
493 | /// - Parameter s: A schedule producing time intervals.
494 | public static func delayed(_ s: Schedule<R, A, State, DispatchTimeInterval>) -> Schedule<R, A, State, DispatchTimeInterval> {
| `- error: cannot find type 'DispatchTimeInterval' in scope
495 | s.addDelay(id)
496 | }
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Schedule.swift:508:36: error: cannot find type 'DispatchTime' in scope
506 | }
507 |
508 | extension Schedule where State == (DispatchTime, DispatchTimeInterval), B == DispatchTimeInterval {
| `- error: cannot find type 'DispatchTime' in scope
509 | private static func now() -> EnvIO<R, Never, DispatchTime> {
510 | EnvIO.pure(DispatchTime.now())^
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Schedule.swift:508:50: error: cannot find type 'DispatchTimeInterval' in scope
506 | }
507 |
508 | extension Schedule where State == (DispatchTime, DispatchTimeInterval), B == DispatchTimeInterval {
| `- error: cannot find type 'DispatchTimeInterval' in scope
509 | private static func now() -> EnvIO<R, Never, DispatchTime> {
510 | EnvIO.pure(DispatchTime.now())^
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Schedule.swift:508:78: error: cannot find type 'DispatchTimeInterval' in scope
506 | }
507 |
508 | extension Schedule where State == (DispatchTime, DispatchTimeInterval), B == DispatchTimeInterval {
| `- error: cannot find type 'DispatchTimeInterval' in scope
509 | private static func now() -> EnvIO<R, Never, DispatchTime> {
510 | EnvIO.pure(DispatchTime.now())^
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Schedule.swift:509:50: error: cannot find type 'DispatchTime' in scope
507 |
508 | extension Schedule where State == (DispatchTime, DispatchTimeInterval), B == DispatchTimeInterval {
509 | private static func now() -> EnvIO<R, Never, DispatchTime> {
| `- error: cannot find type 'DispatchTime' in scope
510 | EnvIO.pure(DispatchTime.now())^
511 | }
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Schedule.swift:514:53: error: cannot find type 'DispatchTime' in scope
512 |
513 | /// Provides a schedule that recurs forever without a delay, returning the elapsed time since it began.
514 | public static func elapsed() -> Schedule<R, A, (DispatchTime, DispatchTimeInterval), DispatchTimeInterval> {
| `- error: cannot find type 'DispatchTime' in scope
515 | Schedule<R, A, (DispatchTime, DispatchTimeInterval), DispatchTimeInterval>(
516 | initial: now().map { s in (s, DispatchTimeInterval.seconds(0)) }^,
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Schedule.swift:514:67: error: cannot find type 'DispatchTimeInterval' in scope
512 |
513 | /// Provides a schedule that recurs forever without a delay, returning the elapsed time since it began.
514 | public static func elapsed() -> Schedule<R, A, (DispatchTime, DispatchTimeInterval), DispatchTimeInterval> {
| `- error: cannot find type 'DispatchTimeInterval' in scope
515 | Schedule<R, A, (DispatchTime, DispatchTimeInterval), DispatchTimeInterval>(
516 | initial: now().map { s in (s, DispatchTimeInterval.seconds(0)) }^,
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Schedule.swift:525:86: error: cannot find type 'DispatchTime' in scope
523 | ///
524 | /// - Parameter interval: Time interval for this schedule to recur.
525 | public static func duration(_ interval: DispatchTimeInterval) -> Schedule<R, A, (DispatchTime, DispatchTimeInterval), DispatchTimeInterval> {
| `- error: cannot find type 'DispatchTime' in scope
526 | elapsed().untilOutput { x in x >= interval }
527 | }
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Schedule.swift:525:100: error: cannot find type 'DispatchTimeInterval' in scope
523 | ///
524 | /// - Parameter interval: Time interval for this schedule to recur.
525 | public static func duration(_ interval: DispatchTimeInterval) -> Schedule<R, A, (DispatchTime, DispatchTimeInterval), DispatchTimeInterval> {
| `- error: cannot find type 'DispatchTimeInterval' in scope
526 | elapsed().untilOutput { x in x >= interval }
527 | }
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Schedule.swift:525:45: error: cannot find type 'DispatchTimeInterval' in scope
523 | ///
524 | /// - Parameter interval: Time interval for this schedule to recur.
525 | public static func duration(_ interval: DispatchTimeInterval) -> Schedule<R, A, (DispatchTime, DispatchTimeInterval), DispatchTimeInterval> {
| `- error: cannot find type 'DispatchTimeInterval' in scope
526 | elapsed().untilOutput { x in x >= interval }
527 | }
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Schedule.swift:534:43: error: cannot find type 'DispatchTimeInterval' in scope
532 | ///
533 | /// - Parameter interval: Time interval to wait between each action.
534 | public static func spaced(_ interval: DispatchTimeInterval) -> Schedule<R, A, State, Int> {
| `- error: cannot find type 'DispatchTimeInterval' in scope
535 | forever().addDelay { _ in interval }
536 | }
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Schedule.swift:554:44: error: cannot find type 'DispatchTimeInterval' in scope
552 | /// - base: Base time interval to wait between repetitions.
553 | /// - factor: Factor for the exponential backoff. Defaults to 2.0.
554 | public static func exponential(_ base: DispatchTimeInterval, factor: Double = 2.0) -> Schedule<R, A, Int, TimeInterval> {
| `- error: cannot find type 'DispatchTimeInterval' in scope
555 | exponential(base.toDouble() ?? 1, factor: factor)
556 | }
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Schedule.swift:576:39: error: cannot find type 'DispatchTimeInterval' in scope
574 | ///
575 | /// - Parameter base: Base time interval to wait between repetitions.
576 | public static func linear(_ base: DispatchTimeInterval) -> Schedule<R, A, Int, TimeInterval> {
| `- error: cannot find type 'DispatchTimeInterval' in scope
577 | linear(base.toDouble() ?? 1)
578 | }
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Schedule.swift:597:41: error: cannot find type 'DispatchTimeInterval' in scope
595 | ///
596 | /// - Parameter one: Time interval for the initial delay.
597 | public static func fibonacci(_ one: DispatchTimeInterval) -> Schedule<R, A, (TimeInterval, TimeInterval), TimeInterval> {
| `- error: cannot find type 'DispatchTimeInterval' in scope
598 | fibonacci(one.toDouble() ?? 1)
599 | }
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Foundation/URLSession.swift:9:8: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
7 |
8 | /// Utilities to perform data, download and upload tasks in a functional manner.
9 | public extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
10 | typealias DataIO = IO<Error, (response: URLResponse, data: Data)>
11 | typealias DownloadIO = IO<Error, (response: URLResponse, url: URL)>
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Typeclasses/Async.swift:51:18: error: cannot find type 'DispatchQueue' in scope
49 | /// - Returns: A computation that defers the execution of the provided function.
50 | static func `defer`<A>(
51 | _ queue: DispatchQueue,
| `- error: cannot find type 'DispatchQueue' in scope
52 | _ f: @escaping () -> Kind<Self, A>) -> Kind<Self, A> {
53 | pure(()).continueOn(queue).flatMap(f)
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Typeclasses/Async.swift:62:18: error: cannot find type 'DispatchQueue' in scope
60 | /// - Returns: A computation that defers the execution of the provided function.
61 | static func later<A>(
62 | _ queue: DispatchQueue,
| `- error: cannot find type 'DispatchQueue' in scope
63 | _ f: @escaping () throws -> A) -> Kind<Self, A> {
64 | Self.defer(queue) {
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Typeclasses/Async.swift:81:18: error: cannot find type 'DispatchQueue' in scope
79 | /// - Returns: A computation that defers the execution of the provided value.
80 | static func delayOrRaise<A>(
81 | _ queue: DispatchQueue,
| `- error: cannot find type 'DispatchQueue' in scope
82 | _ f: @escaping () -> Either<E, A>) -> Kind<Self, A> {
83 | Self.defer(queue) { f().fold(raiseError, pure) }
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Typeclasses/Async.swift:110:30: error: cannot find type 'DispatchQueue' in scope
108 | /// - queue: A Dispatch Queue.
109 | /// - Returns: A computation that will run on the provided queue.
110 | func continueOn(_ queue: DispatchQueue) -> Kind<F, A> {
| `- error: cannot find type 'DispatchQueue' in scope
111 | F.continueOn(self, queue)
112 | }
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Typeclasses/Async.swift:128:18: error: cannot find type 'DispatchQueue' in scope
126 | /// - Returns: A computation that defers the execution of the provided function.
127 | static func `defer`(
128 | _ queue: DispatchQueue,
| `- error: cannot find type 'DispatchQueue' in scope
129 | _ f: @escaping () -> Kind<F, A>) -> Kind<F, A> {
130 | F.defer(queue, f)
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Typeclasses/Async.swift:139:18: error: cannot find type 'DispatchQueue' in scope
137 | /// - Returns: A computation that defers the execution of the provided function.
138 | static func later(
139 | _ queue: DispatchQueue,
| `- error: cannot find type 'DispatchQueue' in scope
140 | _ f: @escaping () throws -> A) -> Kind<F, A> {
141 | F.later(queue, f)
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Typeclasses/Async.swift:150:18: error: cannot find type 'DispatchQueue' in scope
148 | /// - Returns: A computation that defers the execution of the provided value.
149 | static func delayOrRaise<A>(
150 | _ queue: DispatchQueue,
| `- error: cannot find type 'DispatchQueue' in scope
151 | _ f: @escaping () -> Either<F.E, A>) -> Kind<F, A> {
152 | F.delayOrRaise(queue, f)
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Typeclasses/Async.swift:165:18: error: cannot find type 'DispatchQueue' in scope
163 | // MARK: Async syntax for DispatchQueue
164 |
165 | public extension DispatchQueue {
| `- error: cannot find type 'DispatchQueue' in scope
166 | /// Provides an asynchronous computation that runs on this queue.
167 | ///
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Typeclasses/EffectComprehensions.swift:10:43: error: cannot find type 'DispatchQueue' in scope
8 | /// - Parameter queue: Queue where to run the effects from that point on.
9 | /// - Returns: A binding expression to be used in a Monad comprehension.
10 | public func continueOn<F: Async>(_ queue: DispatchQueue) -> BindingExpression<F> {
| `- error: cannot find type 'DispatchQueue' in scope
11 | BoundVar<F, ()>.make() <- queue.shift()
12 | }
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Typeclasses/UnsafeRun.swift:38:32: error: cannot find type 'DispatchQueue' in scope
36 | /// - Returns: Result of running the computation.
37 | /// - Throws: Error happened during the execution of the computation, of the error type of the underlying `MonadError`.
38 | func runBlocking(on queue: DispatchQueue = .main) throws -> A {
| `- error: cannot find type 'DispatchQueue' in scope
39 | try F.runBlocking(on: queue, { self })
40 | }
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Typeclasses/UnsafeRun.swift:48:19: error: cannot find type 'DispatchQueue' in scope
46 | /// - callback: Callback to report the result of the evaluation.
47 | func runNonBlocking(
48 | on queue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
49 | _ callback: @escaping Callback<F.E, A> = { _ in }) {
50 | F.runNonBlocking(on: queue, { self }, callback)
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Typeclasses/UnsafeRun.swift:56:18: error: cannot find type 'DispatchQueue' in scope
54 | // MARK: Syntax for DispatchQueue and UnsafeRun
55 |
56 | public extension DispatchQueue {
| `- error: cannot find type 'DispatchQueue' in scope
57 | /// Unsafely runs a computation in a synchronous manner.
58 | ///
[111/184] Compiling BowOptics AutoOptional.swift
[112/184] Compiling BowOptics AutoPrism.swift
[113/184] Compiling BowOptics AutoSetter.swift
[114/184] Compiling BowOptics AutoGetter.swift
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Foundation/URLSession.swift:9:8: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
7 |
8 | /// Utilities to perform data, download and upload tasks in a functional manner.
9 | public extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
10 | typealias DataIO = IO<Error, (response: URLResponse, data: Data)>
11 | typealias DownloadIO = IO<Error, (response: URLResponse, url: URL)>
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Typeclasses/Async.swift:29:18: error: cannot find type 'DispatchQueue' in scope
27 | static func continueOn<A>(
28 | _ fa: Kind<Self, A>,
29 | _ queue: DispatchQueue) -> Kind<Self, A>
| `- error: cannot find type 'DispatchQueue' in scope
30 | }
31 |
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Typeclasses/Async.swift:51:18: error: cannot find type 'DispatchQueue' in scope
49 | /// - Returns: A computation that defers the execution of the provided function.
50 | static func `defer`<A>(
51 | _ queue: DispatchQueue,
| `- error: cannot find type 'DispatchQueue' in scope
52 | _ f: @escaping () -> Kind<Self, A>) -> Kind<Self, A> {
53 | pure(()).continueOn(queue).flatMap(f)
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Typeclasses/Async.swift:62:18: error: cannot find type 'DispatchQueue' in scope
60 | /// - Returns: A computation that defers the execution of the provided function.
61 | static func later<A>(
62 | _ queue: DispatchQueue,
| `- error: cannot find type 'DispatchQueue' in scope
63 | _ f: @escaping () throws -> A) -> Kind<Self, A> {
64 | Self.defer(queue) {
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Typeclasses/Async.swift:81:18: error: cannot find type 'DispatchQueue' in scope
79 | /// - Returns: A computation that defers the execution of the provided value.
80 | static func delayOrRaise<A>(
81 | _ queue: DispatchQueue,
| `- error: cannot find type 'DispatchQueue' in scope
82 | _ f: @escaping () -> Either<E, A>) -> Kind<Self, A> {
83 | Self.defer(queue) { f().fold(raiseError, pure) }
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Typeclasses/Async.swift:110:30: error: cannot find type 'DispatchQueue' in scope
108 | /// - queue: A Dispatch Queue.
109 | /// - Returns: A computation that will run on the provided queue.
110 | func continueOn(_ queue: DispatchQueue) -> Kind<F, A> {
| `- error: cannot find type 'DispatchQueue' in scope
111 | F.continueOn(self, queue)
112 | }
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Typeclasses/Async.swift:128:18: error: cannot find type 'DispatchQueue' in scope
126 | /// - Returns: A computation that defers the execution of the provided function.
127 | static func `defer`(
128 | _ queue: DispatchQueue,
| `- error: cannot find type 'DispatchQueue' in scope
129 | _ f: @escaping () -> Kind<F, A>) -> Kind<F, A> {
130 | F.defer(queue, f)
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Typeclasses/Async.swift:139:18: error: cannot find type 'DispatchQueue' in scope
137 | /// - Returns: A computation that defers the execution of the provided function.
138 | static func later(
139 | _ queue: DispatchQueue,
| `- error: cannot find type 'DispatchQueue' in scope
140 | _ f: @escaping () throws -> A) -> Kind<F, A> {
141 | F.later(queue, f)
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Typeclasses/Async.swift:150:18: error: cannot find type 'DispatchQueue' in scope
148 | /// - Returns: A computation that defers the execution of the provided value.
149 | static func delayOrRaise<A>(
150 | _ queue: DispatchQueue,
| `- error: cannot find type 'DispatchQueue' in scope
151 | _ f: @escaping () -> Either<F.E, A>) -> Kind<F, A> {
152 | F.delayOrRaise(queue, f)
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Typeclasses/Async.swift:165:18: error: cannot find type 'DispatchQueue' in scope
163 | // MARK: Async syntax for DispatchQueue
164 |
165 | public extension DispatchQueue {
| `- error: cannot find type 'DispatchQueue' in scope
166 | /// Provides an asynchronous computation that runs on this queue.
167 | ///
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Typeclasses/Async.swift:64:27: error: extra trailing closure passed in call
62 | _ queue: DispatchQueue,
63 | _ f: @escaping () throws -> A) -> Kind<Self, A> {
64 | Self.defer(queue) {
| `- error: extra trailing closure passed in call
65 | do {
66 | return pure(try f())
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Typeclasses/Async.swift:83:27: error: extra trailing closure passed in call
81 | _ queue: DispatchQueue,
82 | _ f: @escaping () -> Either<E, A>) -> Kind<Self, A> {
83 | Self.defer(queue) { f().fold(raiseError, pure) }
| `- error: extra trailing closure passed in call
84 | }
85 |
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Typeclasses/Async.swift:130:24: error: extra argument in call
128 | _ queue: DispatchQueue,
129 | _ f: @escaping () -> Kind<F, A>) -> Kind<F, A> {
130 | F.defer(queue, f)
| `- error: extra argument in call
131 | }
132 |
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Typeclasses/Async.swift:141:24: error: extra argument in call
139 | _ queue: DispatchQueue,
140 | _ f: @escaping () throws -> A) -> Kind<F, A> {
141 | F.later(queue, f)
| `- error: extra argument in call
142 | }
143 |
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Foundation/URLSession.swift:16:39: error: cannot find type 'DataIO' in scope
14 |
15 | /// IO suspended version of `URLSession.dataTask(with:)`. Refer to that function for further documentation.
16 | func dataTaskIO(with url: URL) -> DataIO {
| `- error: cannot find type 'DataIO' in scope
17 | IO.async { callback in
18 | self.dataTask(with: url, completionHandler: self.onResponse(callback)).resume()
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Foundation/URLSession.swift:23:50: error: cannot find type 'DataIO' in scope
21 |
22 | /// IO suspended version of `URLSession.dataTask(with:)`. Refer to that function for further documentation.
23 | func dataTaskIO(with request: URLRequest) -> DataIO {
| `- error: cannot find type 'DataIO' in scope
24 | IO.async { callback in
25 | self.dataTask(with: request, completionHandler: self.onResponse(callback)).resume()
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Foundation/URLSession.swift:23:35: error: cannot find type 'URLRequest' in scope
21 |
22 | /// IO suspended version of `URLSession.dataTask(with:)`. Refer to that function for further documentation.
23 | func dataTaskIO(with request: URLRequest) -> DataIO {
| `- error: cannot find type 'URLRequest' in scope
24 | IO.async { callback in
25 | self.dataTask(with: request, completionHandler: self.onResponse(callback)).resume()
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Foundation/URLSession.swift:32:43: error: cannot find type 'DownloadIO' in scope
30 |
31 | /// IO suspended version of `URLSession.downloadTask(with:)`. Refer to that function for further documentation.
32 | func downloadTaskIO(with url: URL) -> DownloadIO {
| `- error: cannot find type 'DownloadIO' in scope
33 | IO.async { callback in
34 | self.downloadTask(with: url, completionHandler: self.onResponse(callback)).resume()
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Foundation/URLSession.swift:39:54: error: cannot find type 'DownloadIO' in scope
37 |
38 | /// IO suspended version of `URLSession.downloadTask(with:)`. Refer to that function for further documentation.
39 | func downloadTaskIO(with request: URLRequest) -> DownloadIO {
| `- error: cannot find type 'DownloadIO' in scope
40 | IO.async { callback in
41 | self.downloadTask(with: request, completionHandler: self.onResponse(callback)).resume()
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Foundation/URLSession.swift:39:39: error: cannot find type 'URLRequest' in scope
37 |
38 | /// IO suspended version of `URLSession.downloadTask(with:)`. Refer to that function for further documentation.
39 | func downloadTaskIO(with request: URLRequest) -> DownloadIO {
| `- error: cannot find type 'URLRequest' in scope
40 | IO.async { callback in
41 | self.downloadTask(with: request, completionHandler: self.onResponse(callback)).resume()
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Foundation/URLSession.swift:46:55: error: cannot find type 'DownloadIO' in scope
44 |
45 | /// IO suspended version of `URLSession.downloadTask(withResumeData:)`. Refer to that function for further documentation.
46 | func downloadTaskIO(withResumeData data: Data) -> DownloadIO {
| `- error: cannot find type 'DownloadIO' in scope
47 | IO.async { callback in
48 | self.downloadTask(withResumeData: data, completionHandler: self.onResponse(callback)).resume()
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Foundation/URLSession.swift:57:29: error: cannot find type 'DataIO' in scope
55 | func uploadTaskIO(
56 | with request: URLRequest,
57 | from data: Data) -> DataIO {
| `- error: cannot find type 'DataIO' in scope
58 | IO.async { callback in
59 | self.uploadTask(with: request, from: data, completionHandler: self.onResponse(callback)).resume()
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Foundation/URLSession.swift:56:23: error: cannot find type 'URLRequest' in scope
54 | /// IO suspended version of `URLSession.uploadTask(with:from:)`. Refer to that function for further documentation.
55 | func uploadTaskIO(
56 | with request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
57 | from data: Data) -> DataIO {
58 | IO.async { callback in
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Foundation/URLSession.swift:66:31: error: cannot find type 'DataIO' in scope
64 | func uploadTaskIO(
65 | with request: URLRequest,
66 | fromFile url: URL) -> DataIO {
| `- error: cannot find type 'DataIO' in scope
67 | IO.async { callback in
68 | self.uploadTask(with: request, fromFile: url, completionHandler: self.onResponse(callback)).resume()
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Foundation/URLSession.swift:65:23: error: cannot find type 'URLRequest' in scope
63 | /// IO suspended version of `URLSession.uploadTask(with:fromFile:)`. Refer to that function for further documentation.
64 | func uploadTaskIO(
65 | with request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
66 | fromFile url: URL) -> DataIO {
67 | IO.async { callback in
[115/184] Compiling BowOptics AutoLens.swift
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Foundation/URLSession.swift:9:8: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
7 |
8 | /// Utilities to perform data, download and upload tasks in a functional manner.
9 | public extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
10 | typealias DataIO = IO<Error, (response: URLResponse, data: Data)>
11 | typealias DownloadIO = IO<Error, (response: URLResponse, url: URL)>
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Typeclasses/Async.swift:29:18: error: cannot find type 'DispatchQueue' in scope
27 | static func continueOn<A>(
28 | _ fa: Kind<Self, A>,
29 | _ queue: DispatchQueue) -> Kind<Self, A>
| `- error: cannot find type 'DispatchQueue' in scope
30 | }
31 |
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Typeclasses/Async.swift:51:18: error: cannot find type 'DispatchQueue' in scope
49 | /// - Returns: A computation that defers the execution of the provided function.
50 | static func `defer`<A>(
51 | _ queue: DispatchQueue,
| `- error: cannot find type 'DispatchQueue' in scope
52 | _ f: @escaping () -> Kind<Self, A>) -> Kind<Self, A> {
53 | pure(()).continueOn(queue).flatMap(f)
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Typeclasses/Async.swift:62:18: error: cannot find type 'DispatchQueue' in scope
60 | /// - Returns: A computation that defers the execution of the provided function.
61 | static func later<A>(
62 | _ queue: DispatchQueue,
| `- error: cannot find type 'DispatchQueue' in scope
63 | _ f: @escaping () throws -> A) -> Kind<Self, A> {
64 | Self.defer(queue) {
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Typeclasses/Async.swift:81:18: error: cannot find type 'DispatchQueue' in scope
79 | /// - Returns: A computation that defers the execution of the provided value.
80 | static func delayOrRaise<A>(
81 | _ queue: DispatchQueue,
| `- error: cannot find type 'DispatchQueue' in scope
82 | _ f: @escaping () -> Either<E, A>) -> Kind<Self, A> {
83 | Self.defer(queue) { f().fold(raiseError, pure) }
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Typeclasses/Async.swift:110:30: error: cannot find type 'DispatchQueue' in scope
108 | /// - queue: A Dispatch Queue.
109 | /// - Returns: A computation that will run on the provided queue.
110 | func continueOn(_ queue: DispatchQueue) -> Kind<F, A> {
| `- error: cannot find type 'DispatchQueue' in scope
111 | F.continueOn(self, queue)
112 | }
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Typeclasses/Async.swift:128:18: error: cannot find type 'DispatchQueue' in scope
126 | /// - Returns: A computation that defers the execution of the provided function.
127 | static func `defer`(
128 | _ queue: DispatchQueue,
| `- error: cannot find type 'DispatchQueue' in scope
129 | _ f: @escaping () -> Kind<F, A>) -> Kind<F, A> {
130 | F.defer(queue, f)
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Typeclasses/Async.swift:139:18: error: cannot find type 'DispatchQueue' in scope
137 | /// - Returns: A computation that defers the execution of the provided function.
138 | static func later(
139 | _ queue: DispatchQueue,
| `- error: cannot find type 'DispatchQueue' in scope
140 | _ f: @escaping () throws -> A) -> Kind<F, A> {
141 | F.later(queue, f)
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Typeclasses/Async.swift:150:18: error: cannot find type 'DispatchQueue' in scope
148 | /// - Returns: A computation that defers the execution of the provided value.
149 | static func delayOrRaise<A>(
150 | _ queue: DispatchQueue,
| `- error: cannot find type 'DispatchQueue' in scope
151 | _ f: @escaping () -> Either<F.E, A>) -> Kind<F, A> {
152 | F.delayOrRaise(queue, f)
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Typeclasses/Async.swift:165:18: error: cannot find type 'DispatchQueue' in scope
163 | // MARK: Async syntax for DispatchQueue
164 |
165 | public extension DispatchQueue {
| `- error: cannot find type 'DispatchQueue' in scope
166 | /// Provides an asynchronous computation that runs on this queue.
167 | ///
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Typeclasses/Async.swift:64:27: error: extra trailing closure passed in call
62 | _ queue: DispatchQueue,
63 | _ f: @escaping () throws -> A) -> Kind<Self, A> {
64 | Self.defer(queue) {
| `- error: extra trailing closure passed in call
65 | do {
66 | return pure(try f())
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Typeclasses/Async.swift:83:27: error: extra trailing closure passed in call
81 | _ queue: DispatchQueue,
82 | _ f: @escaping () -> Either<E, A>) -> Kind<Self, A> {
83 | Self.defer(queue) { f().fold(raiseError, pure) }
| `- error: extra trailing closure passed in call
84 | }
85 |
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Typeclasses/Async.swift:130:24: error: extra argument in call
128 | _ queue: DispatchQueue,
129 | _ f: @escaping () -> Kind<F, A>) -> Kind<F, A> {
130 | F.defer(queue, f)
| `- error: extra argument in call
131 | }
132 |
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Typeclasses/Async.swift:141:24: error: extra argument in call
139 | _ queue: DispatchQueue,
140 | _ f: @escaping () throws -> A) -> Kind<F, A> {
141 | F.later(queue, f)
| `- error: extra argument in call
142 | }
143 |
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Foundation/URLSession.swift:16:39: error: cannot find type 'DataIO' in scope
14 |
15 | /// IO suspended version of `URLSession.dataTask(with:)`. Refer to that function for further documentation.
16 | func dataTaskIO(with url: URL) -> DataIO {
| `- error: cannot find type 'DataIO' in scope
17 | IO.async { callback in
18 | self.dataTask(with: url, completionHandler: self.onResponse(callback)).resume()
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Foundation/URLSession.swift:23:50: error: cannot find type 'DataIO' in scope
21 |
22 | /// IO suspended version of `URLSession.dataTask(with:)`. Refer to that function for further documentation.
23 | func dataTaskIO(with request: URLRequest) -> DataIO {
| `- error: cannot find type 'DataIO' in scope
24 | IO.async { callback in
25 | self.dataTask(with: request, completionHandler: self.onResponse(callback)).resume()
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Foundation/URLSession.swift:23:35: error: cannot find type 'URLRequest' in scope
21 |
22 | /// IO suspended version of `URLSession.dataTask(with:)`. Refer to that function for further documentation.
23 | func dataTaskIO(with request: URLRequest) -> DataIO {
| `- error: cannot find type 'URLRequest' in scope
24 | IO.async { callback in
25 | self.dataTask(with: request, completionHandler: self.onResponse(callback)).resume()
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Foundation/URLSession.swift:32:43: error: cannot find type 'DownloadIO' in scope
30 |
31 | /// IO suspended version of `URLSession.downloadTask(with:)`. Refer to that function for further documentation.
32 | func downloadTaskIO(with url: URL) -> DownloadIO {
| `- error: cannot find type 'DownloadIO' in scope
33 | IO.async { callback in
34 | self.downloadTask(with: url, completionHandler: self.onResponse(callback)).resume()
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Foundation/URLSession.swift:39:54: error: cannot find type 'DownloadIO' in scope
37 |
38 | /// IO suspended version of `URLSession.downloadTask(with:)`. Refer to that function for further documentation.
39 | func downloadTaskIO(with request: URLRequest) -> DownloadIO {
| `- error: cannot find type 'DownloadIO' in scope
40 | IO.async { callback in
41 | self.downloadTask(with: request, completionHandler: self.onResponse(callback)).resume()
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Foundation/URLSession.swift:39:39: error: cannot find type 'URLRequest' in scope
37 |
38 | /// IO suspended version of `URLSession.downloadTask(with:)`. Refer to that function for further documentation.
39 | func downloadTaskIO(with request: URLRequest) -> DownloadIO {
| `- error: cannot find type 'URLRequest' in scope
40 | IO.async { callback in
41 | self.downloadTask(with: request, completionHandler: self.onResponse(callback)).resume()
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Foundation/URLSession.swift:46:55: error: cannot find type 'DownloadIO' in scope
44 |
45 | /// IO suspended version of `URLSession.downloadTask(withResumeData:)`. Refer to that function for further documentation.
46 | func downloadTaskIO(withResumeData data: Data) -> DownloadIO {
| `- error: cannot find type 'DownloadIO' in scope
47 | IO.async { callback in
48 | self.downloadTask(withResumeData: data, completionHandler: self.onResponse(callback)).resume()
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Foundation/URLSession.swift:57:29: error: cannot find type 'DataIO' in scope
55 | func uploadTaskIO(
56 | with request: URLRequest,
57 | from data: Data) -> DataIO {
| `- error: cannot find type 'DataIO' in scope
58 | IO.async { callback in
59 | self.uploadTask(with: request, from: data, completionHandler: self.onResponse(callback)).resume()
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Foundation/URLSession.swift:56:23: error: cannot find type 'URLRequest' in scope
54 | /// IO suspended version of `URLSession.uploadTask(with:from:)`. Refer to that function for further documentation.
55 | func uploadTaskIO(
56 | with request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
57 | from data: Data) -> DataIO {
58 | IO.async { callback in
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Foundation/URLSession.swift:66:31: error: cannot find type 'DataIO' in scope
64 | func uploadTaskIO(
65 | with request: URLRequest,
66 | fromFile url: URL) -> DataIO {
| `- error: cannot find type 'DataIO' in scope
67 | IO.async { callback in
68 | self.uploadTask(with: request, fromFile: url, completionHandler: self.onResponse(callback)).resume()
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Foundation/URLSession.swift:65:23: error: cannot find type 'URLRequest' in scope
63 | /// IO suspended version of `URLSession.uploadTask(with:fromFile:)`. Refer to that function for further documentation.
64 | func uploadTaskIO(
65 | with request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
66 | fromFile url: URL) -> DataIO {
67 | IO.async { callback in
[116/184] Compiling BowOptics AutoOptics.swift
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Foundation/URLSession.swift:9:8: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
7 |
8 | /// Utilities to perform data, download and upload tasks in a functional manner.
9 | public extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
10 | typealias DataIO = IO<Error, (response: URLResponse, data: Data)>
11 | typealias DownloadIO = IO<Error, (response: URLResponse, url: URL)>
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Typeclasses/Async.swift:29:18: error: cannot find type 'DispatchQueue' in scope
27 | static func continueOn<A>(
28 | _ fa: Kind<Self, A>,
29 | _ queue: DispatchQueue) -> Kind<Self, A>
| `- error: cannot find type 'DispatchQueue' in scope
30 | }
31 |
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Typeclasses/Async.swift:51:18: error: cannot find type 'DispatchQueue' in scope
49 | /// - Returns: A computation that defers the execution of the provided function.
50 | static func `defer`<A>(
51 | _ queue: DispatchQueue,
| `- error: cannot find type 'DispatchQueue' in scope
52 | _ f: @escaping () -> Kind<Self, A>) -> Kind<Self, A> {
53 | pure(()).continueOn(queue).flatMap(f)
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Typeclasses/Async.swift:62:18: error: cannot find type 'DispatchQueue' in scope
60 | /// - Returns: A computation that defers the execution of the provided function.
61 | static func later<A>(
62 | _ queue: DispatchQueue,
| `- error: cannot find type 'DispatchQueue' in scope
63 | _ f: @escaping () throws -> A) -> Kind<Self, A> {
64 | Self.defer(queue) {
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Typeclasses/Async.swift:81:18: error: cannot find type 'DispatchQueue' in scope
79 | /// - Returns: A computation that defers the execution of the provided value.
80 | static func delayOrRaise<A>(
81 | _ queue: DispatchQueue,
| `- error: cannot find type 'DispatchQueue' in scope
82 | _ f: @escaping () -> Either<E, A>) -> Kind<Self, A> {
83 | Self.defer(queue) { f().fold(raiseError, pure) }
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Typeclasses/Async.swift:110:30: error: cannot find type 'DispatchQueue' in scope
108 | /// - queue: A Dispatch Queue.
109 | /// - Returns: A computation that will run on the provided queue.
110 | func continueOn(_ queue: DispatchQueue) -> Kind<F, A> {
| `- error: cannot find type 'DispatchQueue' in scope
111 | F.continueOn(self, queue)
112 | }
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Typeclasses/Async.swift:128:18: error: cannot find type 'DispatchQueue' in scope
126 | /// - Returns: A computation that defers the execution of the provided function.
127 | static func `defer`(
128 | _ queue: DispatchQueue,
| `- error: cannot find type 'DispatchQueue' in scope
129 | _ f: @escaping () -> Kind<F, A>) -> Kind<F, A> {
130 | F.defer(queue, f)
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Typeclasses/Async.swift:139:18: error: cannot find type 'DispatchQueue' in scope
137 | /// - Returns: A computation that defers the execution of the provided function.
138 | static func later(
139 | _ queue: DispatchQueue,
| `- error: cannot find type 'DispatchQueue' in scope
140 | _ f: @escaping () throws -> A) -> Kind<F, A> {
141 | F.later(queue, f)
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Typeclasses/Async.swift:150:18: error: cannot find type 'DispatchQueue' in scope
148 | /// - Returns: A computation that defers the execution of the provided value.
149 | static func delayOrRaise<A>(
150 | _ queue: DispatchQueue,
| `- error: cannot find type 'DispatchQueue' in scope
151 | _ f: @escaping () -> Either<F.E, A>) -> Kind<F, A> {
152 | F.delayOrRaise(queue, f)
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Typeclasses/Async.swift:165:18: error: cannot find type 'DispatchQueue' in scope
163 | // MARK: Async syntax for DispatchQueue
164 |
165 | public extension DispatchQueue {
| `- error: cannot find type 'DispatchQueue' in scope
166 | /// Provides an asynchronous computation that runs on this queue.
167 | ///
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Typeclasses/Async.swift:64:27: error: extra trailing closure passed in call
62 | _ queue: DispatchQueue,
63 | _ f: @escaping () throws -> A) -> Kind<Self, A> {
64 | Self.defer(queue) {
| `- error: extra trailing closure passed in call
65 | do {
66 | return pure(try f())
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Typeclasses/Async.swift:83:27: error: extra trailing closure passed in call
81 | _ queue: DispatchQueue,
82 | _ f: @escaping () -> Either<E, A>) -> Kind<Self, A> {
83 | Self.defer(queue) { f().fold(raiseError, pure) }
| `- error: extra trailing closure passed in call
84 | }
85 |
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Typeclasses/Async.swift:130:24: error: extra argument in call
128 | _ queue: DispatchQueue,
129 | _ f: @escaping () -> Kind<F, A>) -> Kind<F, A> {
130 | F.defer(queue, f)
| `- error: extra argument in call
131 | }
132 |
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Typeclasses/Async.swift:141:24: error: extra argument in call
139 | _ queue: DispatchQueue,
140 | _ f: @escaping () throws -> A) -> Kind<F, A> {
141 | F.later(queue, f)
| `- error: extra argument in call
142 | }
143 |
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Foundation/URLSession.swift:16:39: error: cannot find type 'DataIO' in scope
14 |
15 | /// IO suspended version of `URLSession.dataTask(with:)`. Refer to that function for further documentation.
16 | func dataTaskIO(with url: URL) -> DataIO {
| `- error: cannot find type 'DataIO' in scope
17 | IO.async { callback in
18 | self.dataTask(with: url, completionHandler: self.onResponse(callback)).resume()
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Foundation/URLSession.swift:23:50: error: cannot find type 'DataIO' in scope
21 |
22 | /// IO suspended version of `URLSession.dataTask(with:)`. Refer to that function for further documentation.
23 | func dataTaskIO(with request: URLRequest) -> DataIO {
| `- error: cannot find type 'DataIO' in scope
24 | IO.async { callback in
25 | self.dataTask(with: request, completionHandler: self.onResponse(callback)).resume()
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Foundation/URLSession.swift:23:35: error: cannot find type 'URLRequest' in scope
21 |
22 | /// IO suspended version of `URLSession.dataTask(with:)`. Refer to that function for further documentation.
23 | func dataTaskIO(with request: URLRequest) -> DataIO {
| `- error: cannot find type 'URLRequest' in scope
24 | IO.async { callback in
25 | self.dataTask(with: request, completionHandler: self.onResponse(callback)).resume()
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Foundation/URLSession.swift:32:43: error: cannot find type 'DownloadIO' in scope
30 |
31 | /// IO suspended version of `URLSession.downloadTask(with:)`. Refer to that function for further documentation.
32 | func downloadTaskIO(with url: URL) -> DownloadIO {
| `- error: cannot find type 'DownloadIO' in scope
33 | IO.async { callback in
34 | self.downloadTask(with: url, completionHandler: self.onResponse(callback)).resume()
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Foundation/URLSession.swift:39:54: error: cannot find type 'DownloadIO' in scope
37 |
38 | /// IO suspended version of `URLSession.downloadTask(with:)`. Refer to that function for further documentation.
39 | func downloadTaskIO(with request: URLRequest) -> DownloadIO {
| `- error: cannot find type 'DownloadIO' in scope
40 | IO.async { callback in
41 | self.downloadTask(with: request, completionHandler: self.onResponse(callback)).resume()
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Foundation/URLSession.swift:39:39: error: cannot find type 'URLRequest' in scope
37 |
38 | /// IO suspended version of `URLSession.downloadTask(with:)`. Refer to that function for further documentation.
39 | func downloadTaskIO(with request: URLRequest) -> DownloadIO {
| `- error: cannot find type 'URLRequest' in scope
40 | IO.async { callback in
41 | self.downloadTask(with: request, completionHandler: self.onResponse(callback)).resume()
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Foundation/URLSession.swift:46:55: error: cannot find type 'DownloadIO' in scope
44 |
45 | /// IO suspended version of `URLSession.downloadTask(withResumeData:)`. Refer to that function for further documentation.
46 | func downloadTaskIO(withResumeData data: Data) -> DownloadIO {
| `- error: cannot find type 'DownloadIO' in scope
47 | IO.async { callback in
48 | self.downloadTask(withResumeData: data, completionHandler: self.onResponse(callback)).resume()
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Foundation/URLSession.swift:57:29: error: cannot find type 'DataIO' in scope
55 | func uploadTaskIO(
56 | with request: URLRequest,
57 | from data: Data) -> DataIO {
| `- error: cannot find type 'DataIO' in scope
58 | IO.async { callback in
59 | self.uploadTask(with: request, from: data, completionHandler: self.onResponse(callback)).resume()
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Foundation/URLSession.swift:56:23: error: cannot find type 'URLRequest' in scope
54 | /// IO suspended version of `URLSession.uploadTask(with:from:)`. Refer to that function for further documentation.
55 | func uploadTaskIO(
56 | with request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
57 | from data: Data) -> DataIO {
58 | IO.async { callback in
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Foundation/URLSession.swift:66:31: error: cannot find type 'DataIO' in scope
64 | func uploadTaskIO(
65 | with request: URLRequest,
66 | fromFile url: URL) -> DataIO {
| `- error: cannot find type 'DataIO' in scope
67 | IO.async { callback in
68 | self.uploadTask(with: request, fromFile: url, completionHandler: self.onResponse(callback)).resume()
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Foundation/URLSession.swift:65:23: error: cannot find type 'URLRequest' in scope
63 | /// IO suspended version of `URLSession.uploadTask(with:fromFile:)`. Refer to that function for further documentation.
64 | func uploadTaskIO(
65 | with request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
66 | fromFile url: URL) -> DataIO {
67 | IO.async { callback in
[117/184] Compiling BowOptics Tuple2.swift
[118/184] Compiling BowOptics Tuple3.swift
[119/184] Compiling BowOptics Tuple4.swift
[120/184] Compiling BowOptics Tuple5.swift
[121/184] Compiling BowOptics Tuple6.swift
[122/184] Compiling BowOptics Tuple7.swift
[123/184] Compiling BowOptics Tuple8.swift
[127/184] Compiling BowOptics EitherKOpticsInstances.swift
[128/184] Compiling BowOptics EitherOpticsInstances.swift
[129/184] Compiling BowOptics IdOpticsInstances.swift
[130/184] Compiling BowOptics IorOpticsInstances.swift
[131/184] Compiling BowOptics NonEmptyArrayOpticsInstances.swift
[132/184] Compiling BowOptics AutoFold.swift
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Schedule.swift:143:48: error: cannot find type 'DispatchTimeInterval' in scope
141 | ///
142 | /// - Parameter f: Function computing the delay time based on the output of the schedule.
143 | public func addDelay(_ f: @escaping (B) -> DispatchTimeInterval) -> Schedule<R, A, State, B> {
| `- error: cannot find type 'DispatchTimeInterval' in scope
144 | addDelayM { b in EnvIO<R, Never, DispatchTimeInterval>.pure(f(b))^ }
145 | }
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Schedule.swift:143:31: error: @escaping attribute only applies to function types
141 | ///
142 | /// - Parameter f: Function computing the delay time based on the output of the schedule.
143 | public func addDelay(_ f: @escaping (B) -> DispatchTimeInterval) -> Schedule<R, A, State, B> {
| `- error: @escaping attribute only applies to function types
144 | addDelayM { b in EnvIO<R, Never, DispatchTimeInterval>.pure(f(b))^ }
145 | }
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Schedule.swift:150:65: error: cannot find type 'DispatchTimeInterval' in scope
148 | ///
149 | /// - Parameter f: An effectful function that provides the delay time based on the output of the schedule.
150 | public func addDelayM(_ f: @escaping (B) -> EnvIO<R, Never, DispatchTimeInterval>) -> Schedule<R, A, State, B> {
| `- error: cannot find type 'DispatchTimeInterval' in scope
151 | addDelayM { b in f(b).map { x in x.toDouble() ?? 0 }^ }
152 | }
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Schedule.swift:150:32: error: @escaping attribute only applies to function types
148 | ///
149 | /// - Parameter f: An effectful function that provides the delay time based on the output of the schedule.
150 | public func addDelayM(_ f: @escaping (B) -> EnvIO<R, Never, DispatchTimeInterval>) -> Schedule<R, A, State, B> {
| `- error: @escaping attribute only applies to function types
151 | addDelayM { b in f(b).map { x in x.toDouble() ?? 0 }^ }
152 | }
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Schedule.swift:490:31: error: cannot find type 'DispatchTimeInterval' in scope
488 | }
489 |
490 | extension Schedule where B == DispatchTimeInterval {
| `- error: cannot find type 'DispatchTimeInterval' in scope
491 | /// Provides a schedule from the given schedule which transforms the delays into effectufl sleeps.
492 | ///
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Schedule.swift:494:107: error: cannot find type 'DispatchTimeInterval' in scope
492 | ///
493 | /// - Parameter s: A schedule producing time intervals.
494 | public static func delayed(_ s: Schedule<R, A, State, DispatchTimeInterval>) -> Schedule<R, A, State, DispatchTimeInterval> {
| `- error: cannot find type 'DispatchTimeInterval' in scope
495 | s.addDelay(id)
496 | }
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Schedule.swift:494:59: error: cannot find type 'DispatchTimeInterval' in scope
492 | ///
493 | /// - Parameter s: A schedule producing time intervals.
494 | public static func delayed(_ s: Schedule<R, A, State, DispatchTimeInterval>) -> Schedule<R, A, State, DispatchTimeInterval> {
| `- error: cannot find type 'DispatchTimeInterval' in scope
495 | s.addDelay(id)
496 | }
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Schedule.swift:508:36: error: cannot find type 'DispatchTime' in scope
506 | }
507 |
508 | extension Schedule where State == (DispatchTime, DispatchTimeInterval), B == DispatchTimeInterval {
| `- error: cannot find type 'DispatchTime' in scope
509 | private static func now() -> EnvIO<R, Never, DispatchTime> {
510 | EnvIO.pure(DispatchTime.now())^
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Schedule.swift:508:50: error: cannot find type 'DispatchTimeInterval' in scope
506 | }
507 |
508 | extension Schedule where State == (DispatchTime, DispatchTimeInterval), B == DispatchTimeInterval {
| `- error: cannot find type 'DispatchTimeInterval' in scope
509 | private static func now() -> EnvIO<R, Never, DispatchTime> {
510 | EnvIO.pure(DispatchTime.now())^
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Schedule.swift:508:78: error: cannot find type 'DispatchTimeInterval' in scope
506 | }
507 |
508 | extension Schedule where State == (DispatchTime, DispatchTimeInterval), B == DispatchTimeInterval {
| `- error: cannot find type 'DispatchTimeInterval' in scope
509 | private static func now() -> EnvIO<R, Never, DispatchTime> {
510 | EnvIO.pure(DispatchTime.now())^
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Schedule.swift:509:50: error: cannot find type 'DispatchTime' in scope
507 |
508 | extension Schedule where State == (DispatchTime, DispatchTimeInterval), B == DispatchTimeInterval {
509 | private static func now() -> EnvIO<R, Never, DispatchTime> {
| `- error: cannot find type 'DispatchTime' in scope
510 | EnvIO.pure(DispatchTime.now())^
511 | }
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Schedule.swift:514:53: error: cannot find type 'DispatchTime' in scope
512 |
513 | /// Provides a schedule that recurs forever without a delay, returning the elapsed time since it began.
514 | public static func elapsed() -> Schedule<R, A, (DispatchTime, DispatchTimeInterval), DispatchTimeInterval> {
| `- error: cannot find type 'DispatchTime' in scope
515 | Schedule<R, A, (DispatchTime, DispatchTimeInterval), DispatchTimeInterval>(
516 | initial: now().map { s in (s, DispatchTimeInterval.seconds(0)) }^,
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Schedule.swift:514:67: error: cannot find type 'DispatchTimeInterval' in scope
512 |
513 | /// Provides a schedule that recurs forever without a delay, returning the elapsed time since it began.
514 | public static func elapsed() -> Schedule<R, A, (DispatchTime, DispatchTimeInterval), DispatchTimeInterval> {
| `- error: cannot find type 'DispatchTimeInterval' in scope
515 | Schedule<R, A, (DispatchTime, DispatchTimeInterval), DispatchTimeInterval>(
516 | initial: now().map { s in (s, DispatchTimeInterval.seconds(0)) }^,
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Schedule.swift:525:86: error: cannot find type 'DispatchTime' in scope
523 | ///
524 | /// - Parameter interval: Time interval for this schedule to recur.
525 | public static func duration(_ interval: DispatchTimeInterval) -> Schedule<R, A, (DispatchTime, DispatchTimeInterval), DispatchTimeInterval> {
| `- error: cannot find type 'DispatchTime' in scope
526 | elapsed().untilOutput { x in x >= interval }
527 | }
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Schedule.swift:525:100: error: cannot find type 'DispatchTimeInterval' in scope
523 | ///
524 | /// - Parameter interval: Time interval for this schedule to recur.
525 | public static func duration(_ interval: DispatchTimeInterval) -> Schedule<R, A, (DispatchTime, DispatchTimeInterval), DispatchTimeInterval> {
| `- error: cannot find type 'DispatchTimeInterval' in scope
526 | elapsed().untilOutput { x in x >= interval }
527 | }
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Schedule.swift:525:45: error: cannot find type 'DispatchTimeInterval' in scope
523 | ///
524 | /// - Parameter interval: Time interval for this schedule to recur.
525 | public static func duration(_ interval: DispatchTimeInterval) -> Schedule<R, A, (DispatchTime, DispatchTimeInterval), DispatchTimeInterval> {
| `- error: cannot find type 'DispatchTimeInterval' in scope
526 | elapsed().untilOutput { x in x >= interval }
527 | }
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Schedule.swift:534:43: error: cannot find type 'DispatchTimeInterval' in scope
532 | ///
533 | /// - Parameter interval: Time interval to wait between each action.
534 | public static func spaced(_ interval: DispatchTimeInterval) -> Schedule<R, A, State, Int> {
| `- error: cannot find type 'DispatchTimeInterval' in scope
535 | forever().addDelay { _ in interval }
536 | }
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Schedule.swift:554:44: error: cannot find type 'DispatchTimeInterval' in scope
552 | /// - base: Base time interval to wait between repetitions.
553 | /// - factor: Factor for the exponential backoff. Defaults to 2.0.
554 | public static func exponential(_ base: DispatchTimeInterval, factor: Double = 2.0) -> Schedule<R, A, Int, TimeInterval> {
| `- error: cannot find type 'DispatchTimeInterval' in scope
555 | exponential(base.toDouble() ?? 1, factor: factor)
556 | }
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Schedule.swift:576:39: error: cannot find type 'DispatchTimeInterval' in scope
574 | ///
575 | /// - Parameter base: Base time interval to wait between repetitions.
576 | public static func linear(_ base: DispatchTimeInterval) -> Schedule<R, A, Int, TimeInterval> {
| `- error: cannot find type 'DispatchTimeInterval' in scope
577 | linear(base.toDouble() ?? 1)
578 | }
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Schedule.swift:597:41: error: cannot find type 'DispatchTimeInterval' in scope
595 | ///
596 | /// - Parameter one: Time interval for the initial delay.
597 | public static func fibonacci(_ one: DispatchTimeInterval) -> Schedule<R, A, (TimeInterval, TimeInterval), TimeInterval> {
| `- error: cannot find type 'DispatchTimeInterval' in scope
598 | fibonacci(one.toDouble() ?? 1)
599 | }
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Schedule.swift:144:42: error: cannot find type 'DispatchTimeInterval' in scope
142 | /// - Parameter f: Function computing the delay time based on the output of the schedule.
143 | public func addDelay(_ f: @escaping (B) -> DispatchTimeInterval) -> Schedule<R, A, State, B> {
144 | addDelayM { b in EnvIO<R, Never, DispatchTimeInterval>.pure(f(b))^ }
| `- error: cannot find type 'DispatchTimeInterval' in scope
145 | }
146 |
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/EnvIO.swift:271:45: error: cannot find type 'DispatchTimeInterval' in scope
269 | /// - Parameter interval: Time to sleep.
270 | /// - Returns: A computation that sleeps for the specified amount of time.
271 | static func sleep<E: Error>(_ interval: DispatchTimeInterval) -> EnvIO<D, E, Void>
| `- error: cannot find type 'DispatchTimeInterval' in scope
272 | where F == IOPartial<E> {
273 | EnvIO { _ in IO.sleep(interval) }
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Schedule.swift:143:48: error: cannot find type 'DispatchTimeInterval' in scope
141 | ///
142 | /// - Parameter f: Function computing the delay time based on the output of the schedule.
143 | public func addDelay(_ f: @escaping (B) -> DispatchTimeInterval) -> Schedule<R, A, State, B> {
| `- error: cannot find type 'DispatchTimeInterval' in scope
144 | addDelayM { b in EnvIO<R, Never, DispatchTimeInterval>.pure(f(b))^ }
145 | }
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Schedule.swift:143:31: error: @escaping attribute only applies to function types
141 | ///
142 | /// - Parameter f: Function computing the delay time based on the output of the schedule.
143 | public func addDelay(_ f: @escaping (B) -> DispatchTimeInterval) -> Schedule<R, A, State, B> {
| `- error: @escaping attribute only applies to function types
144 | addDelayM { b in EnvIO<R, Never, DispatchTimeInterval>.pure(f(b))^ }
145 | }
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Schedule.swift:150:65: error: cannot find type 'DispatchTimeInterval' in scope
148 | ///
149 | /// - Parameter f: An effectful function that provides the delay time based on the output of the schedule.
150 | public func addDelayM(_ f: @escaping (B) -> EnvIO<R, Never, DispatchTimeInterval>) -> Schedule<R, A, State, B> {
| `- error: cannot find type 'DispatchTimeInterval' in scope
151 | addDelayM { b in f(b).map { x in x.toDouble() ?? 0 }^ }
152 | }
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Schedule.swift:150:32: error: @escaping attribute only applies to function types
148 | ///
149 | /// - Parameter f: An effectful function that provides the delay time based on the output of the schedule.
150 | public func addDelayM(_ f: @escaping (B) -> EnvIO<R, Never, DispatchTimeInterval>) -> Schedule<R, A, State, B> {
| `- error: @escaping attribute only applies to function types
151 | addDelayM { b in f(b).map { x in x.toDouble() ?? 0 }^ }
152 | }
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Schedule.swift:490:31: error: cannot find type 'DispatchTimeInterval' in scope
488 | }
489 |
490 | extension Schedule where B == DispatchTimeInterval {
| `- error: cannot find type 'DispatchTimeInterval' in scope
491 | /// Provides a schedule from the given schedule which transforms the delays into effectufl sleeps.
492 | ///
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Schedule.swift:494:107: error: cannot find type 'DispatchTimeInterval' in scope
492 | ///
493 | /// - Parameter s: A schedule producing time intervals.
494 | public static func delayed(_ s: Schedule<R, A, State, DispatchTimeInterval>) -> Schedule<R, A, State, DispatchTimeInterval> {
| `- error: cannot find type 'DispatchTimeInterval' in scope
495 | s.addDelay(id)
496 | }
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Schedule.swift:494:59: error: cannot find type 'DispatchTimeInterval' in scope
492 | ///
493 | /// - Parameter s: A schedule producing time intervals.
494 | public static func delayed(_ s: Schedule<R, A, State, DispatchTimeInterval>) -> Schedule<R, A, State, DispatchTimeInterval> {
| `- error: cannot find type 'DispatchTimeInterval' in scope
495 | s.addDelay(id)
496 | }
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Schedule.swift:508:36: error: cannot find type 'DispatchTime' in scope
506 | }
507 |
508 | extension Schedule where State == (DispatchTime, DispatchTimeInterval), B == DispatchTimeInterval {
| `- error: cannot find type 'DispatchTime' in scope
509 | private static func now() -> EnvIO<R, Never, DispatchTime> {
510 | EnvIO.pure(DispatchTime.now())^
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Schedule.swift:508:50: error: cannot find type 'DispatchTimeInterval' in scope
506 | }
507 |
508 | extension Schedule where State == (DispatchTime, DispatchTimeInterval), B == DispatchTimeInterval {
| `- error: cannot find type 'DispatchTimeInterval' in scope
509 | private static func now() -> EnvIO<R, Never, DispatchTime> {
510 | EnvIO.pure(DispatchTime.now())^
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Schedule.swift:508:78: error: cannot find type 'DispatchTimeInterval' in scope
506 | }
507 |
508 | extension Schedule where State == (DispatchTime, DispatchTimeInterval), B == DispatchTimeInterval {
| `- error: cannot find type 'DispatchTimeInterval' in scope
509 | private static func now() -> EnvIO<R, Never, DispatchTime> {
510 | EnvIO.pure(DispatchTime.now())^
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Schedule.swift:509:50: error: cannot find type 'DispatchTime' in scope
507 |
508 | extension Schedule where State == (DispatchTime, DispatchTimeInterval), B == DispatchTimeInterval {
509 | private static func now() -> EnvIO<R, Never, DispatchTime> {
| `- error: cannot find type 'DispatchTime' in scope
510 | EnvIO.pure(DispatchTime.now())^
511 | }
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Schedule.swift:514:53: error: cannot find type 'DispatchTime' in scope
512 |
513 | /// Provides a schedule that recurs forever without a delay, returning the elapsed time since it began.
514 | public static func elapsed() -> Schedule<R, A, (DispatchTime, DispatchTimeInterval), DispatchTimeInterval> {
| `- error: cannot find type 'DispatchTime' in scope
515 | Schedule<R, A, (DispatchTime, DispatchTimeInterval), DispatchTimeInterval>(
516 | initial: now().map { s in (s, DispatchTimeInterval.seconds(0)) }^,
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Schedule.swift:514:67: error: cannot find type 'DispatchTimeInterval' in scope
512 |
513 | /// Provides a schedule that recurs forever without a delay, returning the elapsed time since it began.
514 | public static func elapsed() -> Schedule<R, A, (DispatchTime, DispatchTimeInterval), DispatchTimeInterval> {
| `- error: cannot find type 'DispatchTimeInterval' in scope
515 | Schedule<R, A, (DispatchTime, DispatchTimeInterval), DispatchTimeInterval>(
516 | initial: now().map { s in (s, DispatchTimeInterval.seconds(0)) }^,
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Schedule.swift:525:86: error: cannot find type 'DispatchTime' in scope
523 | ///
524 | /// - Parameter interval: Time interval for this schedule to recur.
525 | public static func duration(_ interval: DispatchTimeInterval) -> Schedule<R, A, (DispatchTime, DispatchTimeInterval), DispatchTimeInterval> {
| `- error: cannot find type 'DispatchTime' in scope
526 | elapsed().untilOutput { x in x >= interval }
527 | }
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Schedule.swift:525:100: error: cannot find type 'DispatchTimeInterval' in scope
523 | ///
524 | /// - Parameter interval: Time interval for this schedule to recur.
525 | public static func duration(_ interval: DispatchTimeInterval) -> Schedule<R, A, (DispatchTime, DispatchTimeInterval), DispatchTimeInterval> {
| `- error: cannot find type 'DispatchTimeInterval' in scope
526 | elapsed().untilOutput { x in x >= interval }
527 | }
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Schedule.swift:525:45: error: cannot find type 'DispatchTimeInterval' in scope
523 | ///
524 | /// - Parameter interval: Time interval for this schedule to recur.
525 | public static func duration(_ interval: DispatchTimeInterval) -> Schedule<R, A, (DispatchTime, DispatchTimeInterval), DispatchTimeInterval> {
| `- error: cannot find type 'DispatchTimeInterval' in scope
526 | elapsed().untilOutput { x in x >= interval }
527 | }
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Schedule.swift:534:43: error: cannot find type 'DispatchTimeInterval' in scope
532 | ///
533 | /// - Parameter interval: Time interval to wait between each action.
534 | public static func spaced(_ interval: DispatchTimeInterval) -> Schedule<R, A, State, Int> {
| `- error: cannot find type 'DispatchTimeInterval' in scope
535 | forever().addDelay { _ in interval }
536 | }
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Schedule.swift:554:44: error: cannot find type 'DispatchTimeInterval' in scope
552 | /// - base: Base time interval to wait between repetitions.
553 | /// - factor: Factor for the exponential backoff. Defaults to 2.0.
554 | public static func exponential(_ base: DispatchTimeInterval, factor: Double = 2.0) -> Schedule<R, A, Int, TimeInterval> {
| `- error: cannot find type 'DispatchTimeInterval' in scope
555 | exponential(base.toDouble() ?? 1, factor: factor)
556 | }
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Schedule.swift:576:39: error: cannot find type 'DispatchTimeInterval' in scope
574 | ///
575 | /// - Parameter base: Base time interval to wait between repetitions.
576 | public static func linear(_ base: DispatchTimeInterval) -> Schedule<R, A, Int, TimeInterval> {
| `- error: cannot find type 'DispatchTimeInterval' in scope
577 | linear(base.toDouble() ?? 1)
578 | }
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Schedule.swift:597:41: error: cannot find type 'DispatchTimeInterval' in scope
595 | ///
596 | /// - Parameter one: Time interval for the initial delay.
597 | public static func fibonacci(_ one: DispatchTimeInterval) -> Schedule<R, A, (TimeInterval, TimeInterval), TimeInterval> {
| `- error: cannot find type 'DispatchTimeInterval' in scope
598 | fibonacci(one.toDouble() ?? 1)
599 | }
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Schedule.swift:144:42: error: cannot find type 'DispatchTimeInterval' in scope
142 | /// - Parameter f: Function computing the delay time based on the output of the schedule.
143 | public func addDelay(_ f: @escaping (B) -> DispatchTimeInterval) -> Schedule<R, A, State, B> {
144 | addDelayM { b in EnvIO<R, Never, DispatchTimeInterval>.pure(f(b))^ }
| `- error: cannot find type 'DispatchTimeInterval' in scope
145 | }
146 |
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/EnvIO.swift:271:45: error: cannot find type 'DispatchTimeInterval' in scope
269 | /// - Parameter interval: Time to sleep.
270 | /// - Returns: A computation that sleeps for the specified amount of time.
271 | static func sleep<E: Error>(_ interval: DispatchTimeInterval) -> EnvIO<D, E, Void>
| `- error: cannot find type 'DispatchTimeInterval' in scope
272 | where F == IOPartial<E> {
273 | EnvIO { _ in IO.sleep(interval) }
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Schedule.swift:143:48: error: cannot find type 'DispatchTimeInterval' in scope
141 | ///
142 | /// - Parameter f: Function computing the delay time based on the output of the schedule.
143 | public func addDelay(_ f: @escaping (B) -> DispatchTimeInterval) -> Schedule<R, A, State, B> {
| `- error: cannot find type 'DispatchTimeInterval' in scope
144 | addDelayM { b in EnvIO<R, Never, DispatchTimeInterval>.pure(f(b))^ }
145 | }
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Schedule.swift:143:31: error: @escaping attribute only applies to function types
141 | ///
142 | /// - Parameter f: Function computing the delay time based on the output of the schedule.
143 | public func addDelay(_ f: @escaping (B) -> DispatchTimeInterval) -> Schedule<R, A, State, B> {
| `- error: @escaping attribute only applies to function types
144 | addDelayM { b in EnvIO<R, Never, DispatchTimeInterval>.pure(f(b))^ }
145 | }
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Schedule.swift:150:65: error: cannot find type 'DispatchTimeInterval' in scope
148 | ///
149 | /// - Parameter f: An effectful function that provides the delay time based on the output of the schedule.
150 | public func addDelayM(_ f: @escaping (B) -> EnvIO<R, Never, DispatchTimeInterval>) -> Schedule<R, A, State, B> {
| `- error: cannot find type 'DispatchTimeInterval' in scope
151 | addDelayM { b in f(b).map { x in x.toDouble() ?? 0 }^ }
152 | }
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Schedule.swift:150:32: error: @escaping attribute only applies to function types
148 | ///
149 | /// - Parameter f: An effectful function that provides the delay time based on the output of the schedule.
150 | public func addDelayM(_ f: @escaping (B) -> EnvIO<R, Never, DispatchTimeInterval>) -> Schedule<R, A, State, B> {
| `- error: @escaping attribute only applies to function types
151 | addDelayM { b in f(b).map { x in x.toDouble() ?? 0 }^ }
152 | }
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Schedule.swift:490:31: error: cannot find type 'DispatchTimeInterval' in scope
488 | }
489 |
490 | extension Schedule where B == DispatchTimeInterval {
| `- error: cannot find type 'DispatchTimeInterval' in scope
491 | /// Provides a schedule from the given schedule which transforms the delays into effectufl sleeps.
492 | ///
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Schedule.swift:494:107: error: cannot find type 'DispatchTimeInterval' in scope
492 | ///
493 | /// - Parameter s: A schedule producing time intervals.
494 | public static func delayed(_ s: Schedule<R, A, State, DispatchTimeInterval>) -> Schedule<R, A, State, DispatchTimeInterval> {
| `- error: cannot find type 'DispatchTimeInterval' in scope
495 | s.addDelay(id)
496 | }
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Schedule.swift:494:59: error: cannot find type 'DispatchTimeInterval' in scope
492 | ///
493 | /// - Parameter s: A schedule producing time intervals.
494 | public static func delayed(_ s: Schedule<R, A, State, DispatchTimeInterval>) -> Schedule<R, A, State, DispatchTimeInterval> {
| `- error: cannot find type 'DispatchTimeInterval' in scope
495 | s.addDelay(id)
496 | }
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Schedule.swift:508:36: error: cannot find type 'DispatchTime' in scope
506 | }
507 |
508 | extension Schedule where State == (DispatchTime, DispatchTimeInterval), B == DispatchTimeInterval {
| `- error: cannot find type 'DispatchTime' in scope
509 | private static func now() -> EnvIO<R, Never, DispatchTime> {
510 | EnvIO.pure(DispatchTime.now())^
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Schedule.swift:508:50: error: cannot find type 'DispatchTimeInterval' in scope
506 | }
507 |
508 | extension Schedule where State == (DispatchTime, DispatchTimeInterval), B == DispatchTimeInterval {
| `- error: cannot find type 'DispatchTimeInterval' in scope
509 | private static func now() -> EnvIO<R, Never, DispatchTime> {
510 | EnvIO.pure(DispatchTime.now())^
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Schedule.swift:508:78: error: cannot find type 'DispatchTimeInterval' in scope
506 | }
507 |
508 | extension Schedule where State == (DispatchTime, DispatchTimeInterval), B == DispatchTimeInterval {
| `- error: cannot find type 'DispatchTimeInterval' in scope
509 | private static func now() -> EnvIO<R, Never, DispatchTime> {
510 | EnvIO.pure(DispatchTime.now())^
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Schedule.swift:509:50: error: cannot find type 'DispatchTime' in scope
507 |
508 | extension Schedule where State == (DispatchTime, DispatchTimeInterval), B == DispatchTimeInterval {
509 | private static func now() -> EnvIO<R, Never, DispatchTime> {
| `- error: cannot find type 'DispatchTime' in scope
510 | EnvIO.pure(DispatchTime.now())^
511 | }
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Schedule.swift:514:53: error: cannot find type 'DispatchTime' in scope
512 |
513 | /// Provides a schedule that recurs forever without a delay, returning the elapsed time since it began.
514 | public static func elapsed() -> Schedule<R, A, (DispatchTime, DispatchTimeInterval), DispatchTimeInterval> {
| `- error: cannot find type 'DispatchTime' in scope
515 | Schedule<R, A, (DispatchTime, DispatchTimeInterval), DispatchTimeInterval>(
516 | initial: now().map { s in (s, DispatchTimeInterval.seconds(0)) }^,
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Schedule.swift:514:67: error: cannot find type 'DispatchTimeInterval' in scope
512 |
513 | /// Provides a schedule that recurs forever without a delay, returning the elapsed time since it began.
514 | public static func elapsed() -> Schedule<R, A, (DispatchTime, DispatchTimeInterval), DispatchTimeInterval> {
| `- error: cannot find type 'DispatchTimeInterval' in scope
515 | Schedule<R, A, (DispatchTime, DispatchTimeInterval), DispatchTimeInterval>(
516 | initial: now().map { s in (s, DispatchTimeInterval.seconds(0)) }^,
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Schedule.swift:525:86: error: cannot find type 'DispatchTime' in scope
523 | ///
524 | /// - Parameter interval: Time interval for this schedule to recur.
525 | public static func duration(_ interval: DispatchTimeInterval) -> Schedule<R, A, (DispatchTime, DispatchTimeInterval), DispatchTimeInterval> {
| `- error: cannot find type 'DispatchTime' in scope
526 | elapsed().untilOutput { x in x >= interval }
527 | }
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Schedule.swift:525:100: error: cannot find type 'DispatchTimeInterval' in scope
523 | ///
524 | /// - Parameter interval: Time interval for this schedule to recur.
525 | public static func duration(_ interval: DispatchTimeInterval) -> Schedule<R, A, (DispatchTime, DispatchTimeInterval), DispatchTimeInterval> {
| `- error: cannot find type 'DispatchTimeInterval' in scope
526 | elapsed().untilOutput { x in x >= interval }
527 | }
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Schedule.swift:525:45: error: cannot find type 'DispatchTimeInterval' in scope
523 | ///
524 | /// - Parameter interval: Time interval for this schedule to recur.
525 | public static func duration(_ interval: DispatchTimeInterval) -> Schedule<R, A, (DispatchTime, DispatchTimeInterval), DispatchTimeInterval> {
| `- error: cannot find type 'DispatchTimeInterval' in scope
526 | elapsed().untilOutput { x in x >= interval }
527 | }
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Schedule.swift:534:43: error: cannot find type 'DispatchTimeInterval' in scope
532 | ///
533 | /// - Parameter interval: Time interval to wait between each action.
534 | public static func spaced(_ interval: DispatchTimeInterval) -> Schedule<R, A, State, Int> {
| `- error: cannot find type 'DispatchTimeInterval' in scope
535 | forever().addDelay { _ in interval }
536 | }
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Schedule.swift:554:44: error: cannot find type 'DispatchTimeInterval' in scope
552 | /// - base: Base time interval to wait between repetitions.
553 | /// - factor: Factor for the exponential backoff. Defaults to 2.0.
554 | public static func exponential(_ base: DispatchTimeInterval, factor: Double = 2.0) -> Schedule<R, A, Int, TimeInterval> {
| `- error: cannot find type 'DispatchTimeInterval' in scope
555 | exponential(base.toDouble() ?? 1, factor: factor)
556 | }
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Schedule.swift:576:39: error: cannot find type 'DispatchTimeInterval' in scope
574 | ///
575 | /// - Parameter base: Base time interval to wait between repetitions.
576 | public static func linear(_ base: DispatchTimeInterval) -> Schedule<R, A, Int, TimeInterval> {
| `- error: cannot find type 'DispatchTimeInterval' in scope
577 | linear(base.toDouble() ?? 1)
578 | }
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Schedule.swift:597:41: error: cannot find type 'DispatchTimeInterval' in scope
595 | ///
596 | /// - Parameter one: Time interval for the initial delay.
597 | public static func fibonacci(_ one: DispatchTimeInterval) -> Schedule<R, A, (TimeInterval, TimeInterval), TimeInterval> {
| `- error: cannot find type 'DispatchTimeInterval' in scope
598 | fibonacci(one.toDouble() ?? 1)
599 | }
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Schedule.swift:144:42: error: cannot find type 'DispatchTimeInterval' in scope
142 | /// - Parameter f: Function computing the delay time based on the output of the schedule.
143 | public func addDelay(_ f: @escaping (B) -> DispatchTimeInterval) -> Schedule<R, A, State, B> {
144 | addDelayM { b in EnvIO<R, Never, DispatchTimeInterval>.pure(f(b))^ }
| `- error: cannot find type 'DispatchTimeInterval' in scope
145 | }
146 |
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/EnvIO.swift:271:45: error: cannot find type 'DispatchTimeInterval' in scope
269 | /// - Parameter interval: Time to sleep.
270 | /// - Returns: A computation that sleeps for the specified amount of time.
271 | static func sleep<E: Error>(_ interval: DispatchTimeInterval) -> EnvIO<D, E, Void>
| `- error: cannot find type 'DispatchTimeInterval' in scope
272 | where F == IOPartial<E> {
273 | EnvIO { _ in IO.sleep(interval) }
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Atomic.swift:5:25: error: cannot find 'DispatchQueue' in scope
3 | /// An atomically modifiable reference to a value
4 | public final class Atomic<A> {
5 | private let queue = DispatchQueue(label: "Atomic serial queue")
| `- error: cannot find 'DispatchQueue' in scope
6 | private var _value: A
7 |
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/EnvIO.swift:190:19: error: cannot find type 'DispatchQueue' in scope
188 | func unsafeRunSync<E: Error>(
189 | with d: D,
190 | on queue: DispatchQueue = .main) throws -> A
| `- error: cannot find type 'DispatchQueue' in scope
191 | where F == IOPartial<E> {
192 | try self.provide(d).unsafeRunSync(on: queue)
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/EnvIO.swift:203:19: error: cannot find type 'DispatchQueue' in scope
201 | func unsafeRunSyncEither<E: Error>(
202 | with d: D,
203 | on queue: DispatchQueue = .main) -> Either<E, A>
| `- error: cannot find type 'DispatchQueue' in scope
204 | where F == IOPartial<E> {
205 | self.provide(d).unsafeRunSyncEither(on: queue)
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/EnvIO.swift:216:19: error: cannot find type 'DispatchQueue' in scope
214 | func unsafeRunAsync<E: Error>(
215 | with d: D,
216 | on queue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
217 | _ callback: @escaping Callback<E, A> = { _ in })
218 | where F == IOPartial<E> {
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/EnvIO.swift:239:44: error: cannot find type 'DispatchQueue' in scope
237 | /// - Returns: Value produced after running the suspended side effects.
238 | /// - Throws: Error of type `E` that may happen during the evaluation of the side-effects. Errors of other types thrown from the evaluation of this IO will cause a fatal error.
239 | func unsafeRunSync<E: Error>(on queue: DispatchQueue = .main) throws -> A
| `- error: cannot find type 'DispatchQueue' in scope
240 | where F == IOPartial<E> {
241 | try self.provide(()).unsafeRunSync(on: queue)
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/EnvIO.swift:248:50: error: cannot find type 'DispatchQueue' in scope
246 | /// - Parameter queue: Dispatch queue used to execute the side effects. Defaults to the main queue.
247 | /// - Returns: An Either wrapping errors in the left side and values on the right side. Errors of other types thrown from the evaluation of this IO will cause a fatal error.
248 | func unsafeRunSyncEither<E: Error>(on queue: DispatchQueue = .main) -> Either<E, A>
| `- error: cannot find type 'DispatchQueue' in scope
249 | where F == IOPartial<E> {
250 | self.provide(()).unsafeRunSyncEither(on: queue)
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/EnvIO.swift:259:19: error: cannot find type 'DispatchQueue' in scope
257 | /// - callback: A callback function to receive the results of the evaluation. Errors of other types thrown from the evaluation of this IO will cause a fatal error.
258 | func unsafeRunAsync<E: Error>(
259 | on queue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
260 | _ callback: @escaping Callback<E, A> = { _ in })
261 | where F == IOPartial<E> {
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/EnvIO.swift:271:45: error: cannot find type 'DispatchTimeInterval' in scope
269 | /// - Parameter interval: Time to sleep.
270 | /// - Returns: A computation that sleeps for the specified amount of time.
271 | static func sleep<E: Error>(_ interval: DispatchTimeInterval) -> EnvIO<D, E, Void>
| `- error: cannot find type 'DispatchTimeInterval' in scope
272 | where F == IOPartial<E> {
273 | EnvIO { _ in IO.sleep(interval) }
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/EnvIO.swift:307:18: error: cannot find type 'DispatchQueue' in scope
305 | public static func continueOn<A>(
306 | _ fa: KleisliOf<F, D, A>,
307 | _ queue: DispatchQueue) -> KleisliOf<F, D, A> {
| `- error: cannot find type 'DispatchQueue' in scope
308 | Kleisli { d in
309 | fa^.run(d).continueOn(queue)
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Typeclasses/Async.swift:29:18: error: cannot find type 'DispatchQueue' in scope
27 | static func continueOn<A>(
28 | _ fa: Kind<Self, A>,
29 | _ queue: DispatchQueue) -> Kind<Self, A>
| `- error: cannot find type 'DispatchQueue' in scope
30 | }
31 |
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/IO.swift:300:41: error: cannot find type 'DispatchQueue' in scope
298 | /// - Returns: Value produced after running the suspended side effects.
299 | /// - Throws: Error of type `E` that may happen during the evaluation of the side-effects. Errors of other types thrown from the evaluation of this IO will cause a fatal error.
300 | public func unsafeRunSync(on queue: DispatchQueue = .main) throws -> A {
| `- error: cannot find type 'DispatchQueue' in scope
301 | let either = self.unsafeRunSyncEither(on: queue)
302 | if either.isRight {
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/IO.swift:313:47: error: cannot find type 'DispatchQueue' in scope
311 | /// - Parameter queue: Dispatch queue used to execute the side effects. Defaults to the main queue.
312 | /// - Returns: An Either wrapping errors in the left side and values on the right side. Errors of other types thrown from the evaluation of this IO will cause a fatal error.
313 | public func unsafeRunSyncEither(on queue: DispatchQueue = .main) -> Either<E, A> {
| `- error: cannot find type 'DispatchQueue' in scope
314 | self._unsafeRunSyncEither(on: .queue(queue)).run().0
315 | }
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/IO.swift:345:42: error: cannot find type 'DispatchQueue' in scope
343 | /// - queue: Dispatch queue used to execute the side effects. Defaults to the main queue.
344 | /// - callback: A callback function to receive the results of the evaluation. Errors of other types thrown from the evaluation of this IO will cause a fatal error.
345 | public func unsafeRunAsync(on queue: DispatchQueue = .main, _ callback: @escaping Callback<E, A> = { _ in }) {
| `- error: cannot find type 'DispatchQueue' in scope
346 | queue.async {
347 | callback(self.unsafeRunSyncEither(on: queue))
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/IO.swift:462:35: error: cannot find type 'DispatchTimeInterval' in scope
460 | /// - Parameter interval: Interval of time to sleep.
461 | /// - Returns: An IO that sleeps for the specified amount of time.
462 | static func sleep(_ interval: DispatchTimeInterval) -> IO<E, Void> {
| `- error: cannot find type 'DispatchTimeInterval' in scope
463 | if let timeInterval = interval.toDouble() {
464 | return IO.invoke {
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Typeclasses/Async.swift:110:30: error: cannot find type 'DispatchQueue' in scope
108 | /// - queue: A Dispatch Queue.
109 | /// - Returns: A computation that will run on the provided queue.
110 | func continueOn(_ queue: DispatchQueue) -> Kind<F, A> {
| `- error: cannot find type 'DispatchQueue' in scope
111 | F.continueOn(self, queue)
112 | }
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Atomic.swift:5:25: error: cannot find 'DispatchQueue' in scope
3 | /// An atomically modifiable reference to a value
4 | public final class Atomic<A> {
5 | private let queue = DispatchQueue(label: "Atomic serial queue")
| `- error: cannot find 'DispatchQueue' in scope
6 | private var _value: A
7 |
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/EnvIO.swift:190:19: error: cannot find type 'DispatchQueue' in scope
188 | func unsafeRunSync<E: Error>(
189 | with d: D,
190 | on queue: DispatchQueue = .main) throws -> A
| `- error: cannot find type 'DispatchQueue' in scope
191 | where F == IOPartial<E> {
192 | try self.provide(d).unsafeRunSync(on: queue)
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/EnvIO.swift:203:19: error: cannot find type 'DispatchQueue' in scope
201 | func unsafeRunSyncEither<E: Error>(
202 | with d: D,
203 | on queue: DispatchQueue = .main) -> Either<E, A>
| `- error: cannot find type 'DispatchQueue' in scope
204 | where F == IOPartial<E> {
205 | self.provide(d).unsafeRunSyncEither(on: queue)
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/EnvIO.swift:216:19: error: cannot find type 'DispatchQueue' in scope
214 | func unsafeRunAsync<E: Error>(
215 | with d: D,
216 | on queue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
217 | _ callback: @escaping Callback<E, A> = { _ in })
218 | where F == IOPartial<E> {
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/EnvIO.swift:239:44: error: cannot find type 'DispatchQueue' in scope
237 | /// - Returns: Value produced after running the suspended side effects.
238 | /// - Throws: Error of type `E` that may happen during the evaluation of the side-effects. Errors of other types thrown from the evaluation of this IO will cause a fatal error.
239 | func unsafeRunSync<E: Error>(on queue: DispatchQueue = .main) throws -> A
| `- error: cannot find type 'DispatchQueue' in scope
240 | where F == IOPartial<E> {
241 | try self.provide(()).unsafeRunSync(on: queue)
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/EnvIO.swift:248:50: error: cannot find type 'DispatchQueue' in scope
246 | /// - Parameter queue: Dispatch queue used to execute the side effects. Defaults to the main queue.
247 | /// - Returns: An Either wrapping errors in the left side and values on the right side. Errors of other types thrown from the evaluation of this IO will cause a fatal error.
248 | func unsafeRunSyncEither<E: Error>(on queue: DispatchQueue = .main) -> Either<E, A>
| `- error: cannot find type 'DispatchQueue' in scope
249 | where F == IOPartial<E> {
250 | self.provide(()).unsafeRunSyncEither(on: queue)
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/EnvIO.swift:259:19: error: cannot find type 'DispatchQueue' in scope
257 | /// - callback: A callback function to receive the results of the evaluation. Errors of other types thrown from the evaluation of this IO will cause a fatal error.
258 | func unsafeRunAsync<E: Error>(
259 | on queue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
260 | _ callback: @escaping Callback<E, A> = { _ in })
261 | where F == IOPartial<E> {
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/EnvIO.swift:271:45: error: cannot find type 'DispatchTimeInterval' in scope
269 | /// - Parameter interval: Time to sleep.
270 | /// - Returns: A computation that sleeps for the specified amount of time.
271 | static func sleep<E: Error>(_ interval: DispatchTimeInterval) -> EnvIO<D, E, Void>
| `- error: cannot find type 'DispatchTimeInterval' in scope
272 | where F == IOPartial<E> {
273 | EnvIO { _ in IO.sleep(interval) }
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/EnvIO.swift:307:18: error: cannot find type 'DispatchQueue' in scope
305 | public static func continueOn<A>(
306 | _ fa: KleisliOf<F, D, A>,
307 | _ queue: DispatchQueue) -> KleisliOf<F, D, A> {
| `- error: cannot find type 'DispatchQueue' in scope
308 | Kleisli { d in
309 | fa^.run(d).continueOn(queue)
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Typeclasses/Async.swift:29:18: error: cannot find type 'DispatchQueue' in scope
27 | static func continueOn<A>(
28 | _ fa: Kind<Self, A>,
29 | _ queue: DispatchQueue) -> Kind<Self, A>
| `- error: cannot find type 'DispatchQueue' in scope
30 | }
31 |
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/IO.swift:300:41: error: cannot find type 'DispatchQueue' in scope
298 | /// - Returns: Value produced after running the suspended side effects.
299 | /// - Throws: Error of type `E` that may happen during the evaluation of the side-effects. Errors of other types thrown from the evaluation of this IO will cause a fatal error.
300 | public func unsafeRunSync(on queue: DispatchQueue = .main) throws -> A {
| `- error: cannot find type 'DispatchQueue' in scope
301 | let either = self.unsafeRunSyncEither(on: queue)
302 | if either.isRight {
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/IO.swift:313:47: error: cannot find type 'DispatchQueue' in scope
311 | /// - Parameter queue: Dispatch queue used to execute the side effects. Defaults to the main queue.
312 | /// - Returns: An Either wrapping errors in the left side and values on the right side. Errors of other types thrown from the evaluation of this IO will cause a fatal error.
313 | public func unsafeRunSyncEither(on queue: DispatchQueue = .main) -> Either<E, A> {
| `- error: cannot find type 'DispatchQueue' in scope
314 | self._unsafeRunSyncEither(on: .queue(queue)).run().0
315 | }
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/IO.swift:345:42: error: cannot find type 'DispatchQueue' in scope
343 | /// - queue: Dispatch queue used to execute the side effects. Defaults to the main queue.
344 | /// - callback: A callback function to receive the results of the evaluation. Errors of other types thrown from the evaluation of this IO will cause a fatal error.
345 | public func unsafeRunAsync(on queue: DispatchQueue = .main, _ callback: @escaping Callback<E, A> = { _ in }) {
| `- error: cannot find type 'DispatchQueue' in scope
346 | queue.async {
347 | callback(self.unsafeRunSyncEither(on: queue))
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/IO.swift:462:35: error: cannot find type 'DispatchTimeInterval' in scope
460 | /// - Parameter interval: Interval of time to sleep.
461 | /// - Returns: An IO that sleeps for the specified amount of time.
462 | static func sleep(_ interval: DispatchTimeInterval) -> IO<E, Void> {
| `- error: cannot find type 'DispatchTimeInterval' in scope
463 | if let timeInterval = interval.toDouble() {
464 | return IO.invoke {
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Typeclasses/Async.swift:110:30: error: cannot find type 'DispatchQueue' in scope
108 | /// - queue: A Dispatch Queue.
109 | /// - Returns: A computation that will run on the provided queue.
110 | func continueOn(_ queue: DispatchQueue) -> Kind<F, A> {
| `- error: cannot find type 'DispatchQueue' in scope
111 | F.continueOn(self, queue)
112 | }
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Atomic.swift:5:25: error: cannot find 'DispatchQueue' in scope
3 | /// An atomically modifiable reference to a value
4 | public final class Atomic<A> {
5 | private let queue = DispatchQueue(label: "Atomic serial queue")
| `- error: cannot find 'DispatchQueue' in scope
6 | private var _value: A
7 |
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/EnvIO.swift:190:19: error: cannot find type 'DispatchQueue' in scope
188 | func unsafeRunSync<E: Error>(
189 | with d: D,
190 | on queue: DispatchQueue = .main) throws -> A
| `- error: cannot find type 'DispatchQueue' in scope
191 | where F == IOPartial<E> {
192 | try self.provide(d).unsafeRunSync(on: queue)
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/EnvIO.swift:203:19: error: cannot find type 'DispatchQueue' in scope
201 | func unsafeRunSyncEither<E: Error>(
202 | with d: D,
203 | on queue: DispatchQueue = .main) -> Either<E, A>
| `- error: cannot find type 'DispatchQueue' in scope
204 | where F == IOPartial<E> {
205 | self.provide(d).unsafeRunSyncEither(on: queue)
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/EnvIO.swift:216:19: error: cannot find type 'DispatchQueue' in scope
214 | func unsafeRunAsync<E: Error>(
215 | with d: D,
216 | on queue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
217 | _ callback: @escaping Callback<E, A> = { _ in })
218 | where F == IOPartial<E> {
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/EnvIO.swift:239:44: error: cannot find type 'DispatchQueue' in scope
237 | /// - Returns: Value produced after running the suspended side effects.
238 | /// - Throws: Error of type `E` that may happen during the evaluation of the side-effects. Errors of other types thrown from the evaluation of this IO will cause a fatal error.
239 | func unsafeRunSync<E: Error>(on queue: DispatchQueue = .main) throws -> A
| `- error: cannot find type 'DispatchQueue' in scope
240 | where F == IOPartial<E> {
241 | try self.provide(()).unsafeRunSync(on: queue)
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/EnvIO.swift:248:50: error: cannot find type 'DispatchQueue' in scope
246 | /// - Parameter queue: Dispatch queue used to execute the side effects. Defaults to the main queue.
247 | /// - Returns: An Either wrapping errors in the left side and values on the right side. Errors of other types thrown from the evaluation of this IO will cause a fatal error.
248 | func unsafeRunSyncEither<E: Error>(on queue: DispatchQueue = .main) -> Either<E, A>
| `- error: cannot find type 'DispatchQueue' in scope
249 | where F == IOPartial<E> {
250 | self.provide(()).unsafeRunSyncEither(on: queue)
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/EnvIO.swift:259:19: error: cannot find type 'DispatchQueue' in scope
257 | /// - callback: A callback function to receive the results of the evaluation. Errors of other types thrown from the evaluation of this IO will cause a fatal error.
258 | func unsafeRunAsync<E: Error>(
259 | on queue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
260 | _ callback: @escaping Callback<E, A> = { _ in })
261 | where F == IOPartial<E> {
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/EnvIO.swift:271:45: error: cannot find type 'DispatchTimeInterval' in scope
269 | /// - Parameter interval: Time to sleep.
270 | /// - Returns: A computation that sleeps for the specified amount of time.
271 | static func sleep<E: Error>(_ interval: DispatchTimeInterval) -> EnvIO<D, E, Void>
| `- error: cannot find type 'DispatchTimeInterval' in scope
272 | where F == IOPartial<E> {
273 | EnvIO { _ in IO.sleep(interval) }
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/EnvIO.swift:307:18: error: cannot find type 'DispatchQueue' in scope
305 | public static func continueOn<A>(
306 | _ fa: KleisliOf<F, D, A>,
307 | _ queue: DispatchQueue) -> KleisliOf<F, D, A> {
| `- error: cannot find type 'DispatchQueue' in scope
308 | Kleisli { d in
309 | fa^.run(d).continueOn(queue)
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Typeclasses/Async.swift:29:18: error: cannot find type 'DispatchQueue' in scope
27 | static func continueOn<A>(
28 | _ fa: Kind<Self, A>,
29 | _ queue: DispatchQueue) -> Kind<Self, A>
| `- error: cannot find type 'DispatchQueue' in scope
30 | }
31 |
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/IO.swift:300:41: error: cannot find type 'DispatchQueue' in scope
298 | /// - Returns: Value produced after running the suspended side effects.
299 | /// - Throws: Error of type `E` that may happen during the evaluation of the side-effects. Errors of other types thrown from the evaluation of this IO will cause a fatal error.
300 | public func unsafeRunSync(on queue: DispatchQueue = .main) throws -> A {
| `- error: cannot find type 'DispatchQueue' in scope
301 | let either = self.unsafeRunSyncEither(on: queue)
302 | if either.isRight {
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/IO.swift:313:47: error: cannot find type 'DispatchQueue' in scope
311 | /// - Parameter queue: Dispatch queue used to execute the side effects. Defaults to the main queue.
312 | /// - Returns: An Either wrapping errors in the left side and values on the right side. Errors of other types thrown from the evaluation of this IO will cause a fatal error.
313 | public func unsafeRunSyncEither(on queue: DispatchQueue = .main) -> Either<E, A> {
| `- error: cannot find type 'DispatchQueue' in scope
314 | self._unsafeRunSyncEither(on: .queue(queue)).run().0
315 | }
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/IO.swift:345:42: error: cannot find type 'DispatchQueue' in scope
343 | /// - queue: Dispatch queue used to execute the side effects. Defaults to the main queue.
344 | /// - callback: A callback function to receive the results of the evaluation. Errors of other types thrown from the evaluation of this IO will cause a fatal error.
345 | public func unsafeRunAsync(on queue: DispatchQueue = .main, _ callback: @escaping Callback<E, A> = { _ in }) {
| `- error: cannot find type 'DispatchQueue' in scope
346 | queue.async {
347 | callback(self.unsafeRunSyncEither(on: queue))
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/IO.swift:462:35: error: cannot find type 'DispatchTimeInterval' in scope
460 | /// - Parameter interval: Interval of time to sleep.
461 | /// - Returns: An IO that sleeps for the specified amount of time.
462 | static func sleep(_ interval: DispatchTimeInterval) -> IO<E, Void> {
| `- error: cannot find type 'DispatchTimeInterval' in scope
463 | if let timeInterval = interval.toDouble() {
464 | return IO.invoke {
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Typeclasses/Async.swift:110:30: error: cannot find type 'DispatchQueue' in scope
108 | /// - queue: A Dispatch Queue.
109 | /// - Returns: A computation that will run on the provided queue.
110 | func continueOn(_ queue: DispatchQueue) -> Kind<F, A> {
| `- error: cannot find type 'DispatchQueue' in scope
111 | F.continueOn(self, queue)
112 | }
[146/184] Compiling BowOptics StringOpticsInstances.swift
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/IO.swift:300:41: error: cannot find type 'DispatchQueue' in scope
298 | /// - Returns: Value produced after running the suspended side effects.
299 | /// - Throws: Error of type `E` that may happen during the evaluation of the side-effects. Errors of other types thrown from the evaluation of this IO will cause a fatal error.
300 | public func unsafeRunSync(on queue: DispatchQueue = .main) throws -> A {
| `- error: cannot find type 'DispatchQueue' in scope
301 | let either = self.unsafeRunSyncEither(on: queue)
302 | if either.isRight {
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/IO.swift:313:47: error: cannot find type 'DispatchQueue' in scope
311 | /// - Parameter queue: Dispatch queue used to execute the side effects. Defaults to the main queue.
312 | /// - Returns: An Either wrapping errors in the left side and values on the right side. Errors of other types thrown from the evaluation of this IO will cause a fatal error.
313 | public func unsafeRunSyncEither(on queue: DispatchQueue = .main) -> Either<E, A> {
| `- error: cannot find type 'DispatchQueue' in scope
314 | self._unsafeRunSyncEither(on: .queue(queue)).run().0
315 | }
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Internal/Queue.swift:7:32: error: cannot find type 'DispatchQueue' in scope
5 | // case current
6 |
7 | static func queue(_ queue: DispatchQueue = .main) -> Queue {
| `- error: cannot find type 'DispatchQueue' in scope
8 | queue.setSpecific(key: Key.threadLabel, value: queue.label)
9 | return .init(queue: ._queue(queue))
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Internal/Queue.swift:12:61: error: cannot find type 'DispatchQoS' in scope
10 | }
11 |
12 | /* convenience */ static func queue(label: String, qos: DispatchQoS = .default) -> Queue {
| `- error: cannot find type 'DispatchQoS' in scope
13 | queue(DispatchQueue(label: label, qos: qos))
14 | }
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/IO.swift:329:35: error: cannot find type 'DispatchQueue' in scope
327 | /// - Parameter queue: Dispatch queue used to execute the side effects. Defaults to the main queue.
328 | /// - Returns: An IO that either contains the value produced or an error. Errors of other types thrown from the evaluation of this IO will cause a fatal error.
329 | public func attempt(on queue: DispatchQueue = .main) -> IO<E, A> {
| `- error: cannot find type 'DispatchQueue' in scope
330 | do {
331 | let result = try self.unsafeRunSync(on: queue)
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/IO.swift:345:42: error: cannot find type 'DispatchQueue' in scope
343 | /// - queue: Dispatch queue used to execute the side effects. Defaults to the main queue.
344 | /// - callback: A callback function to receive the results of the evaluation. Errors of other types thrown from the evaluation of this IO will cause a fatal error.
345 | public func unsafeRunAsync(on queue: DispatchQueue = .main, _ callback: @escaping Callback<E, A> = { _ in }) {
| `- error: cannot find type 'DispatchQueue' in scope
346 | queue.async {
347 | callback(self.unsafeRunSyncEither(on: queue))
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/IO.swift:462:35: error: cannot find type 'DispatchTimeInterval' in scope
460 | /// - Parameter interval: Interval of time to sleep.
461 | /// - Returns: An IO that sleeps for the specified amount of time.
462 | static func sleep(_ interval: DispatchTimeInterval) -> IO<E, Void> {
| `- error: cannot find type 'DispatchTimeInterval' in scope
463 | if let timeInterval = interval.toDouble() {
464 | return IO.invoke {
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/IO.swift:624:35: error: cannot find type 'DispatchQueue' in scope
622 | let queue: DispatchQueue
623 |
624 | init(_ io: IO<E, A>, _ queue: DispatchQueue) {
| `- error: cannot find type 'DispatchQueue' in scope
625 | self.io = io
626 | self.queue = queue
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/IO.swift:622:16: error: cannot find type 'DispatchQueue' in scope
620 | internal class ContinueOn<E: Error, A>: IO<E, A> {
621 | let io: IO<E, A>
622 | let queue: DispatchQueue
| `- error: cannot find type 'DispatchQueue' in scope
623 |
624 | init(_ io: IO<E, A>, _ queue: DispatchQueue) {
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/IO.swift:906:18: error: cannot find type 'DispatchQueue' in scope
904 | public static func continueOn<A>(
905 | _ fa: IOOf<E, A>,
906 | _ queue: DispatchQueue) -> IOOf<E, A> {
| `- error: cannot find type 'DispatchQueue' in scope
907 | ContinueOn(fa^, queue)
908 | }
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Typeclasses/Async.swift:29:18: error: cannot find type 'DispatchQueue' in scope
27 | static func continueOn<A>(
28 | _ fa: Kind<Self, A>,
29 | _ queue: DispatchQueue) -> Kind<Self, A>
| `- error: cannot find type 'DispatchQueue' in scope
30 | }
31 |
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/IO.swift:947:19: error: cannot find type 'DispatchQueue' in scope
945 | extension IOPartial: UnsafeRun {
946 | public static func runBlocking<A>(
947 | on queue: DispatchQueue,
| `- error: cannot find type 'DispatchQueue' in scope
948 | _ fa: @escaping () -> Kind<IOPartial<E>, A>) throws -> A {
949 | try fa()^.unsafeRunSync(on: queue)
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/IO.swift:953:19: error: cannot find type 'DispatchQueue' in scope
951 |
952 | public static func runNonBlocking<A>(
953 | on queue: DispatchQueue,
| `- error: cannot find type 'DispatchQueue' in scope
954 | _ fa: @escaping () -> Kind<IOPartial<E>, A>,
955 | _ callback: @escaping (Either<E, A>) -> ()) {
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Typeclasses/UnsafeRun.swift:14:19: error: cannot find type 'DispatchQueue' in scope
12 | /// - Throws: Error happened during the execution of the computation, of the error type of the underlying `MonadError`.
13 | static func runBlocking<A>(
14 | on queue: DispatchQueue,
| `- error: cannot find type 'DispatchQueue' in scope
15 | _ fa: @escaping () -> Kind<Self, A>) throws -> A
16 |
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Typeclasses/UnsafeRun.swift:24:19: error: cannot find type 'DispatchQueue' in scope
22 | /// - callback: Callback to report the result of the evaluation.
23 | static func runNonBlocking<A>(
24 | on queue: DispatchQueue,
| `- error: cannot find type 'DispatchQueue' in scope
25 | _ fa: @escaping () -> Kind<Self, A>,
26 | _ callback: @escaping Callback<E, A>)
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Typeclasses/Async.swift:128:18: error: cannot find type 'DispatchQueue' in scope
126 | /// - Returns: A computation that defers the execution of the provided function.
127 | static func `defer`(
128 | _ queue: DispatchQueue,
| `- error: cannot find type 'DispatchQueue' in scope
129 | _ f: @escaping () -> Kind<F, A>) -> Kind<F, A> {
130 | F.defer(queue, f)
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/IO.swift:465:17: error: cannot find 'Thread' in scope
463 | if let timeInterval = interval.toDouble() {
464 | return IO.invoke {
465 | Thread.sleep(forTimeInterval: timeInterval)
| `- error: cannot find 'Thread' in scope
466 | }
467 | } else {
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/IO.swift:478:13: error: cannot find 'Thread' in scope
476 | static func sleep(_ interval: TimeInterval) -> IO<E, Void> {
477 | IO.invoke {
478 | Thread.sleep(forTimeInterval: interval)
| `- error: cannot find 'Thread' in scope
479 | }
480 | }
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/IO.swift:600:21: error: cannot find 'DispatchGroup' in scope
598 | override internal func _unsafeRunSyncEither(on queue: Queue = .queue()) -> Trampoline<(Either<E, A>, Queue)> {
599 | var result: Either<E, A>?
600 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
601 | group.enter()
602 | let callback: Callback<E, A> = { either in
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/IO.swift:680:21: error: cannot find 'DispatchGroup' in scope
678 | override func _unsafeRunSyncEither(on queue: Queue = .queue()) -> Trampoline<(Either<E, Either<A, B>>, Queue)> {
679 | let result = Atomic<Either<(Either<E, A>, Queue), (Either<E, B>, Queue)>?>(nil)
680 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
681 | let parQueue1: Queue = .queue(label: queue.label + "raceA", qos: queue.qos)
682 | let parQueue2: Queue = .queue(label: queue.label + "raceB", qos: queue.qos)
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Internal/Queue.swift:38:14: error: cannot find type 'DispatchQoS' in scope
36 | }
37 |
38 | var qos: DispatchQoS {
| `- error: cannot find type 'DispatchQoS' in scope
39 | switch queue {
40 | case ._queue(let queue):
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/IO.swift:724:21: error: cannot find 'DispatchGroup' in scope
722 | var a: (Either<E, A>, Queue)?
723 | var b: (Either<E, B>, Queue)?
724 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
725 | let parQueue1: Queue = .queue(label: queue.label + "parMap1", qos: queue.qos)
726 | let parQueue2: Queue = .queue(label: queue.label + "parMap2", qos: queue.qos)
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/IO.swift:766:21: error: cannot find 'DispatchGroup' in scope
764 | var b: (Either<E, B>, Queue)?
765 | var c: (Either<E, C>, Queue)?
766 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
767 | let parQueue1: Queue = .queue(label: queue.label + "parMap1", qos: queue.qos)
768 | let parQueue2: Queue = .queue(label: queue.label + "parMap2", qos: queue.qos)
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/IO.swift:907:9: error: generic parameter 'E' could not be inferred
618 | }
619 |
620 | internal class ContinueOn<E: Error, A>: IO<E, A> {
| `- note: 'E' declared as parameter to type 'ContinueOn'
621 | let io: IO<E, A>
622 | let queue: DispatchQueue
:
905 | _ fa: IOOf<E, A>,
906 | _ queue: DispatchQueue) -> IOOf<E, A> {
907 | ContinueOn(fa^, queue)
| `- error: generic parameter 'E' could not be inferred
908 | }
909 | }
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/IO.swift:907:9: error: generic parameter 'A' could not be inferred
618 | }
619 |
620 | internal class ContinueOn<E: Error, A>: IO<E, A> {
| `- note: 'A' declared as parameter to type 'ContinueOn'
621 | let io: IO<E, A>
622 | let queue: DispatchQueue
:
905 | _ fa: IOOf<E, A>,
906 | _ queue: DispatchQueue) -> IOOf<E, A> {
907 | ContinueOn(fa^, queue)
| |- error: generic parameter 'A' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
908 | }
909 | }
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/EnvIO.swift:190:19: error: cannot find type 'DispatchQueue' in scope
188 | func unsafeRunSync<E: Error>(
189 | with d: D,
190 | on queue: DispatchQueue = .main) throws -> A
| `- error: cannot find type 'DispatchQueue' in scope
191 | where F == IOPartial<E> {
192 | try self.provide(d).unsafeRunSync(on: queue)
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/EnvIO.swift:239:44: error: cannot find type 'DispatchQueue' in scope
237 | /// - Returns: Value produced after running the suspended side effects.
238 | /// - Throws: Error of type `E` that may happen during the evaluation of the side-effects. Errors of other types thrown from the evaluation of this IO will cause a fatal error.
239 | func unsafeRunSync<E: Error>(on queue: DispatchQueue = .main) throws -> A
| `- error: cannot find type 'DispatchQueue' in scope
240 | where F == IOPartial<E> {
241 | try self.provide(()).unsafeRunSync(on: queue)
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/EnvIO.swift:216:19: error: cannot find type 'DispatchQueue' in scope
214 | func unsafeRunAsync<E: Error>(
215 | with d: D,
216 | on queue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
217 | _ callback: @escaping Callback<E, A> = { _ in })
218 | where F == IOPartial<E> {
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/EnvIO.swift:259:19: error: cannot find type 'DispatchQueue' in scope
257 | /// - callback: A callback function to receive the results of the evaluation. Errors of other types thrown from the evaluation of this IO will cause a fatal error.
258 | func unsafeRunAsync<E: Error>(
259 | on queue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
260 | _ callback: @escaping Callback<E, A> = { _ in })
261 | where F == IOPartial<E> {
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Internal/DispatchTimeInterval+Extensions.swift:21:49: error: cannot find type 'DispatchTimeInterval' in scope
19 | }
20 |
21 | func -(lhs: DispatchTime, rhs: DispatchTime) -> DispatchTimeInterval {
| `- error: cannot find type 'DispatchTimeInterval' in scope
22 | let l = Int(lhs.rawValue)
23 | let r = Int(rhs.rawValue)
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Internal/DispatchTimeInterval+Extensions.swift:21:13: error: cannot find type 'DispatchTime' in scope
19 | }
20 |
21 | func -(lhs: DispatchTime, rhs: DispatchTime) -> DispatchTimeInterval {
| `- error: cannot find type 'DispatchTime' in scope
22 | let l = Int(lhs.rawValue)
23 | let r = Int(rhs.rawValue)
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Internal/DispatchTimeInterval+Extensions.swift:21:32: error: cannot find type 'DispatchTime' in scope
19 | }
20 |
21 | func -(lhs: DispatchTime, rhs: DispatchTime) -> DispatchTimeInterval {
| `- error: cannot find type 'DispatchTime' in scope
22 | let l = Int(lhs.rawValue)
23 | let r = Int(rhs.rawValue)
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Internal/DispatchTimeInterval+Extensions.swift:3:11: error: cannot find type 'DispatchTimeInterval' in scope
1 | import Foundation
2 |
3 | extension DispatchTimeInterval {
| `- error: cannot find type 'DispatchTimeInterval' in scope
4 | func toDouble() -> Double? {
5 | switch self {
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Internal/DispatchTimeInterval+Extensions.swift:16:14: error: cannot find type 'DispatchTimeInterval' in scope
14 | }
15 |
16 | func >=(lhs: DispatchTimeInterval, rhs: DispatchTimeInterval) -> Bool {
| `- error: cannot find type 'DispatchTimeInterval' in scope
17 | let now = DispatchTime.now()
18 | return now + lhs >= now + rhs
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Internal/DispatchTimeInterval+Extensions.swift:16:41: error: cannot find type 'DispatchTimeInterval' in scope
14 | }
15 |
16 | func >=(lhs: DispatchTimeInterval, rhs: DispatchTimeInterval) -> Bool {
| `- error: cannot find type 'DispatchTimeInterval' in scope
17 | let now = DispatchTime.now()
18 | return now + lhs >= now + rhs
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Internal/DispatchTimeInterval+Extensions.swift:17:15: error: cannot find 'DispatchTime' in scope
15 |
16 | func >=(lhs: DispatchTimeInterval, rhs: DispatchTimeInterval) -> Bool {
17 | let now = DispatchTime.now()
| `- error: cannot find 'DispatchTime' in scope
18 | return now + lhs >= now + rhs
19 | }
[147/184] Compiling BowOptics TryOpticsInstances.swift
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/IO.swift:300:41: error: cannot find type 'DispatchQueue' in scope
298 | /// - Returns: Value produced after running the suspended side effects.
299 | /// - Throws: Error of type `E` that may happen during the evaluation of the side-effects. Errors of other types thrown from the evaluation of this IO will cause a fatal error.
300 | public func unsafeRunSync(on queue: DispatchQueue = .main) throws -> A {
| `- error: cannot find type 'DispatchQueue' in scope
301 | let either = self.unsafeRunSyncEither(on: queue)
302 | if either.isRight {
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/IO.swift:313:47: error: cannot find type 'DispatchQueue' in scope
311 | /// - Parameter queue: Dispatch queue used to execute the side effects. Defaults to the main queue.
312 | /// - Returns: An Either wrapping errors in the left side and values on the right side. Errors of other types thrown from the evaluation of this IO will cause a fatal error.
313 | public func unsafeRunSyncEither(on queue: DispatchQueue = .main) -> Either<E, A> {
| `- error: cannot find type 'DispatchQueue' in scope
314 | self._unsafeRunSyncEither(on: .queue(queue)).run().0
315 | }
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Internal/Queue.swift:7:32: error: cannot find type 'DispatchQueue' in scope
5 | // case current
6 |
7 | static func queue(_ queue: DispatchQueue = .main) -> Queue {
| `- error: cannot find type 'DispatchQueue' in scope
8 | queue.setSpecific(key: Key.threadLabel, value: queue.label)
9 | return .init(queue: ._queue(queue))
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Internal/Queue.swift:12:61: error: cannot find type 'DispatchQoS' in scope
10 | }
11 |
12 | /* convenience */ static func queue(label: String, qos: DispatchQoS = .default) -> Queue {
| `- error: cannot find type 'DispatchQoS' in scope
13 | queue(DispatchQueue(label: label, qos: qos))
14 | }
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/IO.swift:329:35: error: cannot find type 'DispatchQueue' in scope
327 | /// - Parameter queue: Dispatch queue used to execute the side effects. Defaults to the main queue.
328 | /// - Returns: An IO that either contains the value produced or an error. Errors of other types thrown from the evaluation of this IO will cause a fatal error.
329 | public func attempt(on queue: DispatchQueue = .main) -> IO<E, A> {
| `- error: cannot find type 'DispatchQueue' in scope
330 | do {
331 | let result = try self.unsafeRunSync(on: queue)
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/IO.swift:345:42: error: cannot find type 'DispatchQueue' in scope
343 | /// - queue: Dispatch queue used to execute the side effects. Defaults to the main queue.
344 | /// - callback: A callback function to receive the results of the evaluation. Errors of other types thrown from the evaluation of this IO will cause a fatal error.
345 | public func unsafeRunAsync(on queue: DispatchQueue = .main, _ callback: @escaping Callback<E, A> = { _ in }) {
| `- error: cannot find type 'DispatchQueue' in scope
346 | queue.async {
347 | callback(self.unsafeRunSyncEither(on: queue))
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/IO.swift:462:35: error: cannot find type 'DispatchTimeInterval' in scope
460 | /// - Parameter interval: Interval of time to sleep.
461 | /// - Returns: An IO that sleeps for the specified amount of time.
462 | static func sleep(_ interval: DispatchTimeInterval) -> IO<E, Void> {
| `- error: cannot find type 'DispatchTimeInterval' in scope
463 | if let timeInterval = interval.toDouble() {
464 | return IO.invoke {
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/IO.swift:624:35: error: cannot find type 'DispatchQueue' in scope
622 | let queue: DispatchQueue
623 |
624 | init(_ io: IO<E, A>, _ queue: DispatchQueue) {
| `- error: cannot find type 'DispatchQueue' in scope
625 | self.io = io
626 | self.queue = queue
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/IO.swift:622:16: error: cannot find type 'DispatchQueue' in scope
620 | internal class ContinueOn<E: Error, A>: IO<E, A> {
621 | let io: IO<E, A>
622 | let queue: DispatchQueue
| `- error: cannot find type 'DispatchQueue' in scope
623 |
624 | init(_ io: IO<E, A>, _ queue: DispatchQueue) {
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/IO.swift:906:18: error: cannot find type 'DispatchQueue' in scope
904 | public static func continueOn<A>(
905 | _ fa: IOOf<E, A>,
906 | _ queue: DispatchQueue) -> IOOf<E, A> {
| `- error: cannot find type 'DispatchQueue' in scope
907 | ContinueOn(fa^, queue)
908 | }
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Typeclasses/Async.swift:29:18: error: cannot find type 'DispatchQueue' in scope
27 | static func continueOn<A>(
28 | _ fa: Kind<Self, A>,
29 | _ queue: DispatchQueue) -> Kind<Self, A>
| `- error: cannot find type 'DispatchQueue' in scope
30 | }
31 |
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/IO.swift:947:19: error: cannot find type 'DispatchQueue' in scope
945 | extension IOPartial: UnsafeRun {
946 | public static func runBlocking<A>(
947 | on queue: DispatchQueue,
| `- error: cannot find type 'DispatchQueue' in scope
948 | _ fa: @escaping () -> Kind<IOPartial<E>, A>) throws -> A {
949 | try fa()^.unsafeRunSync(on: queue)
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/IO.swift:953:19: error: cannot find type 'DispatchQueue' in scope
951 |
952 | public static func runNonBlocking<A>(
953 | on queue: DispatchQueue,
| `- error: cannot find type 'DispatchQueue' in scope
954 | _ fa: @escaping () -> Kind<IOPartial<E>, A>,
955 | _ callback: @escaping (Either<E, A>) -> ()) {
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Typeclasses/UnsafeRun.swift:14:19: error: cannot find type 'DispatchQueue' in scope
12 | /// - Throws: Error happened during the execution of the computation, of the error type of the underlying `MonadError`.
13 | static func runBlocking<A>(
14 | on queue: DispatchQueue,
| `- error: cannot find type 'DispatchQueue' in scope
15 | _ fa: @escaping () -> Kind<Self, A>) throws -> A
16 |
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Typeclasses/UnsafeRun.swift:24:19: error: cannot find type 'DispatchQueue' in scope
22 | /// - callback: Callback to report the result of the evaluation.
23 | static func runNonBlocking<A>(
24 | on queue: DispatchQueue,
| `- error: cannot find type 'DispatchQueue' in scope
25 | _ fa: @escaping () -> Kind<Self, A>,
26 | _ callback: @escaping Callback<E, A>)
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Typeclasses/Async.swift:128:18: error: cannot find type 'DispatchQueue' in scope
126 | /// - Returns: A computation that defers the execution of the provided function.
127 | static func `defer`(
128 | _ queue: DispatchQueue,
| `- error: cannot find type 'DispatchQueue' in scope
129 | _ f: @escaping () -> Kind<F, A>) -> Kind<F, A> {
130 | F.defer(queue, f)
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/IO.swift:465:17: error: cannot find 'Thread' in scope
463 | if let timeInterval = interval.toDouble() {
464 | return IO.invoke {
465 | Thread.sleep(forTimeInterval: timeInterval)
| `- error: cannot find 'Thread' in scope
466 | }
467 | } else {
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/IO.swift:478:13: error: cannot find 'Thread' in scope
476 | static func sleep(_ interval: TimeInterval) -> IO<E, Void> {
477 | IO.invoke {
478 | Thread.sleep(forTimeInterval: interval)
| `- error: cannot find 'Thread' in scope
479 | }
480 | }
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/IO.swift:600:21: error: cannot find 'DispatchGroup' in scope
598 | override internal func _unsafeRunSyncEither(on queue: Queue = .queue()) -> Trampoline<(Either<E, A>, Queue)> {
599 | var result: Either<E, A>?
600 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
601 | group.enter()
602 | let callback: Callback<E, A> = { either in
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/IO.swift:680:21: error: cannot find 'DispatchGroup' in scope
678 | override func _unsafeRunSyncEither(on queue: Queue = .queue()) -> Trampoline<(Either<E, Either<A, B>>, Queue)> {
679 | let result = Atomic<Either<(Either<E, A>, Queue), (Either<E, B>, Queue)>?>(nil)
680 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
681 | let parQueue1: Queue = .queue(label: queue.label + "raceA", qos: queue.qos)
682 | let parQueue2: Queue = .queue(label: queue.label + "raceB", qos: queue.qos)
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Internal/Queue.swift:38:14: error: cannot find type 'DispatchQoS' in scope
36 | }
37 |
38 | var qos: DispatchQoS {
| `- error: cannot find type 'DispatchQoS' in scope
39 | switch queue {
40 | case ._queue(let queue):
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/IO.swift:724:21: error: cannot find 'DispatchGroup' in scope
722 | var a: (Either<E, A>, Queue)?
723 | var b: (Either<E, B>, Queue)?
724 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
725 | let parQueue1: Queue = .queue(label: queue.label + "parMap1", qos: queue.qos)
726 | let parQueue2: Queue = .queue(label: queue.label + "parMap2", qos: queue.qos)
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/IO.swift:766:21: error: cannot find 'DispatchGroup' in scope
764 | var b: (Either<E, B>, Queue)?
765 | var c: (Either<E, C>, Queue)?
766 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
767 | let parQueue1: Queue = .queue(label: queue.label + "parMap1", qos: queue.qos)
768 | let parQueue2: Queue = .queue(label: queue.label + "parMap2", qos: queue.qos)
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/IO.swift:907:9: error: generic parameter 'E' could not be inferred
618 | }
619 |
620 | internal class ContinueOn<E: Error, A>: IO<E, A> {
| `- note: 'E' declared as parameter to type 'ContinueOn'
621 | let io: IO<E, A>
622 | let queue: DispatchQueue
:
905 | _ fa: IOOf<E, A>,
906 | _ queue: DispatchQueue) -> IOOf<E, A> {
907 | ContinueOn(fa^, queue)
| `- error: generic parameter 'E' could not be inferred
908 | }
909 | }
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/IO.swift:907:9: error: generic parameter 'A' could not be inferred
618 | }
619 |
620 | internal class ContinueOn<E: Error, A>: IO<E, A> {
| `- note: 'A' declared as parameter to type 'ContinueOn'
621 | let io: IO<E, A>
622 | let queue: DispatchQueue
:
905 | _ fa: IOOf<E, A>,
906 | _ queue: DispatchQueue) -> IOOf<E, A> {
907 | ContinueOn(fa^, queue)
| |- error: generic parameter 'A' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
908 | }
909 | }
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/EnvIO.swift:190:19: error: cannot find type 'DispatchQueue' in scope
188 | func unsafeRunSync<E: Error>(
189 | with d: D,
190 | on queue: DispatchQueue = .main) throws -> A
| `- error: cannot find type 'DispatchQueue' in scope
191 | where F == IOPartial<E> {
192 | try self.provide(d).unsafeRunSync(on: queue)
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/EnvIO.swift:239:44: error: cannot find type 'DispatchQueue' in scope
237 | /// - Returns: Value produced after running the suspended side effects.
238 | /// - Throws: Error of type `E` that may happen during the evaluation of the side-effects. Errors of other types thrown from the evaluation of this IO will cause a fatal error.
239 | func unsafeRunSync<E: Error>(on queue: DispatchQueue = .main) throws -> A
| `- error: cannot find type 'DispatchQueue' in scope
240 | where F == IOPartial<E> {
241 | try self.provide(()).unsafeRunSync(on: queue)
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/EnvIO.swift:216:19: error: cannot find type 'DispatchQueue' in scope
214 | func unsafeRunAsync<E: Error>(
215 | with d: D,
216 | on queue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
217 | _ callback: @escaping Callback<E, A> = { _ in })
218 | where F == IOPartial<E> {
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/EnvIO.swift:259:19: error: cannot find type 'DispatchQueue' in scope
257 | /// - callback: A callback function to receive the results of the evaluation. Errors of other types thrown from the evaluation of this IO will cause a fatal error.
258 | func unsafeRunAsync<E: Error>(
259 | on queue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
260 | _ callback: @escaping Callback<E, A> = { _ in })
261 | where F == IOPartial<E> {
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Internal/DispatchTimeInterval+Extensions.swift:21:49: error: cannot find type 'DispatchTimeInterval' in scope
19 | }
20 |
21 | func -(lhs: DispatchTime, rhs: DispatchTime) -> DispatchTimeInterval {
| `- error: cannot find type 'DispatchTimeInterval' in scope
22 | let l = Int(lhs.rawValue)
23 | let r = Int(rhs.rawValue)
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Internal/DispatchTimeInterval+Extensions.swift:21:13: error: cannot find type 'DispatchTime' in scope
19 | }
20 |
21 | func -(lhs: DispatchTime, rhs: DispatchTime) -> DispatchTimeInterval {
| `- error: cannot find type 'DispatchTime' in scope
22 | let l = Int(lhs.rawValue)
23 | let r = Int(rhs.rawValue)
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Internal/DispatchTimeInterval+Extensions.swift:21:32: error: cannot find type 'DispatchTime' in scope
19 | }
20 |
21 | func -(lhs: DispatchTime, rhs: DispatchTime) -> DispatchTimeInterval {
| `- error: cannot find type 'DispatchTime' in scope
22 | let l = Int(lhs.rawValue)
23 | let r = Int(rhs.rawValue)
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Internal/DispatchTimeInterval+Extensions.swift:3:11: error: cannot find type 'DispatchTimeInterval' in scope
1 | import Foundation
2 |
3 | extension DispatchTimeInterval {
| `- error: cannot find type 'DispatchTimeInterval' in scope
4 | func toDouble() -> Double? {
5 | switch self {
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Internal/DispatchTimeInterval+Extensions.swift:16:14: error: cannot find type 'DispatchTimeInterval' in scope
14 | }
15 |
16 | func >=(lhs: DispatchTimeInterval, rhs: DispatchTimeInterval) -> Bool {
| `- error: cannot find type 'DispatchTimeInterval' in scope
17 | let now = DispatchTime.now()
18 | return now + lhs >= now + rhs
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Internal/DispatchTimeInterval+Extensions.swift:16:41: error: cannot find type 'DispatchTimeInterval' in scope
14 | }
15 |
16 | func >=(lhs: DispatchTimeInterval, rhs: DispatchTimeInterval) -> Bool {
| `- error: cannot find type 'DispatchTimeInterval' in scope
17 | let now = DispatchTime.now()
18 | return now + lhs >= now + rhs
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Internal/DispatchTimeInterval+Extensions.swift:17:15: error: cannot find 'DispatchTime' in scope
15 |
16 | func >=(lhs: DispatchTimeInterval, rhs: DispatchTimeInterval) -> Bool {
17 | let now = DispatchTime.now()
| `- error: cannot find 'DispatchTime' in scope
18 | return now + lhs >= now + rhs
19 | }
[148/184] Compiling BowOptics ValidatedOpticsInstances.swift
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/IO.swift:300:41: error: cannot find type 'DispatchQueue' in scope
298 | /// - Returns: Value produced after running the suspended side effects.
299 | /// - Throws: Error of type `E` that may happen during the evaluation of the side-effects. Errors of other types thrown from the evaluation of this IO will cause a fatal error.
300 | public func unsafeRunSync(on queue: DispatchQueue = .main) throws -> A {
| `- error: cannot find type 'DispatchQueue' in scope
301 | let either = self.unsafeRunSyncEither(on: queue)
302 | if either.isRight {
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/IO.swift:313:47: error: cannot find type 'DispatchQueue' in scope
311 | /// - Parameter queue: Dispatch queue used to execute the side effects. Defaults to the main queue.
312 | /// - Returns: An Either wrapping errors in the left side and values on the right side. Errors of other types thrown from the evaluation of this IO will cause a fatal error.
313 | public func unsafeRunSyncEither(on queue: DispatchQueue = .main) -> Either<E, A> {
| `- error: cannot find type 'DispatchQueue' in scope
314 | self._unsafeRunSyncEither(on: .queue(queue)).run().0
315 | }
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Internal/Queue.swift:7:32: error: cannot find type 'DispatchQueue' in scope
5 | // case current
6 |
7 | static func queue(_ queue: DispatchQueue = .main) -> Queue {
| `- error: cannot find type 'DispatchQueue' in scope
8 | queue.setSpecific(key: Key.threadLabel, value: queue.label)
9 | return .init(queue: ._queue(queue))
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Internal/Queue.swift:12:61: error: cannot find type 'DispatchQoS' in scope
10 | }
11 |
12 | /* convenience */ static func queue(label: String, qos: DispatchQoS = .default) -> Queue {
| `- error: cannot find type 'DispatchQoS' in scope
13 | queue(DispatchQueue(label: label, qos: qos))
14 | }
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/IO.swift:329:35: error: cannot find type 'DispatchQueue' in scope
327 | /// - Parameter queue: Dispatch queue used to execute the side effects. Defaults to the main queue.
328 | /// - Returns: An IO that either contains the value produced or an error. Errors of other types thrown from the evaluation of this IO will cause a fatal error.
329 | public func attempt(on queue: DispatchQueue = .main) -> IO<E, A> {
| `- error: cannot find type 'DispatchQueue' in scope
330 | do {
331 | let result = try self.unsafeRunSync(on: queue)
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/IO.swift:345:42: error: cannot find type 'DispatchQueue' in scope
343 | /// - queue: Dispatch queue used to execute the side effects. Defaults to the main queue.
344 | /// - callback: A callback function to receive the results of the evaluation. Errors of other types thrown from the evaluation of this IO will cause a fatal error.
345 | public func unsafeRunAsync(on queue: DispatchQueue = .main, _ callback: @escaping Callback<E, A> = { _ in }) {
| `- error: cannot find type 'DispatchQueue' in scope
346 | queue.async {
347 | callback(self.unsafeRunSyncEither(on: queue))
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/IO.swift:462:35: error: cannot find type 'DispatchTimeInterval' in scope
460 | /// - Parameter interval: Interval of time to sleep.
461 | /// - Returns: An IO that sleeps for the specified amount of time.
462 | static func sleep(_ interval: DispatchTimeInterval) -> IO<E, Void> {
| `- error: cannot find type 'DispatchTimeInterval' in scope
463 | if let timeInterval = interval.toDouble() {
464 | return IO.invoke {
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/IO.swift:624:35: error: cannot find type 'DispatchQueue' in scope
622 | let queue: DispatchQueue
623 |
624 | init(_ io: IO<E, A>, _ queue: DispatchQueue) {
| `- error: cannot find type 'DispatchQueue' in scope
625 | self.io = io
626 | self.queue = queue
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/IO.swift:622:16: error: cannot find type 'DispatchQueue' in scope
620 | internal class ContinueOn<E: Error, A>: IO<E, A> {
621 | let io: IO<E, A>
622 | let queue: DispatchQueue
| `- error: cannot find type 'DispatchQueue' in scope
623 |
624 | init(_ io: IO<E, A>, _ queue: DispatchQueue) {
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/IO.swift:906:18: error: cannot find type 'DispatchQueue' in scope
904 | public static func continueOn<A>(
905 | _ fa: IOOf<E, A>,
906 | _ queue: DispatchQueue) -> IOOf<E, A> {
| `- error: cannot find type 'DispatchQueue' in scope
907 | ContinueOn(fa^, queue)
908 | }
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Typeclasses/Async.swift:29:18: error: cannot find type 'DispatchQueue' in scope
27 | static func continueOn<A>(
28 | _ fa: Kind<Self, A>,
29 | _ queue: DispatchQueue) -> Kind<Self, A>
| `- error: cannot find type 'DispatchQueue' in scope
30 | }
31 |
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/IO.swift:947:19: error: cannot find type 'DispatchQueue' in scope
945 | extension IOPartial: UnsafeRun {
946 | public static func runBlocking<A>(
947 | on queue: DispatchQueue,
| `- error: cannot find type 'DispatchQueue' in scope
948 | _ fa: @escaping () -> Kind<IOPartial<E>, A>) throws -> A {
949 | try fa()^.unsafeRunSync(on: queue)
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/IO.swift:953:19: error: cannot find type 'DispatchQueue' in scope
951 |
952 | public static func runNonBlocking<A>(
953 | on queue: DispatchQueue,
| `- error: cannot find type 'DispatchQueue' in scope
954 | _ fa: @escaping () -> Kind<IOPartial<E>, A>,
955 | _ callback: @escaping (Either<E, A>) -> ()) {
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Typeclasses/UnsafeRun.swift:14:19: error: cannot find type 'DispatchQueue' in scope
12 | /// - Throws: Error happened during the execution of the computation, of the error type of the underlying `MonadError`.
13 | static func runBlocking<A>(
14 | on queue: DispatchQueue,
| `- error: cannot find type 'DispatchQueue' in scope
15 | _ fa: @escaping () -> Kind<Self, A>) throws -> A
16 |
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Typeclasses/UnsafeRun.swift:24:19: error: cannot find type 'DispatchQueue' in scope
22 | /// - callback: Callback to report the result of the evaluation.
23 | static func runNonBlocking<A>(
24 | on queue: DispatchQueue,
| `- error: cannot find type 'DispatchQueue' in scope
25 | _ fa: @escaping () -> Kind<Self, A>,
26 | _ callback: @escaping Callback<E, A>)
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Typeclasses/Async.swift:128:18: error: cannot find type 'DispatchQueue' in scope
126 | /// - Returns: A computation that defers the execution of the provided function.
127 | static func `defer`(
128 | _ queue: DispatchQueue,
| `- error: cannot find type 'DispatchQueue' in scope
129 | _ f: @escaping () -> Kind<F, A>) -> Kind<F, A> {
130 | F.defer(queue, f)
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/IO.swift:465:17: error: cannot find 'Thread' in scope
463 | if let timeInterval = interval.toDouble() {
464 | return IO.invoke {
465 | Thread.sleep(forTimeInterval: timeInterval)
| `- error: cannot find 'Thread' in scope
466 | }
467 | } else {
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/IO.swift:478:13: error: cannot find 'Thread' in scope
476 | static func sleep(_ interval: TimeInterval) -> IO<E, Void> {
477 | IO.invoke {
478 | Thread.sleep(forTimeInterval: interval)
| `- error: cannot find 'Thread' in scope
479 | }
480 | }
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/IO.swift:600:21: error: cannot find 'DispatchGroup' in scope
598 | override internal func _unsafeRunSyncEither(on queue: Queue = .queue()) -> Trampoline<(Either<E, A>, Queue)> {
599 | var result: Either<E, A>?
600 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
601 | group.enter()
602 | let callback: Callback<E, A> = { either in
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/IO.swift:680:21: error: cannot find 'DispatchGroup' in scope
678 | override func _unsafeRunSyncEither(on queue: Queue = .queue()) -> Trampoline<(Either<E, Either<A, B>>, Queue)> {
679 | let result = Atomic<Either<(Either<E, A>, Queue), (Either<E, B>, Queue)>?>(nil)
680 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
681 | let parQueue1: Queue = .queue(label: queue.label + "raceA", qos: queue.qos)
682 | let parQueue2: Queue = .queue(label: queue.label + "raceB", qos: queue.qos)
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Internal/Queue.swift:38:14: error: cannot find type 'DispatchQoS' in scope
36 | }
37 |
38 | var qos: DispatchQoS {
| `- error: cannot find type 'DispatchQoS' in scope
39 | switch queue {
40 | case ._queue(let queue):
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/IO.swift:724:21: error: cannot find 'DispatchGroup' in scope
722 | var a: (Either<E, A>, Queue)?
723 | var b: (Either<E, B>, Queue)?
724 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
725 | let parQueue1: Queue = .queue(label: queue.label + "parMap1", qos: queue.qos)
726 | let parQueue2: Queue = .queue(label: queue.label + "parMap2", qos: queue.qos)
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/IO.swift:766:21: error: cannot find 'DispatchGroup' in scope
764 | var b: (Either<E, B>, Queue)?
765 | var c: (Either<E, C>, Queue)?
766 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
767 | let parQueue1: Queue = .queue(label: queue.label + "parMap1", qos: queue.qos)
768 | let parQueue2: Queue = .queue(label: queue.label + "parMap2", qos: queue.qos)
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/IO.swift:907:9: error: generic parameter 'E' could not be inferred
618 | }
619 |
620 | internal class ContinueOn<E: Error, A>: IO<E, A> {
| `- note: 'E' declared as parameter to type 'ContinueOn'
621 | let io: IO<E, A>
622 | let queue: DispatchQueue
:
905 | _ fa: IOOf<E, A>,
906 | _ queue: DispatchQueue) -> IOOf<E, A> {
907 | ContinueOn(fa^, queue)
| `- error: generic parameter 'E' could not be inferred
908 | }
909 | }
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/IO.swift:907:9: error: generic parameter 'A' could not be inferred
618 | }
619 |
620 | internal class ContinueOn<E: Error, A>: IO<E, A> {
| `- note: 'A' declared as parameter to type 'ContinueOn'
621 | let io: IO<E, A>
622 | let queue: DispatchQueue
:
905 | _ fa: IOOf<E, A>,
906 | _ queue: DispatchQueue) -> IOOf<E, A> {
907 | ContinueOn(fa^, queue)
| |- error: generic parameter 'A' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
908 | }
909 | }
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/EnvIO.swift:190:19: error: cannot find type 'DispatchQueue' in scope
188 | func unsafeRunSync<E: Error>(
189 | with d: D,
190 | on queue: DispatchQueue = .main) throws -> A
| `- error: cannot find type 'DispatchQueue' in scope
191 | where F == IOPartial<E> {
192 | try self.provide(d).unsafeRunSync(on: queue)
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/EnvIO.swift:239:44: error: cannot find type 'DispatchQueue' in scope
237 | /// - Returns: Value produced after running the suspended side effects.
238 | /// - Throws: Error of type `E` that may happen during the evaluation of the side-effects. Errors of other types thrown from the evaluation of this IO will cause a fatal error.
239 | func unsafeRunSync<E: Error>(on queue: DispatchQueue = .main) throws -> A
| `- error: cannot find type 'DispatchQueue' in scope
240 | where F == IOPartial<E> {
241 | try self.provide(()).unsafeRunSync(on: queue)
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/EnvIO.swift:216:19: error: cannot find type 'DispatchQueue' in scope
214 | func unsafeRunAsync<E: Error>(
215 | with d: D,
216 | on queue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
217 | _ callback: @escaping Callback<E, A> = { _ in })
218 | where F == IOPartial<E> {
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/EnvIO.swift:259:19: error: cannot find type 'DispatchQueue' in scope
257 | /// - callback: A callback function to receive the results of the evaluation. Errors of other types thrown from the evaluation of this IO will cause a fatal error.
258 | func unsafeRunAsync<E: Error>(
259 | on queue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
260 | _ callback: @escaping Callback<E, A> = { _ in })
261 | where F == IOPartial<E> {
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Internal/DispatchTimeInterval+Extensions.swift:21:49: error: cannot find type 'DispatchTimeInterval' in scope
19 | }
20 |
21 | func -(lhs: DispatchTime, rhs: DispatchTime) -> DispatchTimeInterval {
| `- error: cannot find type 'DispatchTimeInterval' in scope
22 | let l = Int(lhs.rawValue)
23 | let r = Int(rhs.rawValue)
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Internal/DispatchTimeInterval+Extensions.swift:21:13: error: cannot find type 'DispatchTime' in scope
19 | }
20 |
21 | func -(lhs: DispatchTime, rhs: DispatchTime) -> DispatchTimeInterval {
| `- error: cannot find type 'DispatchTime' in scope
22 | let l = Int(lhs.rawValue)
23 | let r = Int(rhs.rawValue)
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Internal/DispatchTimeInterval+Extensions.swift:21:32: error: cannot find type 'DispatchTime' in scope
19 | }
20 |
21 | func -(lhs: DispatchTime, rhs: DispatchTime) -> DispatchTimeInterval {
| `- error: cannot find type 'DispatchTime' in scope
22 | let l = Int(lhs.rawValue)
23 | let r = Int(rhs.rawValue)
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Internal/DispatchTimeInterval+Extensions.swift:3:11: error: cannot find type 'DispatchTimeInterval' in scope
1 | import Foundation
2 |
3 | extension DispatchTimeInterval {
| `- error: cannot find type 'DispatchTimeInterval' in scope
4 | func toDouble() -> Double? {
5 | switch self {
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Internal/DispatchTimeInterval+Extensions.swift:16:14: error: cannot find type 'DispatchTimeInterval' in scope
14 | }
15 |
16 | func >=(lhs: DispatchTimeInterval, rhs: DispatchTimeInterval) -> Bool {
| `- error: cannot find type 'DispatchTimeInterval' in scope
17 | let now = DispatchTime.now()
18 | return now + lhs >= now + rhs
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Internal/DispatchTimeInterval+Extensions.swift:16:41: error: cannot find type 'DispatchTimeInterval' in scope
14 | }
15 |
16 | func >=(lhs: DispatchTimeInterval, rhs: DispatchTimeInterval) -> Bool {
| `- error: cannot find type 'DispatchTimeInterval' in scope
17 | let now = DispatchTime.now()
18 | return now + lhs >= now + rhs
/host/spi-builder-workspace/.build/checkouts/bow/Sources/BowEffects/Data/Internal/DispatchTimeInterval+Extensions.swift:17:15: error: cannot find 'DispatchTime' in scope
15 |
16 | func >=(lhs: DispatchTimeInterval, rhs: DispatchTimeInterval) -> Bool {
17 | let now = DispatchTime.now()
| `- error: cannot find 'DispatchTime' in scope
18 | return now + lhs >= now + rhs
19 | }
[149/184] Compiling BowOptics BoundSetter.swift
[150/184] Compiling BowOptics At+Optics.swift
[151/184] Compiling BowOptics Each+Optics.swift
[152/184] Compiling BowOptics Index+Optics.swift
[153/184] Compiling BowOptics Kind+Optics.swift
[154/184] Compiling BowOptics StateT+Optics.swift
[155/184] Compiling BowOptics Fold.swift
[156/184] Compiling BowOptics Getter.swift
[163/184] Compiling BowOptics Optional.swift
[164/184] Compiling BowOptics Prism.swift
[165/184] Compiling BowOptics ArrayK+Optics.swift
[166/184] Compiling BowOptics Either+Optics.swift
[167/184] Compiling BowOptics Id+Optics.swift
[168/184] Compiling BowOptics Ior+Optics.swift
[169/184] Compiling BowOptics NonEmptyArray+Optics.swift
[170/184] Compiling BowOptics Option+Optics.swift
BUILD FAILURE 6.1 wasm