Build Information
Successful build of WKDevKit, reference v1.2.1 (e71313), with Swift 6.1 for macOS (SPM) on 5 Nov 2026 22:25:16 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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 InferSendableFromCapturesBuild Log
========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/devandanger/WKDevKit.git
Reference: v1.2.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/devandanger/WKDevKit
* tag v1.2.1 -> FETCH_HEAD
HEAD is now at e713137 Declare macOS 12 platform so the package builds on CI
Cloned https://github.com/devandanger/WKDevKit.git
Revision (git rev-parse @):
e7131378dc62424e606eb45d1ff81f2a51601f81
SUCCESS checkout https://github.com/devandanger/WKDevKit.git at v1.2.1
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/devandanger/WKDevKit.git
https://github.com/devandanger/WKDevKit.git
{
"dependencies" : [
],
"manifest_display_name" : "WKDevKit",
"name" : "WKDevKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "macos",
"version" : "12.0"
}
],
"products" : [
{
"name" : "WKDevKit",
"targets" : [
"WKDevKit"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "WKDevKitMCP",
"targets" : [
"WKDevKitMCP"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "WKDevKitTests",
"module_type" : "SwiftTarget",
"name" : "WKDevKitTests",
"path" : "WKDevKit/Tests/WKDevKitTests",
"sources" : [
"WKDevKitTests.swift"
],
"target_dependencies" : [
"WKDevKit"
],
"type" : "test"
},
{
"c99name" : "WKDevKitMCPTests",
"module_type" : "SwiftTarget",
"name" : "WKDevKitMCPTests",
"path" : "WKDevKit/Tests/WKDevKitMCPTests",
"sources" : [
"HTTPMessageTests.swift",
"MCPRequestHandlerTests.swift",
"ServerRoundTripTests.swift"
],
"target_dependencies" : [
"WKDevKitMCP"
],
"type" : "test"
},
{
"c99name" : "WKDevKitMCP",
"module_type" : "SwiftTarget",
"name" : "WKDevKitMCP",
"path" : "WKDevKit/Sources/WKDevKitMCP",
"product_memberships" : [
"WKDevKitMCP"
],
"sources" : [
"HTTPMessage.swift",
"MCPRequestHandler.swift",
"NetworkInterfaces.swift",
"WKDevKitMCPServer.swift",
"WKDevKitMCPServerView.swift",
"WebViewMCPToolProvider+Capture.swift",
"WebViewMCPToolProvider+Interaction.swift",
"WebViewMCPToolProvider+Native.swift",
"WebViewMCPToolProvider.swift"
],
"target_dependencies" : [
"WKDevKit"
],
"type" : "library"
},
{
"c99name" : "WKDevKit",
"module_type" : "SwiftTarget",
"name" : "WKDevKit",
"path" : "WKDevKit/Sources/WKDevKit",
"product_memberships" : [
"WKDevKit",
"WKDevKitMCP"
],
"sources" : [
"Components/WKDevKitConsoleView.swift",
"Components/WKDevKitDOMInspector.swift",
"Components/WKDevKitStorageView.swift",
"ConsoleView.swift",
"DOMInspectorView.swift",
"DebugPanel.swift",
"DebugTabView.swift",
"EmbeddedWebViewScreen.swift",
"EventsViewModel.swift",
"InfoView.swift",
"NavigationDelegateProxy.swift",
"ScriptMessageHandlerProxy.swift",
"UIDelegateProxy.swift",
"UIKit/WKDevKitConsoleViewController.swift",
"UIKit/WKDevKitDOMViewController.swift",
"UIKit/WKDevKitDebugViewController.swift",
"UIKit/WKDevKitStorageViewController.swift",
"WKDevKitColors.swift",
"WKDevKitConfiguration.swift",
"WKDevKitDebuggable.swift",
"WKDevKitDebugger.swift",
"WKDevKitEventsView.swift",
"WKWebView+DevKit.swift",
"WKWebViewEvent.swift",
"WKWebViewEventsView.swift",
"WebStorageView.swift",
"WebView.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-2F0A5646E1D333AE.txt
[4/29] Emitting module WKDevKit
[5/31] Compiling WKDevKit WebStorageView.swift
[6/31] Compiling WKDevKit WebView.swift
[7/31] Compiling WKDevKit DebugTabView.swift
[8/31] Compiling WKDevKit EmbeddedWebViewScreen.swift
[9/31] Compiling WKDevKit EventsViewModel.swift
[10/31] Compiling WKDevKit WKDevKitConsoleView.swift
[11/31] Compiling WKDevKit WKDevKitDOMInspector.swift
[12/31] Compiling WKDevKit WKDevKitStorageView.swift
[13/31] Compiling WKDevKit WKDevKitEventsView.swift
[14/31] Compiling WKDevKit WKWebView+DevKit.swift
[15/31] Compiling WKDevKit WKDevKitDebugViewController.swift
[16/31] Compiling WKDevKit WKDevKitStorageViewController.swift
[17/31] Compiling WKDevKit WKDevKitColors.swift
[18/31] Compiling WKDevKit WKDevKitConfiguration.swift
[19/31] Compiling WKDevKit WKDevKitDebuggable.swift
[20/31] Compiling WKDevKit WKDevKitDebugger.swift
[21/31] Compiling WKDevKit ConsoleView.swift
[22/31] Compiling WKDevKit DOMInspectorView.swift
[23/31] Compiling WKDevKit DebugPanel.swift
[24/31] Compiling WKDevKit UIDelegateProxy.swift
[25/31] Compiling WKDevKit WKDevKitConsoleViewController.swift
[26/31] Compiling WKDevKit WKDevKitDOMViewController.swift
[27/31] Compiling WKDevKit InfoView.swift
[28/31] Compiling WKDevKit NavigationDelegateProxy.swift
[29/31] Compiling WKDevKit ScriptMessageHandlerProxy.swift
[30/31] Compiling WKDevKit WKWebViewEvent.swift
[31/31] Compiling WKDevKit WKWebViewEventsView.swift
[32/41] Compiling WKDevKitMCP WebViewMCPToolProvider.swift
[33/41] Compiling WKDevKitMCP WebViewMCPToolProvider+Native.swift
[34/41] Compiling WKDevKitMCP WebViewMCPToolProvider+Interaction.swift
[35/41] Compiling WKDevKitMCP WKDevKitMCPServerView.swift
[36/41] Compiling WKDevKitMCP WebViewMCPToolProvider+Capture.swift
[37/41] Compiling WKDevKitMCP NetworkInterfaces.swift
[38/41] Compiling WKDevKitMCP MCPRequestHandler.swift
[39/41] Compiling WKDevKitMCP HTTPMessage.swift
[40/41] Emitting module WKDevKitMCP
[41/41] Compiling WKDevKitMCP WKDevKitMCPServer.swift
/Users/admin/builder/spi-builder-workspace/WKDevKit/Sources/WKDevKitMCP/WKDevKitMCPServer.swift:289:17: warning: capture of 'self' with non-sendable type 'ClientConnection?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
263 | /// on the main actor, writes the response, and keeps going until the peer
264 | /// closes or asks for Connection: close.
265 | final class ClientConnection {
| `- note: class 'ClientConnection' does not conform to the 'Sendable' protocol
266 | let identifier: ObjectIdentifier
267 | private let connection: NWConnection
:
287 | switch state {
288 | case .failed, .cancelled:
289 | self?.finish()
| `- warning: capture of 'self' with non-sendable type 'ClientConnection?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
290 | default:
291 | break
/Users/admin/builder/spi-builder-workspace/WKDevKit/Sources/WKDevKitMCP/WKDevKitMCPServer.swift:304:30: warning: capture of 'self' with non-sendable type 'ClientConnection?' in a '@Sendable' closure
263 | /// on the main actor, writes the response, and keeps going until the peer
264 | /// closes or asks for Connection: close.
265 | final class ClientConnection {
| `- note: class 'ClientConnection' does not conform to the 'Sendable' protocol
266 | let identifier: ObjectIdentifier
267 | private let connection: NWConnection
:
302 | private func receive() {
303 | connection.receive(minimumIncompleteLength: 1, maximumLength: 64 * 1024) { [weak self] data, _, isComplete, error in
304 | guard let self = self else { return }
| `- warning: capture of 'self' with non-sendable type 'ClientConnection?' in a '@Sendable' closure
305 | if let data = data, !data.isEmpty {
306 | self.parser.append(data)
/Users/admin/builder/spi-builder-workspace/WKDevKit/Sources/WKDevKitMCP/WKDevKitMCPServer.swift:344:24: warning: capture of 'self' with non-sendable type 'ClientConnection?' in a '@Sendable' closure
263 | /// on the main actor, writes the response, and keeps going until the peer
264 | /// closes or asks for Connection: close.
265 | final class ClientConnection {
| `- note: class 'ClientConnection' does not conform to the 'Sendable' protocol
266 | let identifier: ObjectIdentifier
267 | private let connection: NWConnection
:
342 | let data = response.serialized(close: close)
343 | connection.send(content: data, completion: .contentProcessed { [weak self] _ in
344 | if close { self?.connection.cancel() }
| `- warning: capture of 'self' with non-sendable type 'ClientConnection?' in a '@Sendable' closure
345 | })
346 | }
/Users/admin/builder/spi-builder-workspace/WKDevKit/Sources/WKDevKitMCP/WKDevKitMCPServer.swift:322:49: warning: sending 'request' risks causing data races; this is an error in the Swift 6 language mode
320 | let close = request.wantsClose
321 | Task { @MainActor [handle] in
322 | let response = await handle(request)
| |- warning: sending 'request' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'request' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
323 | self.send(response, close: close)
324 | }
/Users/admin/builder/spi-builder-workspace/WKDevKit/Sources/WKDevKitMCP/WKDevKitMCPServer.swift:323:21: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
321 | Task { @MainActor [handle] in
322 | let response = await handle(request)
323 | self.send(response, close: close)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
324 | }
325 | if close { break }
Build complete! (13.39s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "WKDevKit",
"name" : "WKDevKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "macos",
"version" : "12.0"
}
],
"products" : [
{
"name" : "WKDevKit",
"targets" : [
"WKDevKit"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "WKDevKitMCP",
"targets" : [
"WKDevKitMCP"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "WKDevKitTests",
"module_type" : "SwiftTarget",
"name" : "WKDevKitTests",
"path" : "WKDevKit/Tests/WKDevKitTests",
"sources" : [
"WKDevKitTests.swift"
],
"target_dependencies" : [
"WKDevKit"
],
"type" : "test"
},
{
"c99name" : "WKDevKitMCPTests",
"module_type" : "SwiftTarget",
"name" : "WKDevKitMCPTests",
"path" : "WKDevKit/Tests/WKDevKitMCPTests",
"sources" : [
"HTTPMessageTests.swift",
"MCPRequestHandlerTests.swift",
"ServerRoundTripTests.swift"
],
"target_dependencies" : [
"WKDevKitMCP"
],
"type" : "test"
},
{
"c99name" : "WKDevKitMCP",
"module_type" : "SwiftTarget",
"name" : "WKDevKitMCP",
"path" : "WKDevKit/Sources/WKDevKitMCP",
"product_memberships" : [
"WKDevKitMCP"
],
"sources" : [
"HTTPMessage.swift",
"MCPRequestHandler.swift",
"NetworkInterfaces.swift",
"WKDevKitMCPServer.swift",
"WKDevKitMCPServerView.swift",
"WebViewMCPToolProvider+Capture.swift",
"WebViewMCPToolProvider+Interaction.swift",
"WebViewMCPToolProvider+Native.swift",
"WebViewMCPToolProvider.swift"
],
"target_dependencies" : [
"WKDevKit"
],
"type" : "library"
},
{
"c99name" : "WKDevKit",
"module_type" : "SwiftTarget",
"name" : "WKDevKit",
"path" : "WKDevKit/Sources/WKDevKit",
"product_memberships" : [
"WKDevKit",
"WKDevKitMCP"
],
"sources" : [
"Components/WKDevKitConsoleView.swift",
"Components/WKDevKitDOMInspector.swift",
"Components/WKDevKitStorageView.swift",
"ConsoleView.swift",
"DOMInspectorView.swift",
"DebugPanel.swift",
"DebugTabView.swift",
"EmbeddedWebViewScreen.swift",
"EventsViewModel.swift",
"InfoView.swift",
"NavigationDelegateProxy.swift",
"ScriptMessageHandlerProxy.swift",
"UIDelegateProxy.swift",
"UIKit/WKDevKitConsoleViewController.swift",
"UIKit/WKDevKitDOMViewController.swift",
"UIKit/WKDevKitDebugViewController.swift",
"UIKit/WKDevKitStorageViewController.swift",
"WKDevKitColors.swift",
"WKDevKitConfiguration.swift",
"WKDevKitDebuggable.swift",
"WKDevKitDebugger.swift",
"WKDevKitEventsView.swift",
"WKWebView+DevKit.swift",
"WKWebViewEvent.swift",
"WKWebViewEventsView.swift",
"WebStorageView.swift",
"WebView.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.