The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SketchX, reference v1.0.9 (8446d9), with Swift 6.1 for Wasm on 27 May 2025 11:43:49 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/elegantchaos/SketchX.git
Reference: v1.0.9
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/elegantchaos/SketchX
 * tag               v1.0.9     -> FETCH_HEAD
HEAD is now at 8446d91 changed --pages to be an option
Cloned https://github.com/elegantchaos/SketchX.git
Revision (git rev-parse @):
8446d91994b541cfad9d37c3bd318f4e50f5ff37
SUCCESS checkout https://github.com/elegantchaos/SketchX.git at v1.0.9
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/elegantchaos/SketchX.git
https://github.com/elegantchaos/SketchX.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "runner",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.3",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/elegantchaos/Runner.git"
    },
    {
      "identity" : "commandshell",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/elegantchaos/CommandShell.git"
    }
  ],
  "manifest_display_name" : "SketchX",
  "name" : "SketchX",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.13"
    }
  ],
  "products" : [
    {
      "name" : "sketchx",
      "targets" : [
        "SketchX"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SketchXTests",
      "module_type" : "SwiftTarget",
      "name" : "SketchXTests",
      "path" : "Tests/SketchXTests",
      "sources" : [
        "SketchXTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "SketchX"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SketchX",
      "module_type" : "SwiftTarget",
      "name" : "SketchX",
      "path" : "Sources/SketchX",
      "product_dependencies" : [
        "Runner",
        "CommandShell"
      ],
      "product_memberships" : [
        "sketchx"
      ],
      "sources" : [
        "ExportCommand.swift",
        "main.swift"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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
Fetching https://github.com/elegantchaos/CommandShell.git
Fetching https://github.com/elegantchaos/Runner.git
[1/354] Fetching commandshell
[143/1030] Fetching commandshell, runner
Fetched https://github.com/elegantchaos/CommandShell.git from cache (0.43s)
Fetched https://github.com/elegantchaos/Runner.git from cache (0.43s)
Computing version for https://github.com/elegantchaos/CommandShell.git
Computed https://github.com/elegantchaos/CommandShell.git at 1.1.3 (1.22s)
Fetching https://github.com/elegantchaos/Logger.git
Fetching https://github.com/elegantchaos/Arguments.git
[1/116] Fetching arguments
[111/2167] Fetching arguments, logger
Fetched https://github.com/elegantchaos/Arguments.git from cache (0.28s)
Fetched https://github.com/elegantchaos/Logger.git from cache (0.31s)
Computing version for https://github.com/elegantchaos/Arguments.git
Computed https://github.com/elegantchaos/Arguments.git at 1.1.1 (1.13s)
Fetching https://github.com/elegantchaos/docopt.swift.git
[1/787] Fetching docopt.swift
Fetched https://github.com/elegantchaos/docopt.swift.git from cache (0.40s)
Computing version for https://github.com/elegantchaos/docopt.swift.git
Computed https://github.com/elegantchaos/docopt.swift.git at 0.6.12 (3.15s)
Computing version for https://github.com/elegantchaos/Runner.git
Computed https://github.com/elegantchaos/Runner.git at 1.3.3 (1.02s)
Fetching https://github.com/elegantchaos/XCTestExtensions.git
[1/571] Fetching xctestextensions
Fetched https://github.com/elegantchaos/XCTestExtensions.git from cache (0.25s)
Computing version for https://github.com/elegantchaos/XCTestExtensions.git
Computed https://github.com/elegantchaos/XCTestExtensions.git at 1.5.1 (0.83s)
Fetching https://github.com/elegantchaos/Matchable.git
[1/113] Fetching matchable
Fetched https://github.com/elegantchaos/Matchable.git from cache (0.22s)
Computing version for https://github.com/elegantchaos/Matchable.git
Computed https://github.com/elegantchaos/Matchable.git at 1.0.7 (0.90s)
Computing version for https://github.com/elegantchaos/Logger.git
Computed https://github.com/elegantchaos/Logger.git at 1.8.2 (0.78s)
Creating working copy for https://github.com/elegantchaos/docopt.swift.git
Working copy of https://github.com/elegantchaos/docopt.swift.git resolved at 0.6.12
Creating working copy for https://github.com/elegantchaos/Matchable.git
Working copy of https://github.com/elegantchaos/Matchable.git resolved at 1.0.7
Creating working copy for https://github.com/elegantchaos/Logger.git
Working copy of https://github.com/elegantchaos/Logger.git resolved at 1.8.2
Creating working copy for https://github.com/elegantchaos/Arguments.git
Working copy of https://github.com/elegantchaos/Arguments.git resolved at 1.1.1
Creating working copy for https://github.com/elegantchaos/Runner.git
Working copy of https://github.com/elegantchaos/Runner.git resolved at 1.3.3
Creating working copy for https://github.com/elegantchaos/XCTestExtensions.git
Working copy of https://github.com/elegantchaos/XCTestExtensions.git resolved at 1.5.1
Creating working copy for https://github.com/elegantchaos/CommandShell.git
Working copy of https://github.com/elegantchaos/CommandShell.git resolved at 1.1.3
Building for debugging...
[0/15] Write sources
[6/15] Write swift-version-24593BA9C3E375BF.txt
[8/41] Compiling Logger NSLogHandler.swift
[9/42] Compiling Logger PrintHandler.swift
[10/42] Compiling Logger OSLogHandler.swift
[11/42] Compiling Logger ManagerSettings.swift
[12/42] Compiling Docopt Option.swift
[13/42] Compiling Docopt Optional.swift
[14/43] Compiling Docopt LeafPattern.swift
[15/43] Compiling Docopt OneOrMore.swift
[16/43] Compiling Logger UserDefaultsManagerSettings.swift
[17/43] Compiling Docopt Command.swift
[18/43] Compiling Docopt Docopt.swift
[19/43] Compiling Docopt OptionsShortcut.swift
[20/43] Compiling Docopt Pattern.swift
[21/43] Compiling Docopt Required.swift
[22/43] Compiling Docopt String.swift
[23/43] Compiling Docopt Argument.swift
[24/43] Compiling Docopt BranchPattern.swift
[25/43] Compiling Docopt DocoptError.swift
[26/43] Compiling Docopt Either.swift
[27/43] Emitting module Docopt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[28/43] Emitting module Runner
/host/spi-builder-workspace/.build/checkouts/Runner/Sources/Runner/Runner.swift:12:16: error: cannot find type 'DispatchQueue' in scope
 10 |     public typealias PipeCallback = (String) -> Void
 11 |
 12 |     let queue: DispatchQueue
    |                `- error: cannot find type 'DispatchQueue' in scope
 13 |     var environment: [String:String]
 14 |     let executable: URL
/host/spi-builder-workspace/.build/checkouts/Runner/Sources/Runner/Runner.swift:90:20: error: cannot find type 'DispatchQueue' in scope
 88 |
 89 |         let pipe: Pipe
 90 |         let queue: DispatchQueue
    |                    `- error: cannot find type 'DispatchQueue' in scope
 91 |         var callback: PipeCallback
 92 |         var handle: FileHandle?
/host/spi-builder-workspace/.build/checkouts/Runner/Sources/Runner/Runner.swift:96:55: error: cannot find type 'DispatchQueue' in scope
 94 |         var buffer: Buffer
 95 |
 96 |         init(tee teeHandle: FileHandle? = nil, queue: DispatchQueue, callback: PipeCallback? = nil) {
    |                                                       `- error: cannot find type 'DispatchQueue' in scope
 97 |             let buffer = Buffer()
 98 |
/host/spi-builder-workspace/.build/checkouts/Runner/Sources/Runner/Runner.swift:167:22: error: cannot find type 'Process' in scope
165 |         let stdout: PipeInfo?
166 |         let stderr: PipeInfo?
167 |         let process: Process
    |                      `- error: cannot find type 'Process' in scope
168 |     }
169 |
[29/43] Compiling Runner Runner.swift
/host/spi-builder-workspace/.build/checkouts/Runner/Sources/Runner/Runner.swift:12:16: error: cannot find type 'DispatchQueue' in scope
 10 |     public typealias PipeCallback = (String) -> Void
 11 |
 12 |     let queue: DispatchQueue
    |                `- error: cannot find type 'DispatchQueue' in scope
 13 |     var environment: [String:String]
 14 |     let executable: URL
/host/spi-builder-workspace/.build/checkouts/Runner/Sources/Runner/Runner.swift:90:20: error: cannot find type 'DispatchQueue' in scope
 88 |
 89 |         let pipe: Pipe
 90 |         let queue: DispatchQueue
    |                    `- error: cannot find type 'DispatchQueue' in scope
 91 |         var callback: PipeCallback
 92 |         var handle: FileHandle?
/host/spi-builder-workspace/.build/checkouts/Runner/Sources/Runner/Runner.swift:96:55: error: cannot find type 'DispatchQueue' in scope
 94 |         var buffer: Buffer
 95 |
 96 |         init(tee teeHandle: FileHandle? = nil, queue: DispatchQueue, callback: PipeCallback? = nil) {
    |                                                       `- error: cannot find type 'DispatchQueue' in scope
 97 |             let buffer = Buffer()
 98 |
/host/spi-builder-workspace/.build/checkouts/Runner/Sources/Runner/Runner.swift:167:22: error: cannot find type 'Process' in scope
165 |         let stdout: PipeInfo?
166 |         let stderr: PipeInfo?
167 |         let process: Process
    |                      `- error: cannot find type 'Process' in scope
168 |     }
169 |
/host/spi-builder-workspace/.build/checkouts/Runner/Sources/Runner/Runner.swift:44:22: error: cannot find 'DispatchQueue' in scope
 42 |         self.environment = environment
 43 |         self.cwd = cwd
 44 |         self.queue = DispatchQueue(label: "runner.\(executable.lastPathComponent)")
    |                      `- error: cannot find 'DispatchQueue' in scope
 45 |     }
 46 |
/host/spi-builder-workspace/.build/checkouts/Runner/Sources/Runner/Runner.swift:56:22: error: cannot find 'DispatchQueue' in scope
 54 |         self.environment = environment
 55 |         self.cwd = cwd
 56 |         self.queue = DispatchQueue(label: "runner.\(command)")
    |                      `- error: cannot find 'DispatchQueue' in scope
 57 |     }
 58 |
/host/spi-builder-workspace/.build/checkouts/Runner/Sources/Runner/Runner.swift:65:23: error: cannot find 'Process' in scope
 63 |
 64 |     public func exec(arguments: [String] = []) -> Never {
 65 |         let process = Process()
    |                       `- error: cannot find 'Process' in scope
 66 |         if let cwd = cwd {
 67 |             process.currentDirectoryURL = cwd
/host/spi-builder-workspace/.build/checkouts/Runner/Sources/Runner/Runner.swift:106:21: error: value of type 'FileHandle' has no member 'readabilityHandler'
104 |             self.callback = callback ?? { buffer.text.append($0) }
105 |
106 |             handle?.readabilityHandler = { handle in
    |                     `- error: value of type 'FileHandle' has no member 'readabilityHandler'
107 |                 let data = handle.availableData
108 |                 queue.async {
/host/spi-builder-workspace/.build/checkouts/Runner/Sources/Runner/Runner.swift:106:44: error: cannot infer type of closure parameter 'handle' without a type annotation
104 |             self.callback = callback ?? { buffer.text.append($0) }
105 |
106 |             handle?.readabilityHandler = { handle in
    |                                            `- error: cannot infer type of closure parameter 'handle' without a type annotation
107 |                 let data = handle.availableData
108 |                 queue.async {
/host/spi-builder-workspace/.build/checkouts/Runner/Sources/Runner/Runner.swift:118:28: error: value of type 'FileHandle' has no member 'readabilityHandler'
116 |                 queue.async {
117 |                     let data = handle.readDataToEndOfFile()
118 |                     handle.readabilityHandler = nil
    |                            `- error: value of type 'FileHandle' has no member 'readabilityHandler'
119 |                     self.write(data: data)
120 |                 }
/host/spi-builder-workspace/.build/checkouts/Runner/Sources/Runner/Runner.swift:147:23: error: cannot find 'Process' in scope
145 |
146 |     public func sync(arguments: [String] = [], stdoutMode: Mode = .capture, stderrMode: Mode = .capture) throws -> Result {
147 |         let process = Process()
    |                       `- error: cannot find 'Process' in scope
148 |         if let cwd = cwd {
149 |             process.currentDirectoryURL = cwd
/host/spi-builder-workspace/.build/checkouts/Runner/Sources/Runner/Runner.swift:177:23: error: cannot find 'Process' in scope
175 |     public func async(arguments: [String] = [], stdoutMode: Mode = .capture, stderrMode: Mode = .capture) throws -> RunningProcess {
176 |
177 |         let process = Process()
    |                       `- error: cannot find 'Process' in scope
178 |         if let cwd = cwd {
179 |             process.currentDirectoryURL = cwd
error: emit-module command failed with exit code 1 (use -v to see invocation)
[30/43] Compiling Logger Handler.swift
[31/43] Emitting module Logger
/host/spi-builder-workspace/.build/checkouts/Logger/Sources/Logger/Manager.swift:33:16: error: cannot find type 'DispatchQueue' in scope
 31 |     var associatedData: AssociatedHandlerData = [:]
 32 |     var fatalHandler: FatalHandler = defaultFatalHandler
 33 |     var queue: DispatchQueue = .init(label: "com.elegantchaos.logger", qos: .utility, attributes: [], autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency.inherit)
    |                `- error: cannot find type 'DispatchQueue' in scope
 34 |
 35 |     /**
[32/43] Compiling Logger Manager.swift
/host/spi-builder-workspace/.build/checkouts/Logger/Sources/Logger/Manager.swift:33:16: error: cannot find type 'DispatchQueue' in scope
 31 |     var associatedData: AssociatedHandlerData = [:]
 32 |     var fatalHandler: FatalHandler = defaultFatalHandler
 33 |     var queue: DispatchQueue = .init(label: "com.elegantchaos.logger", qos: .utility, attributes: [], autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency.inherit)
    |                `- error: cannot find type 'DispatchQueue' in scope
 34 |
 35 |     /**
/host/spi-builder-workspace/.build/checkouts/Logger/Sources/Logger/Manager.swift:66:26: error: cannot find 'Thread' in scope
 64 |         /// We really do want there to only be a single instance of this, even if the logger library has mistakenly been
 65 |         /// linked multiple times, so we store it in the thread dictionary for the main thread, and retrieve it from there if necessary
 66 |         if let manager = Thread.main.threadDictionary["Logger.Manager"] {
    |                          `- error: cannot find 'Thread' in scope
 67 |             return unsafeBitCast(manager as AnyObject, to: Self.self) // a normal cast might fail here if the code has been linked multiple times, since the class could be different (but identical)
 68 |         }
/host/spi-builder-workspace/.build/checkouts/Logger/Sources/Logger/Manager.swift:74:13: error: cannot find 'Thread' in scope
 72 |
 73 |         #if !os(Linux)
 74 |             Thread.main.threadDictionary["Logger.Manager"] = manager
    |             `- error: cannot find 'Thread' in scope
 75 |         #endif
 76 |
/host/spi-builder-workspace/.build/checkouts/Logger/Sources/Logger/Manager.swift:33:16: error: cannot find type 'DispatchQueue' in scope
 31 |     var associatedData: AssociatedHandlerData = [:]
 32 |     var fatalHandler: FatalHandler = defaultFatalHandler
 33 |     var queue: DispatchQueue = .init(label: "com.elegantchaos.logger", qos: .utility, attributes: [], autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency.inherit)
    |                `- error: cannot find type 'DispatchQueue' in scope
 34 |
 35 |     /**
/host/spi-builder-workspace/.build/checkouts/Logger/Sources/Logger/Manager.swift:33:16: error: cannot find type 'DispatchQueue' in scope
 31 |     var associatedData: AssociatedHandlerData = [:]
 32 |     var fatalHandler: FatalHandler = defaultFatalHandler
 33 |     var queue: DispatchQueue = .init(label: "com.elegantchaos.logger", qos: .utility, attributes: [], autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency.inherit)
    |                `- error: cannot find type 'DispatchQueue' in scope
 34 |
 35 |     /**
[35/43] Compiling Docopt Tokens.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/9] Write swift-version-24593BA9C3E375BF.txt
[2/35] Compiling Logger ManagerSettings.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/36] Emitting module Logger
/host/spi-builder-workspace/.build/checkouts/Logger/Sources/Logger/Manager.swift:33:16: error: cannot find type 'DispatchQueue' in scope
 31 |     var associatedData: AssociatedHandlerData = [:]
 32 |     var fatalHandler: FatalHandler = defaultFatalHandler
 33 |     var queue: DispatchQueue = .init(label: "com.elegantchaos.logger", qos: .utility, attributes: [], autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency.inherit)
    |                `- error: cannot find type 'DispatchQueue' in scope
 34 |
 35 |     /**
[4/36] Compiling Logger OSLogHandler.swift
[5/36] Compiling Logger PrintHandler.swift
[6/36] Compiling Logger NSLogHandler.swift
[7/36] Compiling Logger Handler.swift
[8/36] Compiling Docopt Command.swift
/host/spi-builder-workspace/.build/checkouts/Logger/Sources/Logger/Manager.swift:33:16: error: cannot find type 'DispatchQueue' in scope
 31 |     var associatedData: AssociatedHandlerData = [:]
 32 |     var fatalHandler: FatalHandler = defaultFatalHandler
 33 |     var queue: DispatchQueue = .init(label: "com.elegantchaos.logger", qos: .utility, attributes: [], autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency.inherit)
    |                `- error: cannot find type 'DispatchQueue' in scope
 34 |
 35 |     /**
[9/36] Compiling Docopt Docopt.swift
/host/spi-builder-workspace/.build/checkouts/Logger/Sources/Logger/Manager.swift:33:16: error: cannot find type 'DispatchQueue' in scope
 31 |     var associatedData: AssociatedHandlerData = [:]
 32 |     var fatalHandler: FatalHandler = defaultFatalHandler
 33 |     var queue: DispatchQueue = .init(label: "com.elegantchaos.logger", qos: .utility, attributes: [], autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency.inherit)
    |                `- error: cannot find type 'DispatchQueue' in scope
 34 |
 35 |     /**
[10/36] Compiling Logger Manager.swift
/host/spi-builder-workspace/.build/checkouts/Logger/Sources/Logger/Manager.swift:33:16: error: cannot find type 'DispatchQueue' in scope
 31 |     var associatedData: AssociatedHandlerData = [:]
 32 |     var fatalHandler: FatalHandler = defaultFatalHandler
 33 |     var queue: DispatchQueue = .init(label: "com.elegantchaos.logger", qos: .utility, attributes: [], autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency.inherit)
    |                `- error: cannot find type 'DispatchQueue' in scope
 34 |
 35 |     /**
/host/spi-builder-workspace/.build/checkouts/Logger/Sources/Logger/Manager.swift:66:26: error: cannot find 'Thread' in scope
 64 |         /// We really do want there to only be a single instance of this, even if the logger library has mistakenly been
 65 |         /// linked multiple times, so we store it in the thread dictionary for the main thread, and retrieve it from there if necessary
 66 |         if let manager = Thread.main.threadDictionary["Logger.Manager"] {
    |                          `- error: cannot find 'Thread' in scope
 67 |             return unsafeBitCast(manager as AnyObject, to: Self.self) // a normal cast might fail here if the code has been linked multiple times, since the class could be different (but identical)
 68 |         }
/host/spi-builder-workspace/.build/checkouts/Logger/Sources/Logger/Manager.swift:74:13: error: cannot find 'Thread' in scope
 72 |
 73 |         #if !os(Linux)
 74 |             Thread.main.threadDictionary["Logger.Manager"] = manager
    |             `- error: cannot find 'Thread' in scope
 75 |         #endif
 76 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/36] Emitting module Runner
/host/spi-builder-workspace/.build/checkouts/Runner/Sources/Runner/Runner.swift:12:16: error: cannot find type 'DispatchQueue' in scope
 10 |     public typealias PipeCallback = (String) -> Void
 11 |
 12 |     let queue: DispatchQueue
    |                `- error: cannot find type 'DispatchQueue' in scope
 13 |     var environment: [String:String]
 14 |     let executable: URL
/host/spi-builder-workspace/.build/checkouts/Runner/Sources/Runner/Runner.swift:90:20: error: cannot find type 'DispatchQueue' in scope
 88 |
 89 |         let pipe: Pipe
 90 |         let queue: DispatchQueue
    |                    `- error: cannot find type 'DispatchQueue' in scope
 91 |         var callback: PipeCallback
 92 |         var handle: FileHandle?
/host/spi-builder-workspace/.build/checkouts/Runner/Sources/Runner/Runner.swift:96:55: error: cannot find type 'DispatchQueue' in scope
 94 |         var buffer: Buffer
 95 |
 96 |         init(tee teeHandle: FileHandle? = nil, queue: DispatchQueue, callback: PipeCallback? = nil) {
    |                                                       `- error: cannot find type 'DispatchQueue' in scope
 97 |             let buffer = Buffer()
 98 |
/host/spi-builder-workspace/.build/checkouts/Runner/Sources/Runner/Runner.swift:167:22: error: cannot find type 'Process' in scope
165 |         let stdout: PipeInfo?
166 |         let stderr: PipeInfo?
167 |         let process: Process
    |                      `- error: cannot find type 'Process' in scope
168 |     }
169 |
[12/36] Compiling Runner Runner.swift
/host/spi-builder-workspace/.build/checkouts/Runner/Sources/Runner/Runner.swift:12:16: error: cannot find type 'DispatchQueue' in scope
 10 |     public typealias PipeCallback = (String) -> Void
 11 |
 12 |     let queue: DispatchQueue
    |                `- error: cannot find type 'DispatchQueue' in scope
 13 |     var environment: [String:String]
 14 |     let executable: URL
/host/spi-builder-workspace/.build/checkouts/Runner/Sources/Runner/Runner.swift:90:20: error: cannot find type 'DispatchQueue' in scope
 88 |
 89 |         let pipe: Pipe
 90 |         let queue: DispatchQueue
    |                    `- error: cannot find type 'DispatchQueue' in scope
 91 |         var callback: PipeCallback
 92 |         var handle: FileHandle?
/host/spi-builder-workspace/.build/checkouts/Runner/Sources/Runner/Runner.swift:96:55: error: cannot find type 'DispatchQueue' in scope
 94 |         var buffer: Buffer
 95 |
 96 |         init(tee teeHandle: FileHandle? = nil, queue: DispatchQueue, callback: PipeCallback? = nil) {
    |                                                       `- error: cannot find type 'DispatchQueue' in scope
 97 |             let buffer = Buffer()
 98 |
/host/spi-builder-workspace/.build/checkouts/Runner/Sources/Runner/Runner.swift:167:22: error: cannot find type 'Process' in scope
165 |         let stdout: PipeInfo?
166 |         let stderr: PipeInfo?
167 |         let process: Process
    |                      `- error: cannot find type 'Process' in scope
168 |     }
169 |
/host/spi-builder-workspace/.build/checkouts/Runner/Sources/Runner/Runner.swift:44:22: error: cannot find 'DispatchQueue' in scope
 42 |         self.environment = environment
 43 |         self.cwd = cwd
 44 |         self.queue = DispatchQueue(label: "runner.\(executable.lastPathComponent)")
    |                      `- error: cannot find 'DispatchQueue' in scope
 45 |     }
 46 |
/host/spi-builder-workspace/.build/checkouts/Runner/Sources/Runner/Runner.swift:56:22: error: cannot find 'DispatchQueue' in scope
 54 |         self.environment = environment
 55 |         self.cwd = cwd
 56 |         self.queue = DispatchQueue(label: "runner.\(command)")
    |                      `- error: cannot find 'DispatchQueue' in scope
 57 |     }
 58 |
/host/spi-builder-workspace/.build/checkouts/Runner/Sources/Runner/Runner.swift:65:23: error: cannot find 'Process' in scope
 63 |
 64 |     public func exec(arguments: [String] = []) -> Never {
 65 |         let process = Process()
    |                       `- error: cannot find 'Process' in scope
 66 |         if let cwd = cwd {
 67 |             process.currentDirectoryURL = cwd
/host/spi-builder-workspace/.build/checkouts/Runner/Sources/Runner/Runner.swift:106:21: error: value of type 'FileHandle' has no member 'readabilityHandler'
104 |             self.callback = callback ?? { buffer.text.append($0) }
105 |
106 |             handle?.readabilityHandler = { handle in
    |                     `- error: value of type 'FileHandle' has no member 'readabilityHandler'
107 |                 let data = handle.availableData
108 |                 queue.async {
/host/spi-builder-workspace/.build/checkouts/Runner/Sources/Runner/Runner.swift:106:44: error: cannot infer type of closure parameter 'handle' without a type annotation
104 |             self.callback = callback ?? { buffer.text.append($0) }
105 |
106 |             handle?.readabilityHandler = { handle in
    |                                            `- error: cannot infer type of closure parameter 'handle' without a type annotation
107 |                 let data = handle.availableData
108 |                 queue.async {
/host/spi-builder-workspace/.build/checkouts/Runner/Sources/Runner/Runner.swift:118:28: error: value of type 'FileHandle' has no member 'readabilityHandler'
116 |                 queue.async {
117 |                     let data = handle.readDataToEndOfFile()
118 |                     handle.readabilityHandler = nil
    |                            `- error: value of type 'FileHandle' has no member 'readabilityHandler'
119 |                     self.write(data: data)
120 |                 }
/host/spi-builder-workspace/.build/checkouts/Runner/Sources/Runner/Runner.swift:147:23: error: cannot find 'Process' in scope
145 |
146 |     public func sync(arguments: [String] = [], stdoutMode: Mode = .capture, stderrMode: Mode = .capture) throws -> Result {
147 |         let process = Process()
    |                       `- error: cannot find 'Process' in scope
148 |         if let cwd = cwd {
149 |             process.currentDirectoryURL = cwd
/host/spi-builder-workspace/.build/checkouts/Runner/Sources/Runner/Runner.swift:177:23: error: cannot find 'Process' in scope
175 |     public func async(arguments: [String] = [], stdoutMode: Mode = .capture, stderrMode: Mode = .capture) throws -> RunningProcess {
176 |
177 |         let process = Process()
    |                       `- error: cannot find 'Process' in scope
178 |         if let cwd = cwd {
179 |             process.currentDirectoryURL = cwd
[13/36] Compiling Docopt DocoptError.swift
[14/36] Compiling Docopt Either.swift
[15/37] Emitting module Docopt
[16/37] Compiling Docopt Argument.swift
[17/37] Compiling Docopt BranchPattern.swift
BUILD FAILURE 6.1 wasm