The Swift Package Index logo.Swift Package Index

Build Information

Failed to build CTColorPicker, reference master (b34702), with Swift 6.3 for macOS (SPM) on 11 Apr 2026 08:55:35 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/rizumita/CTColorPicker.git
Reference: master
Initialized empty Git repository in /Users/admin/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/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "ctcolorpicker",
      "name": "CTColorPicker",
      "url": "https://github.com/rizumita/CTColorPicker.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/CTColorPicker",
      "traits": [
        "default"
      ],
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/rizumita/CTColorPicker.git
[1/81] Fetching ctcolorpicker
Fetched https://github.com/rizumita/CTColorPicker.git from cache (0.86s)
Creating working copy for https://github.com/rizumita/CTColorPicker.git
Working copy of https://github.com/rizumita/CTColorPicker.git resolved at master (b347027)
warning: '.resolve-product-dependencies': dependency 'ctcolorpicker' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/rizumita/CTColorPicker.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--6988338F2F200930.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/10] Compiling CTColorPicker Color+Extensions.swift
[4/10] Compiling CTColorPicker Pointer.swift
[5/10] Emitting module CTColorPicker
/Users/admin/builder/spi-builder-workspace/Sources/CTColorPicker/ColorPicker.swift:19:24: error: cannot find type 'UIColor' in scope
17 |     private var cancellables = Set<AnyCancellable>()
18 |
19 |     public init(color: UIColor = .white, squareScale: CGFloat = 0.8, onChange: @escaping (UIColor) -> ()) {
   |                        `- error: cannot find type 'UIColor' in scope
20 |         self.squareScale = squareScale
21 |         self.model = ColorPickerModel(color: color)
/Users/admin/builder/spi-builder-workspace/Sources/CTColorPicker/ColorPicker.swift:19:91: error: cannot find type 'UIColor' in scope
17 |     private var cancellables = Set<AnyCancellable>()
18 |
19 |     public init(color: UIColor = .white, squareScale: CGFloat = 0.8, onChange: @escaping (UIColor) -> ()) {
   |                                                                                           `- error: cannot find type 'UIColor' in scope
20 |         self.squareScale = squareScale
21 |         self.model = ColorPickerModel(color: color)
/Users/admin/builder/spi-builder-workspace/Sources/CTColorPicker/ColorPickerModel.swift:16:47: error: cannot find type 'UIColor' in scope
14 | @available(OSX 10.15, iOS 13.0, *)
15 | class ColorPickerModel: ObservableObject {
16 |     var objectWillChange = PassthroughSubject<UIColor, Never>()
   |                                               `- error: cannot find type 'UIColor' in scope
17 |     var baseColor: Color {
18 |         Color(hue: Double(hue), saturation: 1.0, brightness: 1.0)
/Users/admin/builder/spi-builder-workspace/Sources/CTColorPicker/ColorPickerModel.swift:20:16: error: cannot find type 'UIColor' in scope
18 |         Color(hue: Double(hue), saturation: 1.0, brightness: 1.0)
19 |     }
20 |     var color: UIColor = .red {
   |                `- error: cannot find type 'UIColor' in scope
21 |         willSet {
22 |             objectWillChange.send(newValue)
/Users/admin/builder/spi-builder-workspace/Sources/CTColorPicker/ColorPickerModel.swift:41:17: error: cannot find type 'UIColor' in scope
39 |     }
40 |
41 |     init(color: UIColor) {
   |                 `- error: cannot find type 'UIColor' in scope
42 |         self.color = color
43 |     }
[6/10] Compiling CTColorPicker Functions.swift
[7/10] Compiling CTColorPicker ColorPickerModel.swift
/Users/admin/builder/spi-builder-workspace/Sources/CTColorPicker/ColorPickerModel.swift:16:47: error: cannot find type 'UIColor' in scope
14 | @available(OSX 10.15, iOS 13.0, *)
15 | class ColorPickerModel: ObservableObject {
16 |     var objectWillChange = PassthroughSubject<UIColor, Never>()
   |                                               `- error: cannot find type 'UIColor' in scope
17 |     var baseColor: Color {
18 |         Color(hue: Double(hue), saturation: 1.0, brightness: 1.0)
/Users/admin/builder/spi-builder-workspace/Sources/CTColorPicker/ColorPickerModel.swift:20:16: error: cannot find type 'UIColor' in scope
18 |         Color(hue: Double(hue), saturation: 1.0, brightness: 1.0)
19 |     }
20 |     var color: UIColor = .red {
   |                `- error: cannot find type 'UIColor' in scope
21 |         willSet {
22 |             objectWillChange.send(newValue)
/Users/admin/builder/spi-builder-workspace/Sources/CTColorPicker/ColorPickerModel.swift:41:17: error: cannot find type 'UIColor' in scope
39 |     }
40 |
41 |     init(color: UIColor) {
   |                 `- error: cannot find type 'UIColor' in scope
42 |         self.color = color
43 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CTColorPicker/ColorPickerModel.swift:22:35: error: argument passed to call that takes no arguments
20 |     var color: UIColor = .red {
21 |         willSet {
22 |             objectWillChange.send(newValue)
   |                                   `- error: argument passed to call that takes no arguments
23 |         }
24 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CTColorPicker/ColorPickerModel.swift:27:41: error: cannot infer contextual base in reference to member 'none'
25 |     var hue: CGFloat {
26 |         var hue: CGFloat = .zero
27 |         color.getHue(&hue, saturation: .none, brightness: .none, alpha: .none)
   |                                         `- error: cannot infer contextual base in reference to member 'none'
28 |         return hue
29 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CTColorPicker/ColorPickerModel.swift:27:60: error: cannot infer contextual base in reference to member 'none'
25 |     var hue: CGFloat {
26 |         var hue: CGFloat = .zero
27 |         color.getHue(&hue, saturation: .none, brightness: .none, alpha: .none)
   |                                                            `- error: cannot infer contextual base in reference to member 'none'
28 |         return hue
29 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CTColorPicker/ColorPickerModel.swift:27:74: error: cannot infer contextual base in reference to member 'none'
25 |     var hue: CGFloat {
26 |         var hue: CGFloat = .zero
27 |         color.getHue(&hue, saturation: .none, brightness: .none, alpha: .none)
   |                                                                          `- error: cannot infer contextual base in reference to member 'none'
28 |         return hue
29 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CTColorPicker/ColorPickerModel.swift:32:23: error: cannot infer contextual base in reference to member 'none'
30 |     var saturation: CGFloat {
31 |         var saturation: CGFloat = .zero
32 |         color.getHue(.none, saturation: &saturation, brightness: .none, alpha: .none)
   |                       `- error: cannot infer contextual base in reference to member 'none'
33 |         return saturation
34 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CTColorPicker/ColorPickerModel.swift:32:67: error: cannot infer contextual base in reference to member 'none'
30 |     var saturation: CGFloat {
31 |         var saturation: CGFloat = .zero
32 |         color.getHue(.none, saturation: &saturation, brightness: .none, alpha: .none)
   |                                                                   `- error: cannot infer contextual base in reference to member 'none'
33 |         return saturation
34 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CTColorPicker/ColorPickerModel.swift:32:81: error: cannot infer contextual base in reference to member 'none'
30 |     var saturation: CGFloat {
31 |         var saturation: CGFloat = .zero
32 |         color.getHue(.none, saturation: &saturation, brightness: .none, alpha: .none)
   |                                                                                 `- error: cannot infer contextual base in reference to member 'none'
33 |         return saturation
34 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CTColorPicker/ColorPickerModel.swift:37:23: error: cannot infer contextual base in reference to member 'none'
35 |     var brightness: CGFloat {
36 |         var brightness: CGFloat = .zero
37 |         color.getHue(.none, saturation: .none, brightness: &brightness, alpha: .none)
   |                       `- error: cannot infer contextual base in reference to member 'none'
38 |         return brightness
39 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CTColorPicker/ColorPickerModel.swift:37:42: error: cannot infer contextual base in reference to member 'none'
35 |     var brightness: CGFloat {
36 |         var brightness: CGFloat = .zero
37 |         color.getHue(.none, saturation: .none, brightness: &brightness, alpha: .none)
   |                                          `- error: cannot infer contextual base in reference to member 'none'
38 |         return brightness
39 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CTColorPicker/ColorPickerModel.swift:37:81: error: cannot infer contextual base in reference to member 'none'
35 |     var brightness: CGFloat {
36 |         var brightness: CGFloat = .zero
37 |         color.getHue(.none, saturation: .none, brightness: &brightness, alpha: .none)
   |                                                                                 `- error: cannot infer contextual base in reference to member 'none'
38 |         return brightness
39 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CTColorPicker/ColorPickerModel.swift:52:17: error: cannot find 'UIColor' in scope
50 |
51 |     func setHue(angle: CGFloat) {
52 |         color = UIColor(hue: (angle + 180.0) / 360, saturation: saturation, brightness: brightness, alpha: 1.0)
   |                 `- error: cannot find 'UIColor' in scope
53 |     }
54 |
/Users/admin/builder/spi-builder-workspace/Sources/CTColorPicker/ColorPickerModel.swift:60:17: error: cannot find 'UIColor' in scope
58 |
59 |     func setSaturation(point: CGFloat, length: CGFloat) {
60 |         color = UIColor(hue: hue,
   |                 `- error: cannot find 'UIColor' in scope
61 |                         saturation: max(0.0, min(1.0, point / length)),
62 |                         brightness: brightness,
/Users/admin/builder/spi-builder-workspace/Sources/CTColorPicker/ColorPickerModel.swift:67:17: error: cannot find 'UIColor' in scope
65 |
66 |     func setBrightness(point: CGFloat, length: CGFloat) {
67 |         color = UIColor(hue: hue,
   |                 `- error: cannot find 'UIColor' in scope
68 |                         saturation: saturation,
69 |                         brightness: 1.0 - max(0.0, min(1.0, point / length)),
[8/10] Compiling CTColorPicker SBSquare.swift
/Users/admin/builder/spi-builder-workspace/Sources/CTColorPicker/ColorPickerModel.swift:16:47: error: cannot find type 'UIColor' in scope
14 | @available(OSX 10.15, iOS 13.0, *)
15 | class ColorPickerModel: ObservableObject {
16 |     var objectWillChange = PassthroughSubject<UIColor, Never>()
   |                                               `- error: cannot find type 'UIColor' in scope
17 |     var baseColor: Color {
18 |         Color(hue: Double(hue), saturation: 1.0, brightness: 1.0)
/Users/admin/builder/spi-builder-workspace/Sources/CTColorPicker/ColorPickerModel.swift:20:16: error: cannot find type 'UIColor' in scope
18 |         Color(hue: Double(hue), saturation: 1.0, brightness: 1.0)
19 |     }
20 |     var color: UIColor = .red {
   |                `- error: cannot find type 'UIColor' in scope
21 |         willSet {
22 |             objectWillChange.send(newValue)
[9/10] Compiling CTColorPicker ColorPicker.swift
/Users/admin/builder/spi-builder-workspace/Sources/CTColorPicker/ColorPicker.swift:19:24: error: cannot find type 'UIColor' in scope
17 |     private var cancellables = Set<AnyCancellable>()
18 |
19 |     public init(color: UIColor = .white, squareScale: CGFloat = 0.8, onChange: @escaping (UIColor) -> ()) {
   |                        `- error: cannot find type 'UIColor' in scope
20 |         self.squareScale = squareScale
21 |         self.model = ColorPickerModel(color: color)
/Users/admin/builder/spi-builder-workspace/Sources/CTColorPicker/ColorPicker.swift:19:91: error: cannot find type 'UIColor' in scope
17 |     private var cancellables = Set<AnyCancellable>()
18 |
19 |     public init(color: UIColor = .white, squareScale: CGFloat = 0.8, onChange: @escaping (UIColor) -> ()) {
   |                                                                                           `- error: cannot find type 'UIColor' in scope
20 |         self.squareScale = squareScale
21 |         self.model = ColorPickerModel(color: color)
/Users/admin/builder/spi-builder-workspace/Sources/CTColorPicker/ColorPickerModel.swift:41:17: error: cannot find type 'UIColor' in scope
39 |     }
40 |
41 |     init(color: UIColor) {
   |                 `- error: cannot find type 'UIColor' in scope
42 |         self.color = color
43 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CTColorPicker/ColorPickerModel.swift:16:47: error: cannot find type 'UIColor' in scope
14 | @available(OSX 10.15, iOS 13.0, *)
15 | class ColorPickerModel: ObservableObject {
16 |     var objectWillChange = PassthroughSubject<UIColor, Never>()
   |                                               `- error: cannot find type 'UIColor' in scope
17 |     var baseColor: Color {
18 |         Color(hue: Double(hue), saturation: 1.0, brightness: 1.0)
[10/10] Compiling CTColorPicker HCircle.swift
/Users/admin/builder/spi-builder-workspace/Sources/CTColorPicker/ColorPickerModel.swift:16:47: error: cannot find type 'UIColor' in scope
14 | @available(OSX 10.15, iOS 13.0, *)
15 | class ColorPickerModel: ObservableObject {
16 |     var objectWillChange = PassthroughSubject<UIColor, Never>()
   |                                               `- error: cannot find type 'UIColor' in scope
17 |     var baseColor: Color {
18 |         Color(hue: Double(hue), saturation: 1.0, brightness: 1.0)
/Users/admin/builder/spi-builder-workspace/Sources/CTColorPicker/ColorPickerModel.swift:20:16: error: cannot find type 'UIColor' in scope
18 |         Color(hue: Double(hue), saturation: 1.0, brightness: 1.0)
19 |     }
20 |     var color: UIColor = .red {
   |                `- error: cannot find type 'UIColor' in scope
21 |         willSet {
22 |             objectWillChange.send(newValue)
BUILD FAILURE 6.3 macosSpm