Build Information
Failed to build Taskig, reference master (8e7e56), with Swift 6.3 for Wasm on 10 Apr 2026 12:46:03 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/stendahls/Taskig.git
Reference: master
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/stendahls/Taskig
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 8e7e560 Updated license text
Cloned https://github.com/stendahls/Taskig.git
Revision (git rev-parse @):
8e7e5603d5f14bb2a1b262137d9122ec58c8837a
SUCCESS checkout https://github.com/stendahls/Taskig.git at master
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/stendahls/Taskig.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/10] Compiling Taskig ThrowableTask.swift
/host/spi-builder-workspace/TaskigSource/Base/ThrowableTask.swift:32:32: error: cannot find type 'DispatchQueue' in scope
30 | public typealias ResultType = T
31 |
32 | public let executionQueue: DispatchQueue
| `- error: cannot find type 'DispatchQueue' in scope
33 |
34 | private let actionBlock: (@escaping resultHandler) -> Void
/host/spi-builder-workspace/TaskigSource/Base/ThrowableTask.swift:38:33: error: cannot find type 'DispatchQueue' in scope
36 | public var isCancelled: Bool = false
37 |
38 | public init(executionQueue: DispatchQueue = .global(), action: @escaping (@escaping resultHandler) -> Void) {
| `- error: cannot find type 'DispatchQueue' in scope
39 | self.actionBlock = action
40 | self.executionQueue = executionQueue
/host/spi-builder-workspace/TaskigSource/Base/ThrowableTask.swift:43:33: error: cannot find type 'DispatchQueue' in scope
41 | }
42 |
43 | public init(executionQueue: DispatchQueue = .global(), action: @escaping () throws -> T) {
| `- error: cannot find type 'DispatchQueue' in scope
44 | self.executionQueue = executionQueue
45 | self.actionBlock = { (completion) in
/host/spi-builder-workspace/TaskigSource/Base/ThrowableTaskType.swift:34:25: error: cannot find type 'DispatchQueue' in scope
32 | typealias resultHandler = (Result<ResultType, Error>) -> Void
33 |
34 | var executionQueue: DispatchQueue { get }
| `- error: cannot find type 'DispatchQueue' in scope
35 |
36 | func action(completion: @escaping resultHandler)
/host/spi-builder-workspace/TaskigSource/Base/ThrowableTask.swift:62:46: error: cannot call value of non-function type 'Date'
60 | public extension ThrowableTask where T == Void {
61 | func async(delayBy: TimeInterval = 0) {
62 | executionQueue.asyncAfter(deadline: .now() + delayBy) {
| `- error: cannot call value of non-function type 'Date'
63 | self.action(completion: { (_) in })
64 | }
/host/spi-builder-workspace/TaskigSource/Base/ThrowableTask.swift:71:50: error: cannot find 'Thread' in scope
69 | @discardableResult
70 | public func awaitResult() -> Result<ResultType, Error> {
71 | precondition((executionQueue == .main && Thread.isMainThread == true) == false)
| `- error: cannot find 'Thread' in scope
72 |
73 | var result: Result<ResultType, Error>!
/host/spi-builder-workspace/TaskigSource/Base/ThrowableTask.swift:71:42: error: cannot infer contextual base in reference to member 'main'
69 | @discardableResult
70 | public func awaitResult() -> Result<ResultType, Error> {
71 | precondition((executionQueue == .main && Thread.isMainThread == true) == false)
| `- error: cannot infer contextual base in reference to member 'main'
72 |
73 | var result: Result<ResultType, Error>!
/host/spi-builder-workspace/TaskigSource/Base/ThrowableTask.swift:75:21: error: cannot find 'DispatchGroup' in scope
73 | var result: Result<ResultType, Error>!
74 |
75 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
76 | group.enter()
77 |
/host/spi-builder-workspace/TaskigSource/Base/ThrowableTask.swift:97:46: error: cannot call value of non-function type 'Date'
95 |
96 | public func async(delayBy: TimeInterval = 0, completion: @escaping resultHandler) {
97 | executionQueue.asyncAfter(deadline: .now() + delayBy) {
| `- error: cannot call value of non-function type 'Date'
98 | guard self.isCancelled == false else {
99 | completion(.failure(CancellableTaskError.taskWasCancelled))
[4/10] Compiling Taskig ThrowableTaskType.swift
/host/spi-builder-workspace/TaskigSource/Base/ThrowableTaskType.swift:34:25: error: cannot find type 'DispatchQueue' in scope
32 | typealias resultHandler = (Result<ResultType, Error>) -> Void
33 |
34 | var executionQueue: DispatchQueue { get }
| `- error: cannot find type 'DispatchQueue' in scope
35 |
36 | func action(completion: @escaping resultHandler)
/host/spi-builder-workspace/TaskigSource/Base/ThrowableTaskType.swift:77:39: error: cannot find type 'DispatchQueue' in scope
75 |
76 | @discardableResult
77 | static func await(executionQueue: DispatchQueue = .global(), action: @escaping () throws -> ResultType) throws -> ResultType {
| `- error: cannot find type 'DispatchQueue' in scope
78 | let task = ThrowableTask<ResultType> { () -> Self.ResultType in
79 | return try action()
/host/spi-builder-workspace/TaskigSource/Base/ThrowableTaskType.swift:46:50: error: cannot find 'Thread' in scope
44 | @discardableResult
45 | func awaitResult() -> Result<ResultType, Error> {
46 | precondition((executionQueue == .main && Thread.isMainThread == true) == false)
| `- error: cannot find 'Thread' in scope
47 |
48 | var result: Result<ResultType, Error>!
/host/spi-builder-workspace/TaskigSource/Base/ThrowableTaskType.swift:46:42: error: cannot infer contextual base in reference to member 'main'
44 | @discardableResult
45 | func awaitResult() -> Result<ResultType, Error> {
46 | precondition((executionQueue == .main && Thread.isMainThread == true) == false)
| `- error: cannot infer contextual base in reference to member 'main'
47 |
48 | var result: Result<ResultType, Error>!
/host/spi-builder-workspace/TaskigSource/Base/ThrowableTaskType.swift:50:21: error: cannot find 'DispatchGroup' in scope
48 | var result: Result<ResultType, Error>!
49 |
50 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
51 | group.enter()
52 |
/host/spi-builder-workspace/TaskigSource/Base/ThrowableTaskType.swift:71:46: error: cannot call value of non-function type 'Date'
69 |
70 | func async(delayBy: TimeInterval = 0, completion: @escaping resultHandler) {
71 | executionQueue.asyncAfter(deadline: .now() + delayBy) {
| `- error: cannot call value of non-function type 'Date'
72 | self.action(completion: completion)
73 | }
/host/spi-builder-workspace/TaskigSource/Base/ThrowableTask.swift:38:33: error: cannot find type 'DispatchQueue' in scope
36 | public var isCancelled: Bool = false
37 |
38 | public init(executionQueue: DispatchQueue = .global(), action: @escaping (@escaping resultHandler) -> Void) {
| `- error: cannot find type 'DispatchQueue' in scope
39 | self.actionBlock = action
40 | self.executionQueue = executionQueue
/host/spi-builder-workspace/TaskigSource/Base/ThrowableTask.swift:43:33: error: cannot find type 'DispatchQueue' in scope
41 | }
42 |
43 | public init(executionQueue: DispatchQueue = .global(), action: @escaping () throws -> T) {
| `- error: cannot find type 'DispatchQueue' in scope
44 | self.executionQueue = executionQueue
45 | self.actionBlock = { (completion) in
[5/10] Compiling Taskig Task.swift
/host/spi-builder-workspace/TaskigSource/Base/Task.swift:32:32: error: cannot find type 'DispatchQueue' in scope
30 | public typealias ResultType = T
31 |
32 | public let executionQueue: DispatchQueue
| `- error: cannot find type 'DispatchQueue' in scope
33 |
34 | private let actionBlock: (@escaping resultHandler) -> Void
/host/spi-builder-workspace/TaskigSource/Base/Task.swift:36:33: error: cannot find type 'DispatchQueue' in scope
34 | private let actionBlock: (@escaping resultHandler) -> Void
35 |
36 | public init(executionQueue: DispatchQueue = .global(), action: @escaping (@escaping resultHandler) -> Void) {
| `- error: cannot find type 'DispatchQueue' in scope
37 | self.actionBlock = action
38 | self.executionQueue = executionQueue
/host/spi-builder-workspace/TaskigSource/Base/Task.swift:41:33: error: cannot find type 'DispatchQueue' in scope
39 | }
40 |
41 | public init(executionQueue: DispatchQueue = .global(), action: @escaping () -> T) {
| `- error: cannot find type 'DispatchQueue' in scope
42 | self.executionQueue = executionQueue
43 | self.actionBlock = { (completion) in
/host/spi-builder-workspace/TaskigSource/Base/TaskType.swift:33:25: error: cannot find type 'DispatchQueue' in scope
31 | typealias resultHandler = (ResultType) -> Void
32 |
33 | var executionQueue: DispatchQueue { get }
| `- error: cannot find type 'DispatchQueue' in scope
34 |
35 | func action(completion: @escaping resultHandler)
/host/spi-builder-workspace/TaskigSource/Base/Task.swift:54:39: error: cannot find type 'DispatchQueue' in scope
52 |
53 | public extension Task where T == Void {
54 | static func async(executionQueue: DispatchQueue = .global(), delayBy: TimeInterval = 0, action: @escaping () -> Void) {
| `- error: cannot find type 'DispatchQueue' in scope
55 | executionQueue.asyncAfter(deadline: .now() + delayBy, execute: action)
56 | }
/host/spi-builder-workspace/TaskigSource/Base/Task.swift:55:46: error: cannot call value of non-function type 'Date'
53 | public extension Task where T == Void {
54 | static func async(executionQueue: DispatchQueue = .global(), delayBy: TimeInterval = 0, action: @escaping () -> Void) {
55 | executionQueue.asyncAfter(deadline: .now() + delayBy, execute: action)
| `- error: cannot call value of non-function type 'Date'
56 | }
57 |
/host/spi-builder-workspace/TaskigSource/Base/Task.swift:59:46: error: cannot call value of non-function type 'Date'
57 |
58 | func async(delayBy: TimeInterval = 0) {
59 | executionQueue.asyncAfter(deadline: .now() + delayBy) {
| `- error: cannot call value of non-function type 'Date'
60 | self.action(completion: { (_) in })
61 | }
/host/spi-builder-workspace/TaskigSource/Base/ThrowableTask.swift:38:33: error: cannot find type 'DispatchQueue' in scope
36 | public var isCancelled: Bool = false
37 |
38 | public init(executionQueue: DispatchQueue = .global(), action: @escaping (@escaping resultHandler) -> Void) {
| `- error: cannot find type 'DispatchQueue' in scope
39 | self.actionBlock = action
40 | self.executionQueue = executionQueue
/host/spi-builder-workspace/TaskigSource/Base/ThrowableTask.swift:43:33: error: cannot find type 'DispatchQueue' in scope
41 | }
42 |
43 | public init(executionQueue: DispatchQueue = .global(), action: @escaping () throws -> T) {
| `- error: cannot find type 'DispatchQueue' in scope
44 | self.executionQueue = executionQueue
45 | self.actionBlock = { (completion) in
/host/spi-builder-workspace/TaskigSource/Base/Task.swift:69:26: error: generic parameter 'Failure' could not be inferred
67 | return ThrowableTask<ResultType>(action: { callback in
68 | self.action { result in
69 | callback(Result.success(result))
| |- error: generic parameter 'Failure' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
70 | }
71 | })
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/10] Compiling Taskig Collections.swift
/host/spi-builder-workspace/TaskigSource/Base/Collections.swift:31:26: error: cannot find 'DispatchQueue' in scope
29 | public let DefaultConcurrency = 50
30 |
31 | let async_custom_queue = DispatchQueue(label: "taskig.serial.queue")
| `- error: cannot find 'DispatchQueue' in scope
32 |
33 | public enum TaskigError: Error {
/host/spi-builder-workspace/TaskigSource/Base/Collections.swift:40:30: error: cannot find type 'DispatchQueue' in scope
38 |
39 | public extension Dictionary where Value : ThrowableTaskType {
40 | func awaitFirst(_ queue: DispatchQueue = .global(), concurrency: Int = DefaultConcurrency) throws -> Value.ResultType {
| `- error: cannot find type 'DispatchQueue' in scope
41 | return try values.awaitFirst(queue, concurrency: concurrency)
42 | }
/host/spi-builder-workspace/TaskigSource/Base/Collections.swift:44:28: error: cannot find type 'DispatchQueue' in scope
42 | }
43 |
44 | func awaitAll(_ queue: DispatchQueue = .global(), concurrency: Int = DefaultConcurrency) throws -> [Key: Value.ResultType] {
| `- error: cannot find type 'DispatchQueue' in scope
45 | let elements = Array(zip(Array(keys), try values.awaitAll(queue, concurrency: concurrency)))
46 | return Dictionary<Key, Value.ResultType>(uniqueKeysWithValues: elements)
/host/spi-builder-workspace/TaskigSource/Base/Collections.swift:49:35: error: cannot find type 'DispatchQueue' in scope
47 | }
48 |
49 | func awaitAllResults(_ queue: DispatchQueue = .global(), concurrency: Int = DefaultConcurrency) -> [Key: Result<Value.ResultType, Error>] {
| `- error: cannot find type 'DispatchQueue' in scope
50 | let elements = Array(zip(Array(keys), values.awaitAllResults(queue, concurrency: concurrency)))
51 | return Dictionary<Key, Result<Value.ResultType, Error>>(uniqueKeysWithValues: elements)
/host/spi-builder-workspace/TaskigSource/Base/Collections.swift:60:30: error: cannot find type 'DispatchQueue' in scope
58 | }
59 |
60 | func awaitFirst(_ queue: DispatchQueue = .global(), concurrency: Int = DefaultConcurrency) -> Value.ResultType {
| `- error: cannot find type 'DispatchQueue' in scope
61 | return try! throwableTasks.awaitFirst(queue, concurrency: concurrency)
62 | }
/host/spi-builder-workspace/TaskigSource/Base/Collections.swift:64:28: error: cannot find type 'DispatchQueue' in scope
62 | }
63 |
64 | func awaitAll(_ queue: DispatchQueue = .global(), concurrency: Int = DefaultConcurrency) -> [Key: Value.ResultType] {
| `- error: cannot find type 'DispatchQueue' in scope
65 | let elements = Array(zip(Array(keys), try! throwableTasks.awaitAll(queue, concurrency: concurrency)))
66 | return Dictionary<Key, Value.ResultType>(uniqueKeysWithValues: elements)
/host/spi-builder-workspace/TaskigSource/Base/Collections.swift:73:36: error: cannot find type 'DispatchQueue' in scope
71 |
72 | public extension Sequence where Iterator.Element: ThrowableTaskType {
73 | func awaitFirstResult(_ queue: DispatchQueue = .global(), concurrency: Int = DefaultConcurrency) -> Result<Iterator.Element.ResultType, Error> {
| `- error: cannot find type 'DispatchQueue' in scope
74 | let tasks = map{$0}
75 |
/host/spi-builder-workspace/TaskigSource/Base/Collections.swift:92:35: error: cannot find type 'DispatchQueue' in scope
90 | }
91 |
92 | func awaitAllResults(_ queue: DispatchQueue = .global(), concurrency: Int = DefaultConcurrency) -> [Result<Iterator.Element.ResultType, Error>] {
| `- error: cannot find type 'DispatchQueue' in scope
93 | let tasks = map{$0}
94 |
/host/spi-builder-workspace/TaskigSource/Base/Collections.swift:98:30: error: cannot find type 'DispatchQueue' in scope
96 | }
97 |
98 | func awaitFirst(_ queue: DispatchQueue = .global(), concurrency: Int = DefaultConcurrency) throws -> Iterator.Element.ResultType {
| `- error: cannot find type 'DispatchQueue' in scope
99 | return try awaitFirstResult(queue, concurrency: concurrency).get()
100 | }
/host/spi-builder-workspace/TaskigSource/Base/Collections.swift:102:28: error: cannot find type 'DispatchQueue' in scope
100 | }
101 |
102 | func awaitAll(_ queue: DispatchQueue = .global(), concurrency: Int = DefaultConcurrency) throws -> [Iterator.Element.ResultType] {
| `- error: cannot find type 'DispatchQueue' in scope
103 | return try awaitAllResults(queue, concurrency: concurrency).map{ try $0.get() }
104 | }
/host/spi-builder-workspace/TaskigSource/Base/Collections.swift:112:30: error: cannot find type 'DispatchQueue' in scope
110 | }
111 |
112 | func awaitFirst(_ queue: DispatchQueue = .global(), concurrency: Int = DefaultConcurrency) -> Iterator.Element.ResultType {
| `- error: cannot find type 'DispatchQueue' in scope
113 | return try! throwableTasks.awaitFirst(queue)
114 | }
/host/spi-builder-workspace/TaskigSource/Base/Collections.swift:116:28: error: cannot find type 'DispatchQueue' in scope
114 | }
115 |
116 | func awaitAll(_ queue: DispatchQueue = .global(), concurrency: Int = DefaultConcurrency) -> [Iterator.Element.ResultType] {
| `- error: cannot find type 'DispatchQueue' in scope
117 | return try! throwableTasks.awaitAll(queue, concurrency: concurrency)
118 | }
/host/spi-builder-workspace/TaskigSource/Base/Collections.swift:125:40: error: cannot find type 'DispatchQueue' in scope
123 |
124 | public extension Array {
125 | func concurrentForEach<T>(_ queue: DispatchQueue, concurrency: Int, transform: @escaping (Element) -> T, completion: @escaping (T) -> ()) {
| `- error: cannot find type 'DispatchQueue' in scope
126 | let workGroup = DispatchGroup()
127 | let maxWorkItemsSemaphore = DispatchSemaphore(value: concurrency)
/host/spi-builder-workspace/TaskigSource/Base/Collections.swift:147:36: error: cannot find type 'DispatchQueue' in scope
145 | }
146 |
147 | func concurrentMap<T>(_ queue: DispatchQueue, concurrency: Int, transform: @escaping (Element) -> T) -> [T] {
| `- error: cannot find type 'DispatchQueue' in scope
148 | guard count > 0 else {
149 | return []
/host/spi-builder-workspace/TaskigSource/Base/TaskType.swift:70:39: error: cannot find type 'DispatchQueue' in scope
68 |
69 | @discardableResult
70 | static func await(executionQueue: DispatchQueue = .global(), action: @escaping () -> ResultType) -> ResultType {
| `- error: cannot find type 'DispatchQueue' in scope
71 | return Task<ResultType>(executionQueue: executionQueue, action: action).await()
72 | }
/host/spi-builder-workspace/TaskigSource/Base/Collections.swift:80:50: error: extra trailing closure passed in call
78 | }
79 |
80 | return Task.await(executionQueue: queue) { () -> Result<Self.Element.ResultType, Error> in
| `- error: extra trailing closure passed in call
81 | var result: Result<Self.Element.ResultType, Error>!
82 |
/host/spi-builder-workspace/TaskigSource/Base/Collections.swift:80:21: error: function produces expected type 'Task<Result<Self.Element.ResultType, any Error>>.ResultType' (aka 'Result<Self.Element.ResultType, any Error>'); did you mean to call it with '()'?
78 | }
79 |
80 | return Task.await(executionQueue: queue) { () -> Result<Self.Element.ResultType, Error> in
| `- error: function produces expected type 'Task<Result<Self.Element.ResultType, any Error>>.ResultType' (aka 'Result<Self.Element.ResultType, any Error>'); did you mean to call it with '()'?
81 | var result: Result<Self.Element.ResultType, Error>!
82 |
/host/spi-builder-workspace/TaskigSource/Base/Collections.swift:126:25: error: cannot find 'DispatchGroup' in scope
124 | public extension Array {
125 | func concurrentForEach<T>(_ queue: DispatchQueue, concurrency: Int, transform: @escaping (Element) -> T, completion: @escaping (T) -> ()) {
126 | let workGroup = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
127 | let maxWorkItemsSemaphore = DispatchSemaphore(value: concurrency)
128 |
/host/spi-builder-workspace/TaskigSource/Base/Collections.swift:127:37: error: cannot find 'DispatchSemaphore' in scope
125 | func concurrentForEach<T>(_ queue: DispatchQueue, concurrency: Int, transform: @escaping (Element) -> T, completion: @escaping (T) -> ()) {
126 | let workGroup = DispatchGroup()
127 | let maxWorkItemsSemaphore = DispatchSemaphore(value: concurrency)
| `- error: cannot find 'DispatchSemaphore' in scope
128 |
129 | self.forEach ({ task in
/host/spi-builder-workspace/TaskigSource/Base/Collections.swift:152:41: error: cannot find 'DispatchSemaphore' in scope
150 | }
151 |
152 | let finishedAllTasksSemaphore = DispatchSemaphore(value: 0)
| `- error: cannot find 'DispatchSemaphore' in scope
153 | let maxWorkItemsSemaphore = DispatchSemaphore(value: concurrency)
154 |
/host/spi-builder-workspace/TaskigSource/Base/Collections.swift:153:37: error: cannot find 'DispatchSemaphore' in scope
151 |
152 | let finishedAllTasksSemaphore = DispatchSemaphore(value: 0)
153 | let maxWorkItemsSemaphore = DispatchSemaphore(value: concurrency)
| `- error: cannot find 'DispatchSemaphore' in scope
154 |
155 | var results = [T?](repeating: nil, count: count)
/host/spi-builder-workspace/TaskigSource/Base/Collections.swift:159:9: error: cannot find 'DispatchQueue' in scope
157 | let numberOfTasks = count
158 |
159 | DispatchQueue.concurrentPerform(iterations: count) {index in
| `- error: cannot find 'DispatchQueue' in scope
160 | let _ = maxWorkItemsSemaphore.wait()
161 | let result = transform(self[index])
[7/10] Compiling Taskig CancellableTaskType.swift
[8/10] Emitting module Taskig
/host/spi-builder-workspace/TaskigSource/Base/Collections.swift:31:26: error: cannot find 'DispatchQueue' in scope
29 | public let DefaultConcurrency = 50
30 |
31 | let async_custom_queue = DispatchQueue(label: "taskig.serial.queue")
| `- error: cannot find 'DispatchQueue' in scope
32 |
33 | public enum TaskigError: Error {
/host/spi-builder-workspace/TaskigSource/Base/Collections.swift:40:30: error: cannot find type 'DispatchQueue' in scope
38 |
39 | public extension Dictionary where Value : ThrowableTaskType {
40 | func awaitFirst(_ queue: DispatchQueue = .global(), concurrency: Int = DefaultConcurrency) throws -> Value.ResultType {
| `- error: cannot find type 'DispatchQueue' in scope
41 | return try values.awaitFirst(queue, concurrency: concurrency)
42 | }
/host/spi-builder-workspace/TaskigSource/Base/Collections.swift:44:28: error: cannot find type 'DispatchQueue' in scope
42 | }
43 |
44 | func awaitAll(_ queue: DispatchQueue = .global(), concurrency: Int = DefaultConcurrency) throws -> [Key: Value.ResultType] {
| `- error: cannot find type 'DispatchQueue' in scope
45 | let elements = Array(zip(Array(keys), try values.awaitAll(queue, concurrency: concurrency)))
46 | return Dictionary<Key, Value.ResultType>(uniqueKeysWithValues: elements)
/host/spi-builder-workspace/TaskigSource/Base/Collections.swift:49:35: error: cannot find type 'DispatchQueue' in scope
47 | }
48 |
49 | func awaitAllResults(_ queue: DispatchQueue = .global(), concurrency: Int = DefaultConcurrency) -> [Key: Result<Value.ResultType, Error>] {
| `- error: cannot find type 'DispatchQueue' in scope
50 | let elements = Array(zip(Array(keys), values.awaitAllResults(queue, concurrency: concurrency)))
51 | return Dictionary<Key, Result<Value.ResultType, Error>>(uniqueKeysWithValues: elements)
/host/spi-builder-workspace/TaskigSource/Base/Collections.swift:60:30: error: cannot find type 'DispatchQueue' in scope
58 | }
59 |
60 | func awaitFirst(_ queue: DispatchQueue = .global(), concurrency: Int = DefaultConcurrency) -> Value.ResultType {
| `- error: cannot find type 'DispatchQueue' in scope
61 | return try! throwableTasks.awaitFirst(queue, concurrency: concurrency)
62 | }
/host/spi-builder-workspace/TaskigSource/Base/Collections.swift:64:28: error: cannot find type 'DispatchQueue' in scope
62 | }
63 |
64 | func awaitAll(_ queue: DispatchQueue = .global(), concurrency: Int = DefaultConcurrency) -> [Key: Value.ResultType] {
| `- error: cannot find type 'DispatchQueue' in scope
65 | let elements = Array(zip(Array(keys), try! throwableTasks.awaitAll(queue, concurrency: concurrency)))
66 | return Dictionary<Key, Value.ResultType>(uniqueKeysWithValues: elements)
/host/spi-builder-workspace/TaskigSource/Base/Collections.swift:73:36: error: cannot find type 'DispatchQueue' in scope
71 |
72 | public extension Sequence where Iterator.Element: ThrowableTaskType {
73 | func awaitFirstResult(_ queue: DispatchQueue = .global(), concurrency: Int = DefaultConcurrency) -> Result<Iterator.Element.ResultType, Error> {
| `- error: cannot find type 'DispatchQueue' in scope
74 | let tasks = map{$0}
75 |
/host/spi-builder-workspace/TaskigSource/Base/Collections.swift:92:35: error: cannot find type 'DispatchQueue' in scope
90 | }
91 |
92 | func awaitAllResults(_ queue: DispatchQueue = .global(), concurrency: Int = DefaultConcurrency) -> [Result<Iterator.Element.ResultType, Error>] {
| `- error: cannot find type 'DispatchQueue' in scope
93 | let tasks = map{$0}
94 |
/host/spi-builder-workspace/TaskigSource/Base/Collections.swift:98:30: error: cannot find type 'DispatchQueue' in scope
96 | }
97 |
98 | func awaitFirst(_ queue: DispatchQueue = .global(), concurrency: Int = DefaultConcurrency) throws -> Iterator.Element.ResultType {
| `- error: cannot find type 'DispatchQueue' in scope
99 | return try awaitFirstResult(queue, concurrency: concurrency).get()
100 | }
/host/spi-builder-workspace/TaskigSource/Base/Collections.swift:102:28: error: cannot find type 'DispatchQueue' in scope
100 | }
101 |
102 | func awaitAll(_ queue: DispatchQueue = .global(), concurrency: Int = DefaultConcurrency) throws -> [Iterator.Element.ResultType] {
| `- error: cannot find type 'DispatchQueue' in scope
103 | return try awaitAllResults(queue, concurrency: concurrency).map{ try $0.get() }
104 | }
/host/spi-builder-workspace/TaskigSource/Base/Collections.swift:112:30: error: cannot find type 'DispatchQueue' in scope
110 | }
111 |
112 | func awaitFirst(_ queue: DispatchQueue = .global(), concurrency: Int = DefaultConcurrency) -> Iterator.Element.ResultType {
| `- error: cannot find type 'DispatchQueue' in scope
113 | return try! throwableTasks.awaitFirst(queue)
114 | }
/host/spi-builder-workspace/TaskigSource/Base/Collections.swift:116:28: error: cannot find type 'DispatchQueue' in scope
114 | }
115 |
116 | func awaitAll(_ queue: DispatchQueue = .global(), concurrency: Int = DefaultConcurrency) -> [Iterator.Element.ResultType] {
| `- error: cannot find type 'DispatchQueue' in scope
117 | return try! throwableTasks.awaitAll(queue, concurrency: concurrency)
118 | }
/host/spi-builder-workspace/TaskigSource/Base/Collections.swift:125:40: error: cannot find type 'DispatchQueue' in scope
123 |
124 | public extension Array {
125 | func concurrentForEach<T>(_ queue: DispatchQueue, concurrency: Int, transform: @escaping (Element) -> T, completion: @escaping (T) -> ()) {
| `- error: cannot find type 'DispatchQueue' in scope
126 | let workGroup = DispatchGroup()
127 | let maxWorkItemsSemaphore = DispatchSemaphore(value: concurrency)
/host/spi-builder-workspace/TaskigSource/Base/Collections.swift:147:36: error: cannot find type 'DispatchQueue' in scope
145 | }
146 |
147 | func concurrentMap<T>(_ queue: DispatchQueue, concurrency: Int, transform: @escaping (Element) -> T) -> [T] {
| `- error: cannot find type 'DispatchQueue' in scope
148 | guard count > 0 else {
149 | return []
/host/spi-builder-workspace/TaskigSource/Base/Helpers.swift:29:18: error: cannot find type 'DispatchQueue' in scope
27 | import Foundation
28 |
29 | public extension DispatchQueue {
| `- error: cannot find type 'DispatchQueue' in scope
30 | static var userInteractive: DispatchQueue {
31 | return .global(qos: .userInteractive)
/host/spi-builder-workspace/TaskigSource/Base/Task.swift:32:32: error: cannot find type 'DispatchQueue' in scope
30 | public typealias ResultType = T
31 |
32 | public let executionQueue: DispatchQueue
| `- error: cannot find type 'DispatchQueue' in scope
33 |
34 | private let actionBlock: (@escaping resultHandler) -> Void
/host/spi-builder-workspace/TaskigSource/Base/Task.swift:36:33: error: cannot find type 'DispatchQueue' in scope
34 | private let actionBlock: (@escaping resultHandler) -> Void
35 |
36 | public init(executionQueue: DispatchQueue = .global(), action: @escaping (@escaping resultHandler) -> Void) {
| `- error: cannot find type 'DispatchQueue' in scope
37 | self.actionBlock = action
38 | self.executionQueue = executionQueue
/host/spi-builder-workspace/TaskigSource/Base/Task.swift:41:33: error: cannot find type 'DispatchQueue' in scope
39 | }
40 |
41 | public init(executionQueue: DispatchQueue = .global(), action: @escaping () -> T) {
| `- error: cannot find type 'DispatchQueue' in scope
42 | self.executionQueue = executionQueue
43 | self.actionBlock = { (completion) in
/host/spi-builder-workspace/TaskigSource/Base/TaskType.swift:33:25: error: cannot find type 'DispatchQueue' in scope
31 | typealias resultHandler = (ResultType) -> Void
32 |
33 | var executionQueue: DispatchQueue { get }
| `- error: cannot find type 'DispatchQueue' in scope
34 |
35 | func action(completion: @escaping resultHandler)
/host/spi-builder-workspace/TaskigSource/Base/Task.swift:54:39: error: cannot find type 'DispatchQueue' in scope
52 |
53 | public extension Task where T == Void {
54 | static func async(executionQueue: DispatchQueue = .global(), delayBy: TimeInterval = 0, action: @escaping () -> Void) {
| `- error: cannot find type 'DispatchQueue' in scope
55 | executionQueue.asyncAfter(deadline: .now() + delayBy, execute: action)
56 | }
/host/spi-builder-workspace/TaskigSource/Base/TaskType.swift:70:39: error: cannot find type 'DispatchQueue' in scope
68 |
69 | @discardableResult
70 | static func await(executionQueue: DispatchQueue = .global(), action: @escaping () -> ResultType) -> ResultType {
| `- error: cannot find type 'DispatchQueue' in scope
71 | return Task<ResultType>(executionQueue: executionQueue, action: action).await()
72 | }
/host/spi-builder-workspace/TaskigSource/Base/ThrowableTask.swift:32:32: error: cannot find type 'DispatchQueue' in scope
30 | public typealias ResultType = T
31 |
32 | public let executionQueue: DispatchQueue
| `- error: cannot find type 'DispatchQueue' in scope
33 |
34 | private let actionBlock: (@escaping resultHandler) -> Void
/host/spi-builder-workspace/TaskigSource/Base/ThrowableTask.swift:38:33: error: cannot find type 'DispatchQueue' in scope
36 | public var isCancelled: Bool = false
37 |
38 | public init(executionQueue: DispatchQueue = .global(), action: @escaping (@escaping resultHandler) -> Void) {
| `- error: cannot find type 'DispatchQueue' in scope
39 | self.actionBlock = action
40 | self.executionQueue = executionQueue
/host/spi-builder-workspace/TaskigSource/Base/ThrowableTask.swift:43:33: error: cannot find type 'DispatchQueue' in scope
41 | }
42 |
43 | public init(executionQueue: DispatchQueue = .global(), action: @escaping () throws -> T) {
| `- error: cannot find type 'DispatchQueue' in scope
44 | self.executionQueue = executionQueue
45 | self.actionBlock = { (completion) in
/host/spi-builder-workspace/TaskigSource/Base/ThrowableTaskType.swift:34:25: error: cannot find type 'DispatchQueue' in scope
32 | typealias resultHandler = (Result<ResultType, Error>) -> Void
33 |
34 | var executionQueue: DispatchQueue { get }
| `- error: cannot find type 'DispatchQueue' in scope
35 |
36 | func action(completion: @escaping resultHandler)
/host/spi-builder-workspace/TaskigSource/Base/ThrowableTaskType.swift:77:39: error: cannot find type 'DispatchQueue' in scope
75 |
76 | @discardableResult
77 | static func await(executionQueue: DispatchQueue = .global(), action: @escaping () throws -> ResultType) throws -> ResultType {
| `- error: cannot find type 'DispatchQueue' in scope
78 | let task = ThrowableTask<ResultType> { () -> Self.ResultType in
79 | return try action()
[9/10] Compiling Taskig Helpers.swift
/host/spi-builder-workspace/TaskigSource/Base/Helpers.swift:29:18: error: cannot find type 'DispatchQueue' in scope
27 | import Foundation
28 |
29 | public extension DispatchQueue {
| `- error: cannot find type 'DispatchQueue' in scope
30 | static var userInteractive: DispatchQueue {
31 | return .global(qos: .userInteractive)
/host/spi-builder-workspace/TaskigSource/Base/Helpers.swift:30:33: error: cannot find type 'DispatchQueue' in scope
28 |
29 | public extension DispatchQueue {
30 | static var userInteractive: DispatchQueue {
| `- error: cannot find type 'DispatchQueue' in scope
31 | return .global(qos: .userInteractive)
32 | }
/host/spi-builder-workspace/TaskigSource/Base/Helpers.swift:34:31: error: cannot find type 'DispatchQueue' in scope
32 | }
33 |
34 | static var userInitiated: DispatchQueue {
| `- error: cannot find type 'DispatchQueue' in scope
35 | return .global(qos: .userInitiated)
36 | }
/host/spi-builder-workspace/TaskigSource/Base/Helpers.swift:38:25: error: cannot find type 'DispatchQueue' in scope
36 | }
37 |
38 | static var utility: DispatchQueue {
| `- error: cannot find type 'DispatchQueue' in scope
39 | return .global(qos: .utility)
40 | }
/host/spi-builder-workspace/TaskigSource/Base/Helpers.swift:42:28: error: cannot find type 'DispatchQueue' in scope
40 | }
41 |
42 | static var background: DispatchQueue {
| `- error: cannot find type 'DispatchQueue' in scope
43 | return .global(qos: .background)
44 | }
[10/10] Compiling Taskig TaskType.swift
/host/spi-builder-workspace/TaskigSource/Base/TaskType.swift:33:25: error: cannot find type 'DispatchQueue' in scope
31 | typealias resultHandler = (ResultType) -> Void
32 |
33 | var executionQueue: DispatchQueue { get }
| `- error: cannot find type 'DispatchQueue' in scope
34 |
35 | func action(completion: @escaping resultHandler)
/host/spi-builder-workspace/TaskigSource/Base/TaskType.swift:70:39: error: cannot find type 'DispatchQueue' in scope
68 |
69 | @discardableResult
70 | static func await(executionQueue: DispatchQueue = .global(), action: @escaping () -> ResultType) -> ResultType {
| `- error: cannot find type 'DispatchQueue' in scope
71 | return Task<ResultType>(executionQueue: executionQueue, action: action).await()
72 | }
/host/spi-builder-workspace/TaskigSource/Base/TaskType.swift:44:50: error: cannot find 'Thread' in scope
42 | @discardableResult
43 | func await() -> ResultType {
44 | precondition((executionQueue == .main && Thread.isMainThread == true) == false)
| `- error: cannot find 'Thread' in scope
45 |
46 | var result: ResultType!
/host/spi-builder-workspace/TaskigSource/Base/TaskType.swift:44:42: error: cannot infer contextual base in reference to member 'main'
42 | @discardableResult
43 | func await() -> ResultType {
44 | precondition((executionQueue == .main && Thread.isMainThread == true) == false)
| `- error: cannot infer contextual base in reference to member 'main'
45 |
46 | var result: ResultType!
/host/spi-builder-workspace/TaskigSource/Base/TaskType.swift:48:21: error: cannot find 'DispatchGroup' in scope
46 | var result: ResultType!
47 |
48 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
49 | group.enter()
50 |
/host/spi-builder-workspace/TaskigSource/Base/TaskType.swift:64:46: error: cannot call value of non-function type 'Date'
62 |
63 | func async(delayBy: TimeInterval = 0, completion: @escaping resultHandler) {
64 | executionQueue.asyncAfter(deadline: .now() + delayBy) {
| `- error: cannot call value of non-function type 'Date'
65 | self.action(completion: completion)
66 | }
/host/spi-builder-workspace/TaskigSource/Base/Task.swift:36:33: error: cannot find type 'DispatchQueue' in scope
34 | private let actionBlock: (@escaping resultHandler) -> Void
35 |
36 | public init(executionQueue: DispatchQueue = .global(), action: @escaping (@escaping resultHandler) -> Void) {
| `- error: cannot find type 'DispatchQueue' in scope
37 | self.actionBlock = action
38 | self.executionQueue = executionQueue
/host/spi-builder-workspace/TaskigSource/Base/Task.swift:41:33: error: cannot find type 'DispatchQueue' in scope
39 | }
40 |
41 | public init(executionQueue: DispatchQueue = .global(), action: @escaping () -> T) {
| `- error: cannot find type 'DispatchQueue' in scope
42 | self.executionQueue = executionQueue
43 | self.actionBlock = { (completion) in
BUILD FAILURE 6.3 wasm