The Swift Package Index logo.Swift Package Index

Build Information

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

Build Command

Build command unavailable

Build Log

========================================
RunAll
========================================
Builder version: 4.27.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/rizumita/CTColorPicker.git
Reference: master
Initialized empty Git repository in /Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/rizumita/CTColorPicker
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at b347027 Remove screenshot
Cloned https://github.com/rizumita/CTColorPicker.git
Revision (git rev-parse @):
b347027c6b103d5c297f4c707283c2d3ce42c25c
SUCCESS checkout https://github.com/rizumita/CTColorPicker.git at master
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "ctcolorpicker",
      "name": "CTColorPicker",
      "url": "https://github.com/rizumita/CTColorPicker.git",
      "version": "unspecified",
      "path": "/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/CTColorPicker",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/rizumita/CTColorPicker.git
[1/81] Fetching ctcolorpicker
Fetched https://github.com/rizumita/CTColorPicker.git (0.33s)
Creating working copy for https://github.com/rizumita/CTColorPicker.git
Working copy of https://github.com/rizumita/CTColorPicker.git resolved at master
warning: '.resolve-product-dependencies': dependency 'ctcolorpicker' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  $PWD/checkout
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.0.0.app xcrun swift build --arch arm64
Building for debugging...
[1/8] 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 {
               ^~~~~~~
[2/8] Compiling CTColorPicker Pointer.swift
[3/8] Compiling CTColorPicker Functions.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/8] Compiling CTColorPicker Color+Extensions.swift
[5/8] 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, squareScale: CGFloat = 0.8, onChange: @escaping (UIColor) -> ()) {
                       ^~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CTColorPicker/ColorPicker.swift:19:91: error: cannot find type 'UIColor' in scope
    public init(color: UIColor = .white, squareScale: 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) {
                ^~~~~~~
[6/8] 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, squareScale: CGFloat = 0.8, onChange: @escaping (UIColor) -> ()) {
                       ^~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CTColorPicker/ColorPicker.swift:19:91: error: cannot find type 'UIColor' in scope
    public init(color: UIColor = .white, squareScale: 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>()
                                              ^~~~~~~
[7/8] 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 {
               ^~~~~~~
[8/8] 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,
                ^~~~~~~
error: fatalError
[0/1] Planning build
Building for debugging...
[1/5] 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 {
               ^~~~~~~
[2/5] 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: emit-module command failed with exit code 1 (use -v to see invocation)
[3/5] 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, squareScale: CGFloat = 0.8, onChange: @escaping (UIColor) -> ()) {
                       ^~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CTColorPicker/ColorPicker.swift:19:91: error: cannot find type 'UIColor' in scope
    public init(color: UIColor = .white, squareScale: 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/5] 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/5] 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, squareScale: CGFloat = 0.8, onChange: @escaping (UIColor) -> ()) {
                       ^~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CTColorPicker/ColorPicker.swift:19:91: error: cannot find type 'UIColor' in scope
    public init(color: UIColor = .white, squareScale: 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>()
                                              ^~~~~~~
error: fatalError
BUILD FAILURE 5.9 macosSpm