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 QSH, reference master (bb1a56), with Swift 6.1 for Wasm on 27 May 2025 20:09:15 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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/rwbutler/QSH.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/rwbutler/QSH
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at bb1a56b Merge pull request #1 from rwbutler/add-license-1
Cloned https://github.com/rwbutler/QSH.git
Revision (git rev-parse @):
bb1a56b55d638317636183cd64ad8a4139064387
SUCCESS checkout https://github.com/rwbutler/QSH.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/rwbutler/QSH.git
https://github.com/rwbutler/QSH.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.2.1",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    },
    {
      "identity" : "shellout",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.3.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/JohnSundell/ShellOut"
    },
    {
      "identity" : "swift-quiz",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.0.1",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/rwbutler/swift-quiz"
    }
  ],
  "manifest_display_name" : "QSH",
  "name" : "QSH",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.13"
    }
  ],
  "products" : [
    {
      "name" : "qsh",
      "targets" : [
        "QSH"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "QSH",
      "module_type" : "SwiftTarget",
      "name" : "QSH",
      "path" : "code",
      "product_dependencies" : [
        "ArgumentParser",
        "ShellOut",
        "SwiftQuiz"
      ],
      "product_memberships" : [
        "qsh"
      ],
      "sources" : [
        "main.swift",
        "parsing/KeyDecodingStrategyAdditions.swift",
        "parsing/PackageQuiz.swift",
        "parsing/PlayQuiz.swift",
        "parsing/QSH.swift",
        "parsing/URLAdditions.swift",
        "services/QuizServicesAdditions.swift",
        "services/images/definition/ImagesService.swift",
        "services/images/implementation/CommandLineImagesService.swift"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/JohnSundell/ShellOut
Fetching https://github.com/rwbutler/swift-quiz
[1/256] Fetching swift-quiz
[257/1216] Fetching swift-quiz, shellout
Fetched https://github.com/rwbutler/swift-quiz from cache (0.26s)
Fetched https://github.com/JohnSundell/ShellOut from cache (0.26s)
[1/15351] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (0.82s)
Computing version for https://github.com/JohnSundell/ShellOut
Computed https://github.com/JohnSundell/ShellOut at 2.3.0 (2.87s)
Computing version for https://github.com/rwbutler/swift-quiz
Computed https://github.com/rwbutler/swift-quiz at 0.1.0 (0.56s)
Fetching https://github.com/rwbutler/LetterCase
Fetching https://github.com/krisk/fuse-swift
Fetching https://github.com/rwbutler/Hash
[1/285] Fetching hash
[286/976] Fetching hash, fuse-swift
[293/1293] Fetching hash, fuse-swift, lettercase
Fetched https://github.com/rwbutler/Hash from cache (0.23s)
Fetched https://github.com/krisk/fuse-swift from cache (0.24s)
Fetched https://github.com/rwbutler/LetterCase from cache (0.24s)
Computing version for https://github.com/krisk/fuse-swift
Computed https://github.com/krisk/fuse-swift at 1.4.0 (0.75s)
Computing version for https://github.com/rwbutler/Hash
Computed https://github.com/rwbutler/Hash at 1.5.0 (0.49s)
Computing version for https://github.com/rwbutler/LetterCase
Computed https://github.com/rwbutler/LetterCase at 1.6.1 (0.58s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.5.0 (0.65s)
Creating working copy for https://github.com/rwbutler/Hash
Working copy of https://github.com/rwbutler/Hash resolved at 1.5.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 0.5.0
Creating working copy for https://github.com/rwbutler/LetterCase
Working copy of https://github.com/rwbutler/LetterCase resolved at 1.6.1
Creating working copy for https://github.com/rwbutler/swift-quiz
Working copy of https://github.com/rwbutler/swift-quiz resolved at 0.1.0
Creating working copy for https://github.com/JohnSundell/ShellOut
Working copy of https://github.com/JohnSundell/ShellOut resolved at 2.3.0
Creating working copy for https://github.com/krisk/fuse-swift
Working copy of https://github.com/krisk/fuse-swift resolved at 1.4.0
Building for debugging...
[0/19] Write sources
[8/19] Write swift-version-24593BA9C3E375BF.txt
[10/42] Compiling ArgumentParserToolInfo ToolInfo.swift
[11/42] Emitting module ArgumentParserToolInfo
[12/43] Wrapping AST for ArgumentParserToolInfo for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[14/77] Emitting module ArgumentParser
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
 59 |
 60 |   /// An exit code that indicates successful completion of a command.
 61 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:64:40: error: cannot find 'EXIT_FAILURE' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
 64 |   public static let failure = ExitCode(EXIT_FAILURE)
    |                                        `- error: cannot find 'EXIT_FAILURE' in scope
 65 |
 66 |   /// An exit code that indicates that the user provided invalid input.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
 68 |   public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
 69 | #else
 70 |   public static let validationFailure = ExitCode(EX_USAGE)
    |                                                  `- error: cannot find 'EX_USAGE' in scope
 71 | #endif
 72 |
[15/77] Compiling ArgumentParser BashCompletionsGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Completions/CompletionsGenerator.swift:49:26: error: cannot find 'getenv' in scope
 47 | #else
 48 |     // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
 49 |     guard let shellVar = getenv("SHELL") else { return nil }
    |                          `- error: cannot find 'getenv' in scope
 50 |     let shellParts = String(cString: shellVar).split(separator: "/")
 51 |     return CompletionShell(rawValue: String(shellParts.last ?? ""))
[16/77] Compiling ArgumentParser CompletionsGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Completions/CompletionsGenerator.swift:49:26: error: cannot find 'getenv' in scope
 47 | #else
 48 |     // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
 49 |     guard let shellVar = getenv("SHELL") else { return nil }
    |                          `- error: cannot find 'getenv' in scope
 50 |     let shellParts = String(cString: shellVar).split(separator: "/")
 51 |     return CompletionShell(rawValue: String(shellParts.last ?? ""))
[17/77] Compiling ArgumentParser FishCompletionsGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Completions/CompletionsGenerator.swift:49:26: error: cannot find 'getenv' in scope
 47 | #else
 48 |     // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
 49 |     guard let shellVar = getenv("SHELL") else { return nil }
    |                          `- error: cannot find 'getenv' in scope
 50 |     let shellParts = String(cString: shellVar).split(separator: "/")
 51 |     return CompletionShell(rawValue: String(shellParts.last ?? ""))
[18/77] Compiling ArgumentParser ZshCompletionsGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Completions/CompletionsGenerator.swift:49:26: error: cannot find 'getenv' in scope
 47 | #else
 48 |     // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
 49 |     guard let shellVar = getenv("SHELL") else { return nil }
    |                          `- error: cannot find 'getenv' in scope
 50 |     let shellParts = String(cString: shellVar).split(separator: "/")
 51 |     return CompletionShell(rawValue: String(shellParts.last ?? ""))
[19/77] Compiling ArgumentParser Argument.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Completions/CompletionsGenerator.swift:49:26: error: cannot find 'getenv' in scope
 47 | #else
 48 |     // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
 49 |     guard let shellVar = getenv("SHELL") else { return nil }
    |                          `- error: cannot find 'getenv' in scope
 50 |     let shellParts = String(cString: shellVar).split(separator: "/")
 51 |     return CompletionShell(rawValue: String(shellParts.last ?? ""))
[20/81] Compiling ArgumentParser ArgumentHelp.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
 59 |
 60 |   /// An exit code that indicates successful completion of a command.
 61 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:64:40: error: cannot find 'EXIT_FAILURE' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
 64 |   public static let failure = ExitCode(EXIT_FAILURE)
    |                                        `- error: cannot find 'EXIT_FAILURE' in scope
 65 |
 66 |   /// An exit code that indicates that the user provided invalid input.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
 68 |   public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
 69 | #else
 70 |   public static let validationFailure = ExitCode(EX_USAGE)
    |                                                  `- error: cannot find 'EX_USAGE' in scope
 71 | #endif
 72 |
[21/81] Compiling ArgumentParser CompletionKind.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
 59 |
 60 |   /// An exit code that indicates successful completion of a command.
 61 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:64:40: error: cannot find 'EXIT_FAILURE' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
 64 |   public static let failure = ExitCode(EXIT_FAILURE)
    |                                        `- error: cannot find 'EXIT_FAILURE' in scope
 65 |
 66 |   /// An exit code that indicates that the user provided invalid input.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
 68 |   public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
 69 | #else
 70 |   public static let validationFailure = ExitCode(EX_USAGE)
    |                                                  `- error: cannot find 'EX_USAGE' in scope
 71 | #endif
 72 |
[22/81] Compiling ArgumentParser Errors.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
 59 |
 60 |   /// An exit code that indicates successful completion of a command.
 61 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:64:40: error: cannot find 'EXIT_FAILURE' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
 64 |   public static let failure = ExitCode(EXIT_FAILURE)
    |                                        `- error: cannot find 'EXIT_FAILURE' in scope
 65 |
 66 |   /// An exit code that indicates that the user provided invalid input.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
 68 |   public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
 69 | #else
 70 |   public static let validationFailure = ExitCode(EX_USAGE)
    |                                                  `- error: cannot find 'EX_USAGE' in scope
 71 | #endif
 72 |
[23/81] Compiling ArgumentParser Flag.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
 59 |
 60 |   /// An exit code that indicates successful completion of a command.
 61 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:64:40: error: cannot find 'EXIT_FAILURE' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
 64 |   public static let failure = ExitCode(EXIT_FAILURE)
    |                                        `- error: cannot find 'EXIT_FAILURE' in scope
 65 |
 66 |   /// An exit code that indicates that the user provided invalid input.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
 68 |   public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
 69 | #else
 70 |   public static let validationFailure = ExitCode(EX_USAGE)
    |                                                  `- error: cannot find 'EX_USAGE' in scope
 71 | #endif
 72 |
[24/81] Compiling ArgumentParser NameSpecification.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
 59 |
 60 |   /// An exit code that indicates successful completion of a command.
 61 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:64:40: error: cannot find 'EXIT_FAILURE' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
 64 |   public static let failure = ExitCode(EXIT_FAILURE)
    |                                        `- error: cannot find 'EXIT_FAILURE' in scope
 65 |
 66 |   /// An exit code that indicates that the user provided invalid input.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
 68 |   public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
 69 | #else
 70 |   public static let validationFailure = ExitCode(EX_USAGE)
    |                                                  `- error: cannot find 'EX_USAGE' in scope
 71 | #endif
 72 |
[25/81] Compiling ArgumentParser Option.swift
[26/81] Compiling ArgumentParser OptionGroup.swift
[27/81] Compiling ArgumentParser CommandConfiguration.swift
[28/81] Compiling ArgumentParser EnumerableFlag.swift
[29/81] Compiling ArgumentParser ExpressibleByArgument.swift
[30/81] Compiling Fuse String+Fuse.swift
[31/81] Compiling Fuse FuseUtilities.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[32/81] Emitting module ShellOut
/host/spi-builder-workspace/.build/checkouts/ShellOut/Sources/ShellOut.swift:8:8: error: no such module 'Dispatch'
  6 |
  7 | import Foundation
  8 | import Dispatch
    |        `- error: no such module 'Dispatch'
  9 |
 10 | // MARK: - API
[33/81] Compiling ShellOut ShellOut.swift
/host/spi-builder-workspace/.build/checkouts/ShellOut/Sources/ShellOut.swift:8:8: error: no such module 'Dispatch'
  6 |
  7 | import Foundation
  8 | import Dispatch
    |        `- error: no such module 'Dispatch'
  9 |
 10 | // MARK: - API
[34/81] Compiling LetterCase StringAdditions.swift
[35/81] Emitting module LetterCase
error: emit-module command failed with exit code 1 (use -v to see invocation)
[36/81] Emitting module Hash
/host/spi-builder-workspace/.build/checkouts/Hash/Hash/Classes/Cryptography/Cryptable.swift:9:8: error: no such module 'CommonCrypto'
 7 |
 8 | import Foundation
 9 | import CommonCrypto
   |        `- error: no such module 'CommonCrypto'
10 |
11 | protocol Cryptable: class {
[37/81] Compiling Hash Hash.swift
/host/spi-builder-workspace/.build/checkouts/Hash/Hash/Classes/Cryptography/Cryptable.swift:9:8: error: no such module 'CommonCrypto'
 7 |
 8 | import Foundation
 9 | import CommonCrypto
   |        `- error: no such module 'CommonCrypto'
10 |
11 | protocol Cryptable: class {
[38/82] Compiling LetterCase LetterCaseOptions.swift
[39/82] Compiling Hash StringRepresentable.swift
/host/spi-builder-workspace/.build/checkouts/Hash/Hash/Classes/Cryptography/Cryptable.swift:9:8: error: no such module 'CommonCrypto'
 7 |
 8 | import Foundation
 9 | import CommonCrypto
   |        `- error: no such module 'CommonCrypto'
10 |
11 | protocol Cryptable: class {
[40/82] Compiling Hash HashAlgorithm.swift
/host/spi-builder-workspace/.build/checkouts/Hash/Hash/Classes/Cryptography/Cryptable.swift:9:8: error: no such module 'CommonCrypto'
 7 |
 8 | import Foundation
 9 | import CommonCrypto
   |        `- error: no such module 'CommonCrypto'
10 |
11 | protocol Cryptable: class {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[41/82] Emitting module Fuse
/host/spi-builder-workspace/.build/checkouts/fuse-swift/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)
[42/82] Compiling Fuse Fuse.swift
/host/spi-builder-workspace/.build/checkouts/fuse-swift/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/.build/checkouts/fuse-swift/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/.build/checkouts/fuse-swift/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/.build/checkouts/fuse-swift/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/.build/checkouts/fuse-swift/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/.build/checkouts/fuse-swift/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/.build/checkouts/fuse-swift/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 |             }
[43/82] Compiling ArgumentParser HelpCommand.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:358:11: error: cannot find 'winsize' in scope
356 |           height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
357 | #else
358 |   var w = winsize()
    |           `- error: cannot find 'winsize' in scope
359 | #if os(OpenBSD)
360 |   // TIOCGWINSZ is a complex macro, so we need the flattened value.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:364:13: error: cannot find 'ioctl' in scope
362 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
363 | #else
364 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |             `- error: cannot find 'ioctl' in scope
365 | #endif
366 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:364:19: error: cannot find 'STDOUT_FILENO' in scope
362 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
363 | #else
364 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                   `- error: cannot find 'STDOUT_FILENO' in scope
365 | #endif
366 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:364:34: error: cannot find 'TIOCGWINSZ' in scope
362 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
363 | #else
364 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                                  `- error: cannot find 'TIOCGWINSZ' in scope
365 | #endif
366 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
 59 |
 60 |   /// An exit code that indicates successful completion of a command.
 61 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
 68 |   public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
 69 | #else
 70 |   public static let validationFailure = ExitCode(EX_USAGE)
    |                                                  `- error: cannot find 'EX_USAGE' in scope
 71 | #endif
 72 |
[44/82] Compiling ArgumentParser HelpGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:358:11: error: cannot find 'winsize' in scope
356 |           height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
357 | #else
358 |   var w = winsize()
    |           `- error: cannot find 'winsize' in scope
359 | #if os(OpenBSD)
360 |   // TIOCGWINSZ is a complex macro, so we need the flattened value.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:364:13: error: cannot find 'ioctl' in scope
362 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
363 | #else
364 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |             `- error: cannot find 'ioctl' in scope
365 | #endif
366 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:364:19: error: cannot find 'STDOUT_FILENO' in scope
362 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
363 | #else
364 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                   `- error: cannot find 'STDOUT_FILENO' in scope
365 | #endif
366 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:364:34: error: cannot find 'TIOCGWINSZ' in scope
362 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
363 | #else
364 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                                  `- error: cannot find 'TIOCGWINSZ' in scope
365 | #endif
366 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
 59 |
 60 |   /// An exit code that indicates successful completion of a command.
 61 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
 68 |   public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
 69 | #else
 70 |   public static let validationFailure = ExitCode(EX_USAGE)
    |                                                  `- error: cannot find 'EX_USAGE' in scope
 71 | #endif
 72 |
[45/82] Compiling ArgumentParser MessageInfo.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:358:11: error: cannot find 'winsize' in scope
356 |           height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
357 | #else
358 |   var w = winsize()
    |           `- error: cannot find 'winsize' in scope
359 | #if os(OpenBSD)
360 |   // TIOCGWINSZ is a complex macro, so we need the flattened value.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:364:13: error: cannot find 'ioctl' in scope
362 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
363 | #else
364 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |             `- error: cannot find 'ioctl' in scope
365 | #endif
366 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:364:19: error: cannot find 'STDOUT_FILENO' in scope
362 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
363 | #else
364 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                   `- error: cannot find 'STDOUT_FILENO' in scope
365 | #endif
366 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:364:34: error: cannot find 'TIOCGWINSZ' in scope
362 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
363 | #else
364 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                                  `- error: cannot find 'TIOCGWINSZ' in scope
365 | #endif
366 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
 59 |
 60 |   /// An exit code that indicates successful completion of a command.
 61 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
 68 |   public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
 69 | #else
 70 |   public static let validationFailure = ExitCode(EX_USAGE)
    |                                                  `- error: cannot find 'EX_USAGE' in scope
 71 | #endif
 72 |
[46/82] Compiling ArgumentParser UsageGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:358:11: error: cannot find 'winsize' in scope
356 |           height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
357 | #else
358 |   var w = winsize()
    |           `- error: cannot find 'winsize' in scope
359 | #if os(OpenBSD)
360 |   // TIOCGWINSZ is a complex macro, so we need the flattened value.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:364:13: error: cannot find 'ioctl' in scope
362 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
363 | #else
364 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |             `- error: cannot find 'ioctl' in scope
365 | #endif
366 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:364:19: error: cannot find 'STDOUT_FILENO' in scope
362 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
363 | #else
364 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                   `- error: cannot find 'STDOUT_FILENO' in scope
365 | #endif
366 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:364:34: error: cannot find 'TIOCGWINSZ' in scope
362 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
363 | #else
364 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                                  `- error: cannot find 'TIOCGWINSZ' in scope
365 | #endif
366 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
 59 |
 60 |   /// An exit code that indicates successful completion of a command.
 61 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
 68 |   public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
 69 | #else
 70 |   public static let validationFailure = ExitCode(EX_USAGE)
    |                                                  `- error: cannot find 'EX_USAGE' in scope
 71 | #endif
 72 |
[47/82] Compiling LetterCase LetterCase.swift
[48/82] Compiling Hash HMAC.swift
/host/spi-builder-workspace/.build/checkouts/Hash/Hash/Classes/Cryptography/Cryptable.swift:9:8: error: no such module 'CommonCrypto'
 7 |
 8 | import Foundation
 9 | import CommonCrypto
   |        `- error: no such module 'CommonCrypto'
10 |
11 | protocol Cryptable: class {
/host/spi-builder-workspace/.build/checkouts/Hash/Hash/Classes/Cryptography/Cryptable.swift:9:8: error: no such module 'CommonCrypto'
 7 |
 8 | import Foundation
 9 | import CommonCrypto
   |        `- error: no such module 'CommonCrypto'
10 |
11 | protocol Cryptable: class {
/host/spi-builder-workspace/.build/checkouts/Hash/Hash/Classes/Cryptography/Cryptable.swift:9:8: error: no such module 'CommonCrypto'
 7 |
 8 | import Foundation
 9 | import CommonCrypto
   |        `- error: no such module 'CommonCrypto'
10 |
11 | protocol Cryptable: class {
/host/spi-builder-workspace/.build/checkouts/Hash/Hash/Classes/Cryptography/Cryptable.swift:9:8: error: no such module 'CommonCrypto'
 7 |
 8 | import Foundation
 9 | import CommonCrypto
   |        `- error: no such module 'CommonCrypto'
10 |
11 | protocol Cryptable: class {
/host/spi-builder-workspace/.build/checkouts/Hash/Hash/Classes/Cryptography/Cryptable.swift:9:8: error: no such module 'CommonCrypto'
 7 |
 8 | import Foundation
 9 | import CommonCrypto
   |        `- error: no such module 'CommonCrypto'
10 |
11 | protocol Cryptable: class {
[53/82] Compiling LetterCase KeyDecodingStrategyAdditions.swift
[54/82] Compiling Hash StringAdditions.swift
/host/spi-builder-workspace/.build/checkouts/Hash/Hash/Classes/Cryptography/Cryptable.swift:9:8: error: no such module 'CommonCrypto'
 7 |
 8 | import Foundation
 9 | import CommonCrypto
   |        `- error: no such module 'CommonCrypto'
10 |
11 | protocol Cryptable: class {
[55/82] Compiling Hash DataAdditions.swift
/host/spi-builder-workspace/.build/checkouts/Hash/Hash/Classes/Cryptography/Cryptable.swift:9:8: error: no such module 'CommonCrypto'
 7 |
 8 | import Foundation
 9 | import CommonCrypto
   |        `- error: no such module 'CommonCrypto'
10 |
11 | protocol Cryptable: class {
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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: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/11] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/24] Emitting module Fuse
/host/spi-builder-workspace/.build/checkouts/fuse-swift/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)
[3/31] Compiling Fuse String+Fuse.swift
[4/34] Compiling Fuse FuseUtilities.swift
[5/34] Compiling Hash StringAdditions.swift
/host/spi-builder-workspace/.build/checkouts/Hash/Hash/Classes/Cryptography/Cryptable.swift:9:8: error: no such module 'CommonCrypto'
 7 |
 8 | import Foundation
 9 | import CommonCrypto
   |        `- error: no such module 'CommonCrypto'
10 |
11 | protocol Cryptable: class {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/35] Emitting module ShellOut
/host/spi-builder-workspace/.build/checkouts/ShellOut/Sources/ShellOut.swift:8:8: error: no such module 'Dispatch'
  6 |
  7 | import Foundation
  8 | import Dispatch
    |        `- error: no such module 'Dispatch'
  9 |
 10 | // MARK: - API
[7/35] Compiling ShellOut ShellOut.swift
/host/spi-builder-workspace/.build/checkouts/ShellOut/Sources/ShellOut.swift:8:8: error: no such module 'Dispatch'
  6 |
  7 | import Foundation
  8 | import Dispatch
    |        `- error: no such module 'Dispatch'
  9 |
 10 | // MARK: - API
BUILD FAILURE 6.1 wasm