Build Information
Failed to build Sankey, reference 1.0.1 (961ea3), with Swift 6.3 for macOS (SPM) on 15 Apr 2026 10:08:35 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/maxhumber/Sankey.git
Reference: 1.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/maxhumber/Sankey
* tag 1.0.1 -> FETCH_HEAD
HEAD is now at 961ea36 Merge pull request #1 from cjw85/hot-reload
Cloned https://github.com/maxhumber/Sankey.git
Revision (git rev-parse @):
961ea360863df4212193bbde6cd9c1d4a811be4f
SUCCESS checkout https://github.com/maxhumber/Sankey.git at 1.0.1
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"traits": [
"default"
],
"dependencies": [
{
"identity": "sankey",
"name": "Sankey",
"url": "https://github.com/maxhumber/Sankey.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Sankey",
"traits": [
"default"
],
"dependencies": [
]
}
]
}
Fetching https://github.com/maxhumber/Sankey.git
[1/564] Fetching sankey
Fetched https://github.com/maxhumber/Sankey.git from cache (11.22s)
Creating working copy for https://github.com/maxhumber/Sankey.git
Working copy of https://github.com/maxhumber/Sankey.git resolved at 1.0.1 (961ea36)
warning: '.resolve-product-dependencies': dependency 'sankey' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.3
Building package at path: $PWD
https://github.com/maxhumber/Sankey.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--6988338F2F200930.txt
[3/20] Compiling Sankey SankeyOptions+init.swift
[4/20] Compiling Sankey SankeyOptions.swift
[5/20] Compiling Sankey SankeyOptions.Sankey.swift
[6/20] Compiling Sankey SankeyOptions+CustomStringConvertible.swift
[7/20] Compiling Sankey SankeyOptions.Sankey.Node.Label.swift
[8/20] Compiling Sankey SankeyOptions.Sankey.Node.swift
[9/20] Compiling Sankey SankeyOptions.Sankey.Link.Color.swift
[10/20] Compiling Sankey SankeyOptions.Sankey.Link.ColorMode.swift
[11/20] Compiling Sankey SankeyOptions.Tooltip.swift
[12/21] Compiling Sankey SankeyOptions.Tooltip.TextStyle.swift
[13/21] Compiling Sankey SankeyLink.swift
[14/21] Compiling Sankey SankeyNode.swift
[15/21] Compiling Sankey SankeyOptions.Sankey.Link.swift
[16/21] Compiling Sankey SankeyOptions.Sankey.Node.ColorMode.swift
[17/21] Compiling Sankey SankeyLink+CustomStringConvertible.swift
[18/21] Compiling Sankey SankeyLink+ExpressibleByArrayLiteral.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[19/21] Emitting module Sankey
/Users/admin/builder/spi-builder-workspace/Sources/Sankey/Diagram/SankeyDiagram.swift:6:30: error: cannot find type 'UIViewRepresentable' in scope
4 | /// A SwiftUI-compatible Sankey Diagram (powered by Google Charts)
5 | /// - Important: Requires an Internet connection
6 | public struct SankeyDiagram: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
7 | public let data: [SankeyLink]
8 | public let options: SankeyOptions
/Users/admin/builder/spi-builder-workspace/Sources/Sankey/Diagram/SankeyDiagram.swift:37:37: error: cannot find type 'Context' in scope
35 | @State private var webView: WKWebView?
36 |
37 | public func makeUIView(context: Context) -> WKWebView {
| `- error: cannot find type 'Context' in scope
38 | let contentController = WKUserContentController()
39 | contentController.add(context.coordinator, name: "chartInitialized")
/Users/admin/builder/spi-builder-workspace/Sources/Sankey/Diagram/SankeyDiagram.swift:54:61: error: cannot find type 'Context' in scope
52 | }
53 |
54 | public func updateUIView(_ webview: WKWebView, context: Context) {
| `- error: cannot find type 'Context' in scope
55 | if isChartInitialized {
56 | updateChartData(for: webview)
[20/21] Compiling Sankey SankeyDiagram+init.swift
/Users/admin/builder/spi-builder-workspace/Sources/Sankey/Diagram/SankeyDiagram.swift:6:30: error: cannot find type 'UIViewRepresentable' in scope
4 | /// A SwiftUI-compatible Sankey Diagram (powered by Google Charts)
5 | /// - Important: Requires an Internet connection
6 | public struct SankeyDiagram: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
7 | public let data: [SankeyLink]
8 | public let options: SankeyOptions
/Users/admin/builder/spi-builder-workspace/Sources/Sankey/Diagram/SankeyDiagram.swift:37:37: error: cannot find type 'Context' in scope
35 | @State private var webView: WKWebView?
36 |
37 | public func makeUIView(context: Context) -> WKWebView {
| `- error: cannot find type 'Context' in scope
38 | let contentController = WKUserContentController()
39 | contentController.add(context.coordinator, name: "chartInitialized")
/Users/admin/builder/spi-builder-workspace/Sources/Sankey/Diagram/SankeyDiagram.swift:54:61: error: cannot find type 'Context' in scope
52 | }
53 |
54 | public func updateUIView(_ webview: WKWebView, context: Context) {
| `- error: cannot find type 'Context' in scope
55 | if isChartInitialized {
56 | updateChartData(for: webview)
/Users/admin/builder/spi-builder-workspace/Sources/Sankey/Diagram/SankeyDiagram.swift:45:17: error: cannot assign to property: 'isOpaque' is a get-only property
43 |
44 | let webview = WKWebView(frame: .zero, configuration: config)
45 | webview.isOpaque = false
| `- error: cannot assign to property: 'isOpaque' is a get-only property
46 | webview.scrollView.isScrollEnabled = false
47 | webview.loadHTMLString(html(), baseURL: nil)
/Users/admin/builder/spi-builder-workspace/Sources/Sankey/Diagram/SankeyDiagram.swift:46:17: error: value of type 'WKWebView' has no member 'scrollView'
44 | let webview = WKWebView(frame: .zero, configuration: config)
45 | webview.isOpaque = false
46 | webview.scrollView.isScrollEnabled = false
| `- error: value of type 'WKWebView' has no member 'scrollView'
47 | webview.loadHTMLString(html(), baseURL: nil)
48 | DispatchQueue.main.async {
/Users/admin/builder/spi-builder-workspace/Sources/Sankey/Diagram/SankeyDiagram.swift:142:22: error: value of type 'SankeyDiagram' has no member 'frame'
140 | )
141 | // Will take up full View, unless you constrain it...
142 | .frame(height: geo.size.height * 0.5)
| `- error: value of type 'SankeyDiagram' has no member 'frame'
143 | Button {
144 | data.append(
[21/21] Compiling Sankey SankeyDiagram.swift
/Users/admin/builder/spi-builder-workspace/Sources/Sankey/Diagram/SankeyDiagram.swift:6:30: error: cannot find type 'UIViewRepresentable' in scope
4 | /// A SwiftUI-compatible Sankey Diagram (powered by Google Charts)
5 | /// - Important: Requires an Internet connection
6 | public struct SankeyDiagram: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
7 | public let data: [SankeyLink]
8 | public let options: SankeyOptions
/Users/admin/builder/spi-builder-workspace/Sources/Sankey/Diagram/SankeyDiagram.swift:37:37: error: cannot find type 'Context' in scope
35 | @State private var webView: WKWebView?
36 |
37 | public func makeUIView(context: Context) -> WKWebView {
| `- error: cannot find type 'Context' in scope
38 | let contentController = WKUserContentController()
39 | contentController.add(context.coordinator, name: "chartInitialized")
/Users/admin/builder/spi-builder-workspace/Sources/Sankey/Diagram/SankeyDiagram.swift:54:61: error: cannot find type 'Context' in scope
52 | }
53 |
54 | public func updateUIView(_ webview: WKWebView, context: Context) {
| `- error: cannot find type 'Context' in scope
55 | if isChartInitialized {
56 | updateChartData(for: webview)
/Users/admin/builder/spi-builder-workspace/Sources/Sankey/Diagram/SankeyDiagram.swift:45:17: error: cannot assign to property: 'isOpaque' is a get-only property
43 |
44 | let webview = WKWebView(frame: .zero, configuration: config)
45 | webview.isOpaque = false
| `- error: cannot assign to property: 'isOpaque' is a get-only property
46 | webview.scrollView.isScrollEnabled = false
47 | webview.loadHTMLString(html(), baseURL: nil)
/Users/admin/builder/spi-builder-workspace/Sources/Sankey/Diagram/SankeyDiagram.swift:46:17: error: value of type 'WKWebView' has no member 'scrollView'
44 | let webview = WKWebView(frame: .zero, configuration: config)
45 | webview.isOpaque = false
46 | webview.scrollView.isScrollEnabled = false
| `- error: value of type 'WKWebView' has no member 'scrollView'
47 | webview.loadHTMLString(html(), baseURL: nil)
48 | DispatchQueue.main.async {
/Users/admin/builder/spi-builder-workspace/Sources/Sankey/Diagram/SankeyDiagram.swift:142:22: error: value of type 'SankeyDiagram' has no member 'frame'
140 | )
141 | // Will take up full View, unless you constrain it...
142 | .frame(height: geo.size.height * 0.5)
| `- error: value of type 'SankeyDiagram' has no member 'frame'
143 | Button {
144 | data.append(
BUILD FAILURE 6.3 macosSpm