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: master
Initialized empty Git repository in /Users/builder/builds/UKfvDsi8u/0/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
========================================
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] Emitting module CTColorPicker
/Users/builder/builds/UKfvDsi8u/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, squareScale: CGFloat = 0.8, onChange: @escaping (UIColor) -> ()) {
^~~~~~~
/Users/builder/builds/UKfvDsi8u/0/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/builder/builds/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CTColorPicker/ColorPickerModel.swift:41:17: error: cannot find type 'UIColor' in scope
init(color: UIColor) {
^~~~~~~
[4/10] Compiling CTColorPicker SBSquare.swift
/Users/builder/builds/UKfvDsi8u/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/UKfvDsi8u/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/10] Compiling CTColorPicker Functions.swift
[6/10] Compiling CTColorPicker Pointer.swift
[7/10] Compiling CTColorPicker ColorPicker.swift
/Users/builder/builds/UKfvDsi8u/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, squareScale: CGFloat = 0.8, onChange: @escaping (UIColor) -> ()) {
^~~~~~~
/Users/builder/builds/UKfvDsi8u/0/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/builder/builds/UKfvDsi8u/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/UKfvDsi8u/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>()
^~~~~~~
[8/10] Compiling CTColorPicker HCircle.swift
/Users/builder/builds/UKfvDsi8u/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/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CTColorPicker/ColorPickerModel.swift:20:16: error: cannot find type 'UIColor' in scope
var color: UIColor = .red {
^~~~~~~
[9/10] Compiling CTColorPicker Color+Extensions.swift
[10/10] Compiling CTColorPicker ColorPickerModel.swift
/Users/builder/builds/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/0/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...
[0/1] Write swift-version--423B1241ED78D482.txt
[2/6] Compiling CTColorPicker ColorPicker.swift
/Users/builder/builds/UKfvDsi8u/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, squareScale: CGFloat = 0.8, onChange: @escaping (UIColor) -> ()) {
^~~~~~~
/Users/builder/builds/UKfvDsi8u/0/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/builder/builds/UKfvDsi8u/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/UKfvDsi8u/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: emit-module command failed with exit code 1 (use -v to see invocation)
[3/6] Emitting module CTColorPicker
/Users/builder/builds/UKfvDsi8u/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, squareScale: CGFloat = 0.8, onChange: @escaping (UIColor) -> ()) {
^~~~~~~
/Users/builder/builds/UKfvDsi8u/0/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/builder/builds/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/0/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 SBSquare.swift
/Users/builder/builds/UKfvDsi8u/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/UKfvDsi8u/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/6] Compiling CTColorPicker HCircle.swift
/Users/builder/builds/UKfvDsi8u/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/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CTColorPicker/ColorPickerModel.swift:20:16: error: cannot find type 'UIColor' in scope
var color: UIColor = .red {
^~~~~~~
[6/6] Compiling CTColorPicker ColorPickerModel.swift
/Users/builder/builds/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CTColorPicker/ColorPickerModel.swift:67:17: error: cannot find 'UIColor' in scope
color = UIColor(hue: hue,
^~~~~~~
error: fatalError
BUILD FAILURE 5.10 macosSpm
Build Machine: Mac 7