The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build Fuse, reference master (26ba86), with Swift 6.1 for Wasm on 27 May 2025 14:31:09 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/krisk/fuse-swift.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/krisk/fuse-swift
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 26ba868 Updated version
Cloned https://github.com/krisk/fuse-swift.git
Revision (git rev-parse @):
26ba868691b2d8b7bf2b1322951eb591be70ccca
SUCCESS checkout https://github.com/krisk/fuse-swift.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/krisk/fuse-swift.git
https://github.com/krisk/fuse-swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Fuse",
  "name" : "Fuse",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "8.0"
    },
    {
      "name" : "macos",
      "version" : "10.13"
    }
  ],
  "products" : [
    {
      "name" : "Fuse",
      "targets" : [
        "Fuse"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "Fuse",
      "module_type" : "SwiftTarget",
      "name" : "Fuse",
      "path" : "Fuse",
      "product_memberships" : [
        "Fuse"
      ],
      "sources" : [
        "Classes/Fuse.swift",
        "Classes/FuseUtilities.swift",
        "Classes/String+Fuse.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/6] Compiling Fuse FuseUtilities.swift
[4/6] Compiling Fuse String+Fuse.swift
[5/6] Emitting module Fuse
/host/spi-builder-workspace/Fuse/Classes/Fuse.swift:51:39: error: cannot find type 'DispatchQueue' in scope
 49 |     )
 50 |
 51 |     fileprivate lazy var searchQueue: DispatchQueue = { [unowned self] in
    |                                       `- error: cannot find type 'DispatchQueue' in scope
 52 |         let label = "fuse.search.queue"
 53 |         return DispatchQueue(label: label, attributes: .concurrent)
[6/6] Compiling Fuse Fuse.swift
/host/spi-builder-workspace/Fuse/Classes/Fuse.swift:51:39: error: cannot find type 'DispatchQueue' in scope
 49 |     )
 50 |
 51 |     fileprivate lazy var searchQueue: DispatchQueue = { [unowned self] in
    |                                       `- error: cannot find type 'DispatchQueue' in scope
 52 |         let label = "fuse.search.queue"
 53 |         return DispatchQueue(label: label, attributes: .concurrent)
/host/spi-builder-workspace/Fuse/Classes/Fuse.swift:357:26: error: cannot find 'DispatchQueue' in scope
355 |         // This label is non-unique but that should be fine as we don't expect
356 |         // to need to debug work items running on this queue.
357 |         let itemsQueue = DispatchQueue(label: "fuse.items.queue")
    |                          `- error: cannot find 'DispatchQueue' in scope
358 |
359 |         let group = DispatchGroup()
/host/spi-builder-workspace/Fuse/Classes/Fuse.swift:359:21: error: cannot find 'DispatchGroup' in scope
357 |         let itemsQueue = DispatchQueue(label: "fuse.items.queue")
358 |
359 |         let group = DispatchGroup()
    |                     `- error: cannot find 'DispatchGroup' in scope
360 |         let count = aList.count
361 |
/host/spi-builder-workspace/Fuse/Classes/Fuse.swift:385:13: error: cannot find 'DispatchQueue' in scope
383 |             // there's no longer concurrent access at this point.
384 |             let sorted = items.sorted { $0.score < $1.score }
385 |             DispatchQueue.main.async {
    |             `- error: cannot find 'DispatchQueue' in scope
386 |                 completion(sorted)
387 |             }
/host/spi-builder-workspace/Fuse/Classes/Fuse.swift:505:21: error: cannot find 'DispatchGroup' in scope
503 |         let pattern = self.createPattern(from: text)
504 |
505 |         let group = DispatchGroup()
    |                     `- error: cannot find 'DispatchGroup' in scope
506 |         let count = aList.count
507 |
/host/spi-builder-workspace/Fuse/Classes/Fuse.swift:513:37: error: cannot find 'DispatchQueue' in scope
511 |         // This label is non-unique but that should be fine as we don't expect
512 |         // to need to debug work items running on this queue.
513 |         let collectionResultQueue = DispatchQueue(label: "fuse.result.queue")
    |                                     `- error: cannot find 'DispatchQueue' in scope
514 |
515 |         stride(from: 0, to: count, by: chunkSize).forEach { offset in
/host/spi-builder-workspace/Fuse/Classes/Fuse.swift:564:13: error: cannot find 'DispatchQueue' in scope
562 |             // there's no longer concurrent access at this point.
563 |             let sorted = collectionResult.sorted { $0.score < $1.score }
564 |             DispatchQueue.main.async {
    |             `- error: cannot find 'DispatchQueue' in scope
565 |                 completion(sorted)
566 |             }
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
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
[2/5] Compiling Fuse String+Fuse.swift
[3/5] Compiling Fuse FuseUtilities.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/5] Emitting module Fuse
/host/spi-builder-workspace/Fuse/Classes/Fuse.swift:51:39: error: cannot find type 'DispatchQueue' in scope
 49 |     )
 50 |
 51 |     fileprivate lazy var searchQueue: DispatchQueue = { [unowned self] in
    |                                       `- error: cannot find type 'DispatchQueue' in scope
 52 |         let label = "fuse.search.queue"
 53 |         return DispatchQueue(label: label, attributes: .concurrent)
[5/5] Compiling Fuse Fuse.swift
/host/spi-builder-workspace/Fuse/Classes/Fuse.swift:51:39: error: cannot find type 'DispatchQueue' in scope
 49 |     )
 50 |
 51 |     fileprivate lazy var searchQueue: DispatchQueue = { [unowned self] in
    |                                       `- error: cannot find type 'DispatchQueue' in scope
 52 |         let label = "fuse.search.queue"
 53 |         return DispatchQueue(label: label, attributes: .concurrent)
/host/spi-builder-workspace/Fuse/Classes/Fuse.swift:357:26: error: cannot find 'DispatchQueue' in scope
355 |         // This label is non-unique but that should be fine as we don't expect
356 |         // to need to debug work items running on this queue.
357 |         let itemsQueue = DispatchQueue(label: "fuse.items.queue")
    |                          `- error: cannot find 'DispatchQueue' in scope
358 |
359 |         let group = DispatchGroup()
/host/spi-builder-workspace/Fuse/Classes/Fuse.swift:359:21: error: cannot find 'DispatchGroup' in scope
357 |         let itemsQueue = DispatchQueue(label: "fuse.items.queue")
358 |
359 |         let group = DispatchGroup()
    |                     `- error: cannot find 'DispatchGroup' in scope
360 |         let count = aList.count
361 |
/host/spi-builder-workspace/Fuse/Classes/Fuse.swift:385:13: error: cannot find 'DispatchQueue' in scope
383 |             // there's no longer concurrent access at this point.
384 |             let sorted = items.sorted { $0.score < $1.score }
385 |             DispatchQueue.main.async {
    |             `- error: cannot find 'DispatchQueue' in scope
386 |                 completion(sorted)
387 |             }
/host/spi-builder-workspace/Fuse/Classes/Fuse.swift:505:21: error: cannot find 'DispatchGroup' in scope
503 |         let pattern = self.createPattern(from: text)
504 |
505 |         let group = DispatchGroup()
    |                     `- error: cannot find 'DispatchGroup' in scope
506 |         let count = aList.count
507 |
/host/spi-builder-workspace/Fuse/Classes/Fuse.swift:513:37: error: cannot find 'DispatchQueue' in scope
511 |         // This label is non-unique but that should be fine as we don't expect
512 |         // to need to debug work items running on this queue.
513 |         let collectionResultQueue = DispatchQueue(label: "fuse.result.queue")
    |                                     `- error: cannot find 'DispatchQueue' in scope
514 |
515 |         stride(from: 0, to: count, by: chunkSize).forEach { offset in
/host/spi-builder-workspace/Fuse/Classes/Fuse.swift:564:13: error: cannot find 'DispatchQueue' in scope
562 |             // there's no longer concurrent access at this point.
563 |             let sorted = collectionResult.sorted { $0.score < $1.score }
564 |             DispatchQueue.main.async {
    |             `- error: cannot find 'DispatchQueue' in scope
565 |                 completion(sorted)
566 |             }
BUILD FAILURE 6.1 wasm