The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Playwright, reference v0.1.0 (05e121), with Swift 6.1 for Wasm on 22 Mar 2026 06:12:06 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/m1guelpf/swift-playwright.git
Reference: v0.1.0
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/m1guelpf/swift-playwright
 * tag               v0.1.0     -> FETCH_HEAD
HEAD is now at 05e1213 Update README
Cloned https://github.com/m1guelpf/swift-playwright.git
Revision (git rev-parse @):
05e12135b164277ec4984dacd1474ea578c876f0
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/m1guelpf/swift-playwright.git at v0.1.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/m1guelpf/swift-playwright.git
https://github.com/m1guelpf/swift-playwright.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.3.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    }
  ],
  "manifest_display_name" : "Playwright",
  "name" : "Playwright",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "Playwright",
      "targets" : [
        "Playwright"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "PlaywrightTesting",
      "targets" : [
        "PlaywrightTesting"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "DownloadDriver",
      "targets" : [
        "DownloadDriver"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "swift_languages_versions" : [
    "6"
  ],
  "targets" : [
    {
      "c99name" : "PlaywrightTests",
      "module_type" : "SwiftTarget",
      "name" : "PlaywrightTests",
      "path" : "tests",
      "sources" : [
        "AssertionResultTests.swift",
        "BrowserContextTests.swift",
        "BrowserNewPageTests.swift",
        "BrowserTests.swift",
        "ConcurrencyTests.swift",
        "ConnectOverCDPTests.swift",
        "ConnectionTests.swift",
        "ConsoleMessageTests.swift",
        "CrossBrowserTests.swift",
        "DialogTests.swift",
        "DownloadTests.swift",
        "DriverTests.swift",
        "ElementHandleTests.swift",
        "ErrorClassificationTests.swift",
        "EvaluateTests.swift",
        "GlobTests.swift",
        "HelpersTests.swift",
        "KeyboardMouseTests.swift",
        "LifecycleTests.swift",
        "LocatorAssertionTests.swift",
        "LocatorEvaluateTests.swift",
        "LocatorTests.swift",
        "NavigationTests.swift",
        "PageAssertionTests.swift",
        "PageTests.swift",
        "PersistentContextTests.swift",
        "PlaywrightTests.swift",
        "QuerySelectorTests.swift",
        "RouteTests.swift",
        "ScreenshotTests.swift",
        "SelectorBuilderTests.swift",
        "ServerLifecycleTests.swift",
        "TestHelpers.swift",
        "TransportTests.swift"
      ],
      "target_dependencies" : [
        "Playwright",
        "PlaywrightTesting"
      ],
      "type" : "test"
    },
    {
      "c99name" : "PlaywrightTesting",
      "module_type" : "SwiftTarget",
      "name" : "PlaywrightTesting",
      "path" : "src/testing",
      "product_memberships" : [
        "PlaywrightTesting"
      ],
      "sources" : [
        "Expect.swift",
        "Internal/AssertionResult.swift",
        "Internal/ExpectedTextValue.swift",
        "LocatorAssertions.swift",
        "PageAssertions.swift",
        "PlaywrightTrait.swift"
      ],
      "target_dependencies" : [
        "Playwright"
      ],
      "type" : "library"
    },
    {
      "c99name" : "PlaywrightDriverPlugin",
      "module_type" : "PluginTarget",
      "name" : "PlaywrightDriverPlugin",
      "path" : "plugin",
      "plugin_capability" : {
        "intent" : {
          "description" : "Download the Playwright driver for browser automation",
          "type" : "custom",
          "verb" : "install-playwright"
        },
        "permissions" : [
          {
            "network_scope" : {
              "none" : {
              }
            },
            "reason" : "Downloads the Playwright driver",
            "type" : "writeToPackageDirectory"
          },
          {
            "network_scope" : {
              "all" : {
                "ports" : [
                  443
                ]
              }
            },
            "reason" : "Downloads the Playwright driver from cdn.playwright.dev",
            "type" : "allowNetworkConnections"
          }
        ],
        "type" : "command"
      },
      "sources" : [
        "PlaywrightDriverPlugin.swift"
      ],
      "target_dependencies" : [
        "DownloadDriver"
      ],
      "type" : "plugin"
    },
    {
      "c99name" : "Playwright",
      "module_type" : "SwiftTarget",
      "name" : "Playwright",
      "path" : "src/core",
      "product_memberships" : [
        "Playwright",
        "PlaywrightTesting"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/src/core/drivers",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "API/ActionOptions.swift",
        "API/Artifact.swift",
        "API/Browser.swift",
        "API/BrowserContext.swift",
        "API/BrowserContextOptions.swift",
        "API/BrowserType.swift",
        "API/ConsoleMessage.swift",
        "API/Dialog.swift",
        "API/Download.swift",
        "API/ElementHandle.swift",
        "API/EvaluateSerializer.swift",
        "API/Frame.swift",
        "API/Keyboard.swift",
        "API/Locator.swift",
        "API/LocatorFactory.swift",
        "API/Mouse.swift",
        "API/NavigationOptions.swift",
        "API/Page.swift",
        "API/Request.swift",
        "API/Response.swift",
        "API/Route.swift",
        "API/Selectors.swift",
        "Error.swift",
        "Extensions/Array+RemoveByIdentity.swift",
        "Extensions/Duration+milliseconds.swift",
        "Playwright.swift",
        "Protocol/ChannelOwner.swift",
        "Protocol/CloseGuard.swift",
        "Protocol/Connection.swift",
        "Protocol/Driver.swift",
        "Protocol/ObjectFactory.swift",
        "Protocol/PlaywrightServer.swift",
        "Protocol/Transport.swift",
        "Support/helpers.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "DownloadDriver",
      "module_type" : "SwiftTarget",
      "name" : "DownloadDriver",
      "path" : "cli",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "product_memberships" : [
        "DownloadDriver"
      ],
      "sources" : [
        "DownloadDriver.swift"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "6.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
wasm-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:a7b4552feb759c014e60bb7d16019351f72ce4b9f19dbbaa081e1f5551c90672
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-argument-parser
[1/17387] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.43s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.7.1 (2.08s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.7.1
[1/1] Compiling plugin PlaywrightDriverPlugin
[2/2] Compiling plugin GenerateManual
[3/3] Compiling plugin GenerateDoccReference
Building for debugging...
[3/23] Write sources
[11/23] Copying drivers
[12/23] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[14/59] Emitting module Playwright
/host/spi-builder-workspace/src/core/Protocol/PlaywrightServer.swift:17:23: error: cannot find type 'Process' in scope
 15 | 	let messages: AsyncStream<Data>
 16 |
 17 | 	private let process: Process
    |                       `- error: cannot find type 'Process' in scope
 18 | 	private let stdinHandle: FileHandle
 19 | 	private let stdoutHandle: FileHandle
/host/spi-builder-workspace/src/core/Protocol/PlaywrightServer.swift:25:12: error: cannot find type 'Process' in scope
 23 |
 24 | 	private init(
 25 | 		process: Process,
    |            `- error: cannot find type 'Process' in scope
 26 | 		stdinHandle: FileHandle,
 27 | 		stdoutHandle: FileHandle,
[15/63] Emitting module ArgumentParserToolInfo
[16/63] Compiling ArgumentParserToolInfo ToolInfo.swift
[17/64] Emitting module ArgumentParserToolInfo
[18/64] Compiling ArgumentParserToolInfo ToolInfo.swift
[20/65] Wrapping AST for ArgumentParserToolInfo for debugging
[23/157] Compiling ArgumentParser StringExtensions.swift
/host/spi-builder-workspace/src/core/Protocol/PlaywrightServer.swift:17:23: error: cannot find type 'Process' in scope
 15 | 	let messages: AsyncStream<Data>
 16 |
 17 | 	private let process: Process
    |                       `- error: cannot find type 'Process' in scope
 18 | 	private let stdinHandle: FileHandle
 19 | 	private let stdoutHandle: FileHandle
/host/spi-builder-workspace/src/core/Protocol/PlaywrightServer.swift:25:12: error: cannot find type 'Process' in scope
 23 |
 24 | 	private init(
 25 | 		process: Process,
    |            `- error: cannot find type 'Process' in scope
 26 | 		stdinHandle: FileHandle,
 27 | 		stdoutHandle: FileHandle,
/host/spi-builder-workspace/src/core/Protocol/PlaywrightServer.swift:55:14: error: cannot find 'Process' in scope
 53 | 		let executable = try Driver.find()
 54 |
 55 | 		let proc = Process()
    |              `- error: cannot find 'Process' in scope
 56 | 		if executable.program.contains("/") {
 57 | 			proc.arguments = executable.arguments
/host/spi-builder-workspace/src/core/Protocol/PlaywrightServer.swift:80:14: error: value of type 'FileHandle' has no member 'readabilityHandler'
 78 | 		let (messages, continuation) = AsyncStream<Data>.makeStream()
 79 | 		let readHandle = stdoutPipe.fileHandleForReading
 80 | 		readHandle.readabilityHandler = { handle in
    |              `- error: value of type 'FileHandle' has no member 'readabilityHandler'
 81 | 			let data = handle.availableData
 82 | 			if data.isEmpty {
/host/spi-builder-workspace/src/core/Protocol/PlaywrightServer.swift:80:37: error: cannot infer type of closure parameter 'handle' without a type annotation
 78 | 		let (messages, continuation) = AsyncStream<Data>.makeStream()
 79 | 		let readHandle = stdoutPipe.fileHandleForReading
 80 | 		readHandle.readabilityHandler = { handle in
    |                                     `- error: cannot infer type of closure parameter 'handle' without a type annotation
 81 | 			let data = handle.availableData
 82 | 			if data.isEmpty {
/host/spi-builder-workspace/src/core/Protocol/PlaywrightServer.swift:103:20: error: value of type 'FileHandle' has no member 'readabilityHandler'
101 | 		// Drain stderr to prevent the server from blocking on a full pipe buffer
102 | 		let stderrReadHandle = stderrPipe.fileHandleForReading
103 | 		stderrReadHandle.readabilityHandler = { handle in
    |                    `- error: value of type 'FileHandle' has no member 'readabilityHandler'
104 | 			// TODO: Should we be logging this somewhere?
105 | 			_ = handle.availableData
/host/spi-builder-workspace/src/core/Protocol/PlaywrightServer.swift:103:43: error: cannot infer type of closure parameter 'handle' without a type annotation
101 | 		// Drain stderr to prevent the server from blocking on a full pipe buffer
102 | 		let stderrReadHandle = stderrPipe.fileHandleForReading
103 | 		stderrReadHandle.readabilityHandler = { handle in
    |                                           `- error: cannot infer type of closure parameter 'handle' without a type annotation
104 | 			// TODO: Should we be logging this somewhere?
105 | 			_ = handle.availableData
/host/spi-builder-workspace/src/core/Protocol/PlaywrightServer.swift:130:17: error: value of type 'FileHandle' has no member 'readabilityHandler'
128 | 	func close() {
129 | 		closeGuard.closeOnce {
130 | 			stdoutHandle.readabilityHandler = nil
    |                 `- error: value of type 'FileHandle' has no member 'readabilityHandler'
131 | 			stderrHandle.readabilityHandler = nil
132 | 			continuation.finish()
/host/spi-builder-workspace/src/core/Protocol/PlaywrightServer.swift:154:35: error: cannot infer type of closure parameter '_' without a type annotation
152 | 			// If the process already exited between our check and setting the handler,
153 | 			// Foundation still calls the handler immediately.
154 | 			process.terminationHandler = { _ in
    |                                   `- error: cannot infer type of closure parameter '_' without a type annotation
155 | 				cont.resume()
156 | 			}
[24/157] Compiling ArgumentParser SwiftExtensions.swift
/host/spi-builder-workspace/src/core/Protocol/PlaywrightServer.swift:17:23: error: cannot find type 'Process' in scope
 15 | 	let messages: AsyncStream<Data>
 16 |
 17 | 	private let process: Process
    |                       `- error: cannot find type 'Process' in scope
 18 | 	private let stdinHandle: FileHandle
 19 | 	private let stdoutHandle: FileHandle
/host/spi-builder-workspace/src/core/Protocol/PlaywrightServer.swift:25:12: error: cannot find type 'Process' in scope
 23 |
 24 | 	private init(
 25 | 		process: Process,
    |            `- error: cannot find type 'Process' in scope
 26 | 		stdinHandle: FileHandle,
 27 | 		stdoutHandle: FileHandle,
/host/spi-builder-workspace/src/core/Protocol/PlaywrightServer.swift:55:14: error: cannot find 'Process' in scope
 53 | 		let executable = try Driver.find()
 54 |
 55 | 		let proc = Process()
    |              `- error: cannot find 'Process' in scope
 56 | 		if executable.program.contains("/") {
 57 | 			proc.arguments = executable.arguments
/host/spi-builder-workspace/src/core/Protocol/PlaywrightServer.swift:80:14: error: value of type 'FileHandle' has no member 'readabilityHandler'
 78 | 		let (messages, continuation) = AsyncStream<Data>.makeStream()
 79 | 		let readHandle = stdoutPipe.fileHandleForReading
 80 | 		readHandle.readabilityHandler = { handle in
    |              `- error: value of type 'FileHandle' has no member 'readabilityHandler'
 81 | 			let data = handle.availableData
 82 | 			if data.isEmpty {
/host/spi-builder-workspace/src/core/Protocol/PlaywrightServer.swift:80:37: error: cannot infer type of closure parameter 'handle' without a type annotation
 78 | 		let (messages, continuation) = AsyncStream<Data>.makeStream()
 79 | 		let readHandle = stdoutPipe.fileHandleForReading
 80 | 		readHandle.readabilityHandler = { handle in
    |                                     `- error: cannot infer type of closure parameter 'handle' without a type annotation
 81 | 			let data = handle.availableData
 82 | 			if data.isEmpty {
/host/spi-builder-workspace/src/core/Protocol/PlaywrightServer.swift:103:20: error: value of type 'FileHandle' has no member 'readabilityHandler'
101 | 		// Drain stderr to prevent the server from blocking on a full pipe buffer
102 | 		let stderrReadHandle = stderrPipe.fileHandleForReading
103 | 		stderrReadHandle.readabilityHandler = { handle in
    |                    `- error: value of type 'FileHandle' has no member 'readabilityHandler'
104 | 			// TODO: Should we be logging this somewhere?
105 | 			_ = handle.availableData
/host/spi-builder-workspace/src/core/Protocol/PlaywrightServer.swift:103:43: error: cannot infer type of closure parameter 'handle' without a type annotation
101 | 		// Drain stderr to prevent the server from blocking on a full pipe buffer
102 | 		let stderrReadHandle = stderrPipe.fileHandleForReading
103 | 		stderrReadHandle.readabilityHandler = { handle in
    |                                           `- error: cannot infer type of closure parameter 'handle' without a type annotation
104 | 			// TODO: Should we be logging this somewhere?
105 | 			_ = handle.availableData
/host/spi-builder-workspace/src/core/Protocol/PlaywrightServer.swift:130:17: error: value of type 'FileHandle' has no member 'readabilityHandler'
128 | 	func close() {
129 | 		closeGuard.closeOnce {
130 | 			stdoutHandle.readabilityHandler = nil
    |                 `- error: value of type 'FileHandle' has no member 'readabilityHandler'
131 | 			stderrHandle.readabilityHandler = nil
132 | 			continuation.finish()
/host/spi-builder-workspace/src/core/Protocol/PlaywrightServer.swift:154:35: error: cannot infer type of closure parameter '_' without a type annotation
152 | 			// If the process already exited between our check and setting the handler,
153 | 			// Foundation still calls the handler immediately.
154 | 			process.terminationHandler = { _ in
    |                                   `- error: cannot infer type of closure parameter '_' without a type annotation
155 | 				cont.resume()
156 | 			}
[25/157] Compiling ArgumentParser ParsableCommand.swift
/host/spi-builder-workspace/src/core/Protocol/PlaywrightServer.swift:17:23: error: cannot find type 'Process' in scope
 15 | 	let messages: AsyncStream<Data>
 16 |
 17 | 	private let process: Process
    |                       `- error: cannot find type 'Process' in scope
 18 | 	private let stdinHandle: FileHandle
 19 | 	private let stdoutHandle: FileHandle
/host/spi-builder-workspace/src/core/Protocol/PlaywrightServer.swift:25:12: error: cannot find type 'Process' in scope
 23 |
 24 | 	private init(
 25 | 		process: Process,
    |            `- error: cannot find type 'Process' in scope
 26 | 		stdinHandle: FileHandle,
 27 | 		stdoutHandle: FileHandle,
/host/spi-builder-workspace/src/core/Protocol/PlaywrightServer.swift:55:14: error: cannot find 'Process' in scope
 53 | 		let executable = try Driver.find()
 54 |
 55 | 		let proc = Process()
    |              `- error: cannot find 'Process' in scope
 56 | 		if executable.program.contains("/") {
 57 | 			proc.arguments = executable.arguments
/host/spi-builder-workspace/src/core/Protocol/PlaywrightServer.swift:80:14: error: value of type 'FileHandle' has no member 'readabilityHandler'
 78 | 		let (messages, continuation) = AsyncStream<Data>.makeStream()
 79 | 		let readHandle = stdoutPipe.fileHandleForReading
 80 | 		readHandle.readabilityHandler = { handle in
    |              `- error: value of type 'FileHandle' has no member 'readabilityHandler'
 81 | 			let data = handle.availableData
 82 | 			if data.isEmpty {
/host/spi-builder-workspace/src/core/Protocol/PlaywrightServer.swift:80:37: error: cannot infer type of closure parameter 'handle' without a type annotation
 78 | 		let (messages, continuation) = AsyncStream<Data>.makeStream()
 79 | 		let readHandle = stdoutPipe.fileHandleForReading
 80 | 		readHandle.readabilityHandler = { handle in
    |                                     `- error: cannot infer type of closure parameter 'handle' without a type annotation
 81 | 			let data = handle.availableData
 82 | 			if data.isEmpty {
/host/spi-builder-workspace/src/core/Protocol/PlaywrightServer.swift:103:20: error: value of type 'FileHandle' has no member 'readabilityHandler'
101 | 		// Drain stderr to prevent the server from blocking on a full pipe buffer
102 | 		let stderrReadHandle = stderrPipe.fileHandleForReading
103 | 		stderrReadHandle.readabilityHandler = { handle in
    |                    `- error: value of type 'FileHandle' has no member 'readabilityHandler'
104 | 			// TODO: Should we be logging this somewhere?
105 | 			_ = handle.availableData
/host/spi-builder-workspace/src/core/Protocol/PlaywrightServer.swift:103:43: error: cannot infer type of closure parameter 'handle' without a type annotation
101 | 		// Drain stderr to prevent the server from blocking on a full pipe buffer
102 | 		let stderrReadHandle = stderrPipe.fileHandleForReading
103 | 		stderrReadHandle.readabilityHandler = { handle in
    |                                           `- error: cannot infer type of closure parameter 'handle' without a type annotation
104 | 			// TODO: Should we be logging this somewhere?
105 | 			_ = handle.availableData
/host/spi-builder-workspace/src/core/Protocol/PlaywrightServer.swift:130:17: error: value of type 'FileHandle' has no member 'readabilityHandler'
128 | 	func close() {
129 | 		closeGuard.closeOnce {
130 | 			stdoutHandle.readabilityHandler = nil
    |                 `- error: value of type 'FileHandle' has no member 'readabilityHandler'
131 | 			stderrHandle.readabilityHandler = nil
132 | 			continuation.finish()
/host/spi-builder-workspace/src/core/Protocol/PlaywrightServer.swift:154:35: error: cannot infer type of closure parameter '_' without a type annotation
152 | 			// If the process already exited between our check and setting the handler,
153 | 			// Foundation still calls the handler immediately.
154 | 			process.terminationHandler = { _ in
    |                                   `- error: cannot infer type of closure parameter '_' without a type annotation
155 | 				cont.resume()
156 | 			}
[26/157] Compiling ArgumentParser ArgumentDecoder.swift
/host/spi-builder-workspace/src/core/Protocol/PlaywrightServer.swift:17:23: error: cannot find type 'Process' in scope
 15 | 	let messages: AsyncStream<Data>
 16 |
 17 | 	private let process: Process
    |                       `- error: cannot find type 'Process' in scope
 18 | 	private let stdinHandle: FileHandle
 19 | 	private let stdoutHandle: FileHandle
/host/spi-builder-workspace/src/core/Protocol/PlaywrightServer.swift:25:12: error: cannot find type 'Process' in scope
 23 |
 24 | 	private init(
 25 | 		process: Process,
    |            `- error: cannot find type 'Process' in scope
 26 | 		stdinHandle: FileHandle,
 27 | 		stdoutHandle: FileHandle,
/host/spi-builder-workspace/src/core/Protocol/PlaywrightServer.swift:55:14: error: cannot find 'Process' in scope
 53 | 		let executable = try Driver.find()
 54 |
 55 | 		let proc = Process()
    |              `- error: cannot find 'Process' in scope
 56 | 		if executable.program.contains("/") {
 57 | 			proc.arguments = executable.arguments
/host/spi-builder-workspace/src/core/Protocol/PlaywrightServer.swift:80:14: error: value of type 'FileHandle' has no member 'readabilityHandler'
 78 | 		let (messages, continuation) = AsyncStream<Data>.makeStream()
 79 | 		let readHandle = stdoutPipe.fileHandleForReading
 80 | 		readHandle.readabilityHandler = { handle in
    |              `- error: value of type 'FileHandle' has no member 'readabilityHandler'
 81 | 			let data = handle.availableData
 82 | 			if data.isEmpty {
/host/spi-builder-workspace/src/core/Protocol/PlaywrightServer.swift:80:37: error: cannot infer type of closure parameter 'handle' without a type annotation
 78 | 		let (messages, continuation) = AsyncStream<Data>.makeStream()
 79 | 		let readHandle = stdoutPipe.fileHandleForReading
 80 | 		readHandle.readabilityHandler = { handle in
    |                                     `- error: cannot infer type of closure parameter 'handle' without a type annotation
 81 | 			let data = handle.availableData
 82 | 			if data.isEmpty {
/host/spi-builder-workspace/src/core/Protocol/PlaywrightServer.swift:103:20: error: value of type 'FileHandle' has no member 'readabilityHandler'
101 | 		// Drain stderr to prevent the server from blocking on a full pipe buffer
102 | 		let stderrReadHandle = stderrPipe.fileHandleForReading
103 | 		stderrReadHandle.readabilityHandler = { handle in
    |                    `- error: value of type 'FileHandle' has no member 'readabilityHandler'
104 | 			// TODO: Should we be logging this somewhere?
105 | 			_ = handle.availableData
/host/spi-builder-workspace/src/core/Protocol/PlaywrightServer.swift:103:43: error: cannot infer type of closure parameter 'handle' without a type annotation
101 | 		// Drain stderr to prevent the server from blocking on a full pipe buffer
102 | 		let stderrReadHandle = stderrPipe.fileHandleForReading
103 | 		stderrReadHandle.readabilityHandler = { handle in
    |                                           `- error: cannot infer type of closure parameter 'handle' without a type annotation
104 | 			// TODO: Should we be logging this somewhere?
105 | 			_ = handle.availableData
/host/spi-builder-workspace/src/core/Protocol/PlaywrightServer.swift:130:17: error: value of type 'FileHandle' has no member 'readabilityHandler'
128 | 	func close() {
129 | 		closeGuard.closeOnce {
130 | 			stdoutHandle.readabilityHandler = nil
    |                 `- error: value of type 'FileHandle' has no member 'readabilityHandler'
131 | 			stderrHandle.readabilityHandler = nil
132 | 			continuation.finish()
/host/spi-builder-workspace/src/core/Protocol/PlaywrightServer.swift:154:35: error: cannot infer type of closure parameter '_' without a type annotation
152 | 			// If the process already exited between our check and setting the handler,
153 | 			// Foundation still calls the handler immediately.
154 | 			process.terminationHandler = { _ in
    |                                   `- error: cannot infer type of closure parameter '_' without a type annotation
155 | 				cont.resume()
156 | 			}
[27/157] Compiling ArgumentParser Foundation.swift
[28/157] Compiling ArgumentParser Mutex.swift
[29/157] Compiling ArgumentParser Platform.swift
[30/157] Compiling ArgumentParser SequenceExtensions.swift
[31/157] Compiling ArgumentParser InputOrigin.swift
[32/157] Compiling ArgumentParser Name.swift
[33/157] Compiling ArgumentParser Parsed.swift
[34/157] Compiling ArgumentParser ParsedValues.swift
[35/157] Compiling ArgumentParser ParserError.swift
[36/157] Compiling ArgumentParser SplitArguments.swift
[37/163] Emitting module ArgumentParser
[38/169] Compiling ArgumentParser HelpGenerator.swift
/host/spi-builder-workspace/src/core/Protocol/PlaywrightServer.swift:17:23: error: cannot find type 'Process' in scope
 15 | 	let messages: AsyncStream<Data>
 16 |
 17 | 	private let process: Process
    |                       `- error: cannot find type 'Process' in scope
 18 | 	private let stdinHandle: FileHandle
 19 | 	private let stdoutHandle: FileHandle
[39/169] Compiling ArgumentParser MessageInfo.swift
/host/spi-builder-workspace/src/core/Protocol/PlaywrightServer.swift:17:23: error: cannot find type 'Process' in scope
 15 | 	let messages: AsyncStream<Data>
 16 |
 17 | 	private let process: Process
    |                       `- error: cannot find type 'Process' in scope
 18 | 	private let stdinHandle: FileHandle
 19 | 	private let stdoutHandle: FileHandle
[40/169] Compiling ArgumentParser UsageGenerator.swift
/host/spi-builder-workspace/src/core/Protocol/PlaywrightServer.swift:17:23: error: cannot find type 'Process' in scope
 15 | 	let messages: AsyncStream<Data>
 16 |
 17 | 	private let process: Process
    |                       `- error: cannot find type 'Process' in scope
 18 | 	private let stdinHandle: FileHandle
 19 | 	private let stdoutHandle: FileHandle
[41/169] Compiling ArgumentParser CollectionExtensions.swift
/host/spi-builder-workspace/src/core/Protocol/PlaywrightServer.swift:17:23: error: cannot find type 'Process' in scope
 15 | 	let messages: AsyncStream<Data>
 16 |
 17 | 	private let process: Process
    |                       `- error: cannot find type 'Process' in scope
 18 | 	private let stdinHandle: FileHandle
 19 | 	private let stdoutHandle: FileHandle
[42/169] Compiling ArgumentParser CompletionsGenerator.swift
[43/169] Compiling ArgumentParser FishCompletionsGenerator.swift
[44/169] Compiling ArgumentParser ZshCompletionsGenerator.swift
[45/169] Compiling ArgumentParser Argument.swift
[46/169] Compiling ArgumentParser ArgumentDiscussion.swift
[47/169] Compiling ArgumentParser ArgumentHelp.swift
[48/169] Compiling ArgumentParser DumpHelpGenerator.swift
[49/169] Compiling ArgumentParser HelpCommand.swift
[50/169] Compiling ArgumentParser ParentCommand.swift
[51/169] Compiling ArgumentParser AsyncParsableCommand.swift
[52/169] Compiling ArgumentParser CommandConfiguration.swift
[53/169] Compiling ArgumentParser CommandGroup.swift
[54/169] Compiling ArgumentParser EnumerableFlag.swift
[55/169] Compiling ArgumentParser Flag.swift
[56/169] Compiling ArgumentParser NameSpecification.swift
[57/169] Compiling ArgumentParser Option.swift
[58/169] Compiling ArgumentParser OptionGroup.swift
[59/169] Compiling ArgumentParser BashCompletionsGenerator.swift
[60/169] Compiling ArgumentParser ExpressibleByArgument.swift
[61/169] Compiling ArgumentParser ParsableArguments.swift
[62/169] Compiling ArgumentParser ArgumentVisibility.swift
[63/169] Compiling ArgumentParser CompletionKind.swift
[64/169] Compiling ArgumentParser Errors.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:a7b4552feb759c014e60bb7d16019351f72ce4b9f19dbbaa081e1f5551c90672
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin PlaywrightDriverPlugin
[2/2] Compiling plugin GenerateManual
[3/3] Compiling plugin GenerateDoccReference
Building for debugging...
[3/14] Write swift-version-24593BA9C3E375BF.txt
[5/50] Emitting module ArgumentParserToolInfo
[6/50] Compiling Playwright CloseGuard.swift
[7/50] Compiling Playwright Connection.swift
[8/50] Compiling Playwright Driver.swift
[9/50] Compiling Playwright ObjectFactory.swift
[10/50] Compiling Playwright Array+RemoveByIdentity.swift
/host/spi-builder-workspace/src/core/Protocol/PlaywrightServer.swift:17:23: error: cannot find type 'Process' in scope
 15 | 	let messages: AsyncStream<Data>
 16 |
 17 | 	private let process: Process
    |                       `- error: cannot find type 'Process' in scope
 18 | 	private let stdinHandle: FileHandle
 19 | 	private let stdoutHandle: FileHandle
[11/50] Compiling Playwright Duration+milliseconds.swift
/host/spi-builder-workspace/src/core/Protocol/PlaywrightServer.swift:17:23: error: cannot find type 'Process' in scope
 15 | 	let messages: AsyncStream<Data>
 16 |
 17 | 	private let process: Process
    |                       `- error: cannot find type 'Process' in scope
 18 | 	private let stdinHandle: FileHandle
 19 | 	private let stdoutHandle: FileHandle
[12/50] Compiling Playwright Playwright.swift
/host/spi-builder-workspace/src/core/Protocol/PlaywrightServer.swift:17:23: error: cannot find type 'Process' in scope
 15 | 	let messages: AsyncStream<Data>
 16 |
 17 | 	private let process: Process
    |                       `- error: cannot find type 'Process' in scope
 18 | 	private let stdinHandle: FileHandle
 19 | 	private let stdoutHandle: FileHandle
[13/50] Compiling Playwright ChannelOwner.swift
/host/spi-builder-workspace/src/core/Protocol/PlaywrightServer.swift:17:23: error: cannot find type 'Process' in scope
 15 | 	let messages: AsyncStream<Data>
 16 |
 17 | 	private let process: Process
    |                       `- error: cannot find type 'Process' in scope
 18 | 	private let stdinHandle: FileHandle
 19 | 	private let stdoutHandle: FileHandle
[14/54] Compiling Playwright Response.swift
[15/54] Compiling Playwright Route.swift
[16/54] Compiling Playwright Selectors.swift
[17/54] Compiling Playwright Error.swift
[18/54] Emitting module ArgumentParserToolInfo
[19/54] Compiling ArgumentParserToolInfo ToolInfo.swift
[21/55] Compiling Playwright PlaywrightServer.swift
/host/spi-builder-workspace/src/core/Protocol/PlaywrightServer.swift:17:23: error: cannot find type 'Process' in scope
 15 | 	let messages: AsyncStream<Data>
 16 |
 17 | 	private let process: Process
    |                       `- error: cannot find type 'Process' in scope
 18 | 	private let stdinHandle: FileHandle
 19 | 	private let stdoutHandle: FileHandle
/host/spi-builder-workspace/src/core/Protocol/PlaywrightServer.swift:25:12: error: cannot find type 'Process' in scope
 23 |
 24 | 	private init(
 25 | 		process: Process,
    |            `- error: cannot find type 'Process' in scope
 26 | 		stdinHandle: FileHandle,
 27 | 		stdoutHandle: FileHandle,
/host/spi-builder-workspace/src/core/Protocol/PlaywrightServer.swift:55:14: error: cannot find 'Process' in scope
 53 | 		let executable = try Driver.find()
 54 |
 55 | 		let proc = Process()
    |              `- error: cannot find 'Process' in scope
 56 | 		if executable.program.contains("/") {
 57 | 			proc.arguments = executable.arguments
/host/spi-builder-workspace/src/core/Protocol/PlaywrightServer.swift:80:14: error: value of type 'FileHandle' has no member 'readabilityHandler'
 78 | 		let (messages, continuation) = AsyncStream<Data>.makeStream()
 79 | 		let readHandle = stdoutPipe.fileHandleForReading
 80 | 		readHandle.readabilityHandler = { handle in
    |              `- error: value of type 'FileHandle' has no member 'readabilityHandler'
 81 | 			let data = handle.availableData
 82 | 			if data.isEmpty {
/host/spi-builder-workspace/src/core/Protocol/PlaywrightServer.swift:80:37: error: cannot infer type of closure parameter 'handle' without a type annotation
 78 | 		let (messages, continuation) = AsyncStream<Data>.makeStream()
 79 | 		let readHandle = stdoutPipe.fileHandleForReading
 80 | 		readHandle.readabilityHandler = { handle in
    |                                     `- error: cannot infer type of closure parameter 'handle' without a type annotation
 81 | 			let data = handle.availableData
 82 | 			if data.isEmpty {
/host/spi-builder-workspace/src/core/Protocol/PlaywrightServer.swift:103:20: error: value of type 'FileHandle' has no member 'readabilityHandler'
101 | 		// Drain stderr to prevent the server from blocking on a full pipe buffer
102 | 		let stderrReadHandle = stderrPipe.fileHandleForReading
103 | 		stderrReadHandle.readabilityHandler = { handle in
    |                    `- error: value of type 'FileHandle' has no member 'readabilityHandler'
104 | 			// TODO: Should we be logging this somewhere?
105 | 			_ = handle.availableData
/host/spi-builder-workspace/src/core/Protocol/PlaywrightServer.swift:103:43: error: cannot infer type of closure parameter 'handle' without a type annotation
101 | 		// Drain stderr to prevent the server from blocking on a full pipe buffer
102 | 		let stderrReadHandle = stderrPipe.fileHandleForReading
103 | 		stderrReadHandle.readabilityHandler = { handle in
    |                                           `- error: cannot infer type of closure parameter 'handle' without a type annotation
104 | 			// TODO: Should we be logging this somewhere?
105 | 			_ = handle.availableData
/host/spi-builder-workspace/src/core/Protocol/PlaywrightServer.swift:130:17: error: value of type 'FileHandle' has no member 'readabilityHandler'
128 | 	func close() {
129 | 		closeGuard.closeOnce {
130 | 			stdoutHandle.readabilityHandler = nil
    |                 `- error: value of type 'FileHandle' has no member 'readabilityHandler'
131 | 			stderrHandle.readabilityHandler = nil
132 | 			continuation.finish()
/host/spi-builder-workspace/src/core/Protocol/PlaywrightServer.swift:154:35: error: cannot infer type of closure parameter '_' without a type annotation
152 | 			// If the process already exited between our check and setting the handler,
153 | 			// Foundation still calls the handler immediately.
154 | 			process.terminationHandler = { _ in
    |                                   `- error: cannot infer type of closure parameter '_' without a type annotation
155 | 				cont.resume()
156 | 			}
[22/55] Compiling Playwright Transport.swift
/host/spi-builder-workspace/src/core/Protocol/PlaywrightServer.swift:17:23: error: cannot find type 'Process' in scope
 15 | 	let messages: AsyncStream<Data>
 16 |
 17 | 	private let process: Process
    |                       `- error: cannot find type 'Process' in scope
 18 | 	private let stdinHandle: FileHandle
 19 | 	private let stdoutHandle: FileHandle
/host/spi-builder-workspace/src/core/Protocol/PlaywrightServer.swift:25:12: error: cannot find type 'Process' in scope
 23 |
 24 | 	private init(
 25 | 		process: Process,
    |            `- error: cannot find type 'Process' in scope
 26 | 		stdinHandle: FileHandle,
 27 | 		stdoutHandle: FileHandle,
/host/spi-builder-workspace/src/core/Protocol/PlaywrightServer.swift:55:14: error: cannot find 'Process' in scope
 53 | 		let executable = try Driver.find()
 54 |
 55 | 		let proc = Process()
    |              `- error: cannot find 'Process' in scope
 56 | 		if executable.program.contains("/") {
 57 | 			proc.arguments = executable.arguments
/host/spi-builder-workspace/src/core/Protocol/PlaywrightServer.swift:80:14: error: value of type 'FileHandle' has no member 'readabilityHandler'
 78 | 		let (messages, continuation) = AsyncStream<Data>.makeStream()
 79 | 		let readHandle = stdoutPipe.fileHandleForReading
 80 | 		readHandle.readabilityHandler = { handle in
    |              `- error: value of type 'FileHandle' has no member 'readabilityHandler'
 81 | 			let data = handle.availableData
 82 | 			if data.isEmpty {
/host/spi-builder-workspace/src/core/Protocol/PlaywrightServer.swift:80:37: error: cannot infer type of closure parameter 'handle' without a type annotation
 78 | 		let (messages, continuation) = AsyncStream<Data>.makeStream()
 79 | 		let readHandle = stdoutPipe.fileHandleForReading
 80 | 		readHandle.readabilityHandler = { handle in
    |                                     `- error: cannot infer type of closure parameter 'handle' without a type annotation
 81 | 			let data = handle.availableData
 82 | 			if data.isEmpty {
/host/spi-builder-workspace/src/core/Protocol/PlaywrightServer.swift:103:20: error: value of type 'FileHandle' has no member 'readabilityHandler'
101 | 		// Drain stderr to prevent the server from blocking on a full pipe buffer
102 | 		let stderrReadHandle = stderrPipe.fileHandleForReading
103 | 		stderrReadHandle.readabilityHandler = { handle in
    |                    `- error: value of type 'FileHandle' has no member 'readabilityHandler'
104 | 			// TODO: Should we be logging this somewhere?
105 | 			_ = handle.availableData
/host/spi-builder-workspace/src/core/Protocol/PlaywrightServer.swift:103:43: error: cannot infer type of closure parameter 'handle' without a type annotation
101 | 		// Drain stderr to prevent the server from blocking on a full pipe buffer
102 | 		let stderrReadHandle = stderrPipe.fileHandleForReading
103 | 		stderrReadHandle.readabilityHandler = { handle in
    |                                           `- error: cannot infer type of closure parameter 'handle' without a type annotation
104 | 			// TODO: Should we be logging this somewhere?
105 | 			_ = handle.availableData
/host/spi-builder-workspace/src/core/Protocol/PlaywrightServer.swift:130:17: error: value of type 'FileHandle' has no member 'readabilityHandler'
128 | 	func close() {
129 | 		closeGuard.closeOnce {
130 | 			stdoutHandle.readabilityHandler = nil
    |                 `- error: value of type 'FileHandle' has no member 'readabilityHandler'
131 | 			stderrHandle.readabilityHandler = nil
132 | 			continuation.finish()
/host/spi-builder-workspace/src/core/Protocol/PlaywrightServer.swift:154:35: error: cannot infer type of closure parameter '_' without a type annotation
152 | 			// If the process already exited between our check and setting the handler,
153 | 			// Foundation still calls the handler immediately.
154 | 			process.terminationHandler = { _ in
    |                                   `- error: cannot infer type of closure parameter '_' without a type annotation
155 | 				cont.resume()
156 | 			}
[23/55] Compiling Playwright helpers.swift
/host/spi-builder-workspace/src/core/Protocol/PlaywrightServer.swift:17:23: error: cannot find type 'Process' in scope
 15 | 	let messages: AsyncStream<Data>
 16 |
 17 | 	private let process: Process
    |                       `- error: cannot find type 'Process' in scope
 18 | 	private let stdinHandle: FileHandle
 19 | 	private let stdoutHandle: FileHandle
/host/spi-builder-workspace/src/core/Protocol/PlaywrightServer.swift:25:12: error: cannot find type 'Process' in scope
 23 |
 24 | 	private init(
 25 | 		process: Process,
    |            `- error: cannot find type 'Process' in scope
 26 | 		stdinHandle: FileHandle,
 27 | 		stdoutHandle: FileHandle,
/host/spi-builder-workspace/src/core/Protocol/PlaywrightServer.swift:55:14: error: cannot find 'Process' in scope
 53 | 		let executable = try Driver.find()
 54 |
 55 | 		let proc = Process()
    |              `- error: cannot find 'Process' in scope
 56 | 		if executable.program.contains("/") {
 57 | 			proc.arguments = executable.arguments
/host/spi-builder-workspace/src/core/Protocol/PlaywrightServer.swift:80:14: error: value of type 'FileHandle' has no member 'readabilityHandler'
 78 | 		let (messages, continuation) = AsyncStream<Data>.makeStream()
 79 | 		let readHandle = stdoutPipe.fileHandleForReading
 80 | 		readHandle.readabilityHandler = { handle in
    |              `- error: value of type 'FileHandle' has no member 'readabilityHandler'
 81 | 			let data = handle.availableData
 82 | 			if data.isEmpty {
/host/spi-builder-workspace/src/core/Protocol/PlaywrightServer.swift:80:37: error: cannot infer type of closure parameter 'handle' without a type annotation
 78 | 		let (messages, continuation) = AsyncStream<Data>.makeStream()
 79 | 		let readHandle = stdoutPipe.fileHandleForReading
 80 | 		readHandle.readabilityHandler = { handle in
    |                                     `- error: cannot infer type of closure parameter 'handle' without a type annotation
 81 | 			let data = handle.availableData
 82 | 			if data.isEmpty {
/host/spi-builder-workspace/src/core/Protocol/PlaywrightServer.swift:103:20: error: value of type 'FileHandle' has no member 'readabilityHandler'
101 | 		// Drain stderr to prevent the server from blocking on a full pipe buffer
102 | 		let stderrReadHandle = stderrPipe.fileHandleForReading
103 | 		stderrReadHandle.readabilityHandler = { handle in
    |                    `- error: value of type 'FileHandle' has no member 'readabilityHandler'
104 | 			// TODO: Should we be logging this somewhere?
105 | 			_ = handle.availableData
/host/spi-builder-workspace/src/core/Protocol/PlaywrightServer.swift:103:43: error: cannot infer type of closure parameter 'handle' without a type annotation
101 | 		// Drain stderr to prevent the server from blocking on a full pipe buffer
102 | 		let stderrReadHandle = stderrPipe.fileHandleForReading
103 | 		stderrReadHandle.readabilityHandler = { handle in
    |                                           `- error: cannot infer type of closure parameter 'handle' without a type annotation
104 | 			// TODO: Should we be logging this somewhere?
105 | 			_ = handle.availableData
/host/spi-builder-workspace/src/core/Protocol/PlaywrightServer.swift:130:17: error: value of type 'FileHandle' has no member 'readabilityHandler'
128 | 	func close() {
129 | 		closeGuard.closeOnce {
130 | 			stdoutHandle.readabilityHandler = nil
    |                 `- error: value of type 'FileHandle' has no member 'readabilityHandler'
131 | 			stderrHandle.readabilityHandler = nil
132 | 			continuation.finish()
/host/spi-builder-workspace/src/core/Protocol/PlaywrightServer.swift:154:35: error: cannot infer type of closure parameter '_' without a type annotation
152 | 			// If the process already exited between our check and setting the handler,
153 | 			// Foundation still calls the handler immediately.
154 | 			process.terminationHandler = { _ in
    |                                   `- error: cannot infer type of closure parameter '_' without a type annotation
155 | 				cont.resume()
156 | 			}
[24/55] Compiling Playwright resource_bundle_accessor.swift
/host/spi-builder-workspace/src/core/Protocol/PlaywrightServer.swift:17:23: error: cannot find type 'Process' in scope
 15 | 	let messages: AsyncStream<Data>
 16 |
 17 | 	private let process: Process
    |                       `- error: cannot find type 'Process' in scope
 18 | 	private let stdinHandle: FileHandle
 19 | 	private let stdoutHandle: FileHandle
/host/spi-builder-workspace/src/core/Protocol/PlaywrightServer.swift:25:12: error: cannot find type 'Process' in scope
 23 |
 24 | 	private init(
 25 | 		process: Process,
    |            `- error: cannot find type 'Process' in scope
 26 | 		stdinHandle: FileHandle,
 27 | 		stdoutHandle: FileHandle,
/host/spi-builder-workspace/src/core/Protocol/PlaywrightServer.swift:55:14: error: cannot find 'Process' in scope
 53 | 		let executable = try Driver.find()
 54 |
 55 | 		let proc = Process()
    |              `- error: cannot find 'Process' in scope
 56 | 		if executable.program.contains("/") {
 57 | 			proc.arguments = executable.arguments
/host/spi-builder-workspace/src/core/Protocol/PlaywrightServer.swift:80:14: error: value of type 'FileHandle' has no member 'readabilityHandler'
 78 | 		let (messages, continuation) = AsyncStream<Data>.makeStream()
 79 | 		let readHandle = stdoutPipe.fileHandleForReading
 80 | 		readHandle.readabilityHandler = { handle in
    |              `- error: value of type 'FileHandle' has no member 'readabilityHandler'
 81 | 			let data = handle.availableData
 82 | 			if data.isEmpty {
/host/spi-builder-workspace/src/core/Protocol/PlaywrightServer.swift:80:37: error: cannot infer type of closure parameter 'handle' without a type annotation
 78 | 		let (messages, continuation) = AsyncStream<Data>.makeStream()
 79 | 		let readHandle = stdoutPipe.fileHandleForReading
 80 | 		readHandle.readabilityHandler = { handle in
    |                                     `- error: cannot infer type of closure parameter 'handle' without a type annotation
 81 | 			let data = handle.availableData
 82 | 			if data.isEmpty {
/host/spi-builder-workspace/src/core/Protocol/PlaywrightServer.swift:103:20: error: value of type 'FileHandle' has no member 'readabilityHandler'
101 | 		// Drain stderr to prevent the server from blocking on a full pipe buffer
102 | 		let stderrReadHandle = stderrPipe.fileHandleForReading
103 | 		stderrReadHandle.readabilityHandler = { handle in
    |                    `- error: value of type 'FileHandle' has no member 'readabilityHandler'
104 | 			// TODO: Should we be logging this somewhere?
105 | 			_ = handle.availableData
/host/spi-builder-workspace/src/core/Protocol/PlaywrightServer.swift:103:43: error: cannot infer type of closure parameter 'handle' without a type annotation
101 | 		// Drain stderr to prevent the server from blocking on a full pipe buffer
102 | 		let stderrReadHandle = stderrPipe.fileHandleForReading
103 | 		stderrReadHandle.readabilityHandler = { handle in
    |                                           `- error: cannot infer type of closure parameter 'handle' without a type annotation
104 | 			// TODO: Should we be logging this somewhere?
105 | 			_ = handle.availableData
/host/spi-builder-workspace/src/core/Protocol/PlaywrightServer.swift:130:17: error: value of type 'FileHandle' has no member 'readabilityHandler'
128 | 	func close() {
129 | 		closeGuard.closeOnce {
130 | 			stdoutHandle.readabilityHandler = nil
    |                 `- error: value of type 'FileHandle' has no member 'readabilityHandler'
131 | 			stderrHandle.readabilityHandler = nil
132 | 			continuation.finish()
/host/spi-builder-workspace/src/core/Protocol/PlaywrightServer.swift:154:35: error: cannot infer type of closure parameter '_' without a type annotation
152 | 			// If the process already exited between our check and setting the handler,
153 | 			// Foundation still calls the handler immediately.
154 | 			process.terminationHandler = { _ in
    |                                   `- error: cannot infer type of closure parameter '_' without a type annotation
155 | 				cont.resume()
156 | 			}
[25/55] Compiling Playwright Mouse.swift
[26/55] Compiling Playwright NavigationOptions.swift
[27/55] Compiling Playwright Page.swift
[28/55] Compiling Playwright Request.swift
[29/55] Compiling ArgumentParserToolInfo ToolInfo.swift
[31/146] Compiling ArgumentParser ArgumentDiscussion.swift
[32/146] Compiling ArgumentParser ArgumentHelp.swift
[33/146] Compiling ArgumentParser ArgumentVisibility.swift
[34/146] Compiling ArgumentParser CompletionKind.swift
[35/146] Compiling ArgumentParser Errors.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[36/146] Compiling ArgumentParser ParentCommand.swift
[37/146] Compiling ArgumentParser AsyncParsableCommand.swift
[38/146] Compiling ArgumentParser CommandConfiguration.swift
[39/146] Compiling ArgumentParser CommandGroup.swift
[40/146] Compiling ArgumentParser EnumerableFlag.swift
[41/146] Emitting module Playwright
/host/spi-builder-workspace/src/core/Protocol/PlaywrightServer.swift:17:23: error: cannot find type 'Process' in scope
 15 | 	let messages: AsyncStream<Data>
 16 |
 17 | 	private let process: Process
    |                       `- error: cannot find type 'Process' in scope
 18 | 	private let stdinHandle: FileHandle
 19 | 	private let stdoutHandle: FileHandle
/host/spi-builder-workspace/src/core/Protocol/PlaywrightServer.swift:25:12: error: cannot find type 'Process' in scope
 23 |
 24 | 	private init(
 25 | 		process: Process,
    |            `- error: cannot find type 'Process' in scope
 26 | 		stdinHandle: FileHandle,
 27 | 		stdoutHandle: FileHandle,
[42/146] Compiling ArgumentParser BashCompletionsGenerator.swift
[43/146] Compiling ArgumentParser CompletionsGenerator.swift
[44/146] Compiling ArgumentParser FishCompletionsGenerator.swift
[45/146] Compiling ArgumentParser ZshCompletionsGenerator.swift
[46/146] Compiling ArgumentParser Argument.swift
BUILD FAILURE 6.1 wasm