Build Information
Failed to build HueEntertainmentSwift 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/nakajima/HueEntertainmentSwift.git
Reference: main
Initialized empty Git repository in /Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/nakajima/HueEntertainmentSwift
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 3124c6f bump
Cloned https://github.com/nakajima/HueEntertainmentSwift.git
Revision (git rev-parse @):
3124c6f4724aad5b5006b3d72d1022457584e5df
SPI manifest file found: $workDir/.spi.yml
SUCCESS checkout https://github.com/nakajima/HueEntertainmentSwift.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.10
Building package at path: $workDir
https://github.com/nakajima/HueEntertainmentSwift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
[1/1] Compiling plugin Swift-DocC
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/4] Write sources
[3/4] Write swift-version--423B1241ED78D482.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/16] Emitting module HueEntertainmentSwift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/AreaUpdate.swift:13:29: error: 'Color' is only available in macOS 10.15 or newer
var channelColors: [UInt8: Color]
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/AreaUpdate.swift:12:8: note: add @available attribute to enclosing struct
struct AreaUpdate {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Control.swift:21:19: error: 'Color' is only available in macOS 10.15 or newer
func on(colors: [Color], ramp: Double = 0) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Control.swift:21:7: note: add @available attribute to enclosing instance method
func on(colors: [Color], ramp: Double = 0) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Control.swift:13:8: note: add @available attribute to enclosing extension
public extension HueSession {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/HueSession.swift:45:25: error: 'NWConnection' is only available in macOS 10.14 or newer
public var connection: NWConnection?
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/HueSession.swift:15:14: note: add @available attribute to enclosing class
public class HueSession: NSObject, URLSessionDelegate {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Message.swift:15:29: error: 'Color' is only available in macOS 10.15 or newer
var channelColors: [UInt8: Color]
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Message.swift:13:15: note: add @available attribute to enclosing struct
public struct Message {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Message.swift:26:59: error: 'Color' is only available in macOS 10.15 or newer
init(area: HueEntertainmentArea, channelColors: [UInt8 : Color], forcedBrightness: Double? = nil) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Message.swift:26:2: note: add @available attribute to enclosing initializer
init(area: HueEntertainmentArea, channelColors: [UInt8 : Color], forcedBrightness: Double? = nil) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Message.swift:13:15: note: add @available attribute to enclosing struct
public struct Message {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/XYBrightness.swift:80:23: error: cannot find type 'UIColor' in scope
public init(uiColor: UIColor, forcedBrightness: Double? = nil) {
^~~~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/XYBrightness.swift:97:21: error: 'Color' is only available in macOS 10.15 or newer
public init(color: Color, forcedBrightness: Double? = nil) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/XYBrightness.swift:97:9: note: add @available attribute to enclosing initializer
public init(color: Color, forcedBrightness: Double? = nil) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/XYBrightness.swift:17:15: note: add @available attribute to enclosing struct
public struct XYBrightness {
^
[6/16] Compiling HueEntertainmentSwift HueSession.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/HueSession.swift:45:25: error: 'NWConnection' is only available in macOS 10.14 or newer
public var connection: NWConnection?
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/HueSession.swift:15:14: note: add @available attribute to enclosing class
public class HueSession: NSObject, URLSessionDelegate {
^
[7/16] Compiling HueEntertainmentSwift Animation.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/AreaUpdate.swift:13:29: error: 'Color' is only available in macOS 10.15 or newer
var channelColors: [UInt8: Color]
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/AreaUpdate.swift:12:8: note: add @available attribute to enclosing struct
struct AreaUpdate {
^
[8/16] Compiling HueEntertainmentSwift AreaUpdate.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/AreaUpdate.swift:13:29: error: 'Color' is only available in macOS 10.15 or newer
var channelColors: [UInt8: Color]
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/AreaUpdate.swift:12:8: note: add @available attribute to enclosing struct
struct AreaUpdate {
^
[9/17] Compiling HueEntertainmentSwift HueSession+Settings.swift
[10/17] Compiling HueEntertainmentSwift String.swift
[11/17] Compiling HueEntertainmentSwift JSONTypes.swift
[12/17] Compiling HueEntertainmentSwift HueSession+Animation.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:24:36: error: 'IPv4Address' is only available in macOS 10.14 or newer
guard var ip = ip, var address = IPv4Address(ip), var clientKey = self.clientKey, var appID = self.appID, var username = self.username else {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:24:36: note: add 'if #available' version check
guard var ip = ip, var address = IPv4Address(ip), var clientKey = self.clientKey, var appID = self.appID, var username = self.username else {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:23:7: note: add @available attribute to enclosing instance method
func connect() throws {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:19:8: note: add @available attribute to enclosing extension
public extension HueSession {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:28:17: error: 'NWProtocolTLS' is only available in macOS 10.14 or newer
let options = NWProtocolTLS.Options()
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:28:17: note: add 'if #available' version check
let options = NWProtocolTLS.Options()
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:23:7: note: add @available attribute to enclosing instance method
func connect() throws {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:19:8: note: add @available attribute to enclosing extension
public extension HueSession {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:34:3: error: 'sec_protocol_options_append_tls_ciphersuite' is only available in macOS 10.15 or newer
sec_protocol_options_append_tls_ciphersuite(options.securityProtocolOptions, tls_ciphersuite_t(rawValue: TLS_PSK_WITH_AES_128_GCM_SHA256)!)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:34:3: note: add 'if #available' version check
sec_protocol_options_append_tls_ciphersuite(options.securityProtocolOptions, tls_ciphersuite_t(rawValue: TLS_PSK_WITH_AES_128_GCM_SHA256)!)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:23:7: note: add @available attribute to enclosing instance method
func connect() throws {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:19:8: note: add @available attribute to enclosing extension
public extension HueSession {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:35:3: error: 'sec_protocol_options_add_pre_shared_key' is only available in macOS 10.14 or newer
sec_protocol_options_add_pre_shared_key(options.securityProtocolOptions, psk, pskIdentity)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:35:3: note: add 'if #available' version check
sec_protocol_options_add_pre_shared_key(options.securityProtocolOptions, psk, pskIdentity)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:23:7: note: add @available attribute to enclosing instance method
func connect() throws {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:19:8: note: add @available attribute to enclosing extension
public extension HueSession {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:36:3: error: 'sec_protocol_options_set_min_tls_protocol_version' is only available in macOS 10.15 or newer
sec_protocol_options_set_min_tls_protocol_version(options.securityProtocolOptions, .DTLSv12)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:36:3: note: add 'if #available' version check
sec_protocol_options_set_min_tls_protocol_version(options.securityProtocolOptions, .DTLSv12)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:23:7: note: add @available attribute to enclosing instance method
func connect() throws {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:19:8: note: add @available attribute to enclosing extension
public extension HueSession {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:37:3: error: 'sec_protocol_options_set_max_tls_protocol_version' is only available in macOS 10.15 or newer
sec_protocol_options_set_max_tls_protocol_version(options.securityProtocolOptions, .DTLSv12)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:37:3: note: add 'if #available' version check
sec_protocol_options_set_max_tls_protocol_version(options.securityProtocolOptions, .DTLSv12)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:23:7: note: add @available attribute to enclosing instance method
func connect() throws {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:19:8: note: add @available attribute to enclosing extension
public extension HueSession {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:38:3: error: 'sec_protocol_options_set_verify_block' is only available in macOS 10.14 or newer
sec_protocol_options_set_verify_block(options.securityProtocolOptions, { (_: sec_protocol_metadata_t, _: sec_trust_t, complete: @escaping sec_protocol_verify_complete_t) in
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:38:3: note: add 'if #available' version check
sec_protocol_options_set_verify_block(options.securityProtocolOptions, { (_: sec_protocol_metadata_t, _: sec_trust_t, complete: @escaping sec_protocol_verify_complete_t) in
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:23:7: note: add @available attribute to enclosing instance method
func connect() throws {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:19:8: note: add @available attribute to enclosing extension
public extension HueSession {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:42:20: error: 'NWConnection' is only available in macOS 10.14 or newer
let connection = NWConnection(host: NWEndpoint.Host.ipv4(address), port: 2100, using: .init(dtls: options))
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:42:20: note: add 'if #available' version check
let connection = NWConnection(host: NWEndpoint.Host.ipv4(address), port: 2100, using: .init(dtls: options))
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:23:7: note: add @available attribute to enclosing instance method
func connect() throws {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:19:8: note: add @available attribute to enclosing extension
public extension HueSession {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:42:39: error: 'NWEndpoint' is only available in macOS 10.14 or newer
let connection = NWConnection(host: NWEndpoint.Host.ipv4(address), port: 2100, using: .init(dtls: options))
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:42:39: note: add 'if #available' version check
let connection = NWConnection(host: NWEndpoint.Host.ipv4(address), port: 2100, using: .init(dtls: options))
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:23:7: note: add @available attribute to enclosing instance method
func connect() throws {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:19:8: note: add @available attribute to enclosing extension
public extension HueSession {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:49:4: warning: switch must be exhaustive
switch state {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:49:4: note: add missing case: '.setup'
switch state {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:49:4: note: add missing case: '.waiting(_)'
switch state {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:49:4: note: add missing case: '.preparing'
switch state {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:24:13: warning: variable 'ip' was never mutated; consider changing to 'let' constant
guard var ip = ip, var address = IPv4Address(ip), var clientKey = self.clientKey, var appID = self.appID, var username = self.username else {
~~~ ^
let
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:24:26: warning: variable 'address' was never mutated; consider changing to 'let' constant
guard var ip = ip, var address = IPv4Address(ip), var clientKey = self.clientKey, var appID = self.appID, var username = self.username else {
~~~ ^
let
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:24:57: warning: variable 'clientKey' was never mutated; consider changing to 'let' constant
guard var ip = ip, var address = IPv4Address(ip), var clientKey = self.clientKey, var appID = self.appID, var username = self.username else {
~~~ ^
let
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:24:89: warning: variable 'appID' was never mutated; consider changing to 'let' constant
guard var ip = ip, var address = IPv4Address(ip), var clientKey = self.clientKey, var appID = self.appID, var username = self.username else {
~~~ ^
let
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:24:113: warning: variable 'username' was never used; consider replacing with '_' or removing it
guard var ip = ip, var address = IPv4Address(ip), var clientKey = self.clientKey, var appID = self.appID, var username = self.username else {
~~~~^~~~~~~~
_
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:54:21: warning: immutable value 'err' was never used; consider replacing with '_' or removing it
case let .failed(err): connection.cancel()
^~~
_
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:69:40: error: 'data(from:delegate:)' is only available in macOS 12.0 or newer
let (data, _) = try await urlsession.data(from: url)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:69:40: note: add 'if #available' version check
let (data, _) = try await urlsession.data(from: url)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:67:7: note: add @available attribute to enclosing instance method
func findIP() async throws {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:19:8: note: add @available attribute to enclosing extension
public extension HueSession {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:89:41: error: 'data(from:delegate:)' is only available in macOS 12.0 or newer
let (data, _) = try await urlsession.data(from: url)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:89:41: note: add 'if #available' version check
let (data, _) = try await urlsession.data(from: url)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:82:7: note: add @available attribute to enclosing instance method
func check() async throws -> Bool {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:19:8: note: add @available attribute to enclosing extension
public extension HueSession {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:131:15: error: 'value(forHTTPHeaderField:)' is only available in macOS 10.15 or newer
appID = res.value(forHTTPHeaderField: "hue-application-id")
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:131:15: note: add 'if #available' version check
appID = res.value(forHTTPHeaderField: "hue-application-id")
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:104:7: note: add @available attribute to enclosing instance method
func login(device: String) async throws {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:19:8: note: add @available attribute to enclosing extension
public extension HueSession {
^
[13/17] Compiling HueEntertainmentSwift HueSession+Auth.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:24:36: error: 'IPv4Address' is only available in macOS 10.14 or newer
guard var ip = ip, var address = IPv4Address(ip), var clientKey = self.clientKey, var appID = self.appID, var username = self.username else {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:24:36: note: add 'if #available' version check
guard var ip = ip, var address = IPv4Address(ip), var clientKey = self.clientKey, var appID = self.appID, var username = self.username else {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:23:7: note: add @available attribute to enclosing instance method
func connect() throws {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:19:8: note: add @available attribute to enclosing extension
public extension HueSession {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:28:17: error: 'NWProtocolTLS' is only available in macOS 10.14 or newer
let options = NWProtocolTLS.Options()
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:28:17: note: add 'if #available' version check
let options = NWProtocolTLS.Options()
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:23:7: note: add @available attribute to enclosing instance method
func connect() throws {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:19:8: note: add @available attribute to enclosing extension
public extension HueSession {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:34:3: error: 'sec_protocol_options_append_tls_ciphersuite' is only available in macOS 10.15 or newer
sec_protocol_options_append_tls_ciphersuite(options.securityProtocolOptions, tls_ciphersuite_t(rawValue: TLS_PSK_WITH_AES_128_GCM_SHA256)!)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:34:3: note: add 'if #available' version check
sec_protocol_options_append_tls_ciphersuite(options.securityProtocolOptions, tls_ciphersuite_t(rawValue: TLS_PSK_WITH_AES_128_GCM_SHA256)!)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:23:7: note: add @available attribute to enclosing instance method
func connect() throws {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:19:8: note: add @available attribute to enclosing extension
public extension HueSession {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:35:3: error: 'sec_protocol_options_add_pre_shared_key' is only available in macOS 10.14 or newer
sec_protocol_options_add_pre_shared_key(options.securityProtocolOptions, psk, pskIdentity)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:35:3: note: add 'if #available' version check
sec_protocol_options_add_pre_shared_key(options.securityProtocolOptions, psk, pskIdentity)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:23:7: note: add @available attribute to enclosing instance method
func connect() throws {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:19:8: note: add @available attribute to enclosing extension
public extension HueSession {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:36:3: error: 'sec_protocol_options_set_min_tls_protocol_version' is only available in macOS 10.15 or newer
sec_protocol_options_set_min_tls_protocol_version(options.securityProtocolOptions, .DTLSv12)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:36:3: note: add 'if #available' version check
sec_protocol_options_set_min_tls_protocol_version(options.securityProtocolOptions, .DTLSv12)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:23:7: note: add @available attribute to enclosing instance method
func connect() throws {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:19:8: note: add @available attribute to enclosing extension
public extension HueSession {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:37:3: error: 'sec_protocol_options_set_max_tls_protocol_version' is only available in macOS 10.15 or newer
sec_protocol_options_set_max_tls_protocol_version(options.securityProtocolOptions, .DTLSv12)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:37:3: note: add 'if #available' version check
sec_protocol_options_set_max_tls_protocol_version(options.securityProtocolOptions, .DTLSv12)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:23:7: note: add @available attribute to enclosing instance method
func connect() throws {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:19:8: note: add @available attribute to enclosing extension
public extension HueSession {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:38:3: error: 'sec_protocol_options_set_verify_block' is only available in macOS 10.14 or newer
sec_protocol_options_set_verify_block(options.securityProtocolOptions, { (_: sec_protocol_metadata_t, _: sec_trust_t, complete: @escaping sec_protocol_verify_complete_t) in
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:38:3: note: add 'if #available' version check
sec_protocol_options_set_verify_block(options.securityProtocolOptions, { (_: sec_protocol_metadata_t, _: sec_trust_t, complete: @escaping sec_protocol_verify_complete_t) in
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:23:7: note: add @available attribute to enclosing instance method
func connect() throws {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:19:8: note: add @available attribute to enclosing extension
public extension HueSession {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:42:20: error: 'NWConnection' is only available in macOS 10.14 or newer
let connection = NWConnection(host: NWEndpoint.Host.ipv4(address), port: 2100, using: .init(dtls: options))
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:42:20: note: add 'if #available' version check
let connection = NWConnection(host: NWEndpoint.Host.ipv4(address), port: 2100, using: .init(dtls: options))
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:23:7: note: add @available attribute to enclosing instance method
func connect() throws {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:19:8: note: add @available attribute to enclosing extension
public extension HueSession {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:42:39: error: 'NWEndpoint' is only available in macOS 10.14 or newer
let connection = NWConnection(host: NWEndpoint.Host.ipv4(address), port: 2100, using: .init(dtls: options))
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:42:39: note: add 'if #available' version check
let connection = NWConnection(host: NWEndpoint.Host.ipv4(address), port: 2100, using: .init(dtls: options))
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:23:7: note: add @available attribute to enclosing instance method
func connect() throws {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:19:8: note: add @available attribute to enclosing extension
public extension HueSession {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:49:4: warning: switch must be exhaustive
switch state {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:49:4: note: add missing case: '.setup'
switch state {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:49:4: note: add missing case: '.waiting(_)'
switch state {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:49:4: note: add missing case: '.preparing'
switch state {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:24:13: warning: variable 'ip' was never mutated; consider changing to 'let' constant
guard var ip = ip, var address = IPv4Address(ip), var clientKey = self.clientKey, var appID = self.appID, var username = self.username else {
~~~ ^
let
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:24:26: warning: variable 'address' was never mutated; consider changing to 'let' constant
guard var ip = ip, var address = IPv4Address(ip), var clientKey = self.clientKey, var appID = self.appID, var username = self.username else {
~~~ ^
let
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:24:57: warning: variable 'clientKey' was never mutated; consider changing to 'let' constant
guard var ip = ip, var address = IPv4Address(ip), var clientKey = self.clientKey, var appID = self.appID, var username = self.username else {
~~~ ^
let
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:24:89: warning: variable 'appID' was never mutated; consider changing to 'let' constant
guard var ip = ip, var address = IPv4Address(ip), var clientKey = self.clientKey, var appID = self.appID, var username = self.username else {
~~~ ^
let
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:24:113: warning: variable 'username' was never used; consider replacing with '_' or removing it
guard var ip = ip, var address = IPv4Address(ip), var clientKey = self.clientKey, var appID = self.appID, var username = self.username else {
~~~~^~~~~~~~
_
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:54:21: warning: immutable value 'err' was never used; consider replacing with '_' or removing it
case let .failed(err): connection.cancel()
^~~
_
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:69:40: error: 'data(from:delegate:)' is only available in macOS 12.0 or newer
let (data, _) = try await urlsession.data(from: url)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:69:40: note: add 'if #available' version check
let (data, _) = try await urlsession.data(from: url)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:67:7: note: add @available attribute to enclosing instance method
func findIP() async throws {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:19:8: note: add @available attribute to enclosing extension
public extension HueSession {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:89:41: error: 'data(from:delegate:)' is only available in macOS 12.0 or newer
let (data, _) = try await urlsession.data(from: url)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:89:41: note: add 'if #available' version check
let (data, _) = try await urlsession.data(from: url)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:82:7: note: add @available attribute to enclosing instance method
func check() async throws -> Bool {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:19:8: note: add @available attribute to enclosing extension
public extension HueSession {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:131:15: error: 'value(forHTTPHeaderField:)' is only available in macOS 10.15 or newer
appID = res.value(forHTTPHeaderField: "hue-application-id")
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:131:15: note: add 'if #available' version check
appID = res.value(forHTTPHeaderField: "hue-application-id")
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:104:7: note: add @available attribute to enclosing instance method
func login(device: String) async throws {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:19:8: note: add @available attribute to enclosing extension
public extension HueSession {
^
[14/17] Compiling HueEntertainmentSwift Message.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Message.swift:15:29: error: 'Color' is only available in macOS 10.15 or newer
var channelColors: [UInt8: Color]
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Message.swift:13:15: note: add @available attribute to enclosing struct
public struct Message {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Message.swift:26:59: error: 'Color' is only available in macOS 10.15 or newer
init(area: HueEntertainmentArea, channelColors: [UInt8 : Color], forcedBrightness: Double? = nil) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Message.swift:26:2: note: add @available attribute to enclosing initializer
init(area: HueEntertainmentArea, channelColors: [UInt8 : Color], forcedBrightness: Double? = nil) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Message.swift:13:15: note: add @available attribute to enclosing struct
public struct Message {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/XYBrightness.swift:80:23: error: cannot find type 'UIColor' in scope
public init(uiColor: UIColor, forcedBrightness: Double? = nil) {
^~~~~~~
[15/17] Compiling HueEntertainmentSwift HueSession+Control.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Control.swift:21:19: error: 'Color' is only available in macOS 10.15 or newer
func on(colors: [Color], ramp: Double = 0) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Control.swift:21:7: note: add @available attribute to enclosing instance method
func on(colors: [Color], ramp: Double = 0) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Control.swift:13:8: note: add @available attribute to enclosing extension
public extension HueSession {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Control.swift:26:34: error: 'Color' is only available in macOS 10.15 or newer
let colors = colors.isEmpty ? [Color.white] : colors.shuffled()
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Control.swift:26:34: note: add 'if #available' version check
let colors = colors.isEmpty ? [Color.white] : colors.shuffled()
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Control.swift:21:7: note: add @available attribute to enclosing instance method
func on(colors: [Color], ramp: Double = 0) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Control.swift:13:8: note: add @available attribute to enclosing extension
public extension HueSession {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Control.swift:26:40: error: 'white' is only available in macOS 10.15 or newer
let colors = colors.isEmpty ? [Color.white] : colors.shuffled()
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Control.swift:26:40: note: add 'if #available' version check
let colors = colors.isEmpty ? [Color.white] : colors.shuffled()
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Control.swift:21:7: note: add @available attribute to enclosing instance method
func on(colors: [Color], ramp: Double = 0) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Control.swift:13:8: note: add @available attribute to enclosing extension
public extension HueSession {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Control.swift:28:30: error: 'Color' is only available in macOS 10.15 or newer
var channelColors: [UInt8: Color] = [:]
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Control.swift:28:30: note: add 'if #available' version check
var channelColors: [UInt8: Color] = [:]
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Control.swift:21:7: note: add @available attribute to enclosing instance method
func on(colors: [Color], ramp: Double = 0) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Control.swift:13:8: note: add @available attribute to enclosing extension
public extension HueSession {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+HTTP.swift:53:31: error: 'data(for:delegate:)' is only available in macOS 12.0 or newer
return try await urlsession.data(for: request)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+HTTP.swift:53:31: note: add 'if #available' version check
return try await urlsession.data(for: request)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+HTTP.swift:36:7: note: add @available attribute to enclosing instance method
func makeRawRequest(method: String, path: String, configuration: ((inout URLRequest) async throws -> Void)? = nil) async throws -> (Data, URLResponse) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+HTTP.swift:11:1: note: add @available attribute to enclosing extension
extension HueSession {
^
[16/17] Compiling HueEntertainmentSwift HueSession+HTTP.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Control.swift:21:19: error: 'Color' is only available in macOS 10.15 or newer
func on(colors: [Color], ramp: Double = 0) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Control.swift:21:7: note: add @available attribute to enclosing instance method
func on(colors: [Color], ramp: Double = 0) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Control.swift:13:8: note: add @available attribute to enclosing extension
public extension HueSession {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Control.swift:26:34: error: 'Color' is only available in macOS 10.15 or newer
let colors = colors.isEmpty ? [Color.white] : colors.shuffled()
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Control.swift:26:34: note: add 'if #available' version check
let colors = colors.isEmpty ? [Color.white] : colors.shuffled()
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Control.swift:21:7: note: add @available attribute to enclosing instance method
func on(colors: [Color], ramp: Double = 0) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Control.swift:13:8: note: add @available attribute to enclosing extension
public extension HueSession {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Control.swift:26:40: error: 'white' is only available in macOS 10.15 or newer
let colors = colors.isEmpty ? [Color.white] : colors.shuffled()
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Control.swift:26:40: note: add 'if #available' version check
let colors = colors.isEmpty ? [Color.white] : colors.shuffled()
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Control.swift:21:7: note: add @available attribute to enclosing instance method
func on(colors: [Color], ramp: Double = 0) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Control.swift:13:8: note: add @available attribute to enclosing extension
public extension HueSession {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Control.swift:28:30: error: 'Color' is only available in macOS 10.15 or newer
var channelColors: [UInt8: Color] = [:]
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Control.swift:28:30: note: add 'if #available' version check
var channelColors: [UInt8: Color] = [:]
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Control.swift:21:7: note: add @available attribute to enclosing instance method
func on(colors: [Color], ramp: Double = 0) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Control.swift:13:8: note: add @available attribute to enclosing extension
public extension HueSession {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+HTTP.swift:53:31: error: 'data(for:delegate:)' is only available in macOS 12.0 or newer
return try await urlsession.data(for: request)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+HTTP.swift:53:31: note: add 'if #available' version check
return try await urlsession.data(for: request)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+HTTP.swift:36:7: note: add @available attribute to enclosing instance method
func makeRawRequest(method: String, path: String, configuration: ((inout URLRequest) async throws -> Void)? = nil) async throws -> (Data, URLResponse) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+HTTP.swift:11:1: note: add @available attribute to enclosing extension
extension HueSession {
^
[17/17] Compiling HueEntertainmentSwift XYBrightness.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/XYBrightness.swift:80:23: error: cannot find type 'UIColor' in scope
public init(uiColor: UIColor, forcedBrightness: Double? = nil) {
^~~~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/XYBrightness.swift:97:21: error: 'Color' is only available in macOS 10.15 or newer
public init(color: Color, forcedBrightness: Double? = nil) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/XYBrightness.swift:97:9: note: add @available attribute to enclosing initializer
public init(color: Color, forcedBrightness: Double? = nil) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/XYBrightness.swift:17:15: note: add @available attribute to enclosing struct
public struct XYBrightness {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/XYBrightness.swift:98:22: error: cannot find 'UIColor' in scope
self.init(uiColor: UIColor(color), forcedBrightness: forcedBrightness)
^~~~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/XYBrightness.swift:98:12: error: incorrect argument label in call (have 'uiColor:forcedBrightness:', expected 'color:forcedBrightness:')
self.init(uiColor: UIColor(color), forcedBrightness: forcedBrightness)
^~~~~~~~
color
error: fatalError
Fetching https://github.com/apple/swift-docc-plugin.git from cache
Fetched https://github.com/apple/swift-docc-plugin.git from cache (0.18s)
Computing version for https://github.com/apple/swift-docc-plugin.git
Computed https://github.com/apple/swift-docc-plugin.git at 1.0.0 (0.34s)
warning: /Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/repositories/swift-docc-plugin-30a0bdda is not valid git repository for 'https://github.com/apple/swift-docc-plugin.git', will fetch again.
Fetching https://github.com/apple/swift-docc-plugin.git from cache
Fetched https://github.com/apple/swift-docc-plugin.git from cache (0.01s)
warning: /Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/repositories/swift-docc-plugin-30a0bdda is not valid git repository for 'https://github.com/apple/swift-docc-plugin.git', will fetch again.
Fetching https://github.com/apple/swift-docc-plugin.git from cache
Fetched https://github.com/apple/swift-docc-plugin.git from cache (0.00s)
Creating working copy for https://github.com/apple/swift-docc-plugin.git
Working copy of https://github.com/apple/swift-docc-plugin.git resolved at 1.0.0
[0/1] Planning build
[1/1] Compiling plugin Swift-DocC
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/3] Write swift-version--423B1241ED78D482.txt
[4/12] Compiling HueEntertainmentSwift Message.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Message.swift:15:29: error: 'Color' is only available in macOS 10.15 or newer
var channelColors: [UInt8: Color]
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Message.swift:13:15: note: add @available attribute to enclosing struct
public struct Message {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Message.swift:26:59: error: 'Color' is only available in macOS 10.15 or newer
init(area: HueEntertainmentArea, channelColors: [UInt8 : Color], forcedBrightness: Double? = nil) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Message.swift:26:2: note: add @available attribute to enclosing initializer
init(area: HueEntertainmentArea, channelColors: [UInt8 : Color], forcedBrightness: Double? = nil) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Message.swift:13:15: note: add @available attribute to enclosing struct
public struct Message {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/XYBrightness.swift:80:23: error: cannot find type 'UIColor' in scope
public init(uiColor: UIColor, forcedBrightness: Double? = nil) {
^~~~~~~
[5/12] Compiling HueEntertainmentSwift HueSession.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/HueSession.swift:45:25: error: 'NWConnection' is only available in macOS 10.14 or newer
public var connection: NWConnection?
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/HueSession.swift:15:14: note: add @available attribute to enclosing class
public class HueSession: NSObject, URLSessionDelegate {
^
[6/12] Compiling HueEntertainmentSwift HueSession+HTTP.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+HTTP.swift:53:31: error: 'data(for:delegate:)' is only available in macOS 12.0 or newer
return try await urlsession.data(for: request)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+HTTP.swift:53:31: note: add 'if #available' version check
return try await urlsession.data(for: request)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+HTTP.swift:36:7: note: add @available attribute to enclosing instance method
func makeRawRequest(method: String, path: String, configuration: ((inout URLRequest) async throws -> Void)? = nil) async throws -> (Data, URLResponse) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+HTTP.swift:11:1: note: add @available attribute to enclosing extension
extension HueSession {
^
[7/13] Compiling HueEntertainmentSwift HueSession+Animation.swift
[8/14] Compiling HueEntertainmentSwift Animation.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/AreaUpdate.swift:13:29: error: 'Color' is only available in macOS 10.15 or newer
var channelColors: [UInt8: Color]
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/AreaUpdate.swift:12:8: note: add @available attribute to enclosing struct
struct AreaUpdate {
^
[9/14] Compiling HueEntertainmentSwift AreaUpdate.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/AreaUpdate.swift:13:29: error: 'Color' is only available in macOS 10.15 or newer
var channelColors: [UInt8: Color]
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/AreaUpdate.swift:12:8: note: add @available attribute to enclosing struct
struct AreaUpdate {
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/14] Emitting module HueEntertainmentSwift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/AreaUpdate.swift:13:29: error: 'Color' is only available in macOS 10.15 or newer
var channelColors: [UInt8: Color]
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/AreaUpdate.swift:12:8: note: add @available attribute to enclosing struct
struct AreaUpdate {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Control.swift:21:19: error: 'Color' is only available in macOS 10.15 or newer
func on(colors: [Color], ramp: Double = 0) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Control.swift:21:7: note: add @available attribute to enclosing instance method
func on(colors: [Color], ramp: Double = 0) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Control.swift:13:8: note: add @available attribute to enclosing extension
public extension HueSession {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/HueSession.swift:45:25: error: 'NWConnection' is only available in macOS 10.14 or newer
public var connection: NWConnection?
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/HueSession.swift:15:14: note: add @available attribute to enclosing class
public class HueSession: NSObject, URLSessionDelegate {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Message.swift:15:29: error: 'Color' is only available in macOS 10.15 or newer
var channelColors: [UInt8: Color]
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Message.swift:13:15: note: add @available attribute to enclosing struct
public struct Message {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Message.swift:26:59: error: 'Color' is only available in macOS 10.15 or newer
init(area: HueEntertainmentArea, channelColors: [UInt8 : Color], forcedBrightness: Double? = nil) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Message.swift:26:2: note: add @available attribute to enclosing initializer
init(area: HueEntertainmentArea, channelColors: [UInt8 : Color], forcedBrightness: Double? = nil) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Message.swift:13:15: note: add @available attribute to enclosing struct
public struct Message {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/XYBrightness.swift:80:23: error: cannot find type 'UIColor' in scope
public init(uiColor: UIColor, forcedBrightness: Double? = nil) {
^~~~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/XYBrightness.swift:97:21: error: 'Color' is only available in macOS 10.15 or newer
public init(color: Color, forcedBrightness: Double? = nil) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/XYBrightness.swift:97:9: note: add @available attribute to enclosing initializer
public init(color: Color, forcedBrightness: Double? = nil) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/XYBrightness.swift:17:15: note: add @available attribute to enclosing struct
public struct XYBrightness {
^
[11/14] Compiling HueEntertainmentSwift HueSession+Control.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Control.swift:21:19: error: 'Color' is only available in macOS 10.15 or newer
func on(colors: [Color], ramp: Double = 0) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Control.swift:21:7: note: add @available attribute to enclosing instance method
func on(colors: [Color], ramp: Double = 0) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Control.swift:13:8: note: add @available attribute to enclosing extension
public extension HueSession {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Control.swift:26:34: error: 'Color' is only available in macOS 10.15 or newer
let colors = colors.isEmpty ? [Color.white] : colors.shuffled()
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Control.swift:26:34: note: add 'if #available' version check
let colors = colors.isEmpty ? [Color.white] : colors.shuffled()
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Control.swift:21:7: note: add @available attribute to enclosing instance method
func on(colors: [Color], ramp: Double = 0) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Control.swift:13:8: note: add @available attribute to enclosing extension
public extension HueSession {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Control.swift:26:40: error: 'white' is only available in macOS 10.15 or newer
let colors = colors.isEmpty ? [Color.white] : colors.shuffled()
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Control.swift:26:40: note: add 'if #available' version check
let colors = colors.isEmpty ? [Color.white] : colors.shuffled()
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Control.swift:21:7: note: add @available attribute to enclosing instance method
func on(colors: [Color], ramp: Double = 0) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Control.swift:13:8: note: add @available attribute to enclosing extension
public extension HueSession {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Control.swift:28:30: error: 'Color' is only available in macOS 10.15 or newer
var channelColors: [UInt8: Color] = [:]
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Control.swift:28:30: note: add 'if #available' version check
var channelColors: [UInt8: Color] = [:]
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Control.swift:21:7: note: add @available attribute to enclosing instance method
func on(colors: [Color], ramp: Double = 0) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Control.swift:13:8: note: add @available attribute to enclosing extension
public extension HueSession {
^
[12/14] Compiling HueEntertainmentSwift HueSession+Auth.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:24:36: error: 'IPv4Address' is only available in macOS 10.14 or newer
guard var ip = ip, var address = IPv4Address(ip), var clientKey = self.clientKey, var appID = self.appID, var username = self.username else {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:24:36: note: add 'if #available' version check
guard var ip = ip, var address = IPv4Address(ip), var clientKey = self.clientKey, var appID = self.appID, var username = self.username else {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:23:7: note: add @available attribute to enclosing instance method
func connect() throws {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:19:8: note: add @available attribute to enclosing extension
public extension HueSession {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:28:17: error: 'NWProtocolTLS' is only available in macOS 10.14 or newer
let options = NWProtocolTLS.Options()
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:28:17: note: add 'if #available' version check
let options = NWProtocolTLS.Options()
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:23:7: note: add @available attribute to enclosing instance method
func connect() throws {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:19:8: note: add @available attribute to enclosing extension
public extension HueSession {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:34:3: error: 'sec_protocol_options_append_tls_ciphersuite' is only available in macOS 10.15 or newer
sec_protocol_options_append_tls_ciphersuite(options.securityProtocolOptions, tls_ciphersuite_t(rawValue: TLS_PSK_WITH_AES_128_GCM_SHA256)!)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:34:3: note: add 'if #available' version check
sec_protocol_options_append_tls_ciphersuite(options.securityProtocolOptions, tls_ciphersuite_t(rawValue: TLS_PSK_WITH_AES_128_GCM_SHA256)!)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:23:7: note: add @available attribute to enclosing instance method
func connect() throws {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:19:8: note: add @available attribute to enclosing extension
public extension HueSession {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:35:3: error: 'sec_protocol_options_add_pre_shared_key' is only available in macOS 10.14 or newer
sec_protocol_options_add_pre_shared_key(options.securityProtocolOptions, psk, pskIdentity)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:35:3: note: add 'if #available' version check
sec_protocol_options_add_pre_shared_key(options.securityProtocolOptions, psk, pskIdentity)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:23:7: note: add @available attribute to enclosing instance method
func connect() throws {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:19:8: note: add @available attribute to enclosing extension
public extension HueSession {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:36:3: error: 'sec_protocol_options_set_min_tls_protocol_version' is only available in macOS 10.15 or newer
sec_protocol_options_set_min_tls_protocol_version(options.securityProtocolOptions, .DTLSv12)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:36:3: note: add 'if #available' version check
sec_protocol_options_set_min_tls_protocol_version(options.securityProtocolOptions, .DTLSv12)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:23:7: note: add @available attribute to enclosing instance method
func connect() throws {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:19:8: note: add @available attribute to enclosing extension
public extension HueSession {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:37:3: error: 'sec_protocol_options_set_max_tls_protocol_version' is only available in macOS 10.15 or newer
sec_protocol_options_set_max_tls_protocol_version(options.securityProtocolOptions, .DTLSv12)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:37:3: note: add 'if #available' version check
sec_protocol_options_set_max_tls_protocol_version(options.securityProtocolOptions, .DTLSv12)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:23:7: note: add @available attribute to enclosing instance method
func connect() throws {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:19:8: note: add @available attribute to enclosing extension
public extension HueSession {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:38:3: error: 'sec_protocol_options_set_verify_block' is only available in macOS 10.14 or newer
sec_protocol_options_set_verify_block(options.securityProtocolOptions, { (_: sec_protocol_metadata_t, _: sec_trust_t, complete: @escaping sec_protocol_verify_complete_t) in
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:38:3: note: add 'if #available' version check
sec_protocol_options_set_verify_block(options.securityProtocolOptions, { (_: sec_protocol_metadata_t, _: sec_trust_t, complete: @escaping sec_protocol_verify_complete_t) in
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:23:7: note: add @available attribute to enclosing instance method
func connect() throws {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:19:8: note: add @available attribute to enclosing extension
public extension HueSession {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:42:20: error: 'NWConnection' is only available in macOS 10.14 or newer
let connection = NWConnection(host: NWEndpoint.Host.ipv4(address), port: 2100, using: .init(dtls: options))
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:42:20: note: add 'if #available' version check
let connection = NWConnection(host: NWEndpoint.Host.ipv4(address), port: 2100, using: .init(dtls: options))
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:23:7: note: add @available attribute to enclosing instance method
func connect() throws {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:19:8: note: add @available attribute to enclosing extension
public extension HueSession {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:42:39: error: 'NWEndpoint' is only available in macOS 10.14 or newer
let connection = NWConnection(host: NWEndpoint.Host.ipv4(address), port: 2100, using: .init(dtls: options))
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:42:39: note: add 'if #available' version check
let connection = NWConnection(host: NWEndpoint.Host.ipv4(address), port: 2100, using: .init(dtls: options))
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:23:7: note: add @available attribute to enclosing instance method
func connect() throws {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:19:8: note: add @available attribute to enclosing extension
public extension HueSession {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:49:4: warning: switch must be exhaustive
switch state {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:49:4: note: add missing case: '.setup'
switch state {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:49:4: note: add missing case: '.waiting(_)'
switch state {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:49:4: note: add missing case: '.preparing'
switch state {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:24:13: warning: variable 'ip' was never mutated; consider changing to 'let' constant
guard var ip = ip, var address = IPv4Address(ip), var clientKey = self.clientKey, var appID = self.appID, var username = self.username else {
~~~ ^
let
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:24:26: warning: variable 'address' was never mutated; consider changing to 'let' constant
guard var ip = ip, var address = IPv4Address(ip), var clientKey = self.clientKey, var appID = self.appID, var username = self.username else {
~~~ ^
let
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:24:57: warning: variable 'clientKey' was never mutated; consider changing to 'let' constant
guard var ip = ip, var address = IPv4Address(ip), var clientKey = self.clientKey, var appID = self.appID, var username = self.username else {
~~~ ^
let
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:24:89: warning: variable 'appID' was never mutated; consider changing to 'let' constant
guard var ip = ip, var address = IPv4Address(ip), var clientKey = self.clientKey, var appID = self.appID, var username = self.username else {
~~~ ^
let
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:24:113: warning: variable 'username' was never used; consider replacing with '_' or removing it
guard var ip = ip, var address = IPv4Address(ip), var clientKey = self.clientKey, var appID = self.appID, var username = self.username else {
~~~~^~~~~~~~
_
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:54:21: warning: immutable value 'err' was never used; consider replacing with '_' or removing it
case let .failed(err): connection.cancel()
^~~
_
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:69:40: error: 'data(from:delegate:)' is only available in macOS 12.0 or newer
let (data, _) = try await urlsession.data(from: url)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:69:40: note: add 'if #available' version check
let (data, _) = try await urlsession.data(from: url)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:67:7: note: add @available attribute to enclosing instance method
func findIP() async throws {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:19:8: note: add @available attribute to enclosing extension
public extension HueSession {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:89:41: error: 'data(from:delegate:)' is only available in macOS 12.0 or newer
let (data, _) = try await urlsession.data(from: url)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:89:41: note: add 'if #available' version check
let (data, _) = try await urlsession.data(from: url)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:82:7: note: add @available attribute to enclosing instance method
func check() async throws -> Bool {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:19:8: note: add @available attribute to enclosing extension
public extension HueSession {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:131:15: error: 'value(forHTTPHeaderField:)' is only available in macOS 10.15 or newer
appID = res.value(forHTTPHeaderField: "hue-application-id")
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:131:15: note: add 'if #available' version check
appID = res.value(forHTTPHeaderField: "hue-application-id")
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:104:7: note: add @available attribute to enclosing instance method
func login(device: String) async throws {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/Extensions/HueSession+Auth.swift:19:8: note: add @available attribute to enclosing extension
public extension HueSession {
^
[13/14] Compiling HueEntertainmentSwift HueSession+Settings.swift
[14/14] Compiling HueEntertainmentSwift XYBrightness.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/XYBrightness.swift:80:23: error: cannot find type 'UIColor' in scope
public init(uiColor: UIColor, forcedBrightness: Double? = nil) {
^~~~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/XYBrightness.swift:97:21: error: 'Color' is only available in macOS 10.15 or newer
public init(color: Color, forcedBrightness: Double? = nil) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/XYBrightness.swift:97:9: note: add @available attribute to enclosing initializer
public init(color: Color, forcedBrightness: Double? = nil) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/XYBrightness.swift:17:15: note: add @available attribute to enclosing struct
public struct XYBrightness {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/XYBrightness.swift:98:22: error: cannot find 'UIColor' in scope
self.init(uiColor: UIColor(color), forcedBrightness: forcedBrightness)
^~~~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HueEntertainmentSwift/XYBrightness.swift:98:12: error: incorrect argument label in call (have 'uiColor:forcedBrightness:', expected 'color:forcedBrightness:')
self.init(uiColor: UIColor(color), forcedBrightness: forcedBrightness)
^~~~~~~~
color
error: fatalError
BUILD FAILURE 5.10 macosSpm