Build Information
Failed to build CTColorPicker, reference v0.1.1 (4bc29c), with Swift 6.2 for macOS (SPM) on 18 Jun 2025 08:43:43 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.64.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/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: 6.2
Building package at path: $PWD
https://github.com/rizumita/CTColorPicker.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.txt
[3/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)
[4/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)
[5/10] Compiling CTColorPicker Functions.swift
[6/10] Compiling CTColorPicker Pointer.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)),
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/10] Compiling CTColorPicker Color+Extensions.swift
[9/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, triangleScale: CGFloat = 0.8, onChange: @escaping (UIColor) -> ()) {
| `- error: cannot find type 'UIColor' in scope
20 | self.triangleScale = triangleScale
21 | self.model = ColorPickerModel(color: color)
/Users/admin/builder/spi-builder-workspace/Sources/CTColorPicker/ColorPicker.swift:19:93: error: cannot find type 'UIColor' in scope
17 | private var cancellables = Set<AnyCancellable>()
18 |
19 | public init(color: UIColor = .white, triangleScale: CGFloat = 0.8, onChange: @escaping (UIColor) -> ()) {
| `- error: cannot find type 'UIColor' in scope
20 | self.triangleScale = triangleScale
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 | }
[10/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, triangleScale: CGFloat = 0.8, onChange: @escaping (UIColor) -> ()) {
| `- error: cannot find type 'UIColor' in scope
20 | self.triangleScale = triangleScale
21 | self.model = ColorPickerModel(color: color)
/Users/admin/builder/spi-builder-workspace/Sources/CTColorPicker/ColorPicker.swift:19:93: error: cannot find type 'UIColor' in scope
17 | private var cancellables = Set<AnyCancellable>()
18 |
19 | public init(color: UIColor = .white, triangleScale: CGFloat = 0.8, onChange: @escaping (UIColor) -> ()) {
| `- error: cannot find type 'UIColor' in scope
20 | self.triangleScale = triangleScale
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)
BUILD FAILURE 6.2 macosSpm