Build Information
Failed to build Phaze, reference main (4e2f0c), with Swift 6.1 for macOS (SPM) on 4 Oct 2026 02:22:21 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 5.1.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/madenowhere/phaze-swift.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/madenowhere/phaze-swift
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 4e2f0cc PhazeAuth: AppleSignIn asks the OS for an Apple ID's identity token
Cloned https://github.com/madenowhere/phaze-swift.git
Revision (git rev-parse @):
4e2f0cc6d7157a03e5fda2ae371bc1a558187c4e
SUCCESS checkout https://github.com/madenowhere/phaze-swift.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/madenowhere/phaze-swift.git
https://github.com/madenowhere/phaze-swift.git
{
"dependencies" : [
],
"manifest_display_name" : "Phaze",
"name" : "Phaze",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "26.0"
}
],
"products" : [
{
"name" : "Phaze",
"targets" : [
"Phaze"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "PhazeAuth",
"targets" : [
"PhazeAuth"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "PhazeAuth",
"module_type" : "SwiftTarget",
"name" : "PhazeAuth",
"path" : "Sources/PhazeAuth",
"product_memberships" : [
"PhazeAuth"
],
"sources" : [
"AppleSignIn.swift",
"Authenticator.swift",
"Enclave.swift",
"SystemPasskey.swift"
],
"type" : "library"
},
{
"c99name" : "Phaze",
"module_type" : "SwiftTarget",
"name" : "Phaze",
"path" : "Sources/Phaze",
"product_memberships" : [
"Phaze"
],
"sources" : [
"DragHandler.swift",
"PhazeEnv.swift",
"PhazeRouter.swift",
"Proxy.swift",
"RequestHandler.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
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
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-2F0A5646E1D333AE.txt
[4/14] Compiling PhazeAuth Enclave.swift
[5/14] Emitting module PhazeAuth
[6/14] Compiling PhazeAuth Authenticator.swift
[7/14] Compiling PhazeAuth AppleSignIn.swift
[8/14] Compiling PhazeAuth SystemPasskey.swift
[9/14] Compiling Phaze RequestHandler.swift
/Users/admin/builder/spi-builder-workspace/Sources/Phaze/RequestHandler.swift:19:64: error: cannot find type 'URLSchemeTaskResult' in scope
17 | let views: Proxy?
18 |
19 | func reply(for request: URLRequest) -> AsyncThrowingStream<URLSchemeTaskResult, any Error> {
| `- error: cannot find type 'URLSchemeTaskResult' in scope
20 | if let api, let path = request.url?.path(percentEncoded: false), Proxy.isAPI(path) {
21 | return api.reply(for: request)
/Users/admin/builder/spi-builder-workspace/Sources/Phaze/RequestHandler.swift:13:24: error: cannot find type 'URLSchemeHandler' in scope
11 | /// an asset of its build — is requested there the same way, with the same credentials, so the
12 | /// worker's guard sees the app's session; without one a miss is a loud 404.
13 | struct RequestHandler: URLSchemeHandler {
| `- error: cannot find type 'URLSchemeHandler' in scope
14 | let root: URL
15 | let origin: String
[10/14] Compiling Phaze PhazeEnv.swift
[11/14] Compiling Phaze Proxy.swift
/Users/admin/builder/spi-builder-workspace/Sources/Phaze/Proxy.swift:45:64: error: cannot find type 'URLSchemeTaskResult' in scope
43 | private static let droppedRequestHeaders: Set<String> = ["host", "origin", "referer", "cookie"]
44 |
45 | func reply(for request: URLRequest) -> AsyncThrowingStream<URLSchemeTaskResult, any Error> {
| `- error: cannot find type 'URLSchemeTaskResult' in scope
46 | AsyncThrowingStream { continuation in
47 | guard let url = request.url,
/Users/admin/builder/spi-builder-workspace/Sources/Phaze/Proxy.swift:97:62: error: cannot find type 'URLSchemeTaskResult' in scope
95 | /// the attach that happens on the caller's side.
96 | final class ProxyDelegate: NSObject, URLSessionDataDelegate, @unchecked Sendable {
97 | fileprivate typealias Continuation = AsyncThrowingStream<URLSchemeTaskResult, any Error>.Continuation
| `- error: cannot find type 'URLSchemeTaskResult' in scope
98 |
99 | let viewOrigin: String
/Users/admin/builder/spi-builder-workspace/Sources/Phaze/Proxy.swift:150:35: error: cannot infer contextual base in reference to member 'response'
148 | url: entry.viewURL, statusCode: http?.statusCode ?? 200, httpVersion: "HTTP/1.1", headerFields: headers
149 | )!
150 | entry.continuation.yield(.response(forView))
| `- error: cannot infer contextual base in reference to member 'response'
151 | completionHandler(.allow)
152 | }
/Users/admin/builder/spi-builder-workspace/Sources/Phaze/Proxy.swift:155:51: error: cannot infer contextual base in reference to member 'data'
153 |
154 | func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
155 | entry(for: dataTask)?.continuation.yield(.data(data))
| `- error: cannot infer contextual base in reference to member 'data'
156 | }
157 |
[12/14] Compiling Phaze DragHandler.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[13/14] Emitting module Phaze
/Users/admin/builder/spi-builder-workspace/Sources/Phaze/PhazeRouter.swift:27:22: error: cannot find type 'WebPage' in scope
25 | public final class PhazeRouter {
26 | /// The view a `WebView` shows.
27 | public let view: WebPage
| `- error: cannot find type 'WebPage' in scope
28 |
29 | /// Serves `dist` at `<scheme>://localhost` and drags the window from the view's
/Users/admin/builder/spi-builder-workspace/Sources/Phaze/PhazeRouter.swift:81:39: error: cannot find type 'WebPage' in scope
79 | let origins: Set<String>
80 |
81 | func decidePolicy(for action: WebPage.NavigationAction, preferences: inout WebPage.NavigationPreferences) async -> WKNavigationActionPolicy {
| `- error: cannot find type 'WebPage' in scope
82 | guard let url = action.request.url else { return .cancel }
83 | if url.scheme == "about" || origins.contains(Self.origin(of: url) ?? "") {
/Users/admin/builder/spi-builder-workspace/Sources/Phaze/PhazeRouter.swift:81:84: error: cannot find type 'WebPage' in scope
79 | let origins: Set<String>
80 |
81 | func decidePolicy(for action: WebPage.NavigationAction, preferences: inout WebPage.NavigationPreferences) async -> WKNavigationActionPolicy {
| `- error: cannot find type 'WebPage' in scope
82 | guard let url = action.request.url else { return .cancel }
83 | if url.scheme == "about" || origins.contains(Self.origin(of: url) ?? "") {
/Users/admin/builder/spi-builder-workspace/Sources/Phaze/PhazeRouter.swift:78:33: error: cannot find type 'WebPage' in scope
76 | /// refused and said so. `about:` is the empty document WebKit starts from.
77 | @MainActor
78 | struct NavigationAllowlist: WebPage.NavigationDeciding {
| `- error: cannot find type 'WebPage' in scope
79 | let origins: Set<String>
80 |
/Users/admin/builder/spi-builder-workspace/Sources/Phaze/Proxy.swift:45:64: error: cannot find type 'URLSchemeTaskResult' in scope
43 | private static let droppedRequestHeaders: Set<String> = ["host", "origin", "referer", "cookie"]
44 |
45 | func reply(for request: URLRequest) -> AsyncThrowingStream<URLSchemeTaskResult, any Error> {
| `- error: cannot find type 'URLSchemeTaskResult' in scope
46 | AsyncThrowingStream { continuation in
47 | guard let url = request.url,
/Users/admin/builder/spi-builder-workspace/Sources/Phaze/Proxy.swift:97:62: error: cannot find type 'URLSchemeTaskResult' in scope
95 | /// the attach that happens on the caller's side.
96 | final class ProxyDelegate: NSObject, URLSessionDataDelegate, @unchecked Sendable {
97 | fileprivate typealias Continuation = AsyncThrowingStream<URLSchemeTaskResult, any Error>.Continuation
| `- error: cannot find type 'URLSchemeTaskResult' in scope
98 |
99 | let viewOrigin: String
/Users/admin/builder/spi-builder-workspace/Sources/Phaze/RequestHandler.swift:19:64: error: cannot find type 'URLSchemeTaskResult' in scope
17 | let views: Proxy?
18 |
19 | func reply(for request: URLRequest) -> AsyncThrowingStream<URLSchemeTaskResult, any Error> {
| `- error: cannot find type 'URLSchemeTaskResult' in scope
20 | if let api, let path = request.url?.path(percentEncoded: false), Proxy.isAPI(path) {
21 | return api.reply(for: request)
/Users/admin/builder/spi-builder-workspace/Sources/Phaze/RequestHandler.swift:13:24: error: cannot find type 'URLSchemeHandler' in scope
11 | /// an asset of its build — is requested there the same way, with the same credentials, so the
12 | /// worker's guard sees the app's session; without one a miss is a loud 404.
13 | struct RequestHandler: URLSchemeHandler {
| `- error: cannot find type 'URLSchemeHandler' in scope
14 | let root: URL
15 | let origin: String
[14/14] Compiling Phaze PhazeRouter.swift
/Users/admin/builder/spi-builder-workspace/Sources/Phaze/PhazeRouter.swift:27:22: error: cannot find type 'WebPage' in scope
25 | public final class PhazeRouter {
26 | /// The view a `WebView` shows.
27 | public let view: WebPage
| `- error: cannot find type 'WebPage' in scope
28 |
29 | /// Serves `dist` at `<scheme>://localhost` and drags the window from the view's
/Users/admin/builder/spi-builder-workspace/Sources/Phaze/PhazeRouter.swift:81:39: error: cannot find type 'WebPage' in scope
79 | let origins: Set<String>
80 |
81 | func decidePolicy(for action: WebPage.NavigationAction, preferences: inout WebPage.NavigationPreferences) async -> WKNavigationActionPolicy {
| `- error: cannot find type 'WebPage' in scope
82 | guard let url = action.request.url else { return .cancel }
83 | if url.scheme == "about" || origins.contains(Self.origin(of: url) ?? "") {
/Users/admin/builder/spi-builder-workspace/Sources/Phaze/PhazeRouter.swift:81:84: error: cannot find type 'WebPage' in scope
79 | let origins: Set<String>
80 |
81 | func decidePolicy(for action: WebPage.NavigationAction, preferences: inout WebPage.NavigationPreferences) async -> WKNavigationActionPolicy {
| `- error: cannot find type 'WebPage' in scope
82 | guard let url = action.request.url else { return .cancel }
83 | if url.scheme == "about" || origins.contains(Self.origin(of: url) ?? "") {
/Users/admin/builder/spi-builder-workspace/Sources/Phaze/PhazeRouter.swift:78:33: error: cannot find type 'WebPage' in scope
76 | /// refused and said so. `about:` is the empty document WebKit starts from.
77 | @MainActor
78 | struct NavigationAllowlist: WebPage.NavigationDeciding {
| `- error: cannot find type 'WebPage' in scope
79 | let origins: Set<String>
80 |
/Users/admin/builder/spi-builder-workspace/Sources/Phaze/PhazeRouter.swift:47:31: error: cannot find 'URLScheme' in scope
45 | /// keeps the same rule with its navigation handler.
46 | public init(dist: URL, scheme: String = "app", api: URL? = nil, views: URL? = nil, allow: [URL] = []) {
47 | guard let urlScheme = URLScheme(scheme) else {
| `- error: cannot find 'URLScheme' in scope
48 | preconditionFailure("PhazeRouter: '\(scheme)' is not a valid URL scheme")
49 | }
/Users/admin/builder/spi-builder-workspace/Sources/Phaze/PhazeRouter.swift:52:29: error: cannot find 'WebPage' in scope
50 | let origin = "\(scheme)://localhost"
51 | let allowlist = NavigationAllowlist(origins: Set([origin] + allow.compactMap(NavigationAllowlist.origin)))
52 | var configuration = WebPage.Configuration()
| `- error: cannot find 'WebPage' in scope
53 | configuration.urlSchemeHandlers[urlScheme] = RequestHandler(
54 | root: dist, origin: origin,
/Users/admin/builder/spi-builder-workspace/Sources/Phaze/PhazeRouter.swift:62:79: error: cannot infer contextual base in reference to member 'defaultClient'
60 | // runs AppKit's window drag with that event. The handler and its script live in the client
61 | // world, so the view's own scripts can neither post `drag` nor alter the listener.
62 | configuration.userContentController.add(DragHandler(), contentWorld: .defaultClient, name: "drag")
| `- error: cannot infer contextual base in reference to member 'defaultClient'
63 | configuration.userContentController.addUserScript(WKUserScript(source: """
64 | addEventListener('mousedown', (e) => {
/Users/admin/builder/spi-builder-workspace/Sources/Phaze/PhazeRouter.swift:71:16: error: cannot find 'WebPage' in scope
69 | """, injectionTime: .atDocumentStart, forMainFrameOnly: true, in: .defaultClient))
70 | #endif
71 | view = WebPage(configuration: configuration, navigationDecider: allowlist)
| `- error: cannot find 'WebPage' in scope
72 | }
73 |
/Users/admin/builder/spi-builder-workspace/Sources/Phaze/PhazeRouter.swift:87:42: error: cannot infer contextual base in reference to member 'linkActivated'
85 | }
86 | #if os(macOS)
87 | if action.navigationType == .linkActivated, let scheme = url.scheme, scheme == "http" || scheme == "https" {
| `- error: cannot infer contextual base in reference to member 'linkActivated'
88 | NSWorkspace.shared.open(url)
89 | return .cancel
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/12] Compiling Phaze Proxy.swift
/Users/admin/builder/spi-builder-workspace/Sources/Phaze/Proxy.swift:45:64: error: cannot find type 'URLSchemeTaskResult' in scope
43 | private static let droppedRequestHeaders: Set<String> = ["host", "origin", "referer", "cookie"]
44 |
45 | func reply(for request: URLRequest) -> AsyncThrowingStream<URLSchemeTaskResult, any Error> {
| `- error: cannot find type 'URLSchemeTaskResult' in scope
46 | AsyncThrowingStream { continuation in
47 | guard let url = request.url,
/Users/admin/builder/spi-builder-workspace/Sources/Phaze/Proxy.swift:97:62: error: cannot find type 'URLSchemeTaskResult' in scope
95 | /// the attach that happens on the caller's side.
96 | final class ProxyDelegate: NSObject, URLSessionDataDelegate, @unchecked Sendable {
97 | fileprivate typealias Continuation = AsyncThrowingStream<URLSchemeTaskResult, any Error>.Continuation
| `- error: cannot find type 'URLSchemeTaskResult' in scope
98 |
99 | let viewOrigin: String
/Users/admin/builder/spi-builder-workspace/Sources/Phaze/Proxy.swift:150:35: error: cannot infer contextual base in reference to member 'response'
148 | url: entry.viewURL, statusCode: http?.statusCode ?? 200, httpVersion: "HTTP/1.1", headerFields: headers
149 | )!
150 | entry.continuation.yield(.response(forView))
| `- error: cannot infer contextual base in reference to member 'response'
151 | completionHandler(.allow)
152 | }
/Users/admin/builder/spi-builder-workspace/Sources/Phaze/Proxy.swift:155:51: error: cannot infer contextual base in reference to member 'data'
153 |
154 | func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
155 | entry(for: dataTask)?.continuation.yield(.data(data))
| `- error: cannot infer contextual base in reference to member 'data'
156 | }
157 |
[3/12] Compiling Phaze RequestHandler.swift
/Users/admin/builder/spi-builder-workspace/Sources/Phaze/RequestHandler.swift:19:64: error: cannot find type 'URLSchemeTaskResult' in scope
17 | let views: Proxy?
18 |
19 | func reply(for request: URLRequest) -> AsyncThrowingStream<URLSchemeTaskResult, any Error> {
| `- error: cannot find type 'URLSchemeTaskResult' in scope
20 | if let api, let path = request.url?.path(percentEncoded: false), Proxy.isAPI(path) {
21 | return api.reply(for: request)
/Users/admin/builder/spi-builder-workspace/Sources/Phaze/RequestHandler.swift:13:24: error: cannot find type 'URLSchemeHandler' in scope
11 | /// an asset of its build — is requested there the same way, with the same credentials, so the
12 | /// worker's guard sees the app's session; without one a miss is a loud 404.
13 | struct RequestHandler: URLSchemeHandler {
| `- error: cannot find type 'URLSchemeHandler' in scope
14 | let root: URL
15 | let origin: String
[4/12] Compiling Phaze PhazeEnv.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/12] Compiling Phaze DragHandler.swift
[6/12] Emitting module Phaze
/Users/admin/builder/spi-builder-workspace/Sources/Phaze/PhazeRouter.swift:27:22: error: cannot find type 'WebPage' in scope
25 | public final class PhazeRouter {
26 | /// The view a `WebView` shows.
27 | public let view: WebPage
| `- error: cannot find type 'WebPage' in scope
28 |
29 | /// Serves `dist` at `<scheme>://localhost` and drags the window from the view's
/Users/admin/builder/spi-builder-workspace/Sources/Phaze/PhazeRouter.swift:81:39: error: cannot find type 'WebPage' in scope
79 | let origins: Set<String>
80 |
81 | func decidePolicy(for action: WebPage.NavigationAction, preferences: inout WebPage.NavigationPreferences) async -> WKNavigationActionPolicy {
| `- error: cannot find type 'WebPage' in scope
82 | guard let url = action.request.url else { return .cancel }
83 | if url.scheme == "about" || origins.contains(Self.origin(of: url) ?? "") {
/Users/admin/builder/spi-builder-workspace/Sources/Phaze/PhazeRouter.swift:81:84: error: cannot find type 'WebPage' in scope
79 | let origins: Set<String>
80 |
81 | func decidePolicy(for action: WebPage.NavigationAction, preferences: inout WebPage.NavigationPreferences) async -> WKNavigationActionPolicy {
| `- error: cannot find type 'WebPage' in scope
82 | guard let url = action.request.url else { return .cancel }
83 | if url.scheme == "about" || origins.contains(Self.origin(of: url) ?? "") {
/Users/admin/builder/spi-builder-workspace/Sources/Phaze/PhazeRouter.swift:78:33: error: cannot find type 'WebPage' in scope
76 | /// refused and said so. `about:` is the empty document WebKit starts from.
77 | @MainActor
78 | struct NavigationAllowlist: WebPage.NavigationDeciding {
| `- error: cannot find type 'WebPage' in scope
79 | let origins: Set<String>
80 |
/Users/admin/builder/spi-builder-workspace/Sources/Phaze/Proxy.swift:45:64: error: cannot find type 'URLSchemeTaskResult' in scope
43 | private static let droppedRequestHeaders: Set<String> = ["host", "origin", "referer", "cookie"]
44 |
45 | func reply(for request: URLRequest) -> AsyncThrowingStream<URLSchemeTaskResult, any Error> {
| `- error: cannot find type 'URLSchemeTaskResult' in scope
46 | AsyncThrowingStream { continuation in
47 | guard let url = request.url,
/Users/admin/builder/spi-builder-workspace/Sources/Phaze/Proxy.swift:97:62: error: cannot find type 'URLSchemeTaskResult' in scope
95 | /// the attach that happens on the caller's side.
96 | final class ProxyDelegate: NSObject, URLSessionDataDelegate, @unchecked Sendable {
97 | fileprivate typealias Continuation = AsyncThrowingStream<URLSchemeTaskResult, any Error>.Continuation
| `- error: cannot find type 'URLSchemeTaskResult' in scope
98 |
99 | let viewOrigin: String
/Users/admin/builder/spi-builder-workspace/Sources/Phaze/RequestHandler.swift:19:64: error: cannot find type 'URLSchemeTaskResult' in scope
17 | let views: Proxy?
18 |
19 | func reply(for request: URLRequest) -> AsyncThrowingStream<URLSchemeTaskResult, any Error> {
| `- error: cannot find type 'URLSchemeTaskResult' in scope
20 | if let api, let path = request.url?.path(percentEncoded: false), Proxy.isAPI(path) {
21 | return api.reply(for: request)
/Users/admin/builder/spi-builder-workspace/Sources/Phaze/RequestHandler.swift:13:24: error: cannot find type 'URLSchemeHandler' in scope
11 | /// an asset of its build — is requested there the same way, with the same credentials, so the
12 | /// worker's guard sees the app's session; without one a miss is a loud 404.
13 | struct RequestHandler: URLSchemeHandler {
| `- error: cannot find type 'URLSchemeHandler' in scope
14 | let root: URL
15 | let origin: String
[7/12] Compiling Phaze PhazeRouter.swift
/Users/admin/builder/spi-builder-workspace/Sources/Phaze/PhazeRouter.swift:27:22: error: cannot find type 'WebPage' in scope
25 | public final class PhazeRouter {
26 | /// The view a `WebView` shows.
27 | public let view: WebPage
| `- error: cannot find type 'WebPage' in scope
28 |
29 | /// Serves `dist` at `<scheme>://localhost` and drags the window from the view's
/Users/admin/builder/spi-builder-workspace/Sources/Phaze/PhazeRouter.swift:81:39: error: cannot find type 'WebPage' in scope
79 | let origins: Set<String>
80 |
81 | func decidePolicy(for action: WebPage.NavigationAction, preferences: inout WebPage.NavigationPreferences) async -> WKNavigationActionPolicy {
| `- error: cannot find type 'WebPage' in scope
82 | guard let url = action.request.url else { return .cancel }
83 | if url.scheme == "about" || origins.contains(Self.origin(of: url) ?? "") {
/Users/admin/builder/spi-builder-workspace/Sources/Phaze/PhazeRouter.swift:81:84: error: cannot find type 'WebPage' in scope
79 | let origins: Set<String>
80 |
81 | func decidePolicy(for action: WebPage.NavigationAction, preferences: inout WebPage.NavigationPreferences) async -> WKNavigationActionPolicy {
| `- error: cannot find type 'WebPage' in scope
82 | guard let url = action.request.url else { return .cancel }
83 | if url.scheme == "about" || origins.contains(Self.origin(of: url) ?? "") {
/Users/admin/builder/spi-builder-workspace/Sources/Phaze/PhazeRouter.swift:78:33: error: cannot find type 'WebPage' in scope
76 | /// refused and said so. `about:` is the empty document WebKit starts from.
77 | @MainActor
78 | struct NavigationAllowlist: WebPage.NavigationDeciding {
| `- error: cannot find type 'WebPage' in scope
79 | let origins: Set<String>
80 |
/Users/admin/builder/spi-builder-workspace/Sources/Phaze/PhazeRouter.swift:47:31: error: cannot find 'URLScheme' in scope
45 | /// keeps the same rule with its navigation handler.
46 | public init(dist: URL, scheme: String = "app", api: URL? = nil, views: URL? = nil, allow: [URL] = []) {
47 | guard let urlScheme = URLScheme(scheme) else {
| `- error: cannot find 'URLScheme' in scope
48 | preconditionFailure("PhazeRouter: '\(scheme)' is not a valid URL scheme")
49 | }
/Users/admin/builder/spi-builder-workspace/Sources/Phaze/PhazeRouter.swift:52:29: error: cannot find 'WebPage' in scope
50 | let origin = "\(scheme)://localhost"
51 | let allowlist = NavigationAllowlist(origins: Set([origin] + allow.compactMap(NavigationAllowlist.origin)))
52 | var configuration = WebPage.Configuration()
| `- error: cannot find 'WebPage' in scope
53 | configuration.urlSchemeHandlers[urlScheme] = RequestHandler(
54 | root: dist, origin: origin,
/Users/admin/builder/spi-builder-workspace/Sources/Phaze/PhazeRouter.swift:62:79: error: cannot infer contextual base in reference to member 'defaultClient'
60 | // runs AppKit's window drag with that event. The handler and its script live in the client
61 | // world, so the view's own scripts can neither post `drag` nor alter the listener.
62 | configuration.userContentController.add(DragHandler(), contentWorld: .defaultClient, name: "drag")
| `- error: cannot infer contextual base in reference to member 'defaultClient'
63 | configuration.userContentController.addUserScript(WKUserScript(source: """
64 | addEventListener('mousedown', (e) => {
/Users/admin/builder/spi-builder-workspace/Sources/Phaze/PhazeRouter.swift:71:16: error: cannot find 'WebPage' in scope
69 | """, injectionTime: .atDocumentStart, forMainFrameOnly: true, in: .defaultClient))
70 | #endif
71 | view = WebPage(configuration: configuration, navigationDecider: allowlist)
| `- error: cannot find 'WebPage' in scope
72 | }
73 |
/Users/admin/builder/spi-builder-workspace/Sources/Phaze/PhazeRouter.swift:87:42: error: cannot infer contextual base in reference to member 'linkActivated'
85 | }
86 | #if os(macOS)
87 | if action.navigationType == .linkActivated, let scheme = url.scheme, scheme == "http" || scheme == "https" {
| `- error: cannot infer contextual base in reference to member 'linkActivated'
88 | NSWorkspace.shared.open(url)
89 | return .cancel
[8/12] Compiling PhazeAuth Enclave.swift
[9/12] Compiling PhazeAuth AppleSignIn.swift
[10/12] Emitting module PhazeAuth
[11/12] Compiling PhazeAuth SystemPasskey.swift
BUILD FAILURE 6.1 macosSpm