Build Information
Failed to build Playwright, reference v0.1.1 (27fd48), with Swift 6.2 for Wasm on 25 Jun 2026 20:55:23 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886769-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 0e64495ecc1688c3b3e031a5ef1348b5c05091ae
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/m1guelpf/swift-playwright.git
Reference: v0.1.1
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.1 -> FETCH_HEAD
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 v0.1.1
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/m1guelpf/swift-playwright.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:dc8dffc38f1d92eca7ee5312617822470123661393ed20672e77964f9dcaaffb
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest
Fetching https://github.com/apple/swift-argument-parser
[1/17949] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (0.71s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.86s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.8.2
[1/1] Compiling plugin PlaywrightDriverPlugin
[2/2] Compiling plugin GenerateManual
[3/3] Compiling plugin GenerateDoccReference
Building for debugging...
[3/23] Write sources
[10/23] Copying drivers
[11/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] Emitting module ArgumentParserToolInfo
[16/63] Compiling ArgumentParserToolInfo ToolInfo.swift
[19/64] Emitting module ArgumentParserToolInfo
[19/66] Wrapping AST for ArgumentParserToolInfo for debugging
[23/159] Compiling ArgumentParser ArgumentDefinition.swift
[24/159] Compiling ArgumentParser ArgumentSet.swift
[25/159] Compiling ArgumentParser CommandParser.swift
[26/159] Compiling ArgumentParser InputKey.swift
[27/159] 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
/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 | }
[28/159] 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
/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 | }
[29/159] Compiling ArgumentParser Foundation.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 | }
[30/159] 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 | }
[31/159] Emitting module ArgumentParser
[32/165] Compiling ArgumentParser Mutex.swift
[33/165] Compiling ArgumentParser Platform.swift
[34/165] Compiling ArgumentParser SequenceExtensions.swift
[35/165] Compiling ArgumentParser StringExtensions.swift
[36/165] Compiling ArgumentParser SwiftExtensions.swift
[37/165] Compiling ArgumentParser Tree.swift
[38/165] Compiling ArgumentParser ParentCommand.swift
[39/165] Compiling ArgumentParser AsyncParsableCommand.swift
[40/165] Compiling ArgumentParser CommandConfiguration.swift
[41/165] Compiling ArgumentParser CommandGroup.swift
[42/165] Compiling ArgumentParser EnumerableFlag.swift
[43/165] Compiling ArgumentParser ExpressibleByArgument.swift
[44/165] Compiling ArgumentParser ParsableArguments.swift
[45/165] Compiling ArgumentParser AsyncCompletionsValidator.swift
[46/165] Compiling ArgumentParser CodingKeyValidator.swift
[47/165] Compiling ArgumentParser NonsenseFlagsValidator.swift
[48/165] Compiling ArgumentParser ParsableArgumentsValidation.swift
[49/165] Compiling ArgumentParser PositionalArgumentsValidator.swift
[50/165] Compiling ArgumentParser UniqueNamesValidator.swift
[51/165] Compiling ArgumentParser ArgumentVisibility.swift
[52/165] Compiling ArgumentParser CompletionKind.swift
[53/165] Compiling ArgumentParser Errors.swift
[54/165] Compiling ArgumentParser Flag.swift
[55/165] Compiling ArgumentParser NameSpecification.swift
[56/165] Compiling ArgumentParser Option.swift
[57/165] Compiling ArgumentParser OptionGroup.swift
[62/165] 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
[63/165] Compiling ArgumentParser HelpCommand.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
[64/165] 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
[65/165] 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
[68/165] Compiling ArgumentParser ParsableCommand.swift
[69/165] Compiling ArgumentParser ArgumentDecoder.swift
[70/165] Compiling ArgumentParser BashCompletionsGenerator.swift
[71/165] Compiling ArgumentParser CompletionsGenerator.swift
[72/165] Compiling ArgumentParser FishCompletionsGenerator.swift
[73/165] Compiling ArgumentParser ZshCompletionsGenerator.swift
[74/165] Compiling ArgumentParser Argument.swift
[75/165] Compiling ArgumentParser ArgumentDiscussion.swift
[76/165] Compiling ArgumentParser ArgumentHelp.swift
[93/165] Compiling ArgumentParser Parsed.swift
[94/165] Compiling ArgumentParser ParsedValues.swift
[95/165] Compiling ArgumentParser ParserError.swift
[96/165] Compiling ArgumentParser SplitArguments.swift
[97/165] Compiling ArgumentParser DumpHelpGenerator.swift
BUILD FAILURE 6.2 wasm