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 5.10 for macOS (SPM) on 3 Dec 2024 21:28:32 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.58.4
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:             5.10
Building package at path:  $PWD
https://github.com/maxhumber/Sankey.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-33747A42983211AE.txt
[3/20] Compiling Sankey SankeyLink.swift
[4/20] Compiling Sankey SankeyNode.swift
[5/20] Compiling Sankey SankeyLink+CustomStringConvertible.swift
[6/20] Compiling Sankey SankeyLink+ExpressibleByArrayLiteral.swift
[7/20] Compiling Sankey SankeyOptions.Sankey.Link.Color.swift
[8/20] Compiling Sankey SankeyOptions.Sankey.Link.ColorMode.swift
[9/21] Compiling Sankey SankeyOptions+init.swift
[10/21] Compiling Sankey SankeyOptions.swift
[11/21] Compiling Sankey SankeyOptions.Sankey.Link.swift
[12/21] Compiling Sankey SankeyOptions.Sankey.Node.ColorMode.swift
[13/21] Compiling Sankey SankeyOptions.Sankey.Node.Label.swift
[14/21] Compiling Sankey SankeyOptions.Sankey.Node.swift
[15/21] Compiling Sankey SankeyOptions.Sankey.swift
[16/21] Compiling Sankey SankeyOptions+CustomStringConvertible.swift
[17/21] Compiling Sankey SankeyOptions.Tooltip.swift
[18/21] Compiling Sankey SankeyOptions.Tooltip.TextStyle.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:37:37: error: cannot find type 'Context' in scope
    public func makeUIView(context: Context) -> WKWebView {
                                    ^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Sankey/Diagram/SankeyDiagram.swift:54:61: error: cannot find type 'Context' in scope
    public func updateUIView(_ webview: WKWebView, context: Context) {
                                                            ^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Sankey/Diagram/SankeyDiagram.swift:6:30: error: cannot find type 'UIViewRepresentable' in scope
public struct SankeyDiagram: UIViewRepresentable {
                             ^~~~~~~~~~~~~~~~~~~
[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
    public func makeUIView(context: Context) -> WKWebView {
                                    ^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Sankey/Diagram/SankeyDiagram.swift:54:61: error: cannot find type 'Context' in scope
    public func updateUIView(_ webview: WKWebView, context: Context) {
                                                            ^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Sankey/Diagram/SankeyDiagram.swift:6:30: error: cannot find type 'UIViewRepresentable' in scope
public struct SankeyDiagram: UIViewRepresentable {
                             ^~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Sankey/Diagram/SankeyDiagram.swift:45:17: error: cannot assign to property: 'isOpaque' is a get-only property
        webview.isOpaque = false
        ~~~~~~~~^~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Sankey/Diagram/SankeyDiagram.swift:46:17: error: value of type 'WKWebView' has no member 'scrollView'
        webview.scrollView.isScrollEnabled = false
        ~~~~~~~ ^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Sankey/Diagram/SankeyDiagram.swift:142:22: error: value of type 'SankeyDiagram' has no member 'frame'
                    .frame(height: geo.size.height * 0.5)
                     ^~~~~
[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
    public func makeUIView(context: Context) -> WKWebView {
                                    ^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Sankey/Diagram/SankeyDiagram.swift:54:61: error: cannot find type 'Context' in scope
    public func updateUIView(_ webview: WKWebView, context: Context) {
                                                            ^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Sankey/Diagram/SankeyDiagram.swift:6:30: error: cannot find type 'UIViewRepresentable' in scope
public struct SankeyDiagram: UIViewRepresentable {
                             ^~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Sankey/Diagram/SankeyDiagram.swift:45:17: error: cannot assign to property: 'isOpaque' is a get-only property
        webview.isOpaque = false
        ~~~~~~~~^~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Sankey/Diagram/SankeyDiagram.swift:46:17: error: value of type 'WKWebView' has no member 'scrollView'
        webview.scrollView.isScrollEnabled = false
        ~~~~~~~ ^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Sankey/Diagram/SankeyDiagram.swift:142:22: error: value of type 'SankeyDiagram' has no member 'frame'
                    .frame(height: geo.size.height * 0.5)
                     ^~~~~
error: fatalError
BUILD FAILURE 5.10 macosSpm