The Swift Package Index logo.Swift Package Index

Build Information

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

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/rizumita/CTColorPicker.git
Reference: v0.1.1
Initialized empty Git repository in /Users/admin/builds/J1XnyXFH/1/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
Revision (git rev-parse @):
4bc29c28d607243c2dfa21d7a02452167f017c3a
SUCCESS checkout https://github.com/rizumita/CTColorPicker.git at v0.1.1
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $workDir
https://github.com/rizumita/CTColorPicker.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--423B1241ED78D482.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/10] Compiling CTColorPicker Pointer.swift
[4/10] Compiling CTColorPicker Functions.swift
[5/10] Compiling CTColorPicker Color+Extensions.swift
[6/10] Emitting module CTColorPicker
/Users/admin/builds/J1XnyXFH/1/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/admin/builds/J1XnyXFH/1/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/admin/builds/J1XnyXFH/1/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/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CTColorPicker/ColorPickerModel.swift:20:16: error: cannot find type 'UIColor' in scope
    var color: UIColor = .red {
               ^~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CTColorPicker/ColorPickerModel.swift:41:17: error: cannot find type 'UIColor' in scope
    init(color: UIColor) {
                ^~~~~~~
[7/10] Compiling CTColorPicker SBSquare.swift
/Users/admin/builds/J1XnyXFH/1/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/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CTColorPicker/ColorPickerModel.swift:20:16: error: cannot find type 'UIColor' in scope
    var color: UIColor = .red {
               ^~~~~~~
[8/10] Compiling CTColorPicker ColorPickerModel.swift
/Users/admin/builds/J1XnyXFH/1/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/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CTColorPicker/ColorPickerModel.swift:20:16: error: cannot find type 'UIColor' in scope
    var color: UIColor = .red {
               ^~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CTColorPicker/ColorPickerModel.swift:41:17: error: cannot find type 'UIColor' in scope
    init(color: UIColor) {
                ^~~~~~~
/Users/admin/builds/J1XnyXFH/1/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/admin/builds/J1XnyXFH/1/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/admin/builds/J1XnyXFH/1/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/admin/builds/J1XnyXFH/1/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/admin/builds/J1XnyXFH/1/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/admin/builds/J1XnyXFH/1/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/admin/builds/J1XnyXFH/1/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/admin/builds/J1XnyXFH/1/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/admin/builds/J1XnyXFH/1/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/admin/builds/J1XnyXFH/1/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/admin/builds/J1XnyXFH/1/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/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CTColorPicker/ColorPickerModel.swift:60:17: error: cannot find 'UIColor' in scope
        color = UIColor(hue: hue,
                ^~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CTColorPicker/ColorPickerModel.swift:67:17: error: cannot find 'UIColor' in scope
        color = UIColor(hue: hue,
                ^~~~~~~
[9/10] Compiling CTColorPicker ColorPicker.swift
/Users/admin/builds/J1XnyXFH/1/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/admin/builds/J1XnyXFH/1/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/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CTColorPicker/ColorPickerModel.swift:41:17: error: cannot find type 'UIColor' in scope
    init(color: UIColor) {
                ^~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CTColorPicker/ColorPickerModel.swift:16:47: error: cannot find type 'UIColor' in scope
    var objectWillChange = PassthroughSubject<UIColor, Never>()
                                              ^~~~~~~
[10/10] Compiling CTColorPicker HCircle.swift
/Users/admin/builds/J1XnyXFH/1/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/admin/builds/J1XnyXFH/1/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
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version--423B1241ED78D482.txt
[2/6] Compiling CTColorPicker SBSquare.swift
/Users/admin/builds/J1XnyXFH/1/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/admin/builds/J1XnyXFH/1/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)
[3/6] Emitting module CTColorPicker
/Users/admin/builds/J1XnyXFH/1/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/admin/builds/J1XnyXFH/1/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/admin/builds/J1XnyXFH/1/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/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CTColorPicker/ColorPickerModel.swift:20:16: error: cannot find type 'UIColor' in scope
    var color: UIColor = .red {
               ^~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CTColorPicker/ColorPickerModel.swift:41:17: error: cannot find type 'UIColor' in scope
    init(color: UIColor) {
                ^~~~~~~
[4/6] Compiling CTColorPicker ColorPickerModel.swift
/Users/admin/builds/J1XnyXFH/1/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/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CTColorPicker/ColorPickerModel.swift:20:16: error: cannot find type 'UIColor' in scope
    var color: UIColor = .red {
               ^~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CTColorPicker/ColorPickerModel.swift:41:17: error: cannot find type 'UIColor' in scope
    init(color: UIColor) {
                ^~~~~~~
/Users/admin/builds/J1XnyXFH/1/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/admin/builds/J1XnyXFH/1/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/admin/builds/J1XnyXFH/1/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/admin/builds/J1XnyXFH/1/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/admin/builds/J1XnyXFH/1/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/admin/builds/J1XnyXFH/1/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/admin/builds/J1XnyXFH/1/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/admin/builds/J1XnyXFH/1/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/admin/builds/J1XnyXFH/1/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/admin/builds/J1XnyXFH/1/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/admin/builds/J1XnyXFH/1/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/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CTColorPicker/ColorPickerModel.swift:60:17: error: cannot find 'UIColor' in scope
        color = UIColor(hue: hue,
                ^~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CTColorPicker/ColorPickerModel.swift:67:17: error: cannot find 'UIColor' in scope
        color = UIColor(hue: hue,
                ^~~~~~~
[5/6] Compiling CTColorPicker ColorPicker.swift
/Users/admin/builds/J1XnyXFH/1/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/admin/builds/J1XnyXFH/1/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/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CTColorPicker/ColorPickerModel.swift:41:17: error: cannot find type 'UIColor' in scope
    init(color: UIColor) {
                ^~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CTColorPicker/ColorPickerModel.swift:16:47: error: cannot find type 'UIColor' in scope
    var objectWillChange = PassthroughSubject<UIColor, Never>()
                                              ^~~~~~~
[6/6] Compiling CTColorPicker HCircle.swift
/Users/admin/builds/J1XnyXFH/1/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/admin/builds/J1XnyXFH/1/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
BUILD FAILURE 5.10 macosSpm