Build Information
Failed to build Playwright, reference main (27fd48), with Swift 6.1 for Wasm on 13 Apr 2026 20:05:39 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>&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.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
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 -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:276d66a16377d3ee059b2e3429cbc1154d9f01e42871e5d702fd5d8b9044d93d
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/17523] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (0.94s)
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] Write sources
[8/23] Copying drivers
[9/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
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/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
[18/64] Emitting module ArgumentParserToolInfo
[19/64] Compiling ArgumentParserToolInfo ToolInfo.swift
[20/65] Wrapping AST for ArgumentParserToolInfo for debugging
[23/157] Compiling ArgumentParser CommandParser.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/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 InputKey.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/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 DumpHelpGenerator.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/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 HelpCommand.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/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 BashCompletionsGenerator.swift
[28/157] Compiling ArgumentParser CompletionsGenerator.swift
[29/157] Compiling ArgumentParser FishCompletionsGenerator.swift
[30/157] Compiling ArgumentParser ZshCompletionsGenerator.swift
[31/157] Compiling ArgumentParser Argument.swift
[32/157] Compiling ArgumentParser ArgumentDiscussion.swift
[33/157] Compiling ArgumentParser ArgumentHelp.swift
[34/157] Compiling ArgumentParser Foundation.swift
[35/157] Compiling ArgumentParser Mutex.swift
[36/157] Compiling ArgumentParser Platform.swift
[37/157] Compiling ArgumentParser SequenceExtensions.swift
[38/157] Compiling ArgumentParser StringExtensions.swift
[39/157] Compiling ArgumentParser SwiftExtensions.swift
[40/163] Emitting module ArgumentParser
[41/169] Compiling ArgumentParser ArgumentVisibility.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[42/169] Compiling ArgumentParser CompletionKind.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[43/169] Compiling ArgumentParser Errors.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[44/169] Compiling ArgumentParser Flag.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[45/169] Compiling ArgumentParser NameSpecification.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[46/169] Compiling ArgumentParser ParentCommand.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/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/169] Compiling ArgumentParser AsyncParsableCommand.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/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/169] Compiling ArgumentParser CommandConfiguration.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/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/169] Compiling ArgumentParser CommandGroup.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/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/169] Compiling ArgumentParser Parsed.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[51/169] Compiling ArgumentParser ParsedValues.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[52/169] Compiling ArgumentParser ParserError.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[53/169] Compiling ArgumentParser SplitArguments.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[54/169] Compiling ArgumentParser EnumerableFlag.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[55/169] Compiling ArgumentParser ExpressibleByArgument.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[56/169] Compiling ArgumentParser ParsableArguments.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[57/169] Compiling ArgumentParser InputOrigin.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[58/169] Compiling ArgumentParser Name.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[59/169] Compiling ArgumentParser ParsableCommand.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[60/169] Compiling ArgumentParser ArgumentDecoder.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[61/169] Compiling ArgumentParser ArgumentDefinition.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[62/169] Compiling ArgumentParser ArgumentSet.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[63/169] Compiling ArgumentParser Option.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[64/169] Compiling ArgumentParser OptionGroup.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[72/169] Compiling ArgumentParser Tree.swift
[73/169] Compiling ArgumentParser CodingKeyValidator.swift
[74/169] Compiling ArgumentParser NonsenseFlagsValidator.swift
[75/169] Compiling ArgumentParser ParsableArgumentsValidation.swift
[76/169] Compiling ArgumentParser PositionalArgumentsValidator.swift
[77/169] Compiling ArgumentParser UniqueNamesValidator.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:276d66a16377d3ee059b2e3429cbc1154d9f01e42871e5d702fd5d8b9044d93d
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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/50] 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,
[6/54] Compiling Playwright CloseGuard.swift
[7/54] Compiling Playwright Connection.swift
[8/54] Compiling Playwright Driver.swift
[9/54] Compiling Playwright ObjectFactory.swift
[10/54] Compiling Playwright ActionOptions.swift
[11/54] Compiling Playwright Artifact.swift
[12/54] Compiling Playwright Browser.swift
[13/54] Compiling Playwright BrowserContext.swift
[14/54] Compiling Playwright BrowserContextOptions.swift
[15/54] Emitting module ArgumentParserToolInfo
[16/54] Compiling ArgumentParserToolInfo ToolInfo.swift
[18/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 | }
[19/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 | }
[20/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 | }
[21/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 | }
[22/54] Emitting module ArgumentParserToolInfo
[23/54] Compiling ArgumentParserToolInfo ToolInfo.swift
[25/146] 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
[26/146] 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
[27/146] Compiling ArgumentParser Parsed.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
[28/146] Compiling ArgumentParser ParsedValues.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
[29/146] Compiling ArgumentParser Flag.swift
[30/146] Compiling ArgumentParser NameSpecification.swift
[31/146] Compiling ArgumentParser Option.swift
[32/146] Compiling ArgumentParser OptionGroup.swift
[33/146] Compiling ArgumentParser EnumerableFlag.swift
[34/146] Compiling ArgumentParser ExpressibleByArgument.swift
[35/146] Compiling ArgumentParser ParsableArguments.swift
[36/146] Compiling ArgumentParser ParsableCommand.swift
[37/146] Compiling ArgumentParser ArgumentDiscussion.swift
[38/146] Compiling ArgumentParser ArgumentHelp.swift
[39/146] Compiling ArgumentParser ArgumentVisibility.swift
[40/146] Compiling ArgumentParser CompletionKind.swift
[41/146] Compiling ArgumentParser Errors.swift
[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
[47/146] Emitting module ArgumentParser
BUILD FAILURE 6.1 wasm