The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftColorWheel, reference main (b9536c), with Swift 6.2 for macOS (SPM) on 9 Oct 2026 04:38:22 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.1.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dmrschmidt/SwiftColorWheel.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/dmrschmidt/SwiftColorWheel
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at b9536ca Merge pull request #3 from dmrschmidt/swiftui-rewrite
Cloned https://github.com/dmrschmidt/SwiftColorWheel.git
Revision (git rev-parse @):
b9536ca78c66be5621c80eb1ffc272c7546ea33d
SUCCESS checkout https://github.com/dmrschmidt/SwiftColorWheel.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/dmrschmidt/SwiftColorWheel.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--3CB7CFEC50E0D141.txt
[3/11] Compiling SwiftColorWheel WheelMotion.swift
[4/11] Compiling SwiftColorWheel WheelModel.swift
[5/11] Compiling SwiftColorWheel WheelLayers.swift
[6/11] Compiling SwiftColorWheel HSBColor.swift
[7/11] Compiling SwiftColorWheel WheelGeometry.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftColorWheel/WheelGeometry.swift:59:96: error: ambiguous use of operator '/'
57 |         switch cell.shape {
58 |         case .dot(let dotRadius): dotRadius + 8
59 |         case .wedge(let inner, let outer, let halfAngle, _, _): hypot(radius * (outer - inner) / 2, radius * cell.distance * halfAngle) + 6
   |                                                                                                `- error: ambiguous use of operator '/'
60 |         }
61 |     }
CoreFoundation.CGFloat./:2:20: note: found this candidate in module 'CoreFoundation'
1 | struct CGFloat {
2 | public static func / (lhs: CGFloat, rhs: CGFloat) -> CGFloat}
  |                    `- note: found this candidate in module 'CoreFoundation'
3 |
Swift.Double./:2:20: note: found this candidate in module 'Swift'
1 | struct Double {
2 | public static func / (lhs: Double, rhs: Double) -> Double}
  |                    `- note: found this candidate in module 'Swift'
3 |
[8/11] Compiling SwiftColorWheel ColorWheelConfiguration.swift
[9/11] Compiling SwiftColorWheel ColorWheel.swift
[10/11] Emitting module SwiftColorWheel
[11/11] Compiling SwiftColorWheel ColorWheelLayout.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftColorWheel/ColorWheelLayout.swift:118:16: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
116 |         func edge(_ ring: Int) -> Double { innerRadius + (1 - innerRadius) * Double(ring) / Double(rings) }
117 |         let halfAngle = Double.pi / Double(hues)
118 |         return (0 ..< rings).flatMap { ring in
    |                `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
119 |             (0 ..< hues).map { hue in
120 |                 WheelCell(angle: (Double(hue) + 0.5) * 2 * halfAngle,
BUILD FAILURE 6.2 macosSpm