The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Sankey with Swift 5.9 for macOS (SPM).

Build Command

Build command unavailable

Build Log

========================================
RunAll
========================================
Builder version: 4.27.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/maxhumber/Sankey.git
Reference: master
Initialized empty Git repository in /Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/maxhumber/Sankey
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at c4bda8b add social
Cloned https://github.com/maxhumber/Sankey.git
Revision (git rev-parse @):
c4bda8b7cbbff747d2241b1f228226121fc81f82
SUCCESS checkout https://github.com/maxhumber/Sankey.git at master
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "sankey",
      "name": "Sankey",
      "url": "https://github.com/maxhumber/Sankey.git",
      "version": "unspecified",
      "path": "/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Sankey",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/maxhumber/Sankey.git
[1/300] Fetching sankey
Fetched https://github.com/maxhumber/Sankey.git (1.56s)
Creating working copy for https://github.com/maxhumber/Sankey.git
Working copy of https://github.com/maxhumber/Sankey.git resolved at master
warning: '.resolve-product-dependencies': dependency 'sankey' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  $PWD/checkout
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.0.0.app xcrun swift build --arch arm64
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/17] Emitting module Sankey
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Sankey/Diagram/SankeyDiagram.swift:10:37: error: cannot find type 'Context' in scope
    public func makeUIView(context: Context) -> WKWebView {
                                    ^~~~~~~
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Sankey/Diagram/SankeyDiagram.swift:17:61: error: cannot find type 'Context' in scope
    public func updateUIView(_ webview: WKWebView, context: Context) {
                                                            ^~~~~~~
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Sankey/Diagram/SankeyDiagram.swift:6:30: error: cannot find type 'UIViewRepresentable' in scope
public struct SankeyDiagram: UIViewRepresentable {
                             ^~~~~~~~~~~~~~~~~~~
[2/19] Compiling Sankey SankeyOptions.Tooltip.swift
[3/19] Compiling Sankey SankeyOptions.Tooltip.TextStyle.swift
[4/19] Compiling Sankey SankeyOptions.Sankey.swift
[5/19] Compiling Sankey SankeyOptions+CustomStringConvertible.swift
[6/19] Compiling Sankey SankeyOptions+init.swift
[7/19] Compiling Sankey SankeyOptions.swift
[8/19] Compiling Sankey SankeyOptions.Sankey.Link.swift
[9/19] Compiling Sankey SankeyOptions.Sankey.Node.ColorMode.swift
[10/19] Compiling Sankey SankeyOptions.Sankey.Node.Label.swift
[11/19] Compiling Sankey SankeyOptions.Sankey.Node.swift
[12/19] Compiling Sankey SankeyOptions.Sankey.Link.Color.swift
[13/19] Compiling Sankey SankeyOptions.Sankey.Link.ColorMode.swift
[14/19] Compiling Sankey SankeyLink+ExpressibleByArrayLiteral.swift
[15/19] Compiling Sankey SankeyLink.swift
[16/19] Compiling Sankey SankeyNode.swift
[17/19] Compiling Sankey SankeyDiagram+init.swift
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Sankey/Diagram/SankeyDiagram.swift:10:37: error: cannot find type 'Context' in scope
    public func makeUIView(context: Context) -> WKWebView {
                                    ^~~~~~~
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Sankey/Diagram/SankeyDiagram.swift:17:61: error: cannot find type 'Context' in scope
    public func updateUIView(_ webview: WKWebView, context: Context) {
                                                            ^~~~~~~
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Sankey/Diagram/SankeyDiagram.swift:6:30: error: cannot find type 'UIViewRepresentable' in scope
public struct SankeyDiagram: UIViewRepresentable {
                             ^~~~~~~~~~~~~~~~~~~
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Sankey/Diagram/SankeyDiagram.swift:12:17: error: cannot assign to property: 'isOpaque' is a get-only property
        webview.isOpaque = false
        ~~~~~~~~^~~~~~~~
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Sankey/Diagram/SankeyDiagram.swift:13:17: error: value of type 'WKWebView' has no member 'scrollView'
        webview.scrollView.isScrollEnabled = false
        ~~~~~~~ ^~~~~~~~~~
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Sankey/Diagram/SankeyDiagram.swift:81:22: error: value of type 'SankeyDiagram' has no member 'frame'
                    .frame(height: geo.size.height * 0.5)
                     ^~~~~
[18/19] Compiling Sankey SankeyDiagram.swift
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Sankey/Diagram/SankeyDiagram.swift:10:37: error: cannot find type 'Context' in scope
    public func makeUIView(context: Context) -> WKWebView {
                                    ^~~~~~~
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Sankey/Diagram/SankeyDiagram.swift:17:61: error: cannot find type 'Context' in scope
    public func updateUIView(_ webview: WKWebView, context: Context) {
                                                            ^~~~~~~
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Sankey/Diagram/SankeyDiagram.swift:6:30: error: cannot find type 'UIViewRepresentable' in scope
public struct SankeyDiagram: UIViewRepresentable {
                             ^~~~~~~~~~~~~~~~~~~
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Sankey/Diagram/SankeyDiagram.swift:12:17: error: cannot assign to property: 'isOpaque' is a get-only property
        webview.isOpaque = false
        ~~~~~~~~^~~~~~~~
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Sankey/Diagram/SankeyDiagram.swift:13:17: error: value of type 'WKWebView' has no member 'scrollView'
        webview.scrollView.isScrollEnabled = false
        ~~~~~~~ ^~~~~~~~~~
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Sankey/Diagram/SankeyDiagram.swift:81:22: error: value of type 'SankeyDiagram' has no member 'frame'
                    .frame(height: geo.size.height * 0.5)
                     ^~~~~
[19/19] Compiling Sankey SankeyLink+CustomStringConvertible.swift
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Sankey/Diagram/SankeyDiagram.swift:10:37: error: cannot find type 'Context' in scope
    public func makeUIView(context: Context) -> WKWebView {
                                    ^~~~~~~
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Sankey/Diagram/SankeyDiagram.swift:17:61: error: cannot find type 'Context' in scope
    public func updateUIView(_ webview: WKWebView, context: Context) {
                                                            ^~~~~~~
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Sankey/Diagram/SankeyDiagram.swift:6:30: error: cannot find type 'UIViewRepresentable' in scope
public struct SankeyDiagram: UIViewRepresentable {
                             ^~~~~~~~~~~~~~~~~~~
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Sankey/Diagram/SankeyDiagram.swift:12:17: error: cannot assign to property: 'isOpaque' is a get-only property
        webview.isOpaque = false
        ~~~~~~~~^~~~~~~~
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Sankey/Diagram/SankeyDiagram.swift:13:17: error: value of type 'WKWebView' has no member 'scrollView'
        webview.scrollView.isScrollEnabled = false
        ~~~~~~~ ^~~~~~~~~~
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Sankey/Diagram/SankeyDiagram.swift:81:22: error: value of type 'SankeyDiagram' has no member 'frame'
                    .frame(height: geo.size.height * 0.5)
                     ^~~~~
error: fatalError
[0/1] Planning build
Building for debugging...
[1/4] Compiling Sankey SankeyDiagram.swift
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Sankey/Diagram/SankeyDiagram.swift:10:37: error: cannot find type 'Context' in scope
    public func makeUIView(context: Context) -> WKWebView {
                                    ^~~~~~~
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Sankey/Diagram/SankeyDiagram.swift:17:61: error: cannot find type 'Context' in scope
    public func updateUIView(_ webview: WKWebView, context: Context) {
                                                            ^~~~~~~
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Sankey/Diagram/SankeyDiagram.swift:6:30: error: cannot find type 'UIViewRepresentable' in scope
public struct SankeyDiagram: UIViewRepresentable {
                             ^~~~~~~~~~~~~~~~~~~
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Sankey/Diagram/SankeyDiagram.swift:12:17: error: cannot assign to property: 'isOpaque' is a get-only property
        webview.isOpaque = false
        ~~~~~~~~^~~~~~~~
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Sankey/Diagram/SankeyDiagram.swift:13:17: error: value of type 'WKWebView' has no member 'scrollView'
        webview.scrollView.isScrollEnabled = false
        ~~~~~~~ ^~~~~~~~~~
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Sankey/Diagram/SankeyDiagram.swift:81:22: error: value of type 'SankeyDiagram' has no member 'frame'
                    .frame(height: geo.size.height * 0.5)
                     ^~~~~
[2/4] Compiling Sankey SankeyLink+CustomStringConvertible.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Compiling Sankey SankeyDiagram+init.swift
[4/4] Emitting module Sankey
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Sankey/Diagram/SankeyDiagram.swift:10:37: error: cannot find type 'Context' in scope
    public func makeUIView(context: Context) -> WKWebView {
                                    ^~~~~~~
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Sankey/Diagram/SankeyDiagram.swift:17:61: error: cannot find type 'Context' in scope
    public func updateUIView(_ webview: WKWebView, context: Context) {
                                                            ^~~~~~~
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Sankey/Diagram/SankeyDiagram.swift:6:30: error: cannot find type 'UIViewRepresentable' in scope
public struct SankeyDiagram: UIViewRepresentable {
                             ^~~~~~~~~~~~~~~~~~~
[5/6] Compiling Sankey SankeyLink+ExpressibleByArrayLiteral.swift
[6/6] Compiling Sankey SankeyLink.swift
error: fatalError
BUILD FAILURE 5.9 macosSpm