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 master (1440b4), with Swift 5.10 for macOS (SPM) on 4 Dec 2024 23:30:41 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.58.5
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/maxhumber/Sankey.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/maxhumber/Sankey
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 1440b44 minor readme corrections
Cloned https://github.com/maxhumber/Sankey.git
Revision (git rev-parse @):
1440b44c5f58fb006364fd260bed05b7d6ad67f9
SUCCESS checkout https://github.com/maxhumber/Sankey.git at master
========================================
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/4] Write sources
[1/4] Copying d3-sankey.min.js
[2/4] Copying d3.min.js
[3/4] Write swift-version-33747A42983211AE.txt
[5/15] Compiling Sankey SankeyResources.swift
[6/15] Compiling Sankey SankeyOptions.swift
/Users/admin/builder/spi-builder-workspace/Sources/SankeyOptions.swift:7:27: error: 'Color' is only available in macOS 10.15 or newer
    var nodeDefaultColor: Color = .primary
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/SankeyOptions.swift:3:8: note: add @available attribute to enclosing struct
struct SankeyOptions {
       ^
/Users/admin/builder/spi-builder-workspace/Sources/SankeyOptions.swift:7:36: error: 'primary' is only available in macOS 10.15 or newer
    var nodeDefaultColor: Color = .primary
                                   ^
/Users/admin/builder/spi-builder-workspace/Sources/SankeyOptions.swift:3:8: note: add @available attribute to enclosing struct
struct SankeyOptions {
       ^
/Users/admin/builder/spi-builder-workspace/Sources/SankeyOptions.swift:9:27: error: 'Color' is only available in macOS 10.15 or newer
    var linkDefaultColor: Color = .primary
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/SankeyOptions.swift:3:8: note: add @available attribute to enclosing struct
struct SankeyOptions {
       ^
/Users/admin/builder/spi-builder-workspace/Sources/SankeyOptions.swift:9:36: error: 'primary' is only available in macOS 10.15 or newer
    var linkDefaultColor: Color = .primary
                                   ^
/Users/admin/builder/spi-builder-workspace/Sources/SankeyOptions.swift:3:8: note: add @available attribute to enclosing struct
struct SankeyOptions {
       ^
/Users/admin/builder/spi-builder-workspace/Sources/SankeyOptions.swift:13:21: error: 'Color' is only available in macOS 10.15 or newer
    var labelColor: Color = .primary
                    ^
/Users/admin/builder/spi-builder-workspace/Sources/SankeyOptions.swift:3:8: note: add @available attribute to enclosing struct
struct SankeyOptions {
       ^
/Users/admin/builder/spi-builder-workspace/Sources/SankeyOptions.swift:13:30: error: 'primary' is only available in macOS 10.15 or newer
    var labelColor: Color = .primary
                             ^
/Users/admin/builder/spi-builder-workspace/Sources/SankeyOptions.swift:3:8: note: add @available attribute to enclosing struct
struct SankeyOptions {
       ^
[7/16] Compiling Sankey SankeyNode.swift
/Users/admin/builder/spi-builder-workspace/Sources/SankeyNode.swift:6:23: error: 'Color' is only available in macOS 10.15 or newer
    public var color: Color?
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/SankeyNode.swift:3:15: note: add @available attribute to enclosing struct
public struct SankeyNode: Encodable, Identifiable {
              ^
/Users/admin/builder/spi-builder-workspace/Sources/SankeyNode.swift:18:60: error: 'Color' is only available in macOS 10.15 or newer
    public init(_ id: String, label: String? = nil, color: Color? = nil) {
                                                           ^
/Users/admin/builder/spi-builder-workspace/Sources/SankeyNode.swift:18:12: note: add @available attribute to enclosing initializer
    public init(_ id: String, label: String? = nil, color: Color? = nil) {
           ^
/Users/admin/builder/spi-builder-workspace/Sources/SankeyNode.swift:3:15: note: add @available attribute to enclosing struct
public struct SankeyNode: Encodable, Identifiable {
              ^
[8/16] Compiling Sankey SankeyLink.swift
/Users/admin/builder/spi-builder-workspace/Sources/SankeyLink.swift:7:23: error: 'Color' is only available in macOS 10.15 or newer
    public var color: Color?
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/SankeyLink.swift:3:15: note: add @available attribute to enclosing struct
public struct SankeyLink: Encodable {
              ^
/Users/admin/builder/spi-builder-workspace/Sources/SankeyLink.swift:20:81: error: 'Color' is only available in macOS 10.15 or newer
    public init(_ value: Double, from source: String, to target: String, color: Color? = nil) {
                                                                                ^
/Users/admin/builder/spi-builder-workspace/Sources/SankeyLink.swift:20:12: note: add @available attribute to enclosing initializer
    public init(_ value: Double, from source: String, to target: String, color: Color? = nil) {
           ^
/Users/admin/builder/spi-builder-workspace/Sources/SankeyLink.swift:3:15: note: add @available attribute to enclosing struct
public struct SankeyLink: Encodable {
              ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/16] Emitting module Sankey
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Color+.swift:25:31: error: 'ColorScheme' is only available in macOS 10.15 or newer
    func hex(for colorScheme: ColorScheme) -> String {
                              ^
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Color+.swift:25:10: note: add @available attribute to enclosing instance method
    func hex(for colorScheme: ColorScheme) -> String {
         ^
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Color+.swift:3:1: note: add @available attribute to enclosing extension
extension Color {
^
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Color+.swift:29:16: error: 'Color' is only available in macOS 10.15 or newer
    var light: Color {
               ^
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Color+.swift:29:9: note: add @available attribute to enclosing property
    var light: Color {
        ^
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Color+.swift:3:1: note: add @available attribute to enclosing extension
extension Color {
^
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Color+.swift:35:15: error: 'Color' is only available in macOS 10.15 or newer
    var dark: Color {
              ^
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Color+.swift:35:9: note: add @available attribute to enclosing property
    var dark: Color {
        ^
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Color+.swift:3:1: note: add @available attribute to enclosing extension
extension Color {
^
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Color+.swift:3:11: error: 'Color' is only available in macOS 10.15 or newer
extension Color {
          ^
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Color+.swift:3:1: note: add @available attribute to enclosing extension
extension Color {
^
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/HexColor.swift:7:19: error: 'Color' is only available in macOS 10.15 or newer
    init(_ color: Color) {
                  ^
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/HexColor.swift:7:5: note: add @available attribute to enclosing initializer
    init(_ color: Color) {
    ^
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/HexColor.swift:3:8: note: add @available attribute to enclosing struct
struct HexColor: Encodable {
       ^
/Users/admin/builder/spi-builder-workspace/Sources/SankeyDiagram.swift:5:20: error: 'colorScheme' is only available in macOS 10.15 or newer
    @Environment(\.colorScheme) private var colorScheme: ColorScheme
                   ^
/Users/admin/builder/spi-builder-workspace/Sources/SankeyDiagram.swift:4:15: note: add @available attribute to enclosing struct
public struct SankeyDiagram: UIViewRepresentable {
              ^
/Users/admin/builder/spi-builder-workspace/Sources/SankeyDiagram.swift:5:58: error: 'ColorScheme' is only available in macOS 10.15 or newer
    @Environment(\.colorScheme) private var colorScheme: ColorScheme
                                                         ^
/Users/admin/builder/spi-builder-workspace/Sources/SankeyDiagram.swift:4:15: note: add @available attribute to enclosing struct
public struct SankeyDiagram: UIViewRepresentable {
              ^
/Users/admin/builder/spi-builder-workspace/Sources/SankeyDiagram.swift:5:6: error: 'Environment' is only available in macOS 10.15 or newer
    @Environment(\.colorScheme) private var colorScheme: ColorScheme
     ^
/Users/admin/builder/spi-builder-workspace/Sources/SankeyDiagram.swift:4:15: note: add @available attribute to enclosing struct
public struct SankeyDiagram: UIViewRepresentable {
              ^
/Users/admin/builder/spi-builder-workspace/Sources/SankeyDiagram.swift:13:37: error: cannot find type 'Context' in scope
    public func makeUIView(context: Context) -> WKWebView {
                                    ^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SankeyDiagram.swift:21:61: error: cannot find type 'Context' in scope
    public func updateUIView(_ webView: WKWebView, context: Context) {
                                                            ^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SankeyDiagram.swift:49:43: error: 'Color' is only available in macOS 10.15 or newer
    public func nodeDefaultColor(_ color: Color) -> SankeyDiagram {
                                          ^
/Users/admin/builder/spi-builder-workspace/Sources/SankeyDiagram.swift:49:17: note: add @available attribute to enclosing instance method
    public func nodeDefaultColor(_ color: Color) -> SankeyDiagram {
                ^
/Users/admin/builder/spi-builder-workspace/Sources/SankeyDiagram.swift:4:15: note: add @available attribute to enclosing struct
public struct SankeyDiagram: UIViewRepresentable {
              ^
/Users/admin/builder/spi-builder-workspace/Sources/SankeyDiagram.swift:63:43: error: 'Color' is only available in macOS 10.15 or newer
    public func linkDefaultColor(_ color: Color) -> SankeyDiagram {
                                          ^
/Users/admin/builder/spi-builder-workspace/Sources/SankeyDiagram.swift:63:17: note: add @available attribute to enclosing instance method
    public func linkDefaultColor(_ color: Color) -> SankeyDiagram {
                ^
/Users/admin/builder/spi-builder-workspace/Sources/SankeyDiagram.swift:4:15: note: add @available attribute to enclosing struct
public struct SankeyDiagram: UIViewRepresentable {
              ^
/Users/admin/builder/spi-builder-workspace/Sources/SankeyDiagram.swift:91:37: error: 'Color' is only available in macOS 10.15 or newer
    public func labelColor(_ color: Color) -> SankeyDiagram {
                                    ^
/Users/admin/builder/spi-builder-workspace/Sources/SankeyDiagram.swift:91:17: note: add @available attribute to enclosing instance method
    public func labelColor(_ color: Color) -> SankeyDiagram {
                ^
/Users/admin/builder/spi-builder-workspace/Sources/SankeyDiagram.swift:4:15: note: add @available attribute to enclosing struct
public struct SankeyDiagram: UIViewRepresentable {
              ^
/Users/admin/builder/spi-builder-workspace/Sources/SankeyDiagram.swift:4:30: error: cannot find type 'UIViewRepresentable' in scope
public struct SankeyDiagram: UIViewRepresentable {
                             ^~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SankeyLink.swift:7:23: error: 'Color' is only available in macOS 10.15 or newer
    public var color: Color?
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/SankeyLink.swift:3:15: note: add @available attribute to enclosing struct
public struct SankeyLink: Encodable {
              ^
/Users/admin/builder/spi-builder-workspace/Sources/SankeyLink.swift:20:81: error: 'Color' is only available in macOS 10.15 or newer
    public init(_ value: Double, from source: String, to target: String, color: Color? = nil) {
                                                                                ^
/Users/admin/builder/spi-builder-workspace/Sources/SankeyLink.swift:20:12: note: add @available attribute to enclosing initializer
    public init(_ value: Double, from source: String, to target: String, color: Color? = nil) {
           ^
/Users/admin/builder/spi-builder-workspace/Sources/SankeyLink.swift:3:15: note: add @available attribute to enclosing struct
public struct SankeyLink: Encodable {
              ^
/Users/admin/builder/spi-builder-workspace/Sources/SankeyNode.swift:6:23: error: 'Color' is only available in macOS 10.15 or newer
    public var color: Color?
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/SankeyNode.swift:3:15: note: add @available attribute to enclosing struct
public struct SankeyNode: Encodable, Identifiable {
              ^
/Users/admin/builder/spi-builder-workspace/Sources/SankeyNode.swift:18:60: error: 'Color' is only available in macOS 10.15 or newer
    public init(_ id: String, label: String? = nil, color: Color? = nil) {
                                                           ^
/Users/admin/builder/spi-builder-workspace/Sources/SankeyNode.swift:18:12: note: add @available attribute to enclosing initializer
    public init(_ id: String, label: String? = nil, color: Color? = nil) {
           ^
/Users/admin/builder/spi-builder-workspace/Sources/SankeyNode.swift:3:15: note: add @available attribute to enclosing struct
public struct SankeyNode: Encodable, Identifiable {
              ^
/Users/admin/builder/spi-builder-workspace/Sources/SankeyOptions.swift:7:27: error: 'Color' is only available in macOS 10.15 or newer
    var nodeDefaultColor: Color = .primary
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/SankeyOptions.swift:3:8: note: add @available attribute to enclosing struct
struct SankeyOptions {
       ^
/Users/admin/builder/spi-builder-workspace/Sources/SankeyOptions.swift:7:36: error: 'primary' is only available in macOS 10.15 or newer
    var nodeDefaultColor: Color = .primary
                                   ^
/Users/admin/builder/spi-builder-workspace/Sources/SankeyOptions.swift:3:8: note: add @available attribute to enclosing struct
struct SankeyOptions {
       ^
/Users/admin/builder/spi-builder-workspace/Sources/SankeyOptions.swift:9:27: error: 'Color' is only available in macOS 10.15 or newer
    var linkDefaultColor: Color = .primary
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/SankeyOptions.swift:3:8: note: add @available attribute to enclosing struct
struct SankeyOptions {
       ^
/Users/admin/builder/spi-builder-workspace/Sources/SankeyOptions.swift:9:36: error: 'primary' is only available in macOS 10.15 or newer
    var linkDefaultColor: Color = .primary
                                   ^
/Users/admin/builder/spi-builder-workspace/Sources/SankeyOptions.swift:3:8: note: add @available attribute to enclosing struct
struct SankeyOptions {
       ^
/Users/admin/builder/spi-builder-workspace/Sources/SankeyOptions.swift:13:21: error: 'Color' is only available in macOS 10.15 or newer
    var labelColor: Color = .primary
                    ^
/Users/admin/builder/spi-builder-workspace/Sources/SankeyOptions.swift:3:8: note: add @available attribute to enclosing struct
struct SankeyOptions {
       ^
/Users/admin/builder/spi-builder-workspace/Sources/SankeyOptions.swift:13:30: error: 'primary' is only available in macOS 10.15 or newer
    var labelColor: Color = .primary
                             ^
/Users/admin/builder/spi-builder-workspace/Sources/SankeyOptions.swift:3:8: note: add @available attribute to enclosing struct
struct SankeyOptions {
       ^
[10/16] Compiling Sankey HexColor.swift
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/HexColor.swift:7:19: error: 'Color' is only available in macOS 10.15 or newer
    init(_ color: Color) {
                  ^
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/HexColor.swift:7:5: note: add @available attribute to enclosing initializer
    init(_ color: Color) {
    ^
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/HexColor.swift:3:8: note: add @available attribute to enclosing struct
struct HexColor: Encodable {
       ^
[11/16] Compiling Sankey SankeyData.swift
/Users/admin/builder/spi-builder-workspace/Sources/SankeyData.swift:19:37: error: 'withoutEscapingSlashes' is only available in macOS 10.15 or newer
        encoder.outputFormatting = .withoutEscapingSlashes
                                    ^
/Users/admin/builder/spi-builder-workspace/Sources/SankeyData.swift:19:37: note: add 'if #available' version check
        encoder.outputFormatting = .withoutEscapingSlashes
                                    ^
/Users/admin/builder/spi-builder-workspace/Sources/SankeyData.swift:17:16: note: add @available attribute to enclosing property
    public var description: String {
               ^
/Users/admin/builder/spi-builder-workspace/Sources/SankeyData.swift:3:15: note: add @available attribute to enclosing struct
public struct SankeyData: Encodable, CustomStringConvertible {
              ^
[12/16] Compiling Sankey SankeyDiagram.swift
/Users/admin/builder/spi-builder-workspace/Sources/SankeyDiagram.swift:5:20: error: 'colorScheme' is only available in macOS 10.15 or newer
    @Environment(\.colorScheme) private var colorScheme: ColorScheme
                   ^
/Users/admin/builder/spi-builder-workspace/Sources/SankeyDiagram.swift:4:15: note: add @available attribute to enclosing struct
public struct SankeyDiagram: UIViewRepresentable {
              ^
/Users/admin/builder/spi-builder-workspace/Sources/SankeyDiagram.swift:5:58: error: 'ColorScheme' is only available in macOS 10.15 or newer
    @Environment(\.colorScheme) private var colorScheme: ColorScheme
                                                         ^
/Users/admin/builder/spi-builder-workspace/Sources/SankeyDiagram.swift:4:15: note: add @available attribute to enclosing struct
public struct SankeyDiagram: UIViewRepresentable {
              ^
/Users/admin/builder/spi-builder-workspace/Sources/SankeyDiagram.swift:5:6: error: 'Environment' is only available in macOS 10.15 or newer
    @Environment(\.colorScheme) private var colorScheme: ColorScheme
     ^
/Users/admin/builder/spi-builder-workspace/Sources/SankeyDiagram.swift:4:15: note: add @available attribute to enclosing struct
public struct SankeyDiagram: UIViewRepresentable {
              ^
/Users/admin/builder/spi-builder-workspace/Sources/SankeyDiagram.swift:13:37: error: cannot find type 'Context' in scope
    public func makeUIView(context: Context) -> WKWebView {
                                    ^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SankeyDiagram.swift:21:61: error: cannot find type 'Context' in scope
    public func updateUIView(_ webView: WKWebView, context: Context) {
                                                            ^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SankeyDiagram.swift:49:43: error: 'Color' is only available in macOS 10.15 or newer
    public func nodeDefaultColor(_ color: Color) -> SankeyDiagram {
                                          ^
/Users/admin/builder/spi-builder-workspace/Sources/SankeyDiagram.swift:49:17: note: add @available attribute to enclosing instance method
    public func nodeDefaultColor(_ color: Color) -> SankeyDiagram {
                ^
/Users/admin/builder/spi-builder-workspace/Sources/SankeyDiagram.swift:4:15: note: add @available attribute to enclosing struct
public struct SankeyDiagram: UIViewRepresentable {
              ^
/Users/admin/builder/spi-builder-workspace/Sources/SankeyDiagram.swift:63:43: error: 'Color' is only available in macOS 10.15 or newer
    public func linkDefaultColor(_ color: Color) -> SankeyDiagram {
                                          ^
/Users/admin/builder/spi-builder-workspace/Sources/SankeyDiagram.swift:63:17: note: add @available attribute to enclosing instance method
    public func linkDefaultColor(_ color: Color) -> SankeyDiagram {
                ^
/Users/admin/builder/spi-builder-workspace/Sources/SankeyDiagram.swift:4:15: note: add @available attribute to enclosing struct
public struct SankeyDiagram: UIViewRepresentable {
              ^
/Users/admin/builder/spi-builder-workspace/Sources/SankeyDiagram.swift:91:37: error: 'Color' is only available in macOS 10.15 or newer
    public func labelColor(_ color: Color) -> SankeyDiagram {
                                    ^
/Users/admin/builder/spi-builder-workspace/Sources/SankeyDiagram.swift:91:17: note: add @available attribute to enclosing instance method
    public func labelColor(_ color: Color) -> SankeyDiagram {
                ^
/Users/admin/builder/spi-builder-workspace/Sources/SankeyDiagram.swift:4:15: note: add @available attribute to enclosing struct
public struct SankeyDiagram: UIViewRepresentable {
              ^
/Users/admin/builder/spi-builder-workspace/Sources/SankeyDiagram.swift:4:30: error: cannot find type 'UIViewRepresentable' in scope
public struct SankeyDiagram: UIViewRepresentable {
                             ^~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SankeyDiagram.swift:15:17: error: cannot assign to property: 'isOpaque' is a get-only property
        webView.isOpaque = false
        ~~~~~~~~^~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SankeyDiagram.swift:16:17: error: value of type 'WKWebView' has no member 'scrollView'
        webView.scrollView.isScrollEnabled = false
        ~~~~~~~ ^~~~~~~~~~
[13/16] Compiling Sankey Color+.swift
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Color+.swift:25:31: error: 'ColorScheme' is only available in macOS 10.15 or newer
    func hex(for colorScheme: ColorScheme) -> String {
                              ^
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Color+.swift:25:10: note: add @available attribute to enclosing instance method
    func hex(for colorScheme: ColorScheme) -> String {
         ^
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Color+.swift:3:1: note: add @available attribute to enclosing extension
extension Color {
^
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Color+.swift:29:16: error: 'Color' is only available in macOS 10.15 or newer
    var light: Color {
               ^
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Color+.swift:29:9: note: add @available attribute to enclosing property
    var light: Color {
        ^
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Color+.swift:3:1: note: add @available attribute to enclosing extension
extension Color {
^
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Color+.swift:35:15: error: 'Color' is only available in macOS 10.15 or newer
    var dark: Color {
              ^
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Color+.swift:35:9: note: add @available attribute to enclosing property
    var dark: Color {
        ^
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Color+.swift:3:1: note: add @available attribute to enclosing extension
extension Color {
^
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Color+.swift:3:11: error: 'Color' is only available in macOS 10.15 or newer
extension Color {
          ^
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Color+.swift:3:1: note: add @available attribute to enclosing extension
extension Color {
^
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Color+.swift:12:14: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
        self.init(red: red, green: green, blue: blue)
             ^
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Color+.swift:12:14: note: add 'if #available' version check
        self.init(red: red, green: green, blue: blue)
             ^
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Color+.swift:4:5: note: add @available attribute to enclosing initializer
    init(hex: String) {
    ^
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Color+.swift:3:1: note: add @available attribute to enclosing extension
extension Color {
^
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Color+.swift:16:23: error: cannot find 'UIColor' in scope
        let uiColor = UIColor(self)
                      ^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Color+.swift:30:27: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
        var environment = EnvironmentValues()
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Color+.swift:30:27: note: add 'if #available' version check
        var environment = EnvironmentValues()
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Color+.swift:29:9: note: add @available attribute to enclosing property
    var light: Color {
        ^
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Color+.swift:3:1: note: add @available attribute to enclosing extension
extension Color {
^
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Color+.swift:31:21: error: 'colorScheme' is only available in macOS 10.15 or newer
        environment.colorScheme = .light
                    ^
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Color+.swift:31:21: note: add 'if #available' version check
        environment.colorScheme = .light
                    ^
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Color+.swift:29:9: note: add @available attribute to enclosing property
    var light: Color {
        ^
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Color+.swift:3:1: note: add @available attribute to enclosing extension
extension Color {
^
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Color+.swift:32:16: error: 'Color' is only available in macOS 10.15 or newer
        return Color(resolve(in: environment))
               ^
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Color+.swift:32:16: note: add 'if #available' version check
        return Color(resolve(in: environment))
               ^
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Color+.swift:29:9: note: add @available attribute to enclosing property
    var light: Color {
        ^
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Color+.swift:3:1: note: add @available attribute to enclosing extension
extension Color {
^
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Color+.swift:32:16: error: 'init(_:)' is only available in macOS 14.0 or newer
        return Color(resolve(in: environment))
               ^
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Color+.swift:32:16: note: add 'if #available' version check
        return Color(resolve(in: environment))
               ^
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Color+.swift:29:9: note: add @available attribute to enclosing property
    var light: Color {
        ^
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Color+.swift:3:1: note: add @available attribute to enclosing extension
extension Color {
^
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Color+.swift:32:22: error: 'resolve(in:)' is only available in macOS 14.0 or newer
        return Color(resolve(in: environment))
                     ^
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Color+.swift:32:22: note: add 'if #available' version check
        return Color(resolve(in: environment))
                     ^
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Color+.swift:29:9: note: add @available attribute to enclosing property
    var light: Color {
        ^
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Color+.swift:3:1: note: add @available attribute to enclosing extension
extension Color {
^
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Color+.swift:36:27: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
        var environment = EnvironmentValues()
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Color+.swift:36:27: note: add 'if #available' version check
        var environment = EnvironmentValues()
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Color+.swift:35:9: note: add @available attribute to enclosing property
    var dark: Color {
        ^
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Color+.swift:3:1: note: add @available attribute to enclosing extension
extension Color {
^
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Color+.swift:37:21: error: 'colorScheme' is only available in macOS 10.15 or newer
        environment.colorScheme = .dark
                    ^
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Color+.swift:37:21: note: add 'if #available' version check
        environment.colorScheme = .dark
                    ^
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Color+.swift:35:9: note: add @available attribute to enclosing property
    var dark: Color {
        ^
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Color+.swift:3:1: note: add @available attribute to enclosing extension
extension Color {
^
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Color+.swift:38:16: error: 'Color' is only available in macOS 10.15 or newer
        return Color(resolve(in: environment))
               ^
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Color+.swift:38:16: note: add 'if #available' version check
        return Color(resolve(in: environment))
               ^
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Color+.swift:35:9: note: add @available attribute to enclosing property
    var dark: Color {
        ^
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Color+.swift:3:1: note: add @available attribute to enclosing extension
extension Color {
^
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Color+.swift:38:16: error: 'init(_:)' is only available in macOS 14.0 or newer
        return Color(resolve(in: environment))
               ^
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Color+.swift:38:16: note: add 'if #available' version check
        return Color(resolve(in: environment))
               ^
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Color+.swift:35:9: note: add @available attribute to enclosing property
    var dark: Color {
        ^
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Color+.swift:3:1: note: add @available attribute to enclosing extension
extension Color {
^
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Color+.swift:38:22: error: 'resolve(in:)' is only available in macOS 14.0 or newer
        return Color(resolve(in: environment))
                     ^
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Color+.swift:38:22: note: add 'if #available' version check
        return Color(resolve(in: environment))
                     ^
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Color+.swift:35:9: note: add @available attribute to enclosing property
    var dark: Color {
        ^
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Color+.swift:3:1: note: add @available attribute to enclosing extension
extension Color {
^
[14/16] Compiling Sankey SankeyDiagram+deprecated.swift
/Users/admin/builder/spi-builder-workspace/Sources/Deprecated/SankeyDiagram+deprecated.swift:69:51: error: 'Color' is only available in macOS 10.15 or newer
        options.labelColor = nodeLabelColor.map { Color(hex: $0) } ?? options.labelColor
                                                  ^
/Users/admin/builder/spi-builder-workspace/Sources/Deprecated/SankeyDiagram+deprecated.swift:69:51: note: add 'if #available' version check
        options.labelColor = nodeLabelColor.map { Color(hex: $0) } ?? options.labelColor
                                                  ^
/Users/admin/builder/spi-builder-workspace/Sources/Deprecated/SankeyDiagram+deprecated.swift:3:1: note: add @available attribute to enclosing extension
extension SankeyDiagram {
^
/Users/admin/builder/spi-builder-workspace/Sources/Deprecated/SankeyDiagram+deprecated.swift:78:56: error: 'Color' is only available in macOS 10.15 or newer
        options.linkDefaultColor = linkColorFill.map { Color(hex: $0) } ?? options.linkDefaultColor
                                                       ^
/Users/admin/builder/spi-builder-workspace/Sources/Deprecated/SankeyDiagram+deprecated.swift:78:56: note: add 'if #available' version check
        options.linkDefaultColor = linkColorFill.map { Color(hex: $0) } ?? options.linkDefaultColor
                                                       ^
/Users/admin/builder/spi-builder-workspace/Sources/Deprecated/SankeyDiagram+deprecated.swift:3:1: note: add @available attribute to enclosing extension
extension SankeyDiagram {
^
[15/16] Compiling Sankey SankeyLink+deprecated.swift
/Users/admin/builder/spi-builder-workspace/Sources/Deprecated/SankeyDiagram+deprecated.swift:69:51: error: 'Color' is only available in macOS 10.15 or newer
        options.labelColor = nodeLabelColor.map { Color(hex: $0) } ?? options.labelColor
                                                  ^
/Users/admin/builder/spi-builder-workspace/Sources/Deprecated/SankeyDiagram+deprecated.swift:69:51: note: add 'if #available' version check
        options.labelColor = nodeLabelColor.map { Color(hex: $0) } ?? options.labelColor
                                                  ^
/Users/admin/builder/spi-builder-workspace/Sources/Deprecated/SankeyDiagram+deprecated.swift:3:1: note: add @available attribute to enclosing extension
extension SankeyDiagram {
^
/Users/admin/builder/spi-builder-workspace/Sources/Deprecated/SankeyDiagram+deprecated.swift:78:56: error: 'Color' is only available in macOS 10.15 or newer
        options.linkDefaultColor = linkColorFill.map { Color(hex: $0) } ?? options.linkDefaultColor
                                                       ^
/Users/admin/builder/spi-builder-workspace/Sources/Deprecated/SankeyDiagram+deprecated.swift:78:56: note: add 'if #available' version check
        options.linkDefaultColor = linkColorFill.map { Color(hex: $0) } ?? options.linkDefaultColor
                                                       ^
/Users/admin/builder/spi-builder-workspace/Sources/Deprecated/SankeyDiagram+deprecated.swift:3:1: note: add @available attribute to enclosing extension
extension SankeyDiagram {
^
[16/16] Compiling Sankey resource_bundle_accessor.swift
error: fatalError
BUILD FAILURE 5.10 macosSpm