Build Information
Failed to build DominoKit, reference master (269bd7
), with Swift 6.1 for macOS (SPM) on 25 Apr 2025 02:42:05 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.61.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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "dominokit",
"name": "DominoKit",
"url": "https://github.com/jarrodparkes/DominoKit.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/DominoKit",
"dependencies": [
]
}
]
}
Fetching https://github.com/jarrodparkes/DominoKit.git
[1/270] Fetching dominokit
Fetched https://github.com/jarrodparkes/DominoKit.git from cache (0.71s)
Creating working copy for https://github.com/jarrodparkes/DominoKit.git
Working copy of https://github.com/jarrodparkes/DominoKit.git resolved at master (269bd70)
warning: '.resolve-product-dependencies': dependency 'dominokit' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/jarrodparkes/DominoKit.git
https://github.com/jarrodparkes/DominoKit.git
{
"dependencies" : [
],
"manifest_display_name" : "DominoKit",
"name" : "DominoKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "DominoKit",
"targets" : [
"DominoKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "DominoKitTest",
"module_type" : "SwiftTarget",
"name" : "DominoKitTest",
"path" : "Tests",
"sources" : [
"DominoKitTests/DominoSetTests.swift",
"DominoKitTests/DominoTests.swift",
"DominoKitTests/RandomTests.swift",
"DominoKitTests/ShuffleTests.swift",
"DominoKitTests/SuitTests.swift",
"DominoKitTests/XCTestManifests.swift",
"LinuxMain.swift"
],
"target_dependencies" : [
"DominoKit"
],
"type" : "test"
},
{
"c99name" : "DominoKit",
"module_type" : "SwiftTarget",
"name" : "DominoKit",
"path" : "Sources",
"product_memberships" : [
"DominoKit"
],
"sources" : [
"Collection+Shuffle.swift",
"Domino.swift",
"DominoSet.swift",
"SPM+Random.swift",
"Suit.swift"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/8] Compiling DominoKit SPM+Random.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/SPM+Random.swift:14:16: warning: let 'random' is not concurrency-safe because non-'Sendable' type '(Int) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
12 | import Darwin
13 |
14 | public let random: (Int) -> Int = {
| |- warning: let 'random' is not concurrency-safe because non-'Sendable' type '(Int) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'random' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | let unsigned = $0 < 0 ? $0 * -1 : $0
16 | return Int(arc4random_uniform(UInt32(unsigned)))
[4/8] Compiling DominoKit Suit.swift
/Users/admin/builder/spi-builder-workspace/Sources/Suit.swift:28:23: warning: static property 'allValues' is not concurrency-safe because non-'Sendable' type '[Suit]' may have shared mutable state; this is an error in the Swift 6 language mode
17 | - [remaining values]: The number of dots present on this end of the domino.
18 | */
19 | public enum Suit: Int {
| `- note: consider making enum 'Suit' conform to the 'Sendable' protocol
20 | case invalid = -1
21 | case zero = 0
:
26 |
27 | /// An array containing all possible, valid suits.
28 | public static let allValues: [Suit] = Suit.suitsFromZeroTo(.eighteen)
| |- warning: static property 'allValues' is not concurrency-safe because non-'Sendable' type '[Suit]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'allValues' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | // MARK: Custom Initializer
[5/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 |
[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
28 | }
29 |
30 | public extension MutableCollection where Index == Int, IndexDistance == Int {
| `- warning: 'IndexDistance' is deprecated: all index distances are now of type Int
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
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
149 | return (suitOne == .invalid || suitTwo == .invalid) ?
150 | -1 : suitOne.rawValue * 10 + suitTwo.rawValue * 1000
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/SPM+Random.swift:14:16: warning: let 'random' is not concurrency-safe because non-'Sendable' type '(Int) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
12 | import Darwin
13 |
14 | public let random: (Int) -> Int = {
| |- warning: let 'random' is not concurrency-safe because non-'Sendable' type '(Int) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'random' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | let unsigned = $0 < 0 ? $0 * -1 : $0
16 | return Int(arc4random_uniform(UInt32(unsigned)))
/Users/admin/builder/spi-builder-workspace/Sources/Suit.swift:28:23: warning: static property 'allValues' is not concurrency-safe because non-'Sendable' type '[Suit]' may have shared mutable state; this is an error in the Swift 6 language mode
17 | - [remaining values]: The number of dots present on this end of the domino.
18 | */
19 | public enum Suit: Int {
| `- note: consider making enum 'Suit' conform to the 'Sendable' protocol
20 | case invalid = -1
21 | case zero = 0
:
26 |
27 | /// An array containing all possible, valid suits.
28 | public static let allValues: [Suit] = Suit.suitsFromZeroTo(.eighteen)
| |- warning: static property 'allValues' is not concurrency-safe because non-'Sendable' type '[Suit]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'allValues' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | // MARK: Custom Initializer
[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
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
149 | return (suitOne == .invalid || suitTwo == .invalid) ?
150 | -1 : suitOne.rawValue * 10 + suitTwo.rawValue * 1000
[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
28 | }
29 |
30 | public extension MutableCollection where Index == Int, IndexDistance == Int {
| `- warning: 'IndexDistance' is deprecated: all index distances are now of type Int
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 |
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/7] Compiling DominoKit SPM+Random.swift
[3/7] Compiling DominoKit Suit.swift
[4/7] 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/7] 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
28 | }
29 |
30 | public extension MutableCollection where Index == Int, IndexDistance == Int {
| `- warning: 'IndexDistance' is deprecated: all index distances are now of type Int
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
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
149 | return (suitOne == .invalid || suitTwo == .invalid) ?
150 | -1 : suitOne.rawValue * 10 + suitTwo.rawValue * 1000
[6/7] 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
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
149 | return (suitOne == .invalid || suitTwo == .invalid) ?
150 | -1 : suitOne.rawValue * 10 + suitTwo.rawValue * 1000
[7/7] 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
28 | }
29 |
30 | public extension MutableCollection where Index == Int, IndexDistance == Int {
| `- warning: 'IndexDistance' is deprecated: all index distances are now of type Int
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 |
BUILD FAILURE 6.1 macosSpm