Build Information
Failed to build Playwright, reference main (27fd48), with Swift 6.3 for Wasm on 13 Apr 2026 21:13:43 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/m1guelpf/swift-playwright.git
Reference: main
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
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 27fd489 Add PlaywrightDriverPlugin to products
Cloned https://github.com/m1guelpf/swift-playwright.git
Revision (git rev-parse @):
27fd489d01a4ca5f68350774f253f82c6afd5cc7
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/m1guelpf/swift-playwright.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/m1guelpf/swift-playwright.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Fetching https://github.com/apple/swift-argument-parser
[1/17523] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.24s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.7.1 (1.75s)
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] Copying drivers
[4/23] Write sources
[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] Compiling ArgumentParserToolInfo ToolInfo.swift
[16/63] Emitting module ArgumentParserToolInfo
[17/102] Wrapping AST for ArgumentParserToolInfo for debugging
[19/110] Compiling ArgumentParserToolInfo ToolInfo.swift
[20/110] Emitting module ArgumentParserToolInfo
[21/111] Wrapping AST for ArgumentParserToolInfo for debugging
[23/112] Compiling ArgumentParser ExpressibleByArgument.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/112] Compiling ArgumentParser ParsableArguments.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/112] Compiling ArgumentParser InputOrigin.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/112] Compiling ArgumentParser Name.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] Emitting module ArgumentParser
[28/163] Compiling ArgumentParser EnumerableFlag.swift
[29/163] Compiling ArgumentParser ExpressibleByArgument.swift
[30/163] Compiling ArgumentParser ParsableArguments.swift
[31/163] Compiling ArgumentParser ParsableCommand.swift
[32/163] Compiling ArgumentParser ArgumentDecoder.swift
[33/163] Compiling ArgumentParser InputOrigin.swift
[34/163] Compiling ArgumentParser Name.swift
[35/163] Compiling ArgumentParser Parsed.swift
[36/163] Compiling ArgumentParser ParsedValues.swift
[37/163] Compiling ArgumentParser FishCompletionsGenerator.swift
[38/163] Compiling ArgumentParser ZshCompletionsGenerator.swift
[39/163] Compiling ArgumentParser Argument.swift
[40/163] Compiling ArgumentParser ArgumentDiscussion.swift
[41/163] Compiling ArgumentParser ArgumentHelp.swift
[42/163] Compiling ArgumentParser ArgumentDefinition.swift
[43/163] Compiling ArgumentParser ArgumentSet.swift
[44/163] Compiling ArgumentParser CommandParser.swift
[45/163] Compiling ArgumentParser InputKey.swift
[46/163] Compiling ArgumentParser ParentCommand.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
[47/163] Compiling ArgumentParser AsyncParsableCommand.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
[48/163] Compiling ArgumentParser CommandConfiguration.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
[49/163] Compiling ArgumentParser CommandGroup.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
[50/163] Compiling ArgumentParser ArgumentVisibility.swift
[51/163] Compiling ArgumentParser CompletionKind.swift
[52/163] Compiling ArgumentParser Errors.swift
[53/163] Compiling ArgumentParser Flag.swift
[54/163] Compiling ArgumentParser NameSpecification.swift
[55/163] Compiling ArgumentParser Option.swift
[56/163] Compiling ArgumentParser OptionGroup.swift
[57/163] Compiling ArgumentParser BashCompletionsGenerator.swift
[58/163] Compiling ArgumentParser CompletionsGenerator.swift
[64/163] Compiling ArgumentParser ParserError.swift
[65/163] Compiling ArgumentParser SplitArguments.swift
BUILD FAILURE 6.3 wasm