The Swift Package Index logo.Swift Package Index

Build Information

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

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/rizumita/CTColorPicker.git
Reference: v0.1.1
Initialized empty Git repository in /Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/rizumita/CTColorPicker
 * tag               v0.1.1     -> FETCH_HEAD
HEAD is now at 4bc29c2 Available iOS13
Cloned https://github.com/rizumita/CTColorPicker.git into spi-builder-workspace
4bc29c28d607243c2dfa21d7a02452167f017c3a
SUCCESS checkout https://github.com/rizumita/CTColorPicker.git at v0.1.1
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
env DEVELOPER_DIR="/Applications/Xcode-15.0.0-Beta.app" xcrun swift build --arch arm64
Building ... (attempt 1)
Building for debugging...
[1/8] Compiling CTColorPicker Functions.swift
[2/8] Compiling CTColorPicker Pointer.swift
[3/8] Compiling CTColorPicker SBSquare.swift
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CTColorPicker/ColorPickerModel.swift:16:47: error: cannot find type 'UIColor' in scope
    var objectWillChange = PassthroughSubject<UIColor, Never>()
                                              ^~~~~~~
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CTColorPicker/ColorPickerModel.swift:20:16: error: cannot find type 'UIColor' in scope
    var color: UIColor = .red {
               ^~~~~~~
[4/8] Compiling CTColorPicker HCircle.swift
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CTColorPicker/ColorPickerModel.swift:16:47: error: cannot find type 'UIColor' in scope
    var objectWillChange = PassthroughSubject<UIColor, Never>()
                                              ^~~~~~~
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CTColorPicker/ColorPickerModel.swift:20:16: error: cannot find type 'UIColor' in scope
    var color: UIColor = .red {
               ^~~~~~~
[5/8] Compiling CTColorPicker ColorPickerModel.swift
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CTColorPicker/ColorPickerModel.swift:16:47: error: cannot find type 'UIColor' in scope
    var objectWillChange = PassthroughSubject<UIColor, Never>()
                                              ^~~~~~~
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CTColorPicker/ColorPickerModel.swift:20:16: error: cannot find type 'UIColor' in scope
    var color: UIColor = .red {
               ^~~~~~~
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CTColorPicker/ColorPickerModel.swift:41:17: error: cannot find type 'UIColor' in scope
    init(color: UIColor) {
                ^~~~~~~
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CTColorPicker/ColorPickerModel.swift:22:35: error: argument passed to call that takes no arguments
            objectWillChange.send(newValue)
                                 ~^~~~~~~~~
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CTColorPicker/ColorPickerModel.swift:27:41: error: cannot infer contextual base in reference to member 'none'
        color.getHue(&hue, saturation: .none, brightness: .none, alpha: .none)
                                       ~^~~~
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CTColorPicker/ColorPickerModel.swift:27:60: error: cannot infer contextual base in reference to member 'none'
        color.getHue(&hue, saturation: .none, brightness: .none, alpha: .none)
                                                          ~^~~~
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CTColorPicker/ColorPickerModel.swift:27:74: error: cannot infer contextual base in reference to member 'none'
        color.getHue(&hue, saturation: .none, brightness: .none, alpha: .none)
                                                                        ~^~~~
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CTColorPicker/ColorPickerModel.swift:32:23: error: cannot infer contextual base in reference to member 'none'
        color.getHue(.none, saturation: &saturation, brightness: .none, alpha: .none)
                     ~^~~~
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CTColorPicker/ColorPickerModel.swift:32:67: error: cannot infer contextual base in reference to member 'none'
        color.getHue(.none, saturation: &saturation, brightness: .none, alpha: .none)
                                                                 ~^~~~
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CTColorPicker/ColorPickerModel.swift:32:81: error: cannot infer contextual base in reference to member 'none'
        color.getHue(.none, saturation: &saturation, brightness: .none, alpha: .none)
                                                                               ~^~~~
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CTColorPicker/ColorPickerModel.swift:37:23: error: cannot infer contextual base in reference to member 'none'
        color.getHue(.none, saturation: .none, brightness: &brightness, alpha: .none)
                     ~^~~~
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CTColorPicker/ColorPickerModel.swift:37:42: error: cannot infer contextual base in reference to member 'none'
        color.getHue(.none, saturation: .none, brightness: &brightness, alpha: .none)
                                        ~^~~~
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CTColorPicker/ColorPickerModel.swift:37:81: error: cannot infer contextual base in reference to member 'none'
        color.getHue(.none, saturation: .none, brightness: &brightness, alpha: .none)
                                                                               ~^~~~
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CTColorPicker/ColorPickerModel.swift:52:17: error: cannot find 'UIColor' in scope
        color = UIColor(hue: (angle + 180.0) / 360, saturation: saturation, brightness: brightness, alpha: 1.0)
                ^~~~~~~
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CTColorPicker/ColorPickerModel.swift:60:17: error: cannot find 'UIColor' in scope
        color = UIColor(hue: hue,
                ^~~~~~~
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CTColorPicker/ColorPickerModel.swift:67:17: error: cannot find 'UIColor' in scope
        color = UIColor(hue: hue,
                ^~~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/8] Compiling CTColorPicker Color+Extensions.swift
[7/8] Emitting module CTColorPicker
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CTColorPicker/ColorPicker.swift:19:24: error: cannot find type 'UIColor' in scope
    public init(color: UIColor = .white, triangleScale: CGFloat = 0.8, onChange: @escaping (UIColor) -> ()) {
                       ^~~~~~~
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CTColorPicker/ColorPicker.swift:19:93: error: cannot find type 'UIColor' in scope
    public init(color: UIColor = .white, triangleScale: CGFloat = 0.8, onChange: @escaping (UIColor) -> ()) {
                                                                                            ^~~~~~~
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CTColorPicker/ColorPickerModel.swift:16:47: error: cannot find type 'UIColor' in scope
    var objectWillChange = PassthroughSubject<UIColor, Never>()
                                              ^~~~~~~
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CTColorPicker/ColorPickerModel.swift:20:16: error: cannot find type 'UIColor' in scope
    var color: UIColor = .red {
               ^~~~~~~
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CTColorPicker/ColorPickerModel.swift:41:17: error: cannot find type 'UIColor' in scope
    init(color: UIColor) {
                ^~~~~~~
[8/8] Compiling CTColorPicker ColorPicker.swift
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CTColorPicker/ColorPicker.swift:19:24: error: cannot find type 'UIColor' in scope
    public init(color: UIColor = .white, triangleScale: CGFloat = 0.8, onChange: @escaping (UIColor) -> ()) {
                       ^~~~~~~
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CTColorPicker/ColorPicker.swift:19:93: error: cannot find type 'UIColor' in scope
    public init(color: UIColor = .white, triangleScale: CGFloat = 0.8, onChange: @escaping (UIColor) -> ()) {
                                                                                            ^~~~~~~
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CTColorPicker/ColorPickerModel.swift:41:17: error: cannot find type 'UIColor' in scope
    init(color: UIColor) {
                ^~~~~~~
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CTColorPicker/ColorPickerModel.swift:16:47: error: cannot find type 'UIColor' in scope
    var objectWillChange = PassthroughSubject<UIColor, Never>()
                                              ^~~~~~~
error: fatalError
Retrying in 0 seconds ...
Building ... (attempt 2)
[0/1] Planning build
Building for debugging...
[1/5] Compiling CTColorPicker HCircle.swift
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CTColorPicker/ColorPickerModel.swift:16:47: error: cannot find type 'UIColor' in scope
    var objectWillChange = PassthroughSubject<UIColor, Never>()
                                              ^~~~~~~
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CTColorPicker/ColorPickerModel.swift:20:16: error: cannot find type 'UIColor' in scope
    var color: UIColor = .red {
               ^~~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/5] Emitting module CTColorPicker
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CTColorPicker/ColorPicker.swift:19:24: error: cannot find type 'UIColor' in scope
    public init(color: UIColor = .white, triangleScale: CGFloat = 0.8, onChange: @escaping (UIColor) -> ()) {
                       ^~~~~~~
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CTColorPicker/ColorPicker.swift:19:93: error: cannot find type 'UIColor' in scope
    public init(color: UIColor = .white, triangleScale: CGFloat = 0.8, onChange: @escaping (UIColor) -> ()) {
                                                                                            ^~~~~~~
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CTColorPicker/ColorPickerModel.swift:16:47: error: cannot find type 'UIColor' in scope
    var objectWillChange = PassthroughSubject<UIColor, Never>()
                                              ^~~~~~~
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CTColorPicker/ColorPickerModel.swift:20:16: error: cannot find type 'UIColor' in scope
    var color: UIColor = .red {
               ^~~~~~~
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CTColorPicker/ColorPickerModel.swift:41:17: error: cannot find type 'UIColor' in scope
    init(color: UIColor) {
                ^~~~~~~
[3/5] Compiling CTColorPicker ColorPickerModel.swift
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CTColorPicker/ColorPickerModel.swift:16:47: error: cannot find type 'UIColor' in scope
    var objectWillChange = PassthroughSubject<UIColor, Never>()
                                              ^~~~~~~
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CTColorPicker/ColorPickerModel.swift:20:16: error: cannot find type 'UIColor' in scope
    var color: UIColor = .red {
               ^~~~~~~
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CTColorPicker/ColorPickerModel.swift:41:17: error: cannot find type 'UIColor' in scope
    init(color: UIColor) {
                ^~~~~~~
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CTColorPicker/ColorPickerModel.swift:22:35: error: argument passed to call that takes no arguments
            objectWillChange.send(newValue)
                                 ~^~~~~~~~~
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CTColorPicker/ColorPickerModel.swift:27:41: error: cannot infer contextual base in reference to member 'none'
        color.getHue(&hue, saturation: .none, brightness: .none, alpha: .none)
                                       ~^~~~
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CTColorPicker/ColorPickerModel.swift:27:60: error: cannot infer contextual base in reference to member 'none'
        color.getHue(&hue, saturation: .none, brightness: .none, alpha: .none)
                                                          ~^~~~
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CTColorPicker/ColorPickerModel.swift:27:74: error: cannot infer contextual base in reference to member 'none'
        color.getHue(&hue, saturation: .none, brightness: .none, alpha: .none)
                                                                        ~^~~~
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CTColorPicker/ColorPickerModel.swift:32:23: error: cannot infer contextual base in reference to member 'none'
        color.getHue(.none, saturation: &saturation, brightness: .none, alpha: .none)
                     ~^~~~
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CTColorPicker/ColorPickerModel.swift:32:67: error: cannot infer contextual base in reference to member 'none'
        color.getHue(.none, saturation: &saturation, brightness: .none, alpha: .none)
                                                                 ~^~~~
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CTColorPicker/ColorPickerModel.swift:32:81: error: cannot infer contextual base in reference to member 'none'
        color.getHue(.none, saturation: &saturation, brightness: .none, alpha: .none)
                                                                               ~^~~~
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CTColorPicker/ColorPickerModel.swift:37:23: error: cannot infer contextual base in reference to member 'none'
        color.getHue(.none, saturation: .none, brightness: &brightness, alpha: .none)
                     ~^~~~
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CTColorPicker/ColorPickerModel.swift:37:42: error: cannot infer contextual base in reference to member 'none'
        color.getHue(.none, saturation: .none, brightness: &brightness, alpha: .none)
                                        ~^~~~
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CTColorPicker/ColorPickerModel.swift:37:81: error: cannot infer contextual base in reference to member 'none'
        color.getHue(.none, saturation: .none, brightness: &brightness, alpha: .none)
                                                                               ~^~~~
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CTColorPicker/ColorPickerModel.swift:52:17: error: cannot find 'UIColor' in scope
        color = UIColor(hue: (angle + 180.0) / 360, saturation: saturation, brightness: brightness, alpha: 1.0)
                ^~~~~~~
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CTColorPicker/ColorPickerModel.swift:60:17: error: cannot find 'UIColor' in scope
        color = UIColor(hue: hue,
                ^~~~~~~
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CTColorPicker/ColorPickerModel.swift:67:17: error: cannot find 'UIColor' in scope
        color = UIColor(hue: hue,
                ^~~~~~~
[4/5] Compiling CTColorPicker ColorPicker.swift
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CTColorPicker/ColorPicker.swift:19:24: error: cannot find type 'UIColor' in scope
    public init(color: UIColor = .white, triangleScale: CGFloat = 0.8, onChange: @escaping (UIColor) -> ()) {
                       ^~~~~~~
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CTColorPicker/ColorPicker.swift:19:93: error: cannot find type 'UIColor' in scope
    public init(color: UIColor = .white, triangleScale: CGFloat = 0.8, onChange: @escaping (UIColor) -> ()) {
                                                                                            ^~~~~~~
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CTColorPicker/ColorPickerModel.swift:41:17: error: cannot find type 'UIColor' in scope
    init(color: UIColor) {
                ^~~~~~~
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CTColorPicker/ColorPickerModel.swift:16:47: error: cannot find type 'UIColor' in scope
    var objectWillChange = PassthroughSubject<UIColor, Never>()
                                              ^~~~~~~
[5/5] Compiling CTColorPicker SBSquare.swift
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CTColorPicker/ColorPickerModel.swift:16:47: error: cannot find type 'UIColor' in scope
    var objectWillChange = PassthroughSubject<UIColor, Never>()
                                              ^~~~~~~
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CTColorPicker/ColorPickerModel.swift:20:16: error: cannot find type 'UIColor' in scope
    var color: UIColor = .red {
               ^~~~~~~
error: fatalError
Retrying in 0 seconds ...
BUILD FAILURE 5.9 macosSpm