The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build Sankey, reference 1.0.1 (961ea3), with Swift 6.2 (beta) for macOS (SPM) on 22 Jun 2025 15:06:09 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.64.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
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/maxhumber/Sankey.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.txt
[3/20] Compiling Sankey SankeyOptions.Sankey.Link.swift
[4/20] Compiling Sankey SankeyOptions.Sankey.Node.ColorMode.swift
[5/20] Compiling Sankey SankeyOptions+init.swift
[6/20] Compiling Sankey SankeyOptions.swift
[7/20] Compiling Sankey SankeyOptions.Tooltip.swift
[8/20] Compiling Sankey SankeyOptions.Sankey.Node.Label.swift
[9/20] Compiling Sankey SankeyOptions.Sankey.Node.swift
[10/20] Compiling Sankey SankeyOptions.Sankey.swift
[11/20] Compiling Sankey SankeyOptions+CustomStringConvertible.swift
[12/21] Compiling Sankey SankeyOptions.Tooltip.TextStyle.swift
[13/21] Compiling Sankey SankeyLink.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[14/21] Compiling Sankey SankeyNode.swift
[15/21] Compiling Sankey SankeyLink+CustomStringConvertible.swift
[16/21] Compiling Sankey SankeyLink+ExpressibleByArrayLiteral.swift
[17/21] Compiling Sankey SankeyOptions.Sankey.Link.Color.swift
[18/21] Compiling Sankey SankeyOptions.Sankey.Link.ColorMode.swift
[19/21] Emitting module Sankey
/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: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
[20/21] Compiling Sankey SankeyDiagram+init.swift
/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: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: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: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: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: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.2 macosSpm