Build Information
Successful build of WrkstrmColor, reference 0.0.1 (b99c8a
), with Swift 5.10 for Linux on 28 Jun 2024 20:10:31 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.44.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/wrkstrm/WrkstrmColor.git
Reference: 0.0.1
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/wrkstrm/WrkstrmColor
* tag 0.0.1 -> FETCH_HEAD
HEAD is now at b99c8a1 Update Snapshot.swift
Cloned https://github.com/wrkstrm/WrkstrmColor.git
Revision (git rev-parse @):
b99c8a11e9dfb74d76759bc22ad46da0044366b7
SPI manifest file found: $workDir/.spi.yml
SUCCESS checkout https://github.com/wrkstrm/WrkstrmColor.git at 0.0.1
========================================
Build
========================================
Selected platform: linux
Swift version: 5.10
Building package at path: $workDir
https://github.com/wrkstrm/WrkstrmColor.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:25efef401ffd78342b231554234a436b1eb31bdd29046c1104fb984cc1b7d308
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/13] Compiling WrkstrmColor Palette+HSLuv.swift
/host/spi-builder-workspace/Sources/WrkstrmColor/Palette+HSLuv.swift:18:11: warning: expression took 245ms to type-check (limit: 10ms)
HSLuv(
^~~~~~
/host/spi-builder-workspace/Sources/WrkstrmColor/Palette+HSLuv.swift:24:11: warning: expression took 207ms to type-check (limit: 10ms)
HSLuv(
^~~~~~
/host/spi-builder-workspace/Sources/WrkstrmColor/Palette+HSLuv.swift:30:11: warning: expression took 245ms to type-check (limit: 10ms)
HSLuv(
^~~~~~
/host/spi-builder-workspace/Sources/WrkstrmColor/Palette+HSLuv.swift:36:11: warning: expression took 141ms to type-check (limit: 10ms)
HSLuv(
^~~~~~
[4/14] Compiling WrkstrmColor Palette.swift
[5/14] Compiling WrkstrmColor Palette+Legacy.swift
[6/14] Compiling WrkstrmColor GradientDescriptor.swift
/host/spi-builder-workspace/Sources/WrkstrmColor/GradientDescriptor.swift:107:7: warning: expression took 11ms to type-check (limit: 10ms)
(aRange.type == .decreasing ? aRange.range.upperBound : aRange.range.lowerBound) + aRange
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WrkstrmColor/GradientDescriptor.swift:110:7: warning: expression took 12ms to type-check (limit: 10ms)
(bRange.type == .decreasing ? bRange.range.upperBound : bRange.range.lowerBound) + bRange
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WrkstrmColor/GradientDescriptor.swift:113:7: warning: expression took 12ms to type-check (limit: 10ms)
(cRange.type == .decreasing ? cRange.range.upperBound : cRange.range.lowerBound) + cRange
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[7/14] Compiling WrkstrmColor HSLuv+GradientDescriptor.swift
/host/spi-builder-workspace/Sources/WrkstrmColor/GradientDescriptor.swift:107:7: warning: expression took 11ms to type-check (limit: 10ms)
(aRange.type == .decreasing ? aRange.range.upperBound : aRange.range.lowerBound) + aRange
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WrkstrmColor/GradientDescriptor.swift:110:7: warning: expression took 12ms to type-check (limit: 10ms)
(bRange.type == .decreasing ? bRange.range.upperBound : bRange.range.lowerBound) + bRange
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WrkstrmColor/GradientDescriptor.swift:113:7: warning: expression took 12ms to type-check (limit: 10ms)
(cRange.type == .decreasing ? cRange.range.upperBound : cRange.range.lowerBound) + cRange
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[8/14] Compiling WrkstrmColor Math.swift
/host/spi-builder-workspace/Sources/WrkstrmColor/Math.swift:92:26: warning: expression took 27ms to type-check (limit: 10ms)
let top1: Value = (284_517 * m1 - 94_839 * m3) * sub2
^~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WrkstrmColor/Math.swift:92:25: warning: expression took 62ms to type-check (limit: 10ms)
let top1: Value = (284_517 * m1 - 94_839 * m3) * sub2
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WrkstrmColor/Math.swift:92:25: warning: expression took 63ms to type-check (limit: 10ms)
let top1: Value = (284_517 * m1 - 94_839 * m3) * sub2
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WrkstrmColor/Math.swift:93:30: warning: expression took 30ms to type-check (limit: 10ms)
let multiple: Value = (838_422 * m3 + 769_860 * m2 + 731_718 * m1)
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WrkstrmColor/Math.swift:93:30: warning: expression took 793ms to type-check (limit: 10ms)
let multiple: Value = (838_422 * m3 + 769_860 * m2 + 731_718 * m1)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WrkstrmColor/Math.swift:93:29: warning: expression took 461ms to type-check (limit: 10ms)
let multiple: Value = (838_422 * m3 + 769_860 * m2 + 731_718 * m1)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WrkstrmColor/Math.swift:93:29: warning: expression took 563ms to type-check (limit: 10ms)
let multiple: Value = (838_422 * m3 + 769_860 * m2 + 731_718 * m1)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WrkstrmColor/Math.swift:94:25: warning: expression took 68ms to type-check (limit: 10ms)
let top2: Value = multiple * lightness * sub2 - 769_860 * target * lightness
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WrkstrmColor/Math.swift:94:25: warning: expression took 59ms to type-check (limit: 10ms)
let top2: Value = multiple * lightness * sub2 - 769_860 * target * lightness
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WrkstrmColor/Math.swift:95:28: warning: expression took 17ms to type-check (limit: 10ms)
let bottom: Value = (632_260 * m3 - 126_452 * m2) * sub2 + 126_452 * target
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WrkstrmColor/Math.swift:95:27: warning: expression took 41ms to type-check (limit: 10ms)
let bottom: Value = (632_260 * m3 - 126_452 * m2) * sub2 + 126_452 * target
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WrkstrmColor/Math.swift:95:27: warning: expression took 1080ms to type-check (limit: 10ms)
let bottom: Value = (632_260 * m3 - 126_452 * m2) * sub2 + 126_452 * target
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WrkstrmColor/Math.swift:95:27: warning: expression took 957ms to type-check (limit: 10ms)
let bottom: Value = (632_260 * m3 - 126_452 * m2) * sub2 + 126_452 * target
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WrkstrmColor/Math.swift:97:7: warning: expression took 10ms to type-check (limit: 10ms)
result.append((top1 / bottom, top2 / bottom))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WrkstrmColor/Math.swift:107:3: warning: expression took 13ms to type-check (limit: 10ms)
(line1.1 - line2.1) / (line2.0 - line1.0)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[9/14] Compiling WrkstrmColor RGBEncodable+ContrastRatio.swift
/host/spi-builder-workspace/Sources/WrkstrmColor/RGBEncodable+ContrastRatio.swift:8:12: warning: expression took 20ms to type-check (limit: 10ms)
return 0.212_6 * red + 0.715_2 * green + 0.072_2 * blue
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WrkstrmColor/RGBEncodable+ContrastRatio.swift:8:12: warning: expression took 521ms to type-check (limit: 10ms)
return 0.212_6 * red + 0.715_2 * green + 0.072_2 * blue
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WrkstrmColor/RGBEncodable+ContrastRatio.swift:8:12: warning: expression took 566ms to type-check (limit: 10ms)
return 0.212_6 * red + 0.715_2 * green + 0.072_2 * blue
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WrkstrmColor/RGBEncodable+ContrastRatio.swift:14:7: warning: expression took 16ms to type-check (limit: 10ms)
0.212_6 * invGamSRGB(inverseColor: red) + 0.715_2 * invGamSRGB(inverseColor: green) + 0.072_2
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WrkstrmColor/RGBEncodable+ContrastRatio.swift:14:7: warning: expression took 601ms to type-check (limit: 10ms)
0.212_6 * invGamSRGB(inverseColor: red) + 0.715_2 * invGamSRGB(inverseColor: green) + 0.072_2
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WrkstrmColor/RGBEncodable+ContrastRatio.swift:14:7: warning: expression took 582ms to type-check (limit: 10ms)
0.212_6 * invGamSRGB(inverseColor: red) + 0.715_2 * invGamSRGB(inverseColor: green) + 0.072_2
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WrkstrmColor/RGBEncodable+ContrastRatio.swift:21:31: warning: expression took 12ms to type-check (limit: 10ms)
return Value(pow(Double((inverseColor + 0.055) / 1.055), 2.4))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WrkstrmColor/RGBEncodable+ContrastRatio.swift:21:24: warning: expression took 60ms to type-check (limit: 10ms)
return Value(pow(Double((inverseColor + 0.055) / 1.055), 2.4))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WrkstrmColor/RGBEncodable+ContrastRatio.swift:21:20: warning: expression took 98ms to type-check (limit: 10ms)
return Value(pow(Double((inverseColor + 0.055) / 1.055), 2.4))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WrkstrmColor/RGBEncodable+ContrastRatio.swift:21:14: warning: expression took 103ms to type-check (limit: 10ms)
return Value(pow(Double((inverseColor + 0.055) / 1.055), 2.4))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WrkstrmColor/RGBEncodable+ContrastRatio.swift:21:14: warning: expression took 109ms to type-check (limit: 10ms)
return Value(pow(Double((inverseColor + 0.055) / 1.055), 2.4))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WrkstrmColor/RGBEncodable+ContrastRatio.swift:33:17: warning: expression took 22ms to type-check (limit: 10ms)
return 1 / ((lighterColor + 0.05) / (darkerColor + 0.05))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WrkstrmColor/RGBEncodable+ContrastRatio.swift:33:12: warning: expression took 153ms to type-check (limit: 10ms)
return 1 / ((lighterColor + 0.05) / (darkerColor + 0.05))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WrkstrmColor/RGBEncodable+ContrastRatio.swift:33:12: warning: expression took 140ms to type-check (limit: 10ms)
return 1 / ((lighterColor + 0.05) / (darkerColor + 0.05))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[10/14] Emitting module WrkstrmColor
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings+Conversions.swift:6:19: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
func fromLinear<Value: ComponentValue>(_ c: Value) -> Value {
^
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings.swift:57:19: note: 'Value' previously declared here
public struct XYZ<Value: BinaryFloatingPoint>: ComponentConvertible {
^
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings+Conversions.swift:49:13: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
func yToL<Value: ComponentValue>(_ y: Value) -> Value {
^
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings.swift:57:19: note: 'Value' previously declared here
public struct XYZ<Value: BinaryFloatingPoint>: ComponentConvertible {
^
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings+Conversions.swift:75:13: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
func lToY<Value: ComponentValue>(_ l: Value) -> Value {
^
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings.swift:74:19: note: 'Value' previously declared here
public struct LUV<Value: BinaryFloatingPoint>: ComponentConvertible {
^
[11/14] Compiling WrkstrmColor Color+Extensions.swift
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings+Conversions.swift:6:19: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
func fromLinear<Value: ComponentValue>(_ c: Value) -> Value {
^
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings.swift:57:19: note: 'Value' previously declared here
public struct XYZ<Value: BinaryFloatingPoint>: ComponentConvertible {
^
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings+Conversions.swift:49:13: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
func yToL<Value: ComponentValue>(_ y: Value) -> Value {
^
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings.swift:57:19: note: 'Value' previously declared here
public struct XYZ<Value: BinaryFloatingPoint>: ComponentConvertible {
^
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings+Conversions.swift:75:13: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
func lToY<Value: ComponentValue>(_ l: Value) -> Value {
^
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings.swift:74:19: note: 'Value' previously declared here
public struct LUV<Value: BinaryFloatingPoint>: ComponentConvertible {
^
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings+Conversions.swift:10:26: warning: expression took 14ms to type-check (limit: 10ms)
return Value(1.055 * pow(Double(c), 1 / 2.4) - 0.055)
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings+Conversions.swift:57:34: warning: expression took 91ms to type-check (limit: 10ms)
let varU: Value = (4 * x) / (x + (15 * y) + (3 * z))
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings+Conversions.swift:57:23: warning: expression took 2210ms to type-check (limit: 10ms)
let varU: Value = (4 * x) / (x + (15 * y) + (3 * z))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings+Conversions.swift:57:23: warning: expression took 1854ms to type-check (limit: 10ms)
let varU: Value = (4 * x) / (x + (15 * y) + (3 * z))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings+Conversions.swift:58:34: warning: expression took 90ms to type-check (limit: 10ms)
let varV: Value = (9 * y) / (x + (15 * y) + (3 * z))
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings+Conversions.swift:58:23: warning: expression took 1615ms to type-check (limit: 10ms)
let varV: Value = (9 * y) / (x + (15 * y) + (3 * z))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings+Conversions.swift:58:23: warning: expression took 1583ms to type-check (limit: 10ms)
let varV: Value = (9 * y) / (x + (15 * y) + (3 * z))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings+Conversions.swift:67:13: warning: expression took 15ms to type-check (limit: 10ms)
let u = 13 * l * (varU - Constant.refU())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings+Conversions.swift:68:13: warning: expression took 14ms to type-check (limit: 10ms)
let v = 13 * l * (varV - Constant.refV())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings+Conversions.swift:79:29: warning: expression took 19ms to type-check (limit: 10ms)
return Value(pow(Double((l + 16) / 116), 3))
^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings+Conversions.swift:79:22: warning: expression took 73ms to type-check (limit: 10ms)
return Value(pow(Double((l + 16) / 116), 3))
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings+Conversions.swift:79:18: warning: expression took 132ms to type-check (limit: 10ms)
return Value(pow(Double((l + 16) / 116), 3))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings+Conversions.swift:79:12: warning: expression took 132ms to type-check (limit: 10ms)
return Value(pow(Double((l + 16) / 116), 3))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings+Conversions.swift:79:12: warning: expression took 133ms to type-check (limit: 10ms)
return Value(pow(Double((l + 16) / 116), 3))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings+Conversions.swift:88:16: warning: expression took 17ms to type-check (limit: 10ms)
let varU = u / (13 * l) + Constant.refU()
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings+Conversions.swift:88:16: warning: expression took 17ms to type-check (limit: 10ms)
let varU = u / (13 * l) + Constant.refU()
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings+Conversions.swift:89:16: warning: expression took 16ms to type-check (limit: 10ms)
let varV = v / (13 * l) + Constant.refV()
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings+Conversions.swift:89:16: warning: expression took 17ms to type-check (limit: 10ms)
let varV = v / (13 * l) + Constant.refV()
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings+Conversions.swift:92:27: warning: expression took 35ms to type-check (limit: 10ms)
let xDivisor: Value = (varU - 4.0) * varV - varU * varV
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings+Conversions.swift:92:27: warning: expression took 35ms to type-check (limit: 10ms)
let xDivisor: Value = (varU - 4.0) * varV - varU * varV
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings+Conversions.swift:93:20: warning: expression took 53ms to type-check (limit: 10ms)
let x: Value = 0.0 - (9.0 * y * varU) / xDivisor
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings+Conversions.swift:93:20: warning: expression took 29ms to type-check (limit: 10ms)
let x: Value = 0.0 - (9.0 * y * varU) / xDivisor
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings+Conversions.swift:94:29: warning: expression took 44ms to type-check (limit: 10ms)
let zNumerator: Value = 9.0 * y - (15.0 * varV * y) - (varV * x)
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings+Conversions.swift:94:29: warning: expression took 572ms to type-check (limit: 10ms)
let zNumerator: Value = 9.0 * y - (15.0 * varV * y) - (varV * x)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings+Conversions.swift:94:29: warning: expression took 577ms to type-check (limit: 10ms)
let zNumerator: Value = 9.0 * y - (15.0 * varV * y) - (varV * x)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings+Conversions.swift:113:13: warning: expression took 51ms to type-check (limit: 10ms)
var h = hRad * 360 / 2 / .pi
^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings+Conversions.swift:113:13: warning: expression took 49ms to type-check (limit: 10ms)
var h = hRad * 360 / 2 / .pi
^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings+Conversions.swift:125:16: warning: expression took 12ms to type-check (limit: 10ms)
let hRad = h / 360 * 2 * .pi
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings+Conversions.swift:125:16: warning: expression took 45ms to type-check (limit: 10ms)
let hRad = h / 360 * 2 * .pi
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings+Conversions.swift:125:16: warning: expression took 43ms to type-check (limit: 10ms)
let hRad = h / 360 * 2 * .pi
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings+Conversions.swift:137:14: warning: expression took 11ms to type-check (limit: 10ms)
let hrad = hue / 360 * 2 * .pi
^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings+Conversions.swift:137:14: warning: expression took 42ms to type-check (limit: 10ms)
let hrad = hue / 360 * 2 * .pi
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings+Conversions.swift:137:14: warning: expression took 43ms to type-check (limit: 10ms)
let hrad = hue / 360 * 2 * .pi
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings+Conversions.swift:171:13: warning: expression took 11ms to type-check (limit: 10ms)
let s = c / max * 100
^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings+Conversions.swift:218:13: warning: expression took 11ms to type-check (limit: 10ms)
let s = c / max * 100
^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings+Conversions.swift:268:10: warning: expression took 51ms to type-check (limit: 10ms)
r: Value(Double((rgbValue & 0xFF0000) >> 16) / 255.0),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings+Conversions.swift:269:10: warning: expression took 51ms to type-check (limit: 10ms)
g: Value(Double((rgbValue & 0x00FF00) >> 8) / 255.0),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings+Conversions.swift:267:12: warning: expression took 316ms to type-check (limit: 10ms)
return RGB(
^~~~
[12/14] Compiling WrkstrmColor Encodings+Conversions.swift
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings+Conversions.swift:6:19: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
func fromLinear<Value: ComponentValue>(_ c: Value) -> Value {
^
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings.swift:57:19: note: 'Value' previously declared here
public struct XYZ<Value: BinaryFloatingPoint>: ComponentConvertible {
^
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings+Conversions.swift:49:13: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
func yToL<Value: ComponentValue>(_ y: Value) -> Value {
^
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings.swift:57:19: note: 'Value' previously declared here
public struct XYZ<Value: BinaryFloatingPoint>: ComponentConvertible {
^
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings+Conversions.swift:75:13: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
func lToY<Value: ComponentValue>(_ l: Value) -> Value {
^
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings.swift:74:19: note: 'Value' previously declared here
public struct LUV<Value: BinaryFloatingPoint>: ComponentConvertible {
^
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings+Conversions.swift:10:26: warning: expression took 14ms to type-check (limit: 10ms)
return Value(1.055 * pow(Double(c), 1 / 2.4) - 0.055)
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings+Conversions.swift:57:34: warning: expression took 91ms to type-check (limit: 10ms)
let varU: Value = (4 * x) / (x + (15 * y) + (3 * z))
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings+Conversions.swift:57:23: warning: expression took 2210ms to type-check (limit: 10ms)
let varU: Value = (4 * x) / (x + (15 * y) + (3 * z))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings+Conversions.swift:57:23: warning: expression took 1854ms to type-check (limit: 10ms)
let varU: Value = (4 * x) / (x + (15 * y) + (3 * z))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings+Conversions.swift:58:34: warning: expression took 90ms to type-check (limit: 10ms)
let varV: Value = (9 * y) / (x + (15 * y) + (3 * z))
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings+Conversions.swift:58:23: warning: expression took 1615ms to type-check (limit: 10ms)
let varV: Value = (9 * y) / (x + (15 * y) + (3 * z))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings+Conversions.swift:58:23: warning: expression took 1583ms to type-check (limit: 10ms)
let varV: Value = (9 * y) / (x + (15 * y) + (3 * z))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings+Conversions.swift:67:13: warning: expression took 15ms to type-check (limit: 10ms)
let u = 13 * l * (varU - Constant.refU())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings+Conversions.swift:68:13: warning: expression took 14ms to type-check (limit: 10ms)
let v = 13 * l * (varV - Constant.refV())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings+Conversions.swift:79:29: warning: expression took 19ms to type-check (limit: 10ms)
return Value(pow(Double((l + 16) / 116), 3))
^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings+Conversions.swift:79:22: warning: expression took 73ms to type-check (limit: 10ms)
return Value(pow(Double((l + 16) / 116), 3))
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings+Conversions.swift:79:18: warning: expression took 132ms to type-check (limit: 10ms)
return Value(pow(Double((l + 16) / 116), 3))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings+Conversions.swift:79:12: warning: expression took 132ms to type-check (limit: 10ms)
return Value(pow(Double((l + 16) / 116), 3))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings+Conversions.swift:79:12: warning: expression took 133ms to type-check (limit: 10ms)
return Value(pow(Double((l + 16) / 116), 3))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings+Conversions.swift:88:16: warning: expression took 17ms to type-check (limit: 10ms)
let varU = u / (13 * l) + Constant.refU()
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings+Conversions.swift:88:16: warning: expression took 17ms to type-check (limit: 10ms)
let varU = u / (13 * l) + Constant.refU()
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings+Conversions.swift:89:16: warning: expression took 16ms to type-check (limit: 10ms)
let varV = v / (13 * l) + Constant.refV()
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings+Conversions.swift:89:16: warning: expression took 17ms to type-check (limit: 10ms)
let varV = v / (13 * l) + Constant.refV()
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings+Conversions.swift:92:27: warning: expression took 35ms to type-check (limit: 10ms)
let xDivisor: Value = (varU - 4.0) * varV - varU * varV
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings+Conversions.swift:92:27: warning: expression took 35ms to type-check (limit: 10ms)
let xDivisor: Value = (varU - 4.0) * varV - varU * varV
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings+Conversions.swift:93:20: warning: expression took 53ms to type-check (limit: 10ms)
let x: Value = 0.0 - (9.0 * y * varU) / xDivisor
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings+Conversions.swift:93:20: warning: expression took 29ms to type-check (limit: 10ms)
let x: Value = 0.0 - (9.0 * y * varU) / xDivisor
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings+Conversions.swift:94:29: warning: expression took 44ms to type-check (limit: 10ms)
let zNumerator: Value = 9.0 * y - (15.0 * varV * y) - (varV * x)
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings+Conversions.swift:94:29: warning: expression took 572ms to type-check (limit: 10ms)
let zNumerator: Value = 9.0 * y - (15.0 * varV * y) - (varV * x)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings+Conversions.swift:94:29: warning: expression took 577ms to type-check (limit: 10ms)
let zNumerator: Value = 9.0 * y - (15.0 * varV * y) - (varV * x)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings+Conversions.swift:113:13: warning: expression took 51ms to type-check (limit: 10ms)
var h = hRad * 360 / 2 / .pi
^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings+Conversions.swift:113:13: warning: expression took 49ms to type-check (limit: 10ms)
var h = hRad * 360 / 2 / .pi
^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings+Conversions.swift:125:16: warning: expression took 12ms to type-check (limit: 10ms)
let hRad = h / 360 * 2 * .pi
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings+Conversions.swift:125:16: warning: expression took 45ms to type-check (limit: 10ms)
let hRad = h / 360 * 2 * .pi
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings+Conversions.swift:125:16: warning: expression took 43ms to type-check (limit: 10ms)
let hRad = h / 360 * 2 * .pi
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings+Conversions.swift:137:14: warning: expression took 11ms to type-check (limit: 10ms)
let hrad = hue / 360 * 2 * .pi
^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings+Conversions.swift:137:14: warning: expression took 42ms to type-check (limit: 10ms)
let hrad = hue / 360 * 2 * .pi
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings+Conversions.swift:137:14: warning: expression took 43ms to type-check (limit: 10ms)
let hrad = hue / 360 * 2 * .pi
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings+Conversions.swift:171:13: warning: expression took 11ms to type-check (limit: 10ms)
let s = c / max * 100
^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings+Conversions.swift:218:13: warning: expression took 11ms to type-check (limit: 10ms)
let s = c / max * 100
^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings+Conversions.swift:268:10: warning: expression took 51ms to type-check (limit: 10ms)
r: Value(Double((rgbValue & 0xFF0000) >> 16) / 255.0),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings+Conversions.swift:269:10: warning: expression took 51ms to type-check (limit: 10ms)
g: Value(Double((rgbValue & 0x00FF00) >> 8) / 255.0),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings+Conversions.swift:267:12: warning: expression took 316ms to type-check (limit: 10ms)
return RGB(
^~~~
[13/14] Compiling WrkstrmColor Encodings.swift
[14/14] Compiling WrkstrmColor GradientDescriptor+Sequence.swift
Build complete! (12.85s)
Build complete.
Done.