Build Information
Failed to build DominoKit, reference master (269bd7
), with Swift 6.2 (beta) for macOS (SPM) on 18 Jun 2025 02:52:11 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jarrodparkes/DominoKit.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/jarrodparkes/DominoKit
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 269bd70 Update README.md
Cloned https://github.com/jarrodparkes/DominoKit.git
Revision (git rev-parse @):
269bd70844152d698c52c8a404228661c5dfff99
SUCCESS checkout https://github.com/jarrodparkes/DominoKit.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/jarrodparkes/DominoKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.txt
[3/8] Compiling DominoKit Suit.swift
[4/8] Compiling DominoKit DominoSet.swift
/Users/admin/builder/spi-builder-workspace/Sources/DominoSet.swift:78:18: error: ambiguous use of 'shuffle()'
76 | /// Randomly shuffles all dominoes in the set.
77 | public func shuffle() {
78 | dominoes.shuffle()
| `- error: ambiguous use of 'shuffle()'
79 | }
80 |
/Users/admin/builder/spi-builder-workspace/Sources/Collection+Shuffle.swift:31:19: note: found this candidate
29 |
30 | public extension MutableCollection where Index == Int, IndexDistance == Int {
31 | mutating func shuffle() {
| `- note: found this candidate
32 | guard count > 1 else { return }
33 |
Swift.MutableCollection.shuffle:2:33: note: found this candidate in module 'Swift'
1 | protocol MutableCollection {
2 | @inlinable public mutating func shuffle()}
| `- note: found this candidate in module 'Swift'
3 |
[5/8] Compiling DominoKit SPM+Random.swift
[6/8] Emitting module DominoKit
/Users/admin/builder/spi-builder-workspace/Sources/Collection+Shuffle.swift:30:56: warning: 'IndexDistance' is deprecated: all index distances are now of type Int [#DeprecatedDeclaration]
28 | }
29 |
30 | public extension MutableCollection where Index == Int, IndexDistance == Int {
| `- warning: 'IndexDistance' is deprecated: all index distances are now of type Int [#DeprecatedDeclaration]
31 | mutating func shuffle() {
32 | guard count > 1 else { return }
/Users/admin/builder/spi-builder-workspace/Sources/Domino.swift:148:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Domino' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
146 | extension Domino: Hashable {
147 | /// Hash value of a domino.
148 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Domino' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
149 | return (suitOne == .invalid || suitTwo == .invalid) ?
150 | -1 : suitOne.rawValue * 10 + suitTwo.rawValue * 1000
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[7/8] Compiling DominoKit Domino.swift
/Users/admin/builder/spi-builder-workspace/Sources/Domino.swift:148:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Domino' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
146 | extension Domino: Hashable {
147 | /// Hash value of a domino.
148 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Domino' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
149 | return (suitOne == .invalid || suitTwo == .invalid) ?
150 | -1 : suitOne.rawValue * 10 + suitTwo.rawValue * 1000
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[8/8] Compiling DominoKit Collection+Shuffle.swift
/Users/admin/builder/spi-builder-workspace/Sources/Collection+Shuffle.swift:30:56: warning: 'IndexDistance' is deprecated: all index distances are now of type Int [#DeprecatedDeclaration]
28 | }
29 |
30 | public extension MutableCollection where Index == Int, IndexDistance == Int {
| `- warning: 'IndexDistance' is deprecated: all index distances are now of type Int [#DeprecatedDeclaration]
31 | mutating func shuffle() {
32 | guard count > 1 else { return }
/Users/admin/builder/spi-builder-workspace/Sources/Collection+Shuffle.swift:25:15: error: ambiguous use of 'shuffle()'
23 | func shuffled() -> [Iterator.Element] {
24 | var array = Array(self)
25 | array.shuffle()
| `- error: ambiguous use of 'shuffle()'
26 | return array
27 | }
:
29 |
30 | public extension MutableCollection where Index == Int, IndexDistance == Int {
31 | mutating func shuffle() {
| `- note: found this candidate
32 | guard count > 1 else { return }
33 |
Swift.MutableCollection.shuffle:2:33: note: found this candidate in module 'Swift'
1 | protocol MutableCollection {
2 | @inlinable public mutating func shuffle()}
| `- note: found this candidate in module 'Swift'
3 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
BUILD FAILURE 6.2 macosSpm