The Swift Package Index logo.Swift Package Index

Build Information

Failed to build PinkyPromise, reference 0.7.1 (af9e40), with Swift 6.1 for Wasm on 28 May 2025 12:34:22 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
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.1
Building package at path:  $PWD
https://github.com/willowtreeapps/PinkyPromise.git
https://github.com/willowtreeapps/PinkyPromise.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "PinkyPromise",
  "name" : "PinkyPromise",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "PinkyPromise",
      "targets" : [
        "PinkyPromise"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "PinkyPromiseTests",
      "module_type" : "SwiftTarget",
      "name" : "PinkyPromiseTests",
      "path" : "Tests",
      "sources" : [
        "PinkyPromiseTests/PromiseQueueTest.swift",
        "PinkyPromiseTests/PromiseTest.swift",
        "PinkyPromiseTests/ResultTest.swift",
        "PinkyPromiseTests/TestHelpers.swift"
      ],
      "target_dependencies" : [
        "PinkyPromise"
      ],
      "type" : "test"
    },
    {
      "c99name" : "PinkyPromise",
      "module_type" : "SwiftTarget",
      "name" : "PinkyPromise",
      "path" : "Sources",
      "product_memberships" : [
        "PinkyPromise"
      ],
      "sources" : [
        "Promise.swift",
        "PromiseQueue.swift",
        "Result.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/6] Compiling PinkyPromise Result.swift
[4/6] Compiling PinkyPromise PromiseQueue.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[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 |         }
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/5] Compiling PinkyPromise PromiseQueue.swift
[3/5] Compiling PinkyPromise Result.swift
[4/5] 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;
[5/5] 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.1 wasm