Build Information
Failed to build PinkyPromise, reference 0.7.1 (af9e40), with Swift 6.3 for Wasm on 13 Apr 2026 12:15:02 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-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/willowtreeapps/PinkyPromise.git
Reference: 0.7.1
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/willowtreeapps/PinkyPromise
* tag 0.7.1 -> FETCH_HEAD
HEAD is now at af9e406 Merge pull request #84 from willowtreeapps/chore/update-version
Cloned https://github.com/willowtreeapps/PinkyPromise.git
Revision (git rev-parse @):
af9e406a0275fdfeebe3642c40bb82a7ef260338
SUCCESS checkout https://github.com/willowtreeapps/PinkyPromise.git at 0.7.1
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/willowtreeapps/PinkyPromise.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/6] Compiling PinkyPromise PromiseQueue.swift
[4/6] Compiling PinkyPromise Result.swift
[5/6] Emitting module PinkyPromise
/host/spi-builder-workspace/Sources/Promise.swift:235:42: error: cannot find type 'DispatchGroup' in scope
233 | The dispatch group task begins when the resulting promise is called. It ends after the promise produces its value.
234 | */
235 | public func inDispatchGroup(_ group: DispatchGroup) -> Promise<Value> {
| `- error: cannot find type 'DispatchGroup' in scope
236 | return Promise { fulfill in
237 | var fulfilled = false;
[6/6] Compiling PinkyPromise Promise.swift
/host/spi-builder-workspace/Sources/Promise.swift:235:42: error: cannot find type 'DispatchGroup' in scope
233 | The dispatch group task begins when the resulting promise is called. It ends after the promise produces its value.
234 | */
235 | public func inDispatchGroup(_ group: DispatchGroup) -> Promise<Value> {
| `- error: cannot find type 'DispatchGroup' in scope
236 | return Promise { fulfill in
237 | var fulfilled = false;
/host/spi-builder-workspace/Sources/Promise.swift:217:13: error: cannot find 'DispatchQueue' in scope
215 | public func inBackground() -> Promise<Value> {
216 | return Promise { fulfill in
217 | DispatchQueue.global().async {
| `- error: cannot find 'DispatchQueue' in scope
218 | self.call { result in
219 | DispatchQueue.main.async {
/host/spi-builder-workspace/Sources/Promise.swift:219:21: error: cannot find 'DispatchQueue' in scope
217 | DispatchQueue.global().async {
218 | self.call { result in
219 | DispatchQueue.main.async {
| `- error: cannot find 'DispatchQueue' in scope
220 | fulfill(result)
221 | }
/host/spi-builder-workspace/Sources/Promise.swift:238:38: error: cannot find 'DispatchQueue' in scope
236 | return Promise { fulfill in
237 | var fulfilled = false;
238 | let fulfillmentBarrier = DispatchQueue(label: "ThreadSafeFulfillment.queue", attributes: .concurrent)
| `- error: cannot find 'DispatchQueue' in scope
239 | group.enter()
240 | self.call { result in
/host/spi-builder-workspace/Sources/Promise.swift:238:103: error: cannot infer contextual base in reference to member 'concurrent'
236 | return Promise { fulfill in
237 | var fulfilled = false;
238 | let fulfillmentBarrier = DispatchQueue(label: "ThreadSafeFulfillment.queue", attributes: .concurrent)
| `- error: cannot infer contextual base in reference to member 'concurrent'
239 | group.enter()
240 | self.call { result in
/host/spi-builder-workspace/Sources/Promise.swift:335:21: error: cannot find 'DispatchGroup' in scope
333 | public func zip<A, B>(_ promiseA: Promise<A>, _ promiseB: Promise<B>) -> Promise<(A, B)> {
334 | return Promise { fulfill in
335 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
336 |
337 | var resultA = Result<A, Error> { throw PromiseError.unfulfilledZipPromise(atIndex: 0) }
/host/spi-builder-workspace/Sources/Promise.swift:348:29: error: cannot find 'DispatchQueue' in scope
346 | }
347 |
348 | group.notify(queue: DispatchQueue.main) {
| `- error: cannot find 'DispatchQueue' in scope
349 | fulfill(zip(resultA, resultB))
350 | }
/host/spi-builder-workspace/Sources/Promise.swift:366:21: error: cannot find 'DispatchGroup' in scope
364 | public func zip<A, B, C>(_ promiseA: Promise<A>, _ promiseB: Promise<B>, _ promiseC: Promise<C>) -> Promise<(A, B, C)> {
365 | return Promise { fulfill in
366 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
367 |
368 | var resultA = Result<A, Error> { throw PromiseError.unfulfilledZipPromise(atIndex: 0) }
/host/spi-builder-workspace/Sources/Promise.swift:384:29: error: cannot find 'DispatchQueue' in scope
382 | }
383 |
384 | group.notify(queue: DispatchQueue.main) {
| `- error: cannot find 'DispatchQueue' in scope
385 | fulfill(zip(resultA, resultB, resultC))
386 | }
/host/spi-builder-workspace/Sources/Promise.swift:403:21: error: cannot find 'DispatchGroup' in scope
401 | public func zip<A, B, C, D>(_ promiseA: Promise<A>, _ promiseB: Promise<B>, _ promiseC: Promise<C>, _ promiseD: Promise<D>) -> Promise<(A, B, C, D)> {
402 | return Promise { fulfill in
403 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
404 |
405 | var resultA = Result<A, Error> { throw PromiseError.unfulfilledZipPromise(atIndex: 0) }
/host/spi-builder-workspace/Sources/Promise.swift:426:29: error: cannot find 'DispatchQueue' in scope
424 | }
425 |
426 | group.notify(queue: DispatchQueue.main) {
| `- error: cannot find 'DispatchQueue' in scope
427 | fulfill(zip(resultA, resultB, resultC, resultD))
428 | }
/host/spi-builder-workspace/Sources/Promise.swift:442:21: error: cannot find 'DispatchGroup' in scope
440 | public func zipArray<T>(_ promises: [Promise<T>]) -> Promise<[T]> {
441 | return Promise { fulfill in
442 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
443 |
444 | var results: [Result<T, Error>] = Array( (0..<promises.count).lazy.map { (index) in
/host/spi-builder-workspace/Sources/Promise.swift:447:40: error: cannot find 'DispatchQueue' in scope
445 | Result { throw PromiseError.unfulfilledZipPromise(atIndex: index) }
446 | })
447 | let resultsArrayBarrierQueue = DispatchQueue(label: "ThreadSafeResultsArray.queue", attributes: .concurrent)
| `- error: cannot find 'DispatchQueue' in scope
448 |
449 |
/host/spi-builder-workspace/Sources/Promise.swift:458:29: error: cannot find 'DispatchQueue' in scope
456 | }
457 |
458 | group.notify(queue: DispatchQueue.main) {
| `- error: cannot find 'DispatchQueue' in scope
459 | fulfill(zipArray(results))
460 | }
BUILD FAILURE 6.3 wasm