Build Information
Failed to build ContrastKit, reference 1.0.2 (9d8865
), with Swift 5.9 for macOS (SPM) on 27 May 2025 01:40:40 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/markbattistella/ContrastKit.git
Reference: 1.0.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/markbattistella/ContrastKit
* tag 1.0.2 -> FETCH_HEAD
HEAD is now at 9d88652 Delete Documentation directory
Cloned https://github.com/markbattistella/ContrastKit.git
Revision (git rev-parse @):
9d88652723f702167ec8a6d1bdcc8801cfed5ed8
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/markbattistella/ContrastKit.git at 1.0.2
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.9
Building package at path: $PWD
https://github.com/markbattistella/ContrastKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Building for debugging...
[1/10] Compiling ContrastKit Color+Ext.swift
[2/10] Emitting module ContrastKit
[3/10] Compiling ContrastKit Example+SwiftUI.swift
[4/10] Compiling ContrastKit ContrastLevel.swift
[5/10] Compiling ContrastKit AgnosticColor.swift
[6/10] Compiling ContrastKit Color+Convenience.swift
[7/10] Compiling ContrastKit Color+Helpers.swift
[8/10] Compiling ContrastKit ColorLevel.swift
[9/10] Compiling ContrastKit UIColor+Ext.swift
[10/10] Compiling ContrastKit PreviewTesting.swift
/Users/admin/builder/spi-builder-workspace/Sources/ContrastKit/UITesting/PreviewTesting.swift:112:24: error: no exact matches in call to instance method 'appendInterpolation'
Text("\(level)")
^
SwiftUI.LocalizedStringKey:10:30: note: candidate requires that 'ColorLevel' conform to 'ReferenceConvertible' (requirement specified as 'Subject' : 'ReferenceConvertible')
public mutating func appendInterpolation<Subject>(_ subject: Subject, formatter: Formatter? = nil) where Subject : ReferenceConvertible
^
SwiftUI.LocalizedStringKey:11:30: note: candidate requires that 'NSObject' inherit from 'Subject' (requirement specified as 'Subject' : 'NSObject')
public mutating func appendInterpolation<Subject>(_ subject: Subject, formatter: Formatter? = nil) where Subject : NSObject
^
SwiftUI.LocalizedStringKey:14:30: note: candidate requires that 'ColorLevel' conform to '_FormatSpecifiable' (requirement specified as 'T' : '_FormatSpecifiable')
public mutating func appendInterpolation<T>(_ value: T) where T : _FormatSpecifiable
^
error: fatalError
BUILD FAILURE 5.9 macosSpm