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

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

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
========================================
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",
  "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",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/maxhumber/Sankey.git
[1/561] Fetching sankey
Fetched https://github.com/maxhumber/Sankey.git from cache (1.35s)
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.0
Building package at path:  $PWD
https://github.com/maxhumber/Sankey.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Sankey",
  "name" : "Sankey",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "Sankey",
      "targets" : [
        "Sankey"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SankeyTests",
      "module_type" : "SwiftTarget",
      "name" : "SankeyTests",
      "path" : "Tests/SankeyTests",
      "sources" : [
        "SankeyTests.swift"
      ],
      "target_dependencies" : [
        "Sankey"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Sankey",
      "module_type" : "SwiftTarget",
      "name" : "Sankey",
      "path" : "Sources/Sankey",
      "product_memberships" : [
        "Sankey"
      ],
      "sources" : [
        "Diagram/SankeyDiagram+init.swift",
        "Diagram/SankeyDiagram.swift",
        "Link/SankeyLink+CustomStringConvertible.swift",
        "Link/SankeyLink+ExpressibleByArrayLiteral.swift",
        "Link/SankeyLink.swift",
        "Node/SankeyNode.swift",
        "Options/Sankey/Link/Color/SankeyOptions.Sankey.Link.Color.swift",
        "Options/Sankey/Link/ColorMode/SankeyOptions.Sankey.Link.ColorMode.swift",
        "Options/Sankey/Link/SankeyOptions.Sankey.Link.swift",
        "Options/Sankey/Node/ColorMode/SankeyOptions.Sankey.Node.ColorMode.swift",
        "Options/Sankey/Node/Label/SankeyOptions.Sankey.Node.Label.swift",
        "Options/Sankey/Node/SankeyOptions.Sankey.Node.swift",
        "Options/Sankey/SankeyOptions.Sankey.swift",
        "Options/SankeyOptions+CustomStringConvertible.swift",
        "Options/SankeyOptions+init.swift",
        "Options/SankeyOptions.swift",
        "Options/Tooltip/SankeyOptions.Tooltip.swift",
        "Options/Tooltip/TextStyle/SankeyOptions.Tooltip.TextStyle.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.6"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/20] Compiling Sankey SankeyOptions.Tooltip.swift
[4/20] Compiling Sankey SankeyOptions.Sankey.swift
[5/20] Compiling Sankey SankeyOptions+CustomStringConvertible.swift
[6/21] Compiling Sankey SankeyOptions.Sankey.Link.swift
[7/21] Compiling Sankey SankeyOptions.Sankey.Node.ColorMode.swift
[8/21] Compiling Sankey SankeyLink.swift
[9/21] Compiling Sankey SankeyNode.swift
[10/21] Compiling Sankey SankeyOptions.Sankey.Node.Label.swift
[11/21] Compiling Sankey SankeyOptions.Sankey.Node.swift
[12/21] Compiling Sankey SankeyOptions.Sankey.Link.Color.swift
[13/21] Compiling Sankey SankeyOptions.Sankey.Link.ColorMode.swift
[14/21] Compiling Sankey SankeyOptions+init.swift
[15/21] Compiling Sankey SankeyOptions.swift
[16/21] Compiling Sankey SankeyOptions.Tooltip.TextStyle.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[17/21] Compiling Sankey SankeyLink+CustomStringConvertible.swift
[18/21] Compiling Sankey SankeyLink+ExpressibleByArrayLiteral.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:32:9: warning: call to main actor-isolated initializer 'init(parent:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 13 |         var parent: SankeyDiagram
 14 |
 15 |         init(parent: SankeyDiagram) {
    |         `- note: calls to initializer 'init(parent:)' from outside of its actor context are implicitly asynchronous
 16 |             self.parent = parent
 17 |         }
    :
 29 |     }
 30 |
 31 |     public func makeCoordinator() -> Coordinator {
    |                 `- note: add '@MainActor' to make instance method 'makeCoordinator()' part of global actor 'MainActor'
 32 |         Coordinator(parent: self)
    |         `- warning: call to main actor-isolated initializer 'init(parent:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 33 |     }
 34 |
/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:38:33: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 35 |     @State private var webView: WKWebView?
 36 |
 37 |     public func makeUIView(context: Context) -> WKWebView {
    |                 `- note: add '@MainActor' to make instance method 'makeUIView(context:)' part of global actor 'MainActor'
 38 |         let contentController = WKUserContentController()
    |                                 `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 39 |         contentController.add(context.coordinator, name: "chartInitialized")
 40 |
WebKit.WKUserContentController:46:23: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
44 |     @available(macOS 10.13, *)
45 |     open func removeAllContentRuleLists()
46 |     @MainActor public init()
   |                       `- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
47 |     @available(macOS 10.10, *)
48 |     open class var supportsSecureCoding: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/Sankey/Diagram/SankeyDiagram.swift:41:22: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 35 |     @State private var webView: WKWebView?
 36 |
 37 |     public func makeUIView(context: Context) -> WKWebView {
    |                 `- note: add '@MainActor' to make instance method 'makeUIView(context:)' part of global actor 'MainActor'
 38 |         let contentController = WKUserContentController()
 39 |         contentController.add(context.coordinator, name: "chartInitialized")
 40 |
 41 |         let config = WKWebViewConfiguration()
    |                      `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 42 |         config.userContentController = contentController
 43 |
WebKit.WKWebViewConfiguration:34:23: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
32 |     @available(macOS 15.0, *)
33 |     open var supportsAdaptiveImageGlyph: Bool { get set }
34 |     @MainActor public init()
   |                       `- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
35 |     @available(macOS 10.10, *)
36 |     open class var supportsSecureCoding: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/Sankey/Diagram/SankeyDiagram.swift:42:16: warning: main actor-isolated property 'userContentController' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 35 |     @State private var webView: WKWebView?
 36 |
 37 |     public func makeUIView(context: Context) -> WKWebView {
    |                 `- note: add '@MainActor' to make instance method 'makeUIView(context:)' part of global actor 'MainActor'
 38 |         let contentController = WKUserContentController()
 39 |         contentController.add(context.coordinator, name: "chartInitialized")
 40 |
 41 |         let config = WKWebViewConfiguration()
 42 |         config.userContentController = contentController
    |                `- warning: main actor-isolated property 'userContentController' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 43 |
 44 |         let webview = WKWebView(frame: .zero, configuration: config)
WebKit.WKWebViewConfiguration:5:14: note: mutation of this property is only permitted within the actor
 3 |     open var processPool: WKProcessPool { get set }
 4 |     open var preferences: WKPreferences { get set }
 5 |     open var userContentController: WKUserContentController { get set }
   |              `- note: mutation of this property is only permitted within the actor
 6 |     @available(macOS 10.11, *)
 7 |     open var websiteDataStore: WKWebsiteDataStore { get set }
/Users/admin/builder/spi-builder-workspace/Sources/Sankey/Diagram/SankeyDiagram.swift:44:23: warning: call to main actor-isolated initializer 'init(frame:configuration:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 35 |     @State private var webView: WKWebView?
 36 |
 37 |     public func makeUIView(context: Context) -> WKWebView {
    |                 `- note: add '@MainActor' to make instance method 'makeUIView(context:)' part of global actor 'MainActor'
 38 |         let contentController = WKUserContentController()
 39 |         contentController.add(context.coordinator, name: "chartInitialized")
    :
 42 |         config.userContentController = contentController
 43 |
 44 |         let webview = WKWebView(frame: .zero, configuration: config)
    |                       `- warning: call to main actor-isolated initializer 'init(frame:configuration:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 45 |         webview.isOpaque = false
 46 |         webview.scrollView.isScrollEnabled = false
WebKit.WKWebView:9:23: note: calls to initializer 'init(frame:configuration:)' from outside of its actor context are implicitly asynchronous
  7 |     weak open var UIDelegate: (any WKUIDelegate)? { get set }
  8 |     open var backForwardList: WKBackForwardList { get }
  9 |     @MainActor public init(frame: CGRect, configuration: WKWebViewConfiguration)
    |                       `- note: calls to initializer 'init(frame:configuration:)' from outside of its actor context are implicitly asynchronous
 10 |     public init?(coder: NSCoder)
 11 |     open func load(_ request: URLRequest) -> WKNavigation?
/Users/admin/builder/spi-builder-workspace/Sources/Sankey/Diagram/SankeyDiagram.swift:47:17: warning: call to main actor-isolated instance method 'loadHTMLString(_:baseURL:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 35 |     @State private var webView: WKWebView?
 36 |
 37 |     public func makeUIView(context: Context) -> WKWebView {
    |                 `- note: add '@MainActor' to make instance method 'makeUIView(context:)' part of global actor 'MainActor'
 38 |         let contentController = WKUserContentController()
 39 |         contentController.add(context.coordinator, name: "chartInitialized")
    :
 45 |         webview.isOpaque = false
 46 |         webview.scrollView.isScrollEnabled = false
 47 |         webview.loadHTMLString(html(), baseURL: nil)
    |                 `- warning: call to main actor-isolated instance method 'loadHTMLString(_:baseURL:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 48 |         DispatchQueue.main.async {
 49 |             self.webView = webview
WebKit.WKWebView:19:26: note: calls to instance method 'loadHTMLString(_:baseURL:)' from outside of its actor context are implicitly asynchronous
 17 |     @available(swift, obsoleted: 3, renamed: "loadFileURL(_:allowingReadAccessTo:)")
 18 |     open func loadFileURL(_ URL: URL, allowingReadAccessToURL readAccessURL: URL) -> WKNavigation?
 19 |     @MainActor open func loadHTMLString(_ string: String, baseURL: URL?) -> WKNavigation?
    |                          `- note: calls to instance method 'loadHTMLString(_:baseURL:)' from outside of its actor context are implicitly asynchronous
 20 |     @available(macOS 10.11, *)
 21 |     open func load(_ data: Data, mimeType MIMEType: String, characterEncodingName: String, baseURL: URL) -> WKNavigation?
/Users/admin/builder/spi-builder-workspace/Sources/Sankey/Diagram/SankeyDiagram.swift:70:21: warning: call to main actor-isolated instance method 'evaluateJavaScript(_:completionHandler:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 58 |     }
 59 |
 60 |     private func updateChartData(for webview: WKWebView) {
    |                  `- note: add '@MainActor' to make instance method 'updateChartData(for:)' part of global actor 'MainActor'
 61 |         let dataString = data.map { $0.description }.joined(separator: ", ")
 62 |
    :
 68 |             drawChart([\(dataString)], \(optionsString));
 69 |             """
 70 |             webview.evaluateJavaScript(updateScript, completionHandler: { (result, error) in
    |                     `- warning: call to main actor-isolated instance method 'evaluateJavaScript(_:completionHandler:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 71 |                 if let error = error {
 72 |                     print("JavaScript error: \(error)")
WebKit.WKWebView:46:15: note: calls to instance method 'evaluateJavaScript(_:completionHandler:)' from outside of its actor context are implicitly asynchronous
 44 |     open func reloadFromOrigin() -> WKNavigation?
 45 |     open func stopLoading()
 46 |     open func evaluateJavaScript(_ javaScriptString: String, completionHandler: (@MainActor @Sendable (Any?, (any Error)?) -> Void)? = nil)
    |               `- note: calls to instance method 'evaluateJavaScript(_:completionHandler:)' from outside of its actor context are implicitly asynchronous
 47 |     open func evaluateJavaScript(_ javaScriptString: String) async throws -> Any
 48 |     @available(macOS 11.0, *)
/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:32:9: warning: call to main actor-isolated initializer 'init(parent:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 13 |         var parent: SankeyDiagram
 14 |
 15 |         init(parent: SankeyDiagram) {
    |         `- note: calls to initializer 'init(parent:)' from outside of its actor context are implicitly asynchronous
 16 |             self.parent = parent
 17 |         }
    :
 29 |     }
 30 |
 31 |     public func makeCoordinator() -> Coordinator {
    |                 `- note: add '@MainActor' to make instance method 'makeCoordinator()' part of global actor 'MainActor'
 32 |         Coordinator(parent: self)
    |         `- warning: call to main actor-isolated initializer 'init(parent:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 33 |     }
 34 |
/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:38:33: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 35 |     @State private var webView: WKWebView?
 36 |
 37 |     public func makeUIView(context: Context) -> WKWebView {
    |                 `- note: add '@MainActor' to make instance method 'makeUIView(context:)' part of global actor 'MainActor'
 38 |         let contentController = WKUserContentController()
    |                                 `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 39 |         contentController.add(context.coordinator, name: "chartInitialized")
 40 |
WebKit.WKUserContentController:46:23: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
44 |     @available(macOS 10.13, *)
45 |     open func removeAllContentRuleLists()
46 |     @MainActor public init()
   |                       `- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
47 |     @available(macOS 10.10, *)
48 |     open class var supportsSecureCoding: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/Sankey/Diagram/SankeyDiagram.swift:41:22: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 35 |     @State private var webView: WKWebView?
 36 |
 37 |     public func makeUIView(context: Context) -> WKWebView {
    |                 `- note: add '@MainActor' to make instance method 'makeUIView(context:)' part of global actor 'MainActor'
 38 |         let contentController = WKUserContentController()
 39 |         contentController.add(context.coordinator, name: "chartInitialized")
 40 |
 41 |         let config = WKWebViewConfiguration()
    |                      `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 42 |         config.userContentController = contentController
 43 |
WebKit.WKWebViewConfiguration:34:23: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
32 |     @available(macOS 15.0, *)
33 |     open var supportsAdaptiveImageGlyph: Bool { get set }
34 |     @MainActor public init()
   |                       `- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
35 |     @available(macOS 10.10, *)
36 |     open class var supportsSecureCoding: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/Sankey/Diagram/SankeyDiagram.swift:42:16: warning: main actor-isolated property 'userContentController' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 35 |     @State private var webView: WKWebView?
 36 |
 37 |     public func makeUIView(context: Context) -> WKWebView {
    |                 `- note: add '@MainActor' to make instance method 'makeUIView(context:)' part of global actor 'MainActor'
 38 |         let contentController = WKUserContentController()
 39 |         contentController.add(context.coordinator, name: "chartInitialized")
 40 |
 41 |         let config = WKWebViewConfiguration()
 42 |         config.userContentController = contentController
    |                `- warning: main actor-isolated property 'userContentController' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 43 |
 44 |         let webview = WKWebView(frame: .zero, configuration: config)
WebKit.WKWebViewConfiguration:5:14: note: mutation of this property is only permitted within the actor
 3 |     open var processPool: WKProcessPool { get set }
 4 |     open var preferences: WKPreferences { get set }
 5 |     open var userContentController: WKUserContentController { get set }
   |              `- note: mutation of this property is only permitted within the actor
 6 |     @available(macOS 10.11, *)
 7 |     open var websiteDataStore: WKWebsiteDataStore { get set }
/Users/admin/builder/spi-builder-workspace/Sources/Sankey/Diagram/SankeyDiagram.swift:44:23: warning: call to main actor-isolated initializer 'init(frame:configuration:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 35 |     @State private var webView: WKWebView?
 36 |
 37 |     public func makeUIView(context: Context) -> WKWebView {
    |                 `- note: add '@MainActor' to make instance method 'makeUIView(context:)' part of global actor 'MainActor'
 38 |         let contentController = WKUserContentController()
 39 |         contentController.add(context.coordinator, name: "chartInitialized")
    :
 42 |         config.userContentController = contentController
 43 |
 44 |         let webview = WKWebView(frame: .zero, configuration: config)
    |                       `- warning: call to main actor-isolated initializer 'init(frame:configuration:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 45 |         webview.isOpaque = false
 46 |         webview.scrollView.isScrollEnabled = false
WebKit.WKWebView:9:23: note: calls to initializer 'init(frame:configuration:)' from outside of its actor context are implicitly asynchronous
  7 |     weak open var UIDelegate: (any WKUIDelegate)? { get set }
  8 |     open var backForwardList: WKBackForwardList { get }
  9 |     @MainActor public init(frame: CGRect, configuration: WKWebViewConfiguration)
    |                       `- note: calls to initializer 'init(frame:configuration:)' from outside of its actor context are implicitly asynchronous
 10 |     public init?(coder: NSCoder)
 11 |     open func load(_ request: URLRequest) -> WKNavigation?
/Users/admin/builder/spi-builder-workspace/Sources/Sankey/Diagram/SankeyDiagram.swift:47:17: warning: call to main actor-isolated instance method 'loadHTMLString(_:baseURL:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 35 |     @State private var webView: WKWebView?
 36 |
 37 |     public func makeUIView(context: Context) -> WKWebView {
    |                 `- note: add '@MainActor' to make instance method 'makeUIView(context:)' part of global actor 'MainActor'
 38 |         let contentController = WKUserContentController()
 39 |         contentController.add(context.coordinator, name: "chartInitialized")
    :
 45 |         webview.isOpaque = false
 46 |         webview.scrollView.isScrollEnabled = false
 47 |         webview.loadHTMLString(html(), baseURL: nil)
    |                 `- warning: call to main actor-isolated instance method 'loadHTMLString(_:baseURL:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 48 |         DispatchQueue.main.async {
 49 |             self.webView = webview
WebKit.WKWebView:19:26: note: calls to instance method 'loadHTMLString(_:baseURL:)' from outside of its actor context are implicitly asynchronous
 17 |     @available(swift, obsoleted: 3, renamed: "loadFileURL(_:allowingReadAccessTo:)")
 18 |     open func loadFileURL(_ URL: URL, allowingReadAccessToURL readAccessURL: URL) -> WKNavigation?
 19 |     @MainActor open func loadHTMLString(_ string: String, baseURL: URL?) -> WKNavigation?
    |                          `- note: calls to instance method 'loadHTMLString(_:baseURL:)' from outside of its actor context are implicitly asynchronous
 20 |     @available(macOS 10.11, *)
 21 |     open func load(_ data: Data, mimeType MIMEType: String, characterEncodingName: String, baseURL: URL) -> WKNavigation?
/Users/admin/builder/spi-builder-workspace/Sources/Sankey/Diagram/SankeyDiagram.swift:70:21: warning: call to main actor-isolated instance method 'evaluateJavaScript(_:completionHandler:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 58 |     }
 59 |
 60 |     private func updateChartData(for webview: WKWebView) {
    |                  `- note: add '@MainActor' to make instance method 'updateChartData(for:)' part of global actor 'MainActor'
 61 |         let dataString = data.map { $0.description }.joined(separator: ", ")
 62 |
    :
 68 |             drawChart([\(dataString)], \(optionsString));
 69 |             """
 70 |             webview.evaluateJavaScript(updateScript, completionHandler: { (result, error) in
    |                     `- warning: call to main actor-isolated instance method 'evaluateJavaScript(_:completionHandler:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 71 |                 if let error = error {
 72 |                     print("JavaScript error: \(error)")
WebKit.WKWebView:46:15: note: calls to instance method 'evaluateJavaScript(_:completionHandler:)' from outside of its actor context are implicitly asynchronous
 44 |     open func reloadFromOrigin() -> WKNavigation?
 45 |     open func stopLoading()
 46 |     open func evaluateJavaScript(_ javaScriptString: String, completionHandler: (@MainActor @Sendable (Any?, (any Error)?) -> Void)? = nil)
    |               `- note: calls to instance method 'evaluateJavaScript(_:completionHandler:)' from outside of its actor context are implicitly asynchronous
 47 |     open func evaluateJavaScript(_ javaScriptString: String) async throws -> Any
 48 |     @available(macOS 11.0, *)
/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.0 macosSpm