Build Information
Successful build of swift-chess-neo, reference master (7a2a98
), with Swift 6.0 for Linux on 30 Nov 2024 22:35:57 UTC.
Swift 6 data race errors: 73
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1
Build Log
20 |
21 | /// A chess piece.
22 | public struct Piece: Hashable, CustomStringConvertible {
| `- note: consider making struct 'Piece' conform to the 'Sendable' protocol
23 |
24 | /// A piece kind.
:
157 |
158 | /// An array of all black pieces.
159 | public static let blackPieces: [Piece] = all.filter({ $0.color.isBlack })
| |- warning: static property 'blackPieces' is not concurrency-safe because non-'Sendable' type '[Piece]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'blackPieces' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
160 |
161 | /// Returns an array of all pieces for `color`.
/host/spi-builder-workspace/Sources/SwiftChessNeo/Piece.swift:140:25: warning: static property '_whiteNonQueens' is not concurrency-safe because non-'Sendable' type '[Piece]' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// A chess piece.
22 | public struct Piece: Hashable, CustomStringConvertible {
| `- note: consider making struct 'Piece' conform to the 'Sendable' protocol
23 |
24 | /// A piece kind.
:
138 | }
139 |
140 | internal static let _whiteNonQueens: [Piece] = whitePieces.filter({ !$0.kind.isQueen })
| |- warning: static property '_whiteNonQueens' is not concurrency-safe because non-'Sendable' type '[Piece]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_whiteNonQueens' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
141 |
142 | internal static let _blackNonQueens: [Piece] = blackPieces.filter({ !$0.kind.isQueen })
/host/spi-builder-workspace/Sources/SwiftChessNeo/Piece.swift:142:25: warning: static property '_blackNonQueens' is not concurrency-safe because non-'Sendable' type '[Piece]' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// A chess piece.
22 | public struct Piece: Hashable, CustomStringConvertible {
| `- note: consider making struct 'Piece' conform to the 'Sendable' protocol
23 |
24 | /// A piece kind.
:
140 | internal static let _whiteNonQueens: [Piece] = whitePieces.filter({ !$0.kind.isQueen })
141 |
142 | internal static let _blackNonQueens: [Piece] = blackPieces.filter({ !$0.kind.isQueen })
| |- warning: static property '_blackNonQueens' is not concurrency-safe because non-'Sendable' type '[Piece]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_blackNonQueens' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
143 |
144 | internal static func _nonQueens(for color: Color) -> [Piece] {
/host/spi-builder-workspace/Sources/SwiftChessNeo/Piece.swift:149:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[Piece]' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// A chess piece.
22 | public struct Piece: Hashable, CustomStringConvertible {
| `- note: consider making struct 'Piece' conform to the 'Sendable' protocol
23 |
24 | /// A piece kind.
:
147 |
148 | /// An array of all pieces.
149 | public static let all: [Piece] = {
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[Piece]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
150 | return [.white, .black].reduce([]) { pieces, color in
151 | return pieces + Kind.all.map({ Piece(kind: $0, color: color) })
[11/20] Compiling SwiftChessNeo Piece.swift
/host/spi-builder-workspace/Sources/SwiftChessNeo/Piece.swift:49:29: warning: static property '_knight' is not concurrency-safe because non-'Sendable' type 'Piece.Kind' may have shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | /// A piece kind.
25 | public enum Kind: Int {
| `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
26 |
27 | /// Pawn piece kind.
:
47 |
48 | /// Knight
49 | internal static let _knight = Kind.knight
| |- warning: static property '_knight' is not concurrency-safe because non-'Sendable' type 'Piece.Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_knight' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 |
51 | /// Bishop
/host/spi-builder-workspace/Sources/SwiftChessNeo/Piece.swift:52:29: warning: static property '_bishop' is not concurrency-safe because non-'Sendable' type 'Piece.Kind' may have shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | /// A piece kind.
25 | public enum Kind: Int {
| `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
26 |
27 | /// Pawn piece kind.
:
50 |
51 | /// Bishop
52 | internal static let _bishop = Kind.bishop
| |- warning: static property '_bishop' is not concurrency-safe because non-'Sendable' type 'Piece.Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_bishop' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 |
54 | /// Rook
/host/spi-builder-workspace/Sources/SwiftChessNeo/Piece.swift:61:29: warning: static property '_king' is not concurrency-safe because non-'Sendable' type 'Piece.Kind' may have shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | /// A piece kind.
25 | public enum Kind: Int {
| `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
26 |
27 | /// Pawn piece kind.
:
59 |
60 | /// King
61 | internal static let _king = Kind.king
| |- warning: static property '_king' is not concurrency-safe because non-'Sendable' type 'Piece.Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_king' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 |
63 | /// An array of all piece kinds.
/host/spi-builder-workspace/Sources/SwiftChessNeo/Piece.swift:58:29: warning: static property '_queen' is not concurrency-safe because non-'Sendable' type 'Piece.Kind' may have shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | /// A piece kind.
25 | public enum Kind: Int {
| `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
26 |
27 | /// Pawn piece kind.
:
56 |
57 | /// Queen
58 | internal static let _queen = Kind.queen
| |- warning: static property '_queen' is not concurrency-safe because non-'Sendable' type 'Piece.Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_queen' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 |
60 | /// King
/host/spi-builder-workspace/Sources/SwiftChessNeo/Piece.swift:55:29: warning: static property '_rook' is not concurrency-safe because non-'Sendable' type 'Piece.Kind' may have shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | /// A piece kind.
25 | public enum Kind: Int {
| `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
26 |
27 | /// Pawn piece kind.
:
53 |
54 | /// Rook
55 | internal static let _rook = Kind.rook
| |- warning: static property '_rook' is not concurrency-safe because non-'Sendable' type 'Piece.Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_rook' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
56 |
57 | /// Queen
/host/spi-builder-workspace/Sources/SwiftChessNeo/Piece.swift:46:29: warning: static property '_pawn' is not concurrency-safe because non-'Sendable' type 'Piece.Kind' may have shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | /// A piece kind.
25 | public enum Kind: Int {
| `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
26 |
27 | /// Pawn piece kind.
:
44 |
45 | /// Pawn
46 | internal static let _pawn = Kind.pawn
| |- warning: static property '_pawn' is not concurrency-safe because non-'Sendable' type 'Piece.Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_pawn' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 |
48 | /// Knight
/host/spi-builder-workspace/Sources/SwiftChessNeo/Piece.swift:64:27: warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[Piece.Kind]' may have shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | /// A piece kind.
25 | public enum Kind: Int {
| `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
26 |
27 | /// Pawn piece kind.
:
62 |
63 | /// An array of all piece kinds.
64 | public static let all: [Kind] = [.pawn, .knight, .bishop, .rook, .queen, .king]
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[Piece.Kind]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 |
66 | /// The piece kind's name.
/host/spi-builder-workspace/Sources/SwiftChessNeo/Piece.swift:156:23: warning: static property 'whitePieces' is not concurrency-safe because non-'Sendable' type '[Piece]' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// A chess piece.
22 | public struct Piece: Hashable, CustomStringConvertible {
| `- note: consider making struct 'Piece' conform to the 'Sendable' protocol
23 |
24 | /// A piece kind.
:
154 |
155 | /// An array of all white pieces.
156 | public static let whitePieces: [Piece] = all.filter({ $0.color.isWhite })
| |- warning: static property 'whitePieces' is not concurrency-safe because non-'Sendable' type '[Piece]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'whitePieces' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
157 |
158 | /// An array of all black pieces.
/host/spi-builder-workspace/Sources/SwiftChessNeo/Piece.swift:159:23: warning: static property 'blackPieces' is not concurrency-safe because non-'Sendable' type '[Piece]' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// A chess piece.
22 | public struct Piece: Hashable, CustomStringConvertible {
| `- note: consider making struct 'Piece' conform to the 'Sendable' protocol
23 |
24 | /// A piece kind.
:
157 |
158 | /// An array of all black pieces.
159 | public static let blackPieces: [Piece] = all.filter({ $0.color.isBlack })
| |- warning: static property 'blackPieces' is not concurrency-safe because non-'Sendable' type '[Piece]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'blackPieces' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
160 |
161 | /// Returns an array of all pieces for `color`.
/host/spi-builder-workspace/Sources/SwiftChessNeo/Piece.swift:140:25: warning: static property '_whiteNonQueens' is not concurrency-safe because non-'Sendable' type '[Piece]' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// A chess piece.
22 | public struct Piece: Hashable, CustomStringConvertible {
| `- note: consider making struct 'Piece' conform to the 'Sendable' protocol
23 |
24 | /// A piece kind.
:
138 | }
139 |
140 | internal static let _whiteNonQueens: [Piece] = whitePieces.filter({ !$0.kind.isQueen })
| |- warning: static property '_whiteNonQueens' is not concurrency-safe because non-'Sendable' type '[Piece]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_whiteNonQueens' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
141 |
142 | internal static let _blackNonQueens: [Piece] = blackPieces.filter({ !$0.kind.isQueen })
/host/spi-builder-workspace/Sources/SwiftChessNeo/Piece.swift:142:25: warning: static property '_blackNonQueens' is not concurrency-safe because non-'Sendable' type '[Piece]' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// A chess piece.
22 | public struct Piece: Hashable, CustomStringConvertible {
| `- note: consider making struct 'Piece' conform to the 'Sendable' protocol
23 |
24 | /// A piece kind.
:
140 | internal static let _whiteNonQueens: [Piece] = whitePieces.filter({ !$0.kind.isQueen })
141 |
142 | internal static let _blackNonQueens: [Piece] = blackPieces.filter({ !$0.kind.isQueen })
| |- warning: static property '_blackNonQueens' is not concurrency-safe because non-'Sendable' type '[Piece]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_blackNonQueens' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
143 |
144 | internal static func _nonQueens(for color: Color) -> [Piece] {
/host/spi-builder-workspace/Sources/SwiftChessNeo/Piece.swift:149:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[Piece]' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// A chess piece.
22 | public struct Piece: Hashable, CustomStringConvertible {
| `- note: consider making struct 'Piece' conform to the 'Sendable' protocol
23 |
24 | /// A piece kind.
:
147 |
148 | /// An array of all pieces.
149 | public static let all: [Piece] = {
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[Piece]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
150 | return [.white, .black].reduce([]) { pieces, color in
151 | return pieces + Kind.all.map({ Piece(kind: $0, color: color) })
[12/20] Compiling SwiftChessNeo Game.swift
/host/spi-builder-workspace/Sources/SwiftChessNeo/Game.swift:35:29: warning: static property '_draw' is not concurrency-safe because non-'Sendable' type 'Game.Outcome' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// A chess game outcome.
26 | public enum Outcome: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Outcome' conform to the 'Sendable' protocol
27 |
28 | /// A win for a `Color`.
:
33 |
34 | /// Draw.
35 | internal static let _draw = Outcome.draw
| |- warning: static property '_draw' is not concurrency-safe because non-'Sendable' type 'Game.Outcome' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_draw' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | /// Win.
/host/spi-builder-workspace/Sources/SwiftChessNeo/CastlingRights.swift:174:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'CastlingRights' may have shared mutable state; this is an error in the Swift 6 language mode
22 | ///
23 | /// Defines whether a `Color` has the right to castle for a `Board.Side`.
24 | public struct CastlingRights: CustomStringConvertible {
| `- note: consider making struct 'CastlingRights' conform to the 'Sendable' protocol
25 |
26 | /// A castling right.
:
172 |
173 | /// All castling rights.
174 | public static let all = CastlingRights(Right.all)
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'CastlingRights' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
175 |
176 | /// White castling rights.
/host/spi-builder-workspace/Sources/SwiftChessNeo/Game.swift:235:14: warning: associated value 'wrongKingCount' of 'Sendable'-conforming enum 'PositionError' has non-sendable type 'Color'; this is an error in the Swift 6 language mode
233 |
234 | /// Found number other than 1 for king count.
235 | case wrongKingCount(Color)
| `- warning: associated value 'wrongKingCount' of 'Sendable'-conforming enum 'PositionError' has non-sendable type 'Color'; this is an error in the Swift 6 language mode
236 |
237 | /// King missing for castling right.
/host/spi-builder-workspace/Sources/SwiftChessNeo/Color.swift:22:13: note: consider making enum 'Color' conform to the 'Sendable' protocol
20 |
21 | /// A chess color.
22 | public enum Color: String, CustomStringConvertible {
| `- note: consider making enum 'Color' conform to the 'Sendable' protocol
23 |
24 | /// White chess color.
/host/spi-builder-workspace/Sources/SwiftChessNeo/Game.swift:238:14: warning: associated value 'missingKing' of 'Sendable'-conforming enum 'PositionError' has non-sendable type 'CastlingRights.Right'; this is an error in the Swift 6 language mode
236 |
237 | /// King missing for castling right.
238 | case missingKing(CastlingRights.Right)
| `- warning: associated value 'missingKing' of 'Sendable'-conforming enum 'PositionError' has non-sendable type 'CastlingRights.Right'; this is an error in the Swift 6 language mode
239 |
240 | /// Rook missing for castling right.
/host/spi-builder-workspace/Sources/SwiftChessNeo/CastlingRights.swift:27:17: note: consider making enum 'Right' conform to the 'Sendable' protocol
25 |
26 | /// A castling right.
27 | public enum Right: String, CustomStringConvertible {
| `- note: consider making enum 'Right' conform to the 'Sendable' protocol
28 |
29 | /// White can castle kingside.
/host/spi-builder-workspace/Sources/SwiftChessNeo/Game.swift:241:14: warning: associated value 'missingRook' of 'Sendable'-conforming enum 'PositionError' has non-sendable type 'CastlingRights.Right'; this is an error in the Swift 6 language mode
239 |
240 | /// Rook missing for castling right.
241 | case missingRook(CastlingRights.Right)
| `- warning: associated value 'missingRook' of 'Sendable'-conforming enum 'PositionError' has non-sendable type 'CastlingRights.Right'; this is an error in the Swift 6 language mode
242 |
243 | /// Wrong rank for en passant target.
/host/spi-builder-workspace/Sources/SwiftChessNeo/CastlingRights.swift:27:17: note: consider making enum 'Right' conform to the 'Sendable' protocol
25 |
26 | /// A castling right.
27 | public enum Right: String, CustomStringConvertible {
| `- note: consider making enum 'Right' conform to the 'Sendable' protocol
28 |
29 | /// White can castle kingside.
/host/spi-builder-workspace/Sources/SwiftChessNeo/Game.swift:244:14: warning: associated value 'wrongEnPassantTargetRank' of 'Sendable'-conforming enum 'PositionError' has non-sendable type 'Rank'; this is an error in the Swift 6 language mode
242 |
243 | /// Wrong rank for en passant target.
244 | case wrongEnPassantTargetRank(Rank)
| `- warning: associated value 'wrongEnPassantTargetRank' of 'Sendable'-conforming enum 'PositionError' has non-sendable type 'Rank'; this is an error in the Swift 6 language mode
245 |
246 | /// Non empty en passant target square.
/host/spi-builder-workspace/Sources/SwiftChessNeo/Rank.swift:24:13: note: consider making enum 'Rank' conform to the 'Sendable' protocol
22 | ///
23 | /// `Rank`s refer to the eight rows of a chess board, beginning with 1 at the bottom and ending with 8 at the top.
24 | public enum Rank: Int, Comparable, CustomStringConvertible {
| `- note: consider making enum 'Rank' conform to the 'Sendable' protocol
25 |
26 | /// A direction in rank.
/host/spi-builder-workspace/Sources/SwiftChessNeo/Game.swift:247:14: warning: associated value 'nonEmptyEnPassantTarget' of 'Sendable'-conforming enum 'PositionError' has non-sendable type 'Square'; this is an error in the Swift 6 language mode
245 |
246 | /// Non empty en passant target square.
247 | case nonEmptyEnPassantTarget(Square, Piece)
| `- warning: associated value 'nonEmptyEnPassantTarget' of 'Sendable'-conforming enum 'PositionError' has non-sendable type 'Square'; this is an error in the Swift 6 language mode
248 |
249 | /// Pawn missing for previous en passant.
/host/spi-builder-workspace/Sources/SwiftChessNeo/Square.swift:27:13: note: consider making enum 'Square' conform to the 'Sendable' protocol
25 | ///
26 | /// A `Square` can be one of sixty-four possible values, ranging from `A1` to `H8`.
27 | public enum Square: Int, CustomStringConvertible {
| `- note: consider making enum 'Square' conform to the 'Sendable' protocol
28 |
29 | /// A1 square.
/host/spi-builder-workspace/Sources/SwiftChessNeo/Game.swift:247:14: warning: associated value 'nonEmptyEnPassantTarget' of 'Sendable'-conforming enum 'PositionError' has non-sendable type 'Piece'; this is an error in the Swift 6 language mode
245 |
246 | /// Non empty en passant target square.
247 | case nonEmptyEnPassantTarget(Square, Piece)
| `- warning: associated value 'nonEmptyEnPassantTarget' of 'Sendable'-conforming enum 'PositionError' has non-sendable type 'Piece'; this is an error in the Swift 6 language mode
248 |
249 | /// Pawn missing for previous en passant.
/host/spi-builder-workspace/Sources/SwiftChessNeo/Piece.swift:22:15: note: consider making struct 'Piece' conform to the 'Sendable' protocol
20 |
21 | /// A chess piece.
22 | public struct Piece: Hashable, CustomStringConvertible {
| `- note: consider making struct 'Piece' conform to the 'Sendable' protocol
23 |
24 | /// A piece kind.
/host/spi-builder-workspace/Sources/SwiftChessNeo/Game.swift:250:14: warning: associated value 'missingEnPassantPawn' of 'Sendable'-conforming enum 'PositionError' has non-sendable type 'Square'; this is an error in the Swift 6 language mode
248 |
249 | /// Pawn missing for previous en passant.
250 | case missingEnPassantPawn(Square)
| `- warning: associated value 'missingEnPassantPawn' of 'Sendable'-conforming enum 'PositionError' has non-sendable type 'Square'; this is an error in the Swift 6 language mode
251 |
252 | /// Piece found at start of en passant move.
/host/spi-builder-workspace/Sources/SwiftChessNeo/Square.swift:27:13: note: consider making enum 'Square' conform to the 'Sendable' protocol
25 | ///
26 | /// A `Square` can be one of sixty-four possible values, ranging from `A1` to `H8`.
27 | public enum Square: Int, CustomStringConvertible {
| `- note: consider making enum 'Square' conform to the 'Sendable' protocol
28 |
29 | /// A1 square.
/host/spi-builder-workspace/Sources/SwiftChessNeo/Game.swift:253:14: warning: associated value 'nonEmptyEnPassantSquare' of 'Sendable'-conforming enum 'PositionError' has non-sendable type 'Square'; this is an error in the Swift 6 language mode
251 |
252 | /// Piece found at start of en passant move.
253 | case nonEmptyEnPassantSquare(Square, Piece)
| `- warning: associated value 'nonEmptyEnPassantSquare' of 'Sendable'-conforming enum 'PositionError' has non-sendable type 'Square'; this is an error in the Swift 6 language mode
254 |
255 | }
/host/spi-builder-workspace/Sources/SwiftChessNeo/Square.swift:27:13: note: consider making enum 'Square' conform to the 'Sendable' protocol
25 | ///
26 | /// A `Square` can be one of sixty-four possible values, ranging from `A1` to `H8`.
27 | public enum Square: Int, CustomStringConvertible {
| `- note: consider making enum 'Square' conform to the 'Sendable' protocol
28 |
29 | /// A1 square.
/host/spi-builder-workspace/Sources/SwiftChessNeo/Game.swift:253:14: warning: associated value 'nonEmptyEnPassantSquare' of 'Sendable'-conforming enum 'PositionError' has non-sendable type 'Piece'; this is an error in the Swift 6 language mode
251 |
252 | /// Piece found at start of en passant move.
253 | case nonEmptyEnPassantSquare(Square, Piece)
| `- warning: associated value 'nonEmptyEnPassantSquare' of 'Sendable'-conforming enum 'PositionError' has non-sendable type 'Piece'; this is an error in the Swift 6 language mode
254 |
255 | }
/host/spi-builder-workspace/Sources/SwiftChessNeo/Piece.swift:22:15: note: consider making struct 'Piece' conform to the 'Sendable' protocol
20 |
21 | /// A chess piece.
22 | public struct Piece: Hashable, CustomStringConvertible {
| `- note: consider making struct 'Piece' conform to the 'Sendable' protocol
23 |
24 | /// A piece kind.
/host/spi-builder-workspace/Sources/SwiftChessNeo/Game.swift:263:14: warning: associated value 'missingPiece' of 'Sendable'-conforming enum 'ExecutionError' has non-sendable type 'Square'; this is an error in the Swift 6 language mode
261 |
262 | /// Missing piece at a square.
263 | case missingPiece(Square)
| `- warning: associated value 'missingPiece' of 'Sendable'-conforming enum 'ExecutionError' has non-sendable type 'Square'; this is an error in the Swift 6 language mode
264 |
265 | /// Attempted illegal move.
/host/spi-builder-workspace/Sources/SwiftChessNeo/Square.swift:27:13: note: consider making enum 'Square' conform to the 'Sendable' protocol
25 | ///
26 | /// A `Square` can be one of sixty-four possible values, ranging from `A1` to `H8`.
27 | public enum Square: Int, CustomStringConvertible {
| `- note: consider making enum 'Square' conform to the 'Sendable' protocol
28 |
29 | /// A1 square.
/host/spi-builder-workspace/Sources/SwiftChessNeo/Game.swift:266:14: warning: associated value 'illegalMove' of 'Sendable'-conforming enum 'ExecutionError' has non-sendable type 'Move'; this is an error in the Swift 6 language mode
264 |
265 | /// Attempted illegal move.
266 | case illegalMove(Move, Color, Board)
| `- warning: associated value 'illegalMove' of 'Sendable'-conforming enum 'ExecutionError' has non-sendable type 'Move'; this is an error in the Swift 6 language mode
267 |
268 | /// Could not promote with a piece kind.
/host/spi-builder-workspace/Sources/SwiftChessNeo/Move.swift:22:15: note: consider making struct 'Move' conform to the 'Sendable' protocol
20 |
21 | /// A chess move from a start `Square` to an end `Square`.
22 | public struct Move: Hashable, CustomStringConvertible {
| `- note: consider making struct 'Move' conform to the 'Sendable' protocol
23 |
24 | /// The move's start square.
/host/spi-builder-workspace/Sources/SwiftChessNeo/Game.swift:266:14: warning: associated value 'illegalMove' of 'Sendable'-conforming enum 'ExecutionError' has non-sendable type 'Color'; this is an error in the Swift 6 language mode
264 |
265 | /// Attempted illegal move.
266 | case illegalMove(Move, Color, Board)
| `- warning: associated value 'illegalMove' of 'Sendable'-conforming enum 'ExecutionError' has non-sendable type 'Color'; this is an error in the Swift 6 language mode
267 |
268 | /// Could not promote with a piece kind.
/host/spi-builder-workspace/Sources/SwiftChessNeo/Color.swift:22:13: note: consider making enum 'Color' conform to the 'Sendable' protocol
20 |
21 | /// A chess color.
22 | public enum Color: String, CustomStringConvertible {
| `- note: consider making enum 'Color' conform to the 'Sendable' protocol
23 |
24 | /// White chess color.
/host/spi-builder-workspace/Sources/SwiftChessNeo/Game.swift:266:14: warning: associated value 'illegalMove' of 'Sendable'-conforming enum 'ExecutionError' has non-sendable type 'Board'; this is an error in the Swift 6 language mode
264 |
265 | /// Attempted illegal move.
266 | case illegalMove(Move, Color, Board)
| `- warning: associated value 'illegalMove' of 'Sendable'-conforming enum 'ExecutionError' has non-sendable type 'Board'; this is an error in the Swift 6 language mode
267 |
268 | /// Could not promote with a piece kind.
/host/spi-builder-workspace/Sources/SwiftChessNeo/Board.swift:30:15: note: consider making struct 'Board' conform to the 'Sendable' protocol
28 | ///
29 | /// Pieces map to separate instances of `Bitboard` which can be retrieved with `bitboard(for:)`.
30 | public struct Board: Hashable, CustomStringConvertible {
| `- note: consider making struct 'Board' conform to the 'Sendable' protocol
31 |
32 | /// A chess board space.
/host/spi-builder-workspace/Sources/SwiftChessNeo/Game.swift:269:14: warning: associated value 'invalidPromotion' of 'Sendable'-conforming enum 'ExecutionError' has non-sendable type 'Piece.Kind'; this is an error in the Swift 6 language mode
267 |
268 | /// Could not promote with a piece kind.
269 | case invalidPromotion(Piece.Kind)
| `- warning: associated value 'invalidPromotion' of 'Sendable'-conforming enum 'ExecutionError' has non-sendable type 'Piece.Kind'; this is an error in the Swift 6 language mode
270 |
271 | /// The error message.
/host/spi-builder-workspace/Sources/SwiftChessNeo/Piece.swift:25:17: note: consider making enum 'Kind' conform to the 'Sendable' protocol
23 |
24 | /// A piece kind.
25 | public enum Kind: Int {
| `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
26 |
27 | /// Pawn piece kind.
/host/spi-builder-workspace/Sources/SwiftChessNeo/Color.swift:37:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[Color]' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// A chess color.
22 | public enum Color: String, CustomStringConvertible {
| `- note: consider making enum 'Color' conform to the 'Sendable' protocol
23 |
24 | /// White chess color.
:
35 |
36 | /// An array of all colors.
37 | public static let all: [Color] = [.white, .black]
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[Color]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 |
39 | /// Whether the color is white or not.
/host/spi-builder-workspace/Sources/SwiftChessNeo/File.swift:83:25: warning: static property '_h' is not concurrency-safe because non-'Sendable' type 'File' may have shared mutable state; this is an error in the Swift 6 language mode
22 | ///
23 | /// Files refer to the eight columns of a chess board, beginning with A and ending with H from left to right.
24 | public enum File: Int, Comparable, CustomStringConvertible {
| `- note: consider making enum 'File' conform to the 'Sendable' protocol
25 |
26 | /// A direction in file.
:
81 |
82 | /// H regardless of Swift version.
83 | internal static let _h = File.h
| |- warning: static property '_h' is not concurrency-safe because non-'Sendable' type 'File' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_h' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 |
85 | }
/host/spi-builder-workspace/Sources/SwiftChessNeo/File.swift:62:25: warning: static property '_a' is not concurrency-safe because non-'Sendable' type 'File' may have shared mutable state; this is an error in the Swift 6 language mode
22 | ///
23 | /// Files refer to the eight columns of a chess board, beginning with A and ending with H from left to right.
24 | public enum File: Int, Comparable, CustomStringConvertible {
| `- note: consider making enum 'File' conform to the 'Sendable' protocol
25 |
26 | /// A direction in file.
:
60 |
61 | /// A regardless of Swift version.
62 | internal static let _a = File.a
| |- warning: static property '_a' is not concurrency-safe because non-'Sendable' type 'File' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_a' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 |
64 | /// B regardless of Swift version.
/host/spi-builder-workspace/Sources/SwiftChessNeo/Piece.swift:58:29: warning: static property '_queen' is not concurrency-safe because non-'Sendable' type 'Piece.Kind' may have shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | /// A piece kind.
25 | public enum Kind: Int {
| `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
26 |
27 | /// Pawn piece kind.
:
56 |
57 | /// Queen
58 | internal static let _queen = Kind.queen
| |- warning: static property '_queen' is not concurrency-safe because non-'Sendable' type 'Piece.Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_queen' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 |
60 | /// King
/host/spi-builder-workspace/Sources/SwiftChessNeo/Square.swift:226:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[Square]' may have shared mutable state; this is an error in the Swift 6 language mode
25 | ///
26 | /// A `Square` can be one of sixty-four possible values, ranging from `A1` to `H8`.
27 | public enum Square: Int, CustomStringConvertible {
| `- note: consider making enum 'Square' conform to the 'Sendable' protocol
28 |
29 | /// A1 square.
:
224 |
225 | /// An array of all squares.
226 | public static let all: [Square] = (0 ..< 64).compactMap(Square.init(rawValue:))
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[Square]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
227 |
228 | /// The file of `self`.
[13/20] Compiling SwiftChessNeo InternalTypes.swift
/host/spi-builder-workspace/Sources/SwiftChessNeo/Game.swift:35:29: warning: static property '_draw' is not concurrency-safe because non-'Sendable' type 'Game.Outcome' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// A chess game outcome.
26 | public enum Outcome: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Outcome' conform to the 'Sendable' protocol
27 |
28 | /// A win for a `Color`.
:
33 |
34 | /// Draw.
35 | internal static let _draw = Outcome.draw
| |- warning: static property '_draw' is not concurrency-safe because non-'Sendable' type 'Game.Outcome' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_draw' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | /// Win.
/host/spi-builder-workspace/Sources/SwiftChessNeo/CastlingRights.swift:174:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'CastlingRights' may have shared mutable state; this is an error in the Swift 6 language mode
22 | ///
23 | /// Defines whether a `Color` has the right to castle for a `Board.Side`.
24 | public struct CastlingRights: CustomStringConvertible {
| `- note: consider making struct 'CastlingRights' conform to the 'Sendable' protocol
25 |
26 | /// A castling right.
:
172 |
173 | /// All castling rights.
174 | public static let all = CastlingRights(Right.all)
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'CastlingRights' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
175 |
176 | /// White castling rights.
/host/spi-builder-workspace/Sources/SwiftChessNeo/Game.swift:235:14: warning: associated value 'wrongKingCount' of 'Sendable'-conforming enum 'PositionError' has non-sendable type 'Color'; this is an error in the Swift 6 language mode
233 |
234 | /// Found number other than 1 for king count.
235 | case wrongKingCount(Color)
| `- warning: associated value 'wrongKingCount' of 'Sendable'-conforming enum 'PositionError' has non-sendable type 'Color'; this is an error in the Swift 6 language mode
236 |
237 | /// King missing for castling right.
/host/spi-builder-workspace/Sources/SwiftChessNeo/Color.swift:22:13: note: consider making enum 'Color' conform to the 'Sendable' protocol
20 |
21 | /// A chess color.
22 | public enum Color: String, CustomStringConvertible {
| `- note: consider making enum 'Color' conform to the 'Sendable' protocol
23 |
24 | /// White chess color.
/host/spi-builder-workspace/Sources/SwiftChessNeo/Game.swift:238:14: warning: associated value 'missingKing' of 'Sendable'-conforming enum 'PositionError' has non-sendable type 'CastlingRights.Right'; this is an error in the Swift 6 language mode
236 |
237 | /// King missing for castling right.
238 | case missingKing(CastlingRights.Right)
| `- warning: associated value 'missingKing' of 'Sendable'-conforming enum 'PositionError' has non-sendable type 'CastlingRights.Right'; this is an error in the Swift 6 language mode
239 |
240 | /// Rook missing for castling right.
/host/spi-builder-workspace/Sources/SwiftChessNeo/CastlingRights.swift:27:17: note: consider making enum 'Right' conform to the 'Sendable' protocol
25 |
26 | /// A castling right.
27 | public enum Right: String, CustomStringConvertible {
| `- note: consider making enum 'Right' conform to the 'Sendable' protocol
28 |
29 | /// White can castle kingside.
/host/spi-builder-workspace/Sources/SwiftChessNeo/Game.swift:241:14: warning: associated value 'missingRook' of 'Sendable'-conforming enum 'PositionError' has non-sendable type 'CastlingRights.Right'; this is an error in the Swift 6 language mode
239 |
240 | /// Rook missing for castling right.
241 | case missingRook(CastlingRights.Right)
| `- warning: associated value 'missingRook' of 'Sendable'-conforming enum 'PositionError' has non-sendable type 'CastlingRights.Right'; this is an error in the Swift 6 language mode
242 |
243 | /// Wrong rank for en passant target.
/host/spi-builder-workspace/Sources/SwiftChessNeo/CastlingRights.swift:27:17: note: consider making enum 'Right' conform to the 'Sendable' protocol
25 |
26 | /// A castling right.
27 | public enum Right: String, CustomStringConvertible {
| `- note: consider making enum 'Right' conform to the 'Sendable' protocol
28 |
29 | /// White can castle kingside.
/host/spi-builder-workspace/Sources/SwiftChessNeo/Game.swift:244:14: warning: associated value 'wrongEnPassantTargetRank' of 'Sendable'-conforming enum 'PositionError' has non-sendable type 'Rank'; this is an error in the Swift 6 language mode
242 |
243 | /// Wrong rank for en passant target.
244 | case wrongEnPassantTargetRank(Rank)
| `- warning: associated value 'wrongEnPassantTargetRank' of 'Sendable'-conforming enum 'PositionError' has non-sendable type 'Rank'; this is an error in the Swift 6 language mode
245 |
246 | /// Non empty en passant target square.
/host/spi-builder-workspace/Sources/SwiftChessNeo/Rank.swift:24:13: note: consider making enum 'Rank' conform to the 'Sendable' protocol
22 | ///
23 | /// `Rank`s refer to the eight rows of a chess board, beginning with 1 at the bottom and ending with 8 at the top.
24 | public enum Rank: Int, Comparable, CustomStringConvertible {
| `- note: consider making enum 'Rank' conform to the 'Sendable' protocol
25 |
26 | /// A direction in rank.
/host/spi-builder-workspace/Sources/SwiftChessNeo/Game.swift:247:14: warning: associated value 'nonEmptyEnPassantTarget' of 'Sendable'-conforming enum 'PositionError' has non-sendable type 'Square'; this is an error in the Swift 6 language mode
245 |
246 | /// Non empty en passant target square.
247 | case nonEmptyEnPassantTarget(Square, Piece)
| `- warning: associated value 'nonEmptyEnPassantTarget' of 'Sendable'-conforming enum 'PositionError' has non-sendable type 'Square'; this is an error in the Swift 6 language mode
248 |
249 | /// Pawn missing for previous en passant.
/host/spi-builder-workspace/Sources/SwiftChessNeo/Square.swift:27:13: note: consider making enum 'Square' conform to the 'Sendable' protocol
25 | ///
26 | /// A `Square` can be one of sixty-four possible values, ranging from `A1` to `H8`.
27 | public enum Square: Int, CustomStringConvertible {
| `- note: consider making enum 'Square' conform to the 'Sendable' protocol
28 |
29 | /// A1 square.
/host/spi-builder-workspace/Sources/SwiftChessNeo/Game.swift:247:14: warning: associated value 'nonEmptyEnPassantTarget' of 'Sendable'-conforming enum 'PositionError' has non-sendable type 'Piece'; this is an error in the Swift 6 language mode
245 |
246 | /// Non empty en passant target square.
247 | case nonEmptyEnPassantTarget(Square, Piece)
| `- warning: associated value 'nonEmptyEnPassantTarget' of 'Sendable'-conforming enum 'PositionError' has non-sendable type 'Piece'; this is an error in the Swift 6 language mode
248 |
249 | /// Pawn missing for previous en passant.
/host/spi-builder-workspace/Sources/SwiftChessNeo/Piece.swift:22:15: note: consider making struct 'Piece' conform to the 'Sendable' protocol
20 |
21 | /// A chess piece.
22 | public struct Piece: Hashable, CustomStringConvertible {
| `- note: consider making struct 'Piece' conform to the 'Sendable' protocol
23 |
24 | /// A piece kind.
/host/spi-builder-workspace/Sources/SwiftChessNeo/Game.swift:250:14: warning: associated value 'missingEnPassantPawn' of 'Sendable'-conforming enum 'PositionError' has non-sendable type 'Square'; this is an error in the Swift 6 language mode
248 |
249 | /// Pawn missing for previous en passant.
250 | case missingEnPassantPawn(Square)
| `- warning: associated value 'missingEnPassantPawn' of 'Sendable'-conforming enum 'PositionError' has non-sendable type 'Square'; this is an error in the Swift 6 language mode
251 |
252 | /// Piece found at start of en passant move.
/host/spi-builder-workspace/Sources/SwiftChessNeo/Square.swift:27:13: note: consider making enum 'Square' conform to the 'Sendable' protocol
25 | ///
26 | /// A `Square` can be one of sixty-four possible values, ranging from `A1` to `H8`.
27 | public enum Square: Int, CustomStringConvertible {
| `- note: consider making enum 'Square' conform to the 'Sendable' protocol
28 |
29 | /// A1 square.
/host/spi-builder-workspace/Sources/SwiftChessNeo/Game.swift:253:14: warning: associated value 'nonEmptyEnPassantSquare' of 'Sendable'-conforming enum 'PositionError' has non-sendable type 'Square'; this is an error in the Swift 6 language mode
251 |
252 | /// Piece found at start of en passant move.
253 | case nonEmptyEnPassantSquare(Square, Piece)
| `- warning: associated value 'nonEmptyEnPassantSquare' of 'Sendable'-conforming enum 'PositionError' has non-sendable type 'Square'; this is an error in the Swift 6 language mode
254 |
255 | }
/host/spi-builder-workspace/Sources/SwiftChessNeo/Square.swift:27:13: note: consider making enum 'Square' conform to the 'Sendable' protocol
25 | ///
26 | /// A `Square` can be one of sixty-four possible values, ranging from `A1` to `H8`.
27 | public enum Square: Int, CustomStringConvertible {
| `- note: consider making enum 'Square' conform to the 'Sendable' protocol
28 |
29 | /// A1 square.
/host/spi-builder-workspace/Sources/SwiftChessNeo/Game.swift:253:14: warning: associated value 'nonEmptyEnPassantSquare' of 'Sendable'-conforming enum 'PositionError' has non-sendable type 'Piece'; this is an error in the Swift 6 language mode
251 |
252 | /// Piece found at start of en passant move.
253 | case nonEmptyEnPassantSquare(Square, Piece)
| `- warning: associated value 'nonEmptyEnPassantSquare' of 'Sendable'-conforming enum 'PositionError' has non-sendable type 'Piece'; this is an error in the Swift 6 language mode
254 |
255 | }
/host/spi-builder-workspace/Sources/SwiftChessNeo/Piece.swift:22:15: note: consider making struct 'Piece' conform to the 'Sendable' protocol
20 |
21 | /// A chess piece.
22 | public struct Piece: Hashable, CustomStringConvertible {
| `- note: consider making struct 'Piece' conform to the 'Sendable' protocol
23 |
24 | /// A piece kind.
/host/spi-builder-workspace/Sources/SwiftChessNeo/Game.swift:263:14: warning: associated value 'missingPiece' of 'Sendable'-conforming enum 'ExecutionError' has non-sendable type 'Square'; this is an error in the Swift 6 language mode
261 |
262 | /// Missing piece at a square.
263 | case missingPiece(Square)
| `- warning: associated value 'missingPiece' of 'Sendable'-conforming enum 'ExecutionError' has non-sendable type 'Square'; this is an error in the Swift 6 language mode
264 |
265 | /// Attempted illegal move.
/host/spi-builder-workspace/Sources/SwiftChessNeo/Square.swift:27:13: note: consider making enum 'Square' conform to the 'Sendable' protocol
25 | ///
26 | /// A `Square` can be one of sixty-four possible values, ranging from `A1` to `H8`.
27 | public enum Square: Int, CustomStringConvertible {
| `- note: consider making enum 'Square' conform to the 'Sendable' protocol
28 |
29 | /// A1 square.
/host/spi-builder-workspace/Sources/SwiftChessNeo/Game.swift:266:14: warning: associated value 'illegalMove' of 'Sendable'-conforming enum 'ExecutionError' has non-sendable type 'Move'; this is an error in the Swift 6 language mode
264 |
265 | /// Attempted illegal move.
266 | case illegalMove(Move, Color, Board)
| `- warning: associated value 'illegalMove' of 'Sendable'-conforming enum 'ExecutionError' has non-sendable type 'Move'; this is an error in the Swift 6 language mode
267 |
268 | /// Could not promote with a piece kind.
/host/spi-builder-workspace/Sources/SwiftChessNeo/Move.swift:22:15: note: consider making struct 'Move' conform to the 'Sendable' protocol
20 |
21 | /// A chess move from a start `Square` to an end `Square`.
22 | public struct Move: Hashable, CustomStringConvertible {
| `- note: consider making struct 'Move' conform to the 'Sendable' protocol
23 |
24 | /// The move's start square.
/host/spi-builder-workspace/Sources/SwiftChessNeo/Game.swift:266:14: warning: associated value 'illegalMove' of 'Sendable'-conforming enum 'ExecutionError' has non-sendable type 'Color'; this is an error in the Swift 6 language mode
264 |
265 | /// Attempted illegal move.
266 | case illegalMove(Move, Color, Board)
| `- warning: associated value 'illegalMove' of 'Sendable'-conforming enum 'ExecutionError' has non-sendable type 'Color'; this is an error in the Swift 6 language mode
267 |
268 | /// Could not promote with a piece kind.
/host/spi-builder-workspace/Sources/SwiftChessNeo/Color.swift:22:13: note: consider making enum 'Color' conform to the 'Sendable' protocol
20 |
21 | /// A chess color.
22 | public enum Color: String, CustomStringConvertible {
| `- note: consider making enum 'Color' conform to the 'Sendable' protocol
23 |
24 | /// White chess color.
/host/spi-builder-workspace/Sources/SwiftChessNeo/Game.swift:266:14: warning: associated value 'illegalMove' of 'Sendable'-conforming enum 'ExecutionError' has non-sendable type 'Board'; this is an error in the Swift 6 language mode
264 |
265 | /// Attempted illegal move.
266 | case illegalMove(Move, Color, Board)
| `- warning: associated value 'illegalMove' of 'Sendable'-conforming enum 'ExecutionError' has non-sendable type 'Board'; this is an error in the Swift 6 language mode
267 |
268 | /// Could not promote with a piece kind.
/host/spi-builder-workspace/Sources/SwiftChessNeo/Board.swift:30:15: note: consider making struct 'Board' conform to the 'Sendable' protocol
28 | ///
29 | /// Pieces map to separate instances of `Bitboard` which can be retrieved with `bitboard(for:)`.
30 | public struct Board: Hashable, CustomStringConvertible {
| `- note: consider making struct 'Board' conform to the 'Sendable' protocol
31 |
32 | /// A chess board space.
/host/spi-builder-workspace/Sources/SwiftChessNeo/Game.swift:269:14: warning: associated value 'invalidPromotion' of 'Sendable'-conforming enum 'ExecutionError' has non-sendable type 'Piece.Kind'; this is an error in the Swift 6 language mode
267 |
268 | /// Could not promote with a piece kind.
269 | case invalidPromotion(Piece.Kind)
| `- warning: associated value 'invalidPromotion' of 'Sendable'-conforming enum 'ExecutionError' has non-sendable type 'Piece.Kind'; this is an error in the Swift 6 language mode
270 |
271 | /// The error message.
/host/spi-builder-workspace/Sources/SwiftChessNeo/Piece.swift:25:17: note: consider making enum 'Kind' conform to the 'Sendable' protocol
23 |
24 | /// A piece kind.
25 | public enum Kind: Int {
| `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
26 |
27 | /// Pawn piece kind.
/host/spi-builder-workspace/Sources/SwiftChessNeo/Color.swift:37:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[Color]' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// A chess color.
22 | public enum Color: String, CustomStringConvertible {
| `- note: consider making enum 'Color' conform to the 'Sendable' protocol
23 |
24 | /// White chess color.
:
35 |
36 | /// An array of all colors.
37 | public static let all: [Color] = [.white, .black]
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[Color]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 |
39 | /// Whether the color is white or not.
/host/spi-builder-workspace/Sources/SwiftChessNeo/File.swift:83:25: warning: static property '_h' is not concurrency-safe because non-'Sendable' type 'File' may have shared mutable state; this is an error in the Swift 6 language mode
22 | ///
23 | /// Files refer to the eight columns of a chess board, beginning with A and ending with H from left to right.
24 | public enum File: Int, Comparable, CustomStringConvertible {
| `- note: consider making enum 'File' conform to the 'Sendable' protocol
25 |
26 | /// A direction in file.
:
81 |
82 | /// H regardless of Swift version.
83 | internal static let _h = File.h
| |- warning: static property '_h' is not concurrency-safe because non-'Sendable' type 'File' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_h' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 |
85 | }
/host/spi-builder-workspace/Sources/SwiftChessNeo/File.swift:62:25: warning: static property '_a' is not concurrency-safe because non-'Sendable' type 'File' may have shared mutable state; this is an error in the Swift 6 language mode
22 | ///
23 | /// Files refer to the eight columns of a chess board, beginning with A and ending with H from left to right.
24 | public enum File: Int, Comparable, CustomStringConvertible {
| `- note: consider making enum 'File' conform to the 'Sendable' protocol
25 |
26 | /// A direction in file.
:
60 |
61 | /// A regardless of Swift version.
62 | internal static let _a = File.a
| |- warning: static property '_a' is not concurrency-safe because non-'Sendable' type 'File' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_a' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 |
64 | /// B regardless of Swift version.
/host/spi-builder-workspace/Sources/SwiftChessNeo/Piece.swift:58:29: warning: static property '_queen' is not concurrency-safe because non-'Sendable' type 'Piece.Kind' may have shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | /// A piece kind.
25 | public enum Kind: Int {
| `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
26 |
27 | /// Pawn piece kind.
:
56 |
57 | /// Queen
58 | internal static let _queen = Kind.queen
| |- warning: static property '_queen' is not concurrency-safe because non-'Sendable' type 'Piece.Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_queen' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 |
60 | /// King
/host/spi-builder-workspace/Sources/SwiftChessNeo/Square.swift:226:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[Square]' may have shared mutable state; this is an error in the Swift 6 language mode
25 | ///
26 | /// A `Square` can be one of sixty-four possible values, ranging from `A1` to `H8`.
27 | public enum Square: Int, CustomStringConvertible {
| `- note: consider making enum 'Square' conform to the 'Sendable' protocol
28 |
29 | /// A1 square.
:
224 |
225 | /// An array of all squares.
226 | public static let all: [Square] = (0 ..< 64).compactMap(Square.init(rawValue:))
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[Square]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
227 |
228 | /// The file of `self`.
[14/20] Compiling SwiftChessNeo Color.swift
/host/spi-builder-workspace/Sources/SwiftChessNeo/Color.swift:31:25: warning: static property '_white' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// A chess color.
22 | public enum Color: String, CustomStringConvertible {
| `- note: consider making enum 'Color' conform to the 'Sendable' protocol
23 |
24 | /// White chess color.
:
29 |
30 | /// White color regardless of Swift version.
31 | internal static let _white = Color.white
| |- warning: static property '_white' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_white' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | /// Black color regardless of Swift version.
/host/spi-builder-workspace/Sources/SwiftChessNeo/Color.swift:34:25: warning: static property '_black' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// A chess color.
22 | public enum Color: String, CustomStringConvertible {
| `- note: consider making enum 'Color' conform to the 'Sendable' protocol
23 |
24 | /// White chess color.
:
32 |
33 | /// Black color regardless of Swift version.
34 | internal static let _black = Color.black
| |- warning: static property '_black' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_black' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | /// An array of all colors.
/host/spi-builder-workspace/Sources/SwiftChessNeo/Color.swift:37:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[Color]' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// A chess color.
22 | public enum Color: String, CustomStringConvertible {
| `- note: consider making enum 'Color' conform to the 'Sendable' protocol
23 |
24 | /// White chess color.
:
35 |
36 | /// An array of all colors.
37 | public static let all: [Color] = [.white, .black]
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[Color]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 |
39 | /// Whether the color is white or not.
/host/spi-builder-workspace/Sources/SwiftChessNeo/File.swift:62:25: warning: static property '_a' is not concurrency-safe because non-'Sendable' type 'File' may have shared mutable state; this is an error in the Swift 6 language mode
22 | ///
23 | /// Files refer to the eight columns of a chess board, beginning with A and ending with H from left to right.
24 | public enum File: Int, Comparable, CustomStringConvertible {
| `- note: consider making enum 'File' conform to the 'Sendable' protocol
25 |
26 | /// A direction in file.
:
60 |
61 | /// A regardless of Swift version.
62 | internal static let _a = File.a
| |- warning: static property '_a' is not concurrency-safe because non-'Sendable' type 'File' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_a' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 |
64 | /// B regardless of Swift version.
/host/spi-builder-workspace/Sources/SwiftChessNeo/File.swift:65:25: warning: static property '_b' is not concurrency-safe because non-'Sendable' type 'File' may have shared mutable state; this is an error in the Swift 6 language mode
22 | ///
23 | /// Files refer to the eight columns of a chess board, beginning with A and ending with H from left to right.
24 | public enum File: Int, Comparable, CustomStringConvertible {
| `- note: consider making enum 'File' conform to the 'Sendable' protocol
25 |
26 | /// A direction in file.
:
63 |
64 | /// B regardless of Swift version.
65 | internal static let _b = File.b
| |- warning: static property '_b' is not concurrency-safe because non-'Sendable' type 'File' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_b' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 |
67 | /// C regardless of Swift version.
/host/spi-builder-workspace/Sources/SwiftChessNeo/File.swift:68:25: warning: static property '_c' is not concurrency-safe because non-'Sendable' type 'File' may have shared mutable state; this is an error in the Swift 6 language mode
22 | ///
23 | /// Files refer to the eight columns of a chess board, beginning with A and ending with H from left to right.
24 | public enum File: Int, Comparable, CustomStringConvertible {
| `- note: consider making enum 'File' conform to the 'Sendable' protocol
25 |
26 | /// A direction in file.
:
66 |
67 | /// C regardless of Swift version.
68 | internal static let _c = File.c
| |- warning: static property '_c' is not concurrency-safe because non-'Sendable' type 'File' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_c' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 |
70 | /// D regardless of Swift version.
/host/spi-builder-workspace/Sources/SwiftChessNeo/File.swift:71:25: warning: static property '_d' is not concurrency-safe because non-'Sendable' type 'File' may have shared mutable state; this is an error in the Swift 6 language mode
22 | ///
23 | /// Files refer to the eight columns of a chess board, beginning with A and ending with H from left to right.
24 | public enum File: Int, Comparable, CustomStringConvertible {
| `- note: consider making enum 'File' conform to the 'Sendable' protocol
25 |
26 | /// A direction in file.
:
69 |
70 | /// D regardless of Swift version.
71 | internal static let _d = File.d
| |- warning: static property '_d' is not concurrency-safe because non-'Sendable' type 'File' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_d' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
72 |
73 | /// E regardless of Swift version.
/host/spi-builder-workspace/Sources/SwiftChessNeo/File.swift:74:25: warning: static property '_e' is not concurrency-safe because non-'Sendable' type 'File' may have shared mutable state; this is an error in the Swift 6 language mode
22 | ///
23 | /// Files refer to the eight columns of a chess board, beginning with A and ending with H from left to right.
24 | public enum File: Int, Comparable, CustomStringConvertible {
| `- note: consider making enum 'File' conform to the 'Sendable' protocol
25 |
26 | /// A direction in file.
:
72 |
73 | /// E regardless of Swift version.
74 | internal static let _e = File.e
| |- warning: static property '_e' is not concurrency-safe because non-'Sendable' type 'File' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_e' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 |
76 | /// F regardless of Swift version.
/host/spi-builder-workspace/Sources/SwiftChessNeo/File.swift:77:25: warning: static property '_f' is not concurrency-safe because non-'Sendable' type 'File' may have shared mutable state; this is an error in the Swift 6 language mode
22 | ///
23 | /// Files refer to the eight columns of a chess board, beginning with A and ending with H from left to right.
24 | public enum File: Int, Comparable, CustomStringConvertible {
| `- note: consider making enum 'File' conform to the 'Sendable' protocol
25 |
26 | /// A direction in file.
:
75 |
76 | /// F regardless of Swift version.
77 | internal static let _f = File.f
| |- warning: static property '_f' is not concurrency-safe because non-'Sendable' type 'File' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_f' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 |
79 | /// G regardless of Swift version.
/host/spi-builder-workspace/Sources/SwiftChessNeo/File.swift:80:25: warning: static property '_g' is not concurrency-safe because non-'Sendable' type 'File' may have shared mutable state; this is an error in the Swift 6 language mode
22 | ///
23 | /// Files refer to the eight columns of a chess board, beginning with A and ending with H from left to right.
24 | public enum File: Int, Comparable, CustomStringConvertible {
| `- note: consider making enum 'File' conform to the 'Sendable' protocol
25 |
26 | /// A direction in file.
:
78 |
79 | /// G regardless of Swift version.
80 | internal static let _g = File.g
| |- warning: static property '_g' is not concurrency-safe because non-'Sendable' type 'File' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_g' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
81 |
82 | /// H regardless of Swift version.
/host/spi-builder-workspace/Sources/SwiftChessNeo/File.swift:83:25: warning: static property '_h' is not concurrency-safe because non-'Sendable' type 'File' may have shared mutable state; this is an error in the Swift 6 language mode
22 | ///
23 | /// Files refer to the eight columns of a chess board, beginning with A and ending with H from left to right.
24 | public enum File: Int, Comparable, CustomStringConvertible {
| `- note: consider making enum 'File' conform to the 'Sendable' protocol
25 |
26 | /// A direction in file.
:
81 |
82 | /// H regardless of Swift version.
83 | internal static let _h = File.h
| |- warning: static property '_h' is not concurrency-safe because non-'Sendable' type 'File' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_h' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 |
85 | }
/host/spi-builder-workspace/Sources/SwiftChessNeo/File.swift:90:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[File]' may have shared mutable state; this is an error in the Swift 6 language mode
22 | ///
23 | /// Files refer to the eight columns of a chess board, beginning with A and ending with H from left to right.
24 | public enum File: Int, Comparable, CustomStringConvertible {
| `- note: consider making enum 'File' conform to the 'Sendable' protocol
25 |
26 | /// A direction in file.
:
88 |
89 | /// An array of all files.
90 | public static let all: [File] = [.a, .b, .c, .d, .e, .f, .g, .h]
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[File]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 |
92 | /// The column index of `self`.
[15/20] Compiling SwiftChessNeo File.swift
/host/spi-builder-workspace/Sources/SwiftChessNeo/Color.swift:31:25: warning: static property '_white' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// A chess color.
22 | public enum Color: String, CustomStringConvertible {
| `- note: consider making enum 'Color' conform to the 'Sendable' protocol
23 |
24 | /// White chess color.
:
29 |
30 | /// White color regardless of Swift version.
31 | internal static let _white = Color.white
| |- warning: static property '_white' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_white' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | /// Black color regardless of Swift version.
/host/spi-builder-workspace/Sources/SwiftChessNeo/Color.swift:34:25: warning: static property '_black' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// A chess color.
22 | public enum Color: String, CustomStringConvertible {
| `- note: consider making enum 'Color' conform to the 'Sendable' protocol
23 |
24 | /// White chess color.
:
32 |
33 | /// Black color regardless of Swift version.
34 | internal static let _black = Color.black
| |- warning: static property '_black' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_black' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | /// An array of all colors.
/host/spi-builder-workspace/Sources/SwiftChessNeo/Color.swift:37:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[Color]' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// A chess color.
22 | public enum Color: String, CustomStringConvertible {
| `- note: consider making enum 'Color' conform to the 'Sendable' protocol
23 |
24 | /// White chess color.
:
35 |
36 | /// An array of all colors.
37 | public static let all: [Color] = [.white, .black]
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[Color]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 |
39 | /// Whether the color is white or not.
/host/spi-builder-workspace/Sources/SwiftChessNeo/File.swift:62:25: warning: static property '_a' is not concurrency-safe because non-'Sendable' type 'File' may have shared mutable state; this is an error in the Swift 6 language mode
22 | ///
23 | /// Files refer to the eight columns of a chess board, beginning with A and ending with H from left to right.
24 | public enum File: Int, Comparable, CustomStringConvertible {
| `- note: consider making enum 'File' conform to the 'Sendable' protocol
25 |
26 | /// A direction in file.
:
60 |
61 | /// A regardless of Swift version.
62 | internal static let _a = File.a
| |- warning: static property '_a' is not concurrency-safe because non-'Sendable' type 'File' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_a' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 |
64 | /// B regardless of Swift version.
/host/spi-builder-workspace/Sources/SwiftChessNeo/File.swift:65:25: warning: static property '_b' is not concurrency-safe because non-'Sendable' type 'File' may have shared mutable state; this is an error in the Swift 6 language mode
22 | ///
23 | /// Files refer to the eight columns of a chess board, beginning with A and ending with H from left to right.
24 | public enum File: Int, Comparable, CustomStringConvertible {
| `- note: consider making enum 'File' conform to the 'Sendable' protocol
25 |
26 | /// A direction in file.
:
63 |
64 | /// B regardless of Swift version.
65 | internal static let _b = File.b
| |- warning: static property '_b' is not concurrency-safe because non-'Sendable' type 'File' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_b' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 |
67 | /// C regardless of Swift version.
/host/spi-builder-workspace/Sources/SwiftChessNeo/File.swift:68:25: warning: static property '_c' is not concurrency-safe because non-'Sendable' type 'File' may have shared mutable state; this is an error in the Swift 6 language mode
22 | ///
23 | /// Files refer to the eight columns of a chess board, beginning with A and ending with H from left to right.
24 | public enum File: Int, Comparable, CustomStringConvertible {
| `- note: consider making enum 'File' conform to the 'Sendable' protocol
25 |
26 | /// A direction in file.
:
66 |
67 | /// C regardless of Swift version.
68 | internal static let _c = File.c
| |- warning: static property '_c' is not concurrency-safe because non-'Sendable' type 'File' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_c' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 |
70 | /// D regardless of Swift version.
/host/spi-builder-workspace/Sources/SwiftChessNeo/File.swift:71:25: warning: static property '_d' is not concurrency-safe because non-'Sendable' type 'File' may have shared mutable state; this is an error in the Swift 6 language mode
22 | ///
23 | /// Files refer to the eight columns of a chess board, beginning with A and ending with H from left to right.
24 | public enum File: Int, Comparable, CustomStringConvertible {
| `- note: consider making enum 'File' conform to the 'Sendable' protocol
25 |
26 | /// A direction in file.
:
69 |
70 | /// D regardless of Swift version.
71 | internal static let _d = File.d
| |- warning: static property '_d' is not concurrency-safe because non-'Sendable' type 'File' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_d' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
72 |
73 | /// E regardless of Swift version.
/host/spi-builder-workspace/Sources/SwiftChessNeo/File.swift:74:25: warning: static property '_e' is not concurrency-safe because non-'Sendable' type 'File' may have shared mutable state; this is an error in the Swift 6 language mode
22 | ///
23 | /// Files refer to the eight columns of a chess board, beginning with A and ending with H from left to right.
24 | public enum File: Int, Comparable, CustomStringConvertible {
| `- note: consider making enum 'File' conform to the 'Sendable' protocol
25 |
26 | /// A direction in file.
:
72 |
73 | /// E regardless of Swift version.
74 | internal static let _e = File.e
| |- warning: static property '_e' is not concurrency-safe because non-'Sendable' type 'File' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_e' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 |
76 | /// F regardless of Swift version.
/host/spi-builder-workspace/Sources/SwiftChessNeo/File.swift:77:25: warning: static property '_f' is not concurrency-safe because non-'Sendable' type 'File' may have shared mutable state; this is an error in the Swift 6 language mode
22 | ///
23 | /// Files refer to the eight columns of a chess board, beginning with A and ending with H from left to right.
24 | public enum File: Int, Comparable, CustomStringConvertible {
| `- note: consider making enum 'File' conform to the 'Sendable' protocol
25 |
26 | /// A direction in file.
:
75 |
76 | /// F regardless of Swift version.
77 | internal static let _f = File.f
| |- warning: static property '_f' is not concurrency-safe because non-'Sendable' type 'File' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_f' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 |
79 | /// G regardless of Swift version.
/host/spi-builder-workspace/Sources/SwiftChessNeo/File.swift:80:25: warning: static property '_g' is not concurrency-safe because non-'Sendable' type 'File' may have shared mutable state; this is an error in the Swift 6 language mode
22 | ///
23 | /// Files refer to the eight columns of a chess board, beginning with A and ending with H from left to right.
24 | public enum File: Int, Comparable, CustomStringConvertible {
| `- note: consider making enum 'File' conform to the 'Sendable' protocol
25 |
26 | /// A direction in file.
:
78 |
79 | /// G regardless of Swift version.
80 | internal static let _g = File.g
| |- warning: static property '_g' is not concurrency-safe because non-'Sendable' type 'File' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_g' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
81 |
82 | /// H regardless of Swift version.
/host/spi-builder-workspace/Sources/SwiftChessNeo/File.swift:83:25: warning: static property '_h' is not concurrency-safe because non-'Sendable' type 'File' may have shared mutable state; this is an error in the Swift 6 language mode
22 | ///
23 | /// Files refer to the eight columns of a chess board, beginning with A and ending with H from left to right.
24 | public enum File: Int, Comparable, CustomStringConvertible {
| `- note: consider making enum 'File' conform to the 'Sendable' protocol
25 |
26 | /// A direction in file.
:
81 |
82 | /// H regardless of Swift version.
83 | internal static let _h = File.h
| |- warning: static property '_h' is not concurrency-safe because non-'Sendable' type 'File' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_h' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 |
85 | }
/host/spi-builder-workspace/Sources/SwiftChessNeo/File.swift:90:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[File]' may have shared mutable state; this is an error in the Swift 6 language mode
22 | ///
23 | /// Files refer to the eight columns of a chess board, beginning with A and ending with H from left to right.
24 | public enum File: Int, Comparable, CustomStringConvertible {
| `- note: consider making enum 'File' conform to the 'Sendable' protocol
25 |
26 | /// A direction in file.
:
88 |
89 | /// An array of all files.
90 | public static let all: [File] = [.a, .b, .c, .d, .e, .f, .g, .h]
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[File]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 |
92 | /// The column index of `self`.
[16/20] Compiling SwiftChessNeo Bitboard.swift
/host/spi-builder-workspace/Sources/SwiftChessNeo/Bitboard.swift:42:13: warning: let '_bitboardTable' is not concurrency-safe because non-'Sendable' type '[Bitboard]' may have shared mutable state; this is an error in the Swift 6 language mode
40 |
41 | /// A lookup table of bitboards for all squares.
42 | private let _bitboardTable: [Bitboard] = (0 ..< 64).map { Bitboard(rawValue: 1 << $0) }
| |- warning: let '_bitboardTable' is not concurrency-safe because non-'Sendable' type '[Bitboard]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_bitboardTable' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 |
44 | /// The De Bruijn multiplier.
:
76 | /// - see also: [Bitboard (Wikipedia)](https://en.wikipedia.org/wiki/Bitboard ),
77 | /// [Bitboards (Chess Programming Wiki)](https://chessprogramming.org/Bitboards)
78 | public struct Bitboard: RawRepresentable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'Bitboard' conform to the 'Sendable' protocol
79 |
80 | /// A bitboard shift direction.
/host/spi-builder-workspace/Sources/SwiftChessNeo/Bitboard.swift:56:13: warning: let '_notFileA' is not concurrency-safe because non-'Sendable' type 'Bitboard' may have shared mutable state; this is an error in the Swift 6 language mode
54 |
55 | /// Mask for bits not in File A.
56 | private let _notFileA: Bitboard = 0xfefefefefefefefe
| |- warning: let '_notFileA' is not concurrency-safe because non-'Sendable' type 'Bitboard' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_notFileA' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 |
58 | /// Mask for bits not in Files A and B.
:
76 | /// - see also: [Bitboard (Wikipedia)](https://en.wikipedia.org/wiki/Bitboard ),
77 | /// [Bitboards (Chess Programming Wiki)](https://chessprogramming.org/Bitboards)
78 | public struct Bitboard: RawRepresentable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'Bitboard' conform to the 'Sendable' protocol
79 |
80 | /// A bitboard shift direction.
/host/spi-builder-workspace/Sources/SwiftChessNeo/Bitboard.swift:59:13: warning: let '_notFileAB' is not concurrency-safe because non-'Sendable' type 'Bitboard' may have shared mutable state; this is an error in the Swift 6 language mode
57 |
58 | /// Mask for bits not in Files A and B.
59 | private let _notFileAB: Bitboard = 0xfcfcfcfcfcfcfcfc
| |- warning: let '_notFileAB' is not concurrency-safe because non-'Sendable' type 'Bitboard' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_notFileAB' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 |
61 | /// Mask for bits not in File H.
:
76 | /// - see also: [Bitboard (Wikipedia)](https://en.wikipedia.org/wiki/Bitboard ),
77 | /// [Bitboards (Chess Programming Wiki)](https://chessprogramming.org/Bitboards)
78 | public struct Bitboard: RawRepresentable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'Bitboard' conform to the 'Sendable' protocol
79 |
80 | /// A bitboard shift direction.
/host/spi-builder-workspace/Sources/SwiftChessNeo/Bitboard.swift:62:13: warning: let '_notFileH' is not concurrency-safe because non-'Sendable' type 'Bitboard' may have shared mutable state; this is an error in the Swift 6 language mode
60 |
61 | /// Mask for bits not in File H.
62 | private let _notFileH: Bitboard = 0x7f7f7f7f7f7f7f7f
| |- warning: let '_notFileH' is not concurrency-safe because non-'Sendable' type 'Bitboard' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_notFileH' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 |
64 | /// Mask for bits not in Files G and H.
:
76 | /// - see also: [Bitboard (Wikipedia)](https://en.wikipedia.org/wiki/Bitboard ),
77 | /// [Bitboards (Chess Programming Wiki)](https://chessprogramming.org/Bitboards)
78 | public struct Bitboard: RawRepresentable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'Bitboard' conform to the 'Sendable' protocol
79 |
80 | /// A bitboard shift direction.
/host/spi-builder-workspace/Sources/SwiftChessNeo/Bitboard.swift:65:13: warning: let '_notFileGH' is not concurrency-safe because non-'Sendable' type 'Bitboard' may have shared mutable state; this is an error in the Swift 6 language mode
63 |
64 | /// Mask for bits not in Files G and H.
65 | private let _notFileGH: Bitboard = 0x3f3f3f3f3f3f3f3f
| |- warning: let '_notFileGH' is not concurrency-safe because non-'Sendable' type 'Bitboard' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_notFileGH' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 |
67 | /// A bitmap of sixty-four bits suitable for storing squares for various pieces.
:
76 | /// - see also: [Bitboard (Wikipedia)](https://en.wikipedia.org/wiki/Bitboard ),
77 | /// [Bitboards (Chess Programming Wiki)](https://chessprogramming.org/Bitboards)
78 | public struct Bitboard: RawRepresentable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'Bitboard' conform to the 'Sendable' protocol
79 |
80 | /// A bitboard shift direction.
/host/spi-builder-workspace/Sources/SwiftChessNeo/Bitboard.swift:108:29: warning: static property '_north' is not concurrency-safe because non-'Sendable' type 'Bitboard.ShiftDirection' may have shared mutable state; this is an error in the Swift 6 language mode
79 |
80 | /// A bitboard shift direction.
81 | public enum ShiftDirection {
| `- note: consider making enum 'ShiftDirection' conform to the 'Sendable' protocol
82 |
83 | /// North direction.
:
106 |
107 | /// North regardless of Swift version.
108 | internal static let _north = ShiftDirection.north
| |- warning: static property '_north' is not concurrency-safe because non-'Sendable' type 'Bitboard.ShiftDirection' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_north' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
109 |
110 | /// South regardless of Swift version.
/host/spi-builder-workspace/Sources/SwiftChessNeo/Bitboard.swift:111:29: warning: static property '_south' is not concurrency-safe because non-'Sendable' type 'Bitboard.ShiftDirection' may have shared mutable state; this is an error in the Swift 6 language mode
79 |
80 | /// A bitboard shift direction.
81 | public enum ShiftDirection {
| `- note: consider making enum 'ShiftDirection' conform to the 'Sendable' protocol
82 |
83 | /// North direction.
:
109 |
110 | /// South regardless of Swift version.
111 | internal static let _south = ShiftDirection.south
| |- warning: static property '_south' is not concurrency-safe because non-'Sendable' type 'Bitboard.ShiftDirection' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_south' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
112 |
113 | /// East regardless of Swift version.
/host/spi-builder-workspace/Sources/SwiftChessNeo/Bitboard.swift:114:29: warning: static property '_east' is not concurrency-safe because non-'Sendable' type 'Bitboard.ShiftDirection' may have shared mutable state; this is an error in the Swift 6 language mode
79 |
80 | /// A bitboard shift direction.
81 | public enum ShiftDirection {
| `- note: consider making enum 'ShiftDirection' conform to the 'Sendable' protocol
82 |
83 | /// North direction.
:
112 |
113 | /// East regardless of Swift version.
114 | internal static let _east = ShiftDirection.east
| |- warning: static property '_east' is not concurrency-safe because non-'Sendable' type 'Bitboard.ShiftDirection' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_east' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
115 |
116 | /// West regardless of Swift version.
/host/spi-builder-workspace/Sources/SwiftChessNeo/Bitboard.swift:117:29: warning: static property '_west' is not concurrency-safe because non-'Sendable' type 'Bitboard.ShiftDirection' may have shared mutable state; this is an error in the Swift 6 language mode
79 |
80 | /// A bitboard shift direction.
81 | public enum ShiftDirection {
| `- note: consider making enum 'ShiftDirection' conform to the 'Sendable' protocol
82 |
83 | /// North direction.
:
115 |
116 | /// West regardless of Swift version.
117 | internal static let _west = ShiftDirection.west
| |- warning: static property '_west' is not concurrency-safe because non-'Sendable' type 'Bitboard.ShiftDirection' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_west' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
118 |
119 | /// Northeast regardless of Swift version.
/host/spi-builder-workspace/Sources/SwiftChessNeo/Bitboard.swift:120:29: warning: static property '_northeast' is not concurrency-safe because non-'Sendable' type 'Bitboard.ShiftDirection' may have shared mutable state; this is an error in the Swift 6 language mode
79 |
80 | /// A bitboard shift direction.
81 | public enum ShiftDirection {
| `- note: consider making enum 'ShiftDirection' conform to the 'Sendable' protocol
82 |
83 | /// North direction.
:
118 |
119 | /// Northeast regardless of Swift version.
120 | internal static let _northeast = ShiftDirection.northeast
| |- warning: static property '_northeast' is not concurrency-safe because non-'Sendable' type 'Bitboard.ShiftDirection' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_northeast' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
121 |
122 | /// Southeast regardless of Swift version.
/host/spi-builder-workspace/Sources/SwiftChessNeo/Bitboard.swift:123:29: warning: static property '_southeast' is not concurrency-safe because non-'Sendable' type 'Bitboard.ShiftDirection' may have shared mutable state; this is an error in the Swift 6 language mode
79 |
80 | /// A bitboard shift direction.
81 | public enum ShiftDirection {
| `- note: consider making enum 'ShiftDirection' conform to the 'Sendable' protocol
82 |
83 | /// North direction.
:
121 |
122 | /// Southeast regardless of Swift version.
123 | internal static let _southeast = ShiftDirection.southeast
| |- warning: static property '_southeast' is not concurrency-safe because non-'Sendable' type 'Bitboard.ShiftDirection' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_southeast' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
124 |
125 | /// Northwest regardless of Swift version.
/host/spi-builder-workspace/Sources/SwiftChessNeo/Bitboard.swift:126:29: warning: static property '_northwest' is not concurrency-safe because non-'Sendable' type 'Bitboard.ShiftDirection' may have shared mutable state; this is an error in the Swift 6 language mode
79 |
80 | /// A bitboard shift direction.
81 | public enum ShiftDirection {
| `- note: consider making enum 'ShiftDirection' conform to the 'Sendable' protocol
82 |
83 | /// North direction.
:
124 |
125 | /// Northwest regardless of Swift version.
126 | internal static let _northwest = ShiftDirection.northwest
| |- warning: static property '_northwest' is not concurrency-safe because non-'Sendable' type 'Bitboard.ShiftDirection' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_northwest' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
127 |
128 | /// Southwest regardless of Swift version.
/host/spi-builder-workspace/Sources/SwiftChessNeo/Bitboard.swift:129:29: warning: static property '_southwest' is not concurrency-safe because non-'Sendable' type 'Bitboard.ShiftDirection' may have shared mutable state; this is an error in the Swift 6 language mode
79 |
80 | /// A bitboard shift direction.
81 | public enum ShiftDirection {
| `- note: consider making enum 'ShiftDirection' conform to the 'Sendable' protocol
82 |
83 | /// North direction.
:
127 |
128 | /// Southwest regardless of Swift version.
129 | internal static let _southwest = ShiftDirection.southwest
| |- warning: static property '_southwest' is not concurrency-safe because non-'Sendable' type 'Bitboard.ShiftDirection' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_southwest' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
130 |
131 | }
/host/spi-builder-workspace/Sources/SwiftChessNeo/Bitboard.swift:152:23: warning: static property 'edges' is not concurrency-safe because non-'Sendable' type 'Bitboard' may have shared mutable state; this is an error in the Swift 6 language mode
76 | /// - see also: [Bitboard (Wikipedia)](https://en.wikipedia.org/wiki/Bitboard ),
77 | /// [Bitboards (Chess Programming Wiki)](https://chessprogramming.org/Bitboards)
78 | public struct Bitboard: RawRepresentable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'Bitboard' conform to the 'Sendable' protocol
79 |
80 | /// A bitboard shift direction.
:
150 |
151 | /// The edges of a board.
152 | public static let edges: Bitboard = 0xff818181818181ff
| |- warning: static property 'edges' is not concurrency-safe because non-'Sendable' type 'Bitboard' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'edges' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
153 |
154 | /// The corresponding value of the "raw" type.
/host/spi-builder-workspace/Sources/SwiftChessNeo/Rank.swift:66:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[Rank]' may have shared mutable state; this is an error in the Swift 6 language mode
22 | ///
23 | /// `Rank`s refer to the eight rows of a chess board, beginning with 1 at the bottom and ending with 8 at the top.
24 | public enum Rank: Int, Comparable, CustomStringConvertible {
| `- note: consider making enum 'Rank' conform to the 'Sendable' protocol
25 |
26 | /// A direction in rank.
:
64 |
65 | /// An array of all ranks.
66 | public static let all: [Rank] = [1, 2, 3, 4, 5, 6, 7, 8]
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[Rank]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 |
68 | /// The row index of `self`.
/host/spi-builder-workspace/Sources/SwiftChessNeo/File.swift:90:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[File]' may have shared mutable state; this is an error in the Swift 6 language mode
22 | ///
23 | /// Files refer to the eight columns of a chess board, beginning with A and ending with H from left to right.
24 | public enum File: Int, Comparable, CustomStringConvertible {
| `- note: consider making enum 'File' conform to the 'Sendable' protocol
25 |
26 | /// A direction in file.
:
88 |
89 | /// An array of all files.
90 | public static let all: [File] = [.a, .b, .c, .d, .e, .f, .g, .h]
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[File]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 |
92 | /// The column index of `self`.
/host/spi-builder-workspace/Sources/SwiftChessNeo/Piece.swift:149:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[Piece]' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// A chess piece.
22 | public struct Piece: Hashable, CustomStringConvertible {
| `- note: consider making struct 'Piece' conform to the 'Sendable' protocol
23 |
24 | /// A piece kind.
:
147 |
148 | /// An array of all pieces.
149 | public static let all: [Piece] = {
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[Piece]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
150 | return [.white, .black].reduce([]) { pieces, color in
151 | return pieces + Kind.all.map({ Piece(kind: $0, color: color) })
/host/spi-builder-workspace/Sources/SwiftChessNeo/File.swift:83:25: warning: static property '_h' is not concurrency-safe because non-'Sendable' type 'File' may have shared mutable state; this is an error in the Swift 6 language mode
22 | ///
23 | /// Files refer to the eight columns of a chess board, beginning with A and ending with H from left to right.
24 | public enum File: Int, Comparable, CustomStringConvertible {
| `- note: consider making enum 'File' conform to the 'Sendable' protocol
25 |
26 | /// A direction in file.
:
81 |
82 | /// H regardless of Swift version.
83 | internal static let _h = File.h
| |- warning: static property '_h' is not concurrency-safe because non-'Sendable' type 'File' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_h' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 |
85 | }
/host/spi-builder-workspace/Sources/SwiftChessNeo/CastlingRights.swift:42:27: warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[CastlingRights.Right]' may have shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | /// A castling right.
27 | public enum Right: String, CustomStringConvertible {
| `- note: consider making enum 'Right' conform to the 'Sendable' protocol
28 |
29 | /// White can castle kingside.
:
40 |
41 | /// All rights.
42 | public static let all: [Right] = [.whiteKingside, .whiteQueenside, .blackKingside, .blackQueenside]
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[CastlingRights.Right]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 |
44 | /// White rights.
/host/spi-builder-workspace/Sources/SwiftChessNeo/CastlingRights.swift:45:27: warning: static property 'white' is not concurrency-safe because non-'Sendable' type '[CastlingRights.Right]' may have shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | /// A castling right.
27 | public enum Right: String, CustomStringConvertible {
| `- note: consider making enum 'Right' conform to the 'Sendable' protocol
28 |
29 | /// White can castle kingside.
:
43 |
44 | /// White rights.
45 | public static let white: [Right] = all.filter({ $0.color.isWhite })
| |- warning: static property 'white' is not concurrency-safe because non-'Sendable' type '[CastlingRights.Right]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'white' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 |
47 | /// Black rights.
/host/spi-builder-workspace/Sources/SwiftChessNeo/CastlingRights.swift:48:27: warning: static property 'black' is not concurrency-safe because non-'Sendable' type '[CastlingRights.Right]' may have shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | /// A castling right.
27 | public enum Right: String, CustomStringConvertible {
| `- note: consider making enum 'Right' conform to the 'Sendable' protocol
28 |
29 | /// White can castle kingside.
:
46 |
47 | /// Black rights.
48 | public static let black: [Right] = all.filter({ $0.color.isBlack })
| |- warning: static property 'black' is not concurrency-safe because non-'Sendable' type '[CastlingRights.Right]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'black' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 |
50 | /// Kingside rights.
/host/spi-builder-workspace/Sources/SwiftChessNeo/CastlingRights.swift:51:27: warning: static property 'kingside' is not concurrency-safe because non-'Sendable' type '[CastlingRights.Right]' may have shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | /// A castling right.
27 | public enum Right: String, CustomStringConvertible {
| `- note: consider making enum 'Right' conform to the 'Sendable' protocol
28 |
29 | /// White can castle kingside.
:
49 |
50 | /// Kingside rights.
51 | public static let kingside: [Right] = all.filter({ $0.side.isKingside })
| |- warning: static property 'kingside' is not concurrency-safe because non-'Sendable' type '[CastlingRights.Right]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'kingside' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |
53 | /// Queenside rights.
/host/spi-builder-workspace/Sources/SwiftChessNeo/CastlingRights.swift:54:27: warning: static property 'queenside' is not concurrency-safe because non-'Sendable' type '[CastlingRights.Right]' may have shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | /// A castling right.
27 | public enum Right: String, CustomStringConvertible {
| `- note: consider making enum 'Right' conform to the 'Sendable' protocol
28 |
29 | /// White can castle kingside.
:
52 |
53 | /// Queenside rights.
54 | public static let queenside: [Right] = all.filter({ $0.side.isQueenside })
| |- warning: static property 'queenside' is not concurrency-safe because non-'Sendable' type '[CastlingRights.Right]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'queenside' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 |
56 | /// The color for `self`.
/host/spi-builder-workspace/Sources/SwiftChessNeo/CastlingRights.swift:174:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'CastlingRights' may have shared mutable state; this is an error in the Swift 6 language mode
22 | ///
23 | /// Defines whether a `Color` has the right to castle for a `Board.Side`.
24 | public struct CastlingRights: CustomStringConvertible {
| `- note: consider making struct 'CastlingRights' conform to the 'Sendable' protocol
25 |
26 | /// A castling right.
:
172 |
173 | /// All castling rights.
174 | public static let all = CastlingRights(Right.all)
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'CastlingRights' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
175 |
176 | /// White castling rights.
/host/spi-builder-workspace/Sources/SwiftChessNeo/CastlingRights.swift:177:23: warning: static property 'white' is not concurrency-safe because non-'Sendable' type 'CastlingRights' may have shared mutable state; this is an error in the Swift 6 language mode
22 | ///
23 | /// Defines whether a `Color` has the right to castle for a `Board.Side`.
24 | public struct CastlingRights: CustomStringConvertible {
| `- note: consider making struct 'CastlingRights' conform to the 'Sendable' protocol
25 |
26 | /// A castling right.
:
175 |
176 | /// White castling rights.
177 | public static let white = CastlingRights(Right.white)
| |- warning: static property 'white' is not concurrency-safe because non-'Sendable' type 'CastlingRights' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'white' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
178 |
179 | /// Black castling rights.
/host/spi-builder-workspace/Sources/SwiftChessNeo/CastlingRights.swift:180:23: warning: static property 'black' is not concurrency-safe because non-'Sendable' type 'CastlingRights' may have shared mutable state; this is an error in the Swift 6 language mode
22 | ///
23 | /// Defines whether a `Color` has the right to castle for a `Board.Side`.
24 | public struct CastlingRights: CustomStringConvertible {
| `- note: consider making struct 'CastlingRights' conform to the 'Sendable' protocol
25 |
26 | /// A castling right.
:
178 |
179 | /// Black castling rights.
180 | public static let black = CastlingRights(Right.black)
| |- warning: static property 'black' is not concurrency-safe because non-'Sendable' type 'CastlingRights' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'black' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
181 |
182 | /// Kingside castling rights.
/host/spi-builder-workspace/Sources/SwiftChessNeo/CastlingRights.swift:183:23: warning: static property 'kingside' is not concurrency-safe because non-'Sendable' type 'CastlingRights' may have shared mutable state; this is an error in the Swift 6 language mode
22 | ///
23 | /// Defines whether a `Color` has the right to castle for a `Board.Side`.
24 | public struct CastlingRights: CustomStringConvertible {
| `- note: consider making struct 'CastlingRights' conform to the 'Sendable' protocol
25 |
26 | /// A castling right.
:
181 |
182 | /// Kingside castling rights.
183 | public static let kingside = CastlingRights(Right.kingside)
| |- warning: static property 'kingside' is not concurrency-safe because non-'Sendable' type 'CastlingRights' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'kingside' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
184 |
185 | /// Queenside castling rights.
/host/spi-builder-workspace/Sources/SwiftChessNeo/CastlingRights.swift:186:23: warning: static property 'queenside' is not concurrency-safe because non-'Sendable' type 'CastlingRights' may have shared mutable state; this is an error in the Swift 6 language mode
22 | ///
23 | /// Defines whether a `Color` has the right to castle for a `Board.Side`.
24 | public struct CastlingRights: CustomStringConvertible {
| `- note: consider making struct 'CastlingRights' conform to the 'Sendable' protocol
25 |
26 | /// A castling right.
:
184 |
185 | /// Queenside castling rights.
186 | public static let queenside = CastlingRights(Right.queenside)
| |- warning: static property 'queenside' is not concurrency-safe because non-'Sendable' type 'CastlingRights' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'queenside' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
187 |
188 | /// The rights.
[17/20] Compiling SwiftChessNeo Board.swift
/host/spi-builder-workspace/Sources/SwiftChessNeo/Bitboard.swift:42:13: warning: let '_bitboardTable' is not concurrency-safe because non-'Sendable' type '[Bitboard]' may have shared mutable state; this is an error in the Swift 6 language mode
40 |
41 | /// A lookup table of bitboards for all squares.
42 | private let _bitboardTable: [Bitboard] = (0 ..< 64).map { Bitboard(rawValue: 1 << $0) }
| |- warning: let '_bitboardTable' is not concurrency-safe because non-'Sendable' type '[Bitboard]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_bitboardTable' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 |
44 | /// The De Bruijn multiplier.
:
76 | /// - see also: [Bitboard (Wikipedia)](https://en.wikipedia.org/wiki/Bitboard ),
77 | /// [Bitboards (Chess Programming Wiki)](https://chessprogramming.org/Bitboards)
78 | public struct Bitboard: RawRepresentable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'Bitboard' conform to the 'Sendable' protocol
79 |
80 | /// A bitboard shift direction.
/host/spi-builder-workspace/Sources/SwiftChessNeo/Bitboard.swift:56:13: warning: let '_notFileA' is not concurrency-safe because non-'Sendable' type 'Bitboard' may have shared mutable state; this is an error in the Swift 6 language mode
54 |
55 | /// Mask for bits not in File A.
56 | private let _notFileA: Bitboard = 0xfefefefefefefefe
| |- warning: let '_notFileA' is not concurrency-safe because non-'Sendable' type 'Bitboard' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_notFileA' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 |
58 | /// Mask for bits not in Files A and B.
:
76 | /// - see also: [Bitboard (Wikipedia)](https://en.wikipedia.org/wiki/Bitboard ),
77 | /// [Bitboards (Chess Programming Wiki)](https://chessprogramming.org/Bitboards)
78 | public struct Bitboard: RawRepresentable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'Bitboard' conform to the 'Sendable' protocol
79 |
80 | /// A bitboard shift direction.
/host/spi-builder-workspace/Sources/SwiftChessNeo/Bitboard.swift:59:13: warning: let '_notFileAB' is not concurrency-safe because non-'Sendable' type 'Bitboard' may have shared mutable state; this is an error in the Swift 6 language mode
57 |
58 | /// Mask for bits not in Files A and B.
59 | private let _notFileAB: Bitboard = 0xfcfcfcfcfcfcfcfc
| |- warning: let '_notFileAB' is not concurrency-safe because non-'Sendable' type 'Bitboard' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_notFileAB' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 |
61 | /// Mask for bits not in File H.
:
76 | /// - see also: [Bitboard (Wikipedia)](https://en.wikipedia.org/wiki/Bitboard ),
77 | /// [Bitboards (Chess Programming Wiki)](https://chessprogramming.org/Bitboards)
78 | public struct Bitboard: RawRepresentable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'Bitboard' conform to the 'Sendable' protocol
79 |
80 | /// A bitboard shift direction.
/host/spi-builder-workspace/Sources/SwiftChessNeo/Bitboard.swift:62:13: warning: let '_notFileH' is not concurrency-safe because non-'Sendable' type 'Bitboard' may have shared mutable state; this is an error in the Swift 6 language mode
60 |
61 | /// Mask for bits not in File H.
62 | private let _notFileH: Bitboard = 0x7f7f7f7f7f7f7f7f
| |- warning: let '_notFileH' is not concurrency-safe because non-'Sendable' type 'Bitboard' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_notFileH' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 |
64 | /// Mask for bits not in Files G and H.
:
76 | /// - see also: [Bitboard (Wikipedia)](https://en.wikipedia.org/wiki/Bitboard ),
77 | /// [Bitboards (Chess Programming Wiki)](https://chessprogramming.org/Bitboards)
78 | public struct Bitboard: RawRepresentable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'Bitboard' conform to the 'Sendable' protocol
79 |
80 | /// A bitboard shift direction.
/host/spi-builder-workspace/Sources/SwiftChessNeo/Bitboard.swift:65:13: warning: let '_notFileGH' is not concurrency-safe because non-'Sendable' type 'Bitboard' may have shared mutable state; this is an error in the Swift 6 language mode
63 |
64 | /// Mask for bits not in Files G and H.
65 | private let _notFileGH: Bitboard = 0x3f3f3f3f3f3f3f3f
| |- warning: let '_notFileGH' is not concurrency-safe because non-'Sendable' type 'Bitboard' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_notFileGH' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 |
67 | /// A bitmap of sixty-four bits suitable for storing squares for various pieces.
:
76 | /// - see also: [Bitboard (Wikipedia)](https://en.wikipedia.org/wiki/Bitboard ),
77 | /// [Bitboards (Chess Programming Wiki)](https://chessprogramming.org/Bitboards)
78 | public struct Bitboard: RawRepresentable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'Bitboard' conform to the 'Sendable' protocol
79 |
80 | /// A bitboard shift direction.
/host/spi-builder-workspace/Sources/SwiftChessNeo/Bitboard.swift:108:29: warning: static property '_north' is not concurrency-safe because non-'Sendable' type 'Bitboard.ShiftDirection' may have shared mutable state; this is an error in the Swift 6 language mode
79 |
80 | /// A bitboard shift direction.
81 | public enum ShiftDirection {
| `- note: consider making enum 'ShiftDirection' conform to the 'Sendable' protocol
82 |
83 | /// North direction.
:
106 |
107 | /// North regardless of Swift version.
108 | internal static let _north = ShiftDirection.north
| |- warning: static property '_north' is not concurrency-safe because non-'Sendable' type 'Bitboard.ShiftDirection' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_north' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
109 |
110 | /// South regardless of Swift version.
/host/spi-builder-workspace/Sources/SwiftChessNeo/Bitboard.swift:111:29: warning: static property '_south' is not concurrency-safe because non-'Sendable' type 'Bitboard.ShiftDirection' may have shared mutable state; this is an error in the Swift 6 language mode
79 |
80 | /// A bitboard shift direction.
81 | public enum ShiftDirection {
| `- note: consider making enum 'ShiftDirection' conform to the 'Sendable' protocol
82 |
83 | /// North direction.
:
109 |
110 | /// South regardless of Swift version.
111 | internal static let _south = ShiftDirection.south
| |- warning: static property '_south' is not concurrency-safe because non-'Sendable' type 'Bitboard.ShiftDirection' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_south' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
112 |
113 | /// East regardless of Swift version.
/host/spi-builder-workspace/Sources/SwiftChessNeo/Bitboard.swift:114:29: warning: static property '_east' is not concurrency-safe because non-'Sendable' type 'Bitboard.ShiftDirection' may have shared mutable state; this is an error in the Swift 6 language mode
79 |
80 | /// A bitboard shift direction.
81 | public enum ShiftDirection {
| `- note: consider making enum 'ShiftDirection' conform to the 'Sendable' protocol
82 |
83 | /// North direction.
:
112 |
113 | /// East regardless of Swift version.
114 | internal static let _east = ShiftDirection.east
| |- warning: static property '_east' is not concurrency-safe because non-'Sendable' type 'Bitboard.ShiftDirection' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_east' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
115 |
116 | /// West regardless of Swift version.
/host/spi-builder-workspace/Sources/SwiftChessNeo/Bitboard.swift:117:29: warning: static property '_west' is not concurrency-safe because non-'Sendable' type 'Bitboard.ShiftDirection' may have shared mutable state; this is an error in the Swift 6 language mode
79 |
80 | /// A bitboard shift direction.
81 | public enum ShiftDirection {
| `- note: consider making enum 'ShiftDirection' conform to the 'Sendable' protocol
82 |
83 | /// North direction.
:
115 |
116 | /// West regardless of Swift version.
117 | internal static let _west = ShiftDirection.west
| |- warning: static property '_west' is not concurrency-safe because non-'Sendable' type 'Bitboard.ShiftDirection' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_west' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
118 |
119 | /// Northeast regardless of Swift version.
/host/spi-builder-workspace/Sources/SwiftChessNeo/Bitboard.swift:120:29: warning: static property '_northeast' is not concurrency-safe because non-'Sendable' type 'Bitboard.ShiftDirection' may have shared mutable state; this is an error in the Swift 6 language mode
79 |
80 | /// A bitboard shift direction.
81 | public enum ShiftDirection {
| `- note: consider making enum 'ShiftDirection' conform to the 'Sendable' protocol
82 |
83 | /// North direction.
:
118 |
119 | /// Northeast regardless of Swift version.
120 | internal static let _northeast = ShiftDirection.northeast
| |- warning: static property '_northeast' is not concurrency-safe because non-'Sendable' type 'Bitboard.ShiftDirection' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_northeast' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
121 |
122 | /// Southeast regardless of Swift version.
/host/spi-builder-workspace/Sources/SwiftChessNeo/Bitboard.swift:123:29: warning: static property '_southeast' is not concurrency-safe because non-'Sendable' type 'Bitboard.ShiftDirection' may have shared mutable state; this is an error in the Swift 6 language mode
79 |
80 | /// A bitboard shift direction.
81 | public enum ShiftDirection {
| `- note: consider making enum 'ShiftDirection' conform to the 'Sendable' protocol
82 |
83 | /// North direction.
:
121 |
122 | /// Southeast regardless of Swift version.
123 | internal static let _southeast = ShiftDirection.southeast
| |- warning: static property '_southeast' is not concurrency-safe because non-'Sendable' type 'Bitboard.ShiftDirection' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_southeast' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
124 |
125 | /// Northwest regardless of Swift version.
/host/spi-builder-workspace/Sources/SwiftChessNeo/Bitboard.swift:126:29: warning: static property '_northwest' is not concurrency-safe because non-'Sendable' type 'Bitboard.ShiftDirection' may have shared mutable state; this is an error in the Swift 6 language mode
79 |
80 | /// A bitboard shift direction.
81 | public enum ShiftDirection {
| `- note: consider making enum 'ShiftDirection' conform to the 'Sendable' protocol
82 |
83 | /// North direction.
:
124 |
125 | /// Northwest regardless of Swift version.
126 | internal static let _northwest = ShiftDirection.northwest
| |- warning: static property '_northwest' is not concurrency-safe because non-'Sendable' type 'Bitboard.ShiftDirection' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_northwest' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
127 |
128 | /// Southwest regardless of Swift version.
/host/spi-builder-workspace/Sources/SwiftChessNeo/Bitboard.swift:129:29: warning: static property '_southwest' is not concurrency-safe because non-'Sendable' type 'Bitboard.ShiftDirection' may have shared mutable state; this is an error in the Swift 6 language mode
79 |
80 | /// A bitboard shift direction.
81 | public enum ShiftDirection {
| `- note: consider making enum 'ShiftDirection' conform to the 'Sendable' protocol
82 |
83 | /// North direction.
:
127 |
128 | /// Southwest regardless of Swift version.
129 | internal static let _southwest = ShiftDirection.southwest
| |- warning: static property '_southwest' is not concurrency-safe because non-'Sendable' type 'Bitboard.ShiftDirection' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_southwest' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
130 |
131 | }
/host/spi-builder-workspace/Sources/SwiftChessNeo/Bitboard.swift:152:23: warning: static property 'edges' is not concurrency-safe because non-'Sendable' type 'Bitboard' may have shared mutable state; this is an error in the Swift 6 language mode
76 | /// - see also: [Bitboard (Wikipedia)](https://en.wikipedia.org/wiki/Bitboard ),
77 | /// [Bitboards (Chess Programming Wiki)](https://chessprogramming.org/Bitboards)
78 | public struct Bitboard: RawRepresentable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'Bitboard' conform to the 'Sendable' protocol
79 |
80 | /// A bitboard shift direction.
:
150 |
151 | /// The edges of a board.
152 | public static let edges: Bitboard = 0xff818181818181ff
| |- warning: static property 'edges' is not concurrency-safe because non-'Sendable' type 'Bitboard' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'edges' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
153 |
154 | /// The corresponding value of the "raw" type.
/host/spi-builder-workspace/Sources/SwiftChessNeo/Rank.swift:66:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[Rank]' may have shared mutable state; this is an error in the Swift 6 language mode
22 | ///
23 | /// `Rank`s refer to the eight rows of a chess board, beginning with 1 at the bottom and ending with 8 at the top.
24 | public enum Rank: Int, Comparable, CustomStringConvertible {
| `- note: consider making enum 'Rank' conform to the 'Sendable' protocol
25 |
26 | /// A direction in rank.
:
64 |
65 | /// An array of all ranks.
66 | public static let all: [Rank] = [1, 2, 3, 4, 5, 6, 7, 8]
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[Rank]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 |
68 | /// The row index of `self`.
/host/spi-builder-workspace/Sources/SwiftChessNeo/File.swift:90:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[File]' may have shared mutable state; this is an error in the Swift 6 language mode
22 | ///
23 | /// Files refer to the eight columns of a chess board, beginning with A and ending with H from left to right.
24 | public enum File: Int, Comparable, CustomStringConvertible {
| `- note: consider making enum 'File' conform to the 'Sendable' protocol
25 |
26 | /// A direction in file.
:
88 |
89 | /// An array of all files.
90 | public static let all: [File] = [.a, .b, .c, .d, .e, .f, .g, .h]
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[File]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 |
92 | /// The column index of `self`.
/host/spi-builder-workspace/Sources/SwiftChessNeo/Piece.swift:149:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[Piece]' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// A chess piece.
22 | public struct Piece: Hashable, CustomStringConvertible {
| `- note: consider making struct 'Piece' conform to the 'Sendable' protocol
23 |
24 | /// A piece kind.
:
147 |
148 | /// An array of all pieces.
149 | public static let all: [Piece] = {
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[Piece]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
150 | return [.white, .black].reduce([]) { pieces, color in
151 | return pieces + Kind.all.map({ Piece(kind: $0, color: color) })
/host/spi-builder-workspace/Sources/SwiftChessNeo/File.swift:83:25: warning: static property '_h' is not concurrency-safe because non-'Sendable' type 'File' may have shared mutable state; this is an error in the Swift 6 language mode
22 | ///
23 | /// Files refer to the eight columns of a chess board, beginning with A and ending with H from left to right.
24 | public enum File: Int, Comparable, CustomStringConvertible {
| `- note: consider making enum 'File' conform to the 'Sendable' protocol
25 |
26 | /// A direction in file.
:
81 |
82 | /// H regardless of Swift version.
83 | internal static let _h = File.h
| |- warning: static property '_h' is not concurrency-safe because non-'Sendable' type 'File' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_h' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 |
85 | }
/host/spi-builder-workspace/Sources/SwiftChessNeo/CastlingRights.swift:42:27: warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[CastlingRights.Right]' may have shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | /// A castling right.
27 | public enum Right: String, CustomStringConvertible {
| `- note: consider making enum 'Right' conform to the 'Sendable' protocol
28 |
29 | /// White can castle kingside.
:
40 |
41 | /// All rights.
42 | public static let all: [Right] = [.whiteKingside, .whiteQueenside, .blackKingside, .blackQueenside]
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[CastlingRights.Right]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 |
44 | /// White rights.
/host/spi-builder-workspace/Sources/SwiftChessNeo/CastlingRights.swift:45:27: warning: static property 'white' is not concurrency-safe because non-'Sendable' type '[CastlingRights.Right]' may have shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | /// A castling right.
27 | public enum Right: String, CustomStringConvertible {
| `- note: consider making enum 'Right' conform to the 'Sendable' protocol
28 |
29 | /// White can castle kingside.
:
43 |
44 | /// White rights.
45 | public static let white: [Right] = all.filter({ $0.color.isWhite })
| |- warning: static property 'white' is not concurrency-safe because non-'Sendable' type '[CastlingRights.Right]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'white' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 |
47 | /// Black rights.
/host/spi-builder-workspace/Sources/SwiftChessNeo/CastlingRights.swift:48:27: warning: static property 'black' is not concurrency-safe because non-'Sendable' type '[CastlingRights.Right]' may have shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | /// A castling right.
27 | public enum Right: String, CustomStringConvertible {
| `- note: consider making enum 'Right' conform to the 'Sendable' protocol
28 |
29 | /// White can castle kingside.
:
46 |
47 | /// Black rights.
48 | public static let black: [Right] = all.filter({ $0.color.isBlack })
| |- warning: static property 'black' is not concurrency-safe because non-'Sendable' type '[CastlingRights.Right]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'black' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 |
50 | /// Kingside rights.
/host/spi-builder-workspace/Sources/SwiftChessNeo/CastlingRights.swift:51:27: warning: static property 'kingside' is not concurrency-safe because non-'Sendable' type '[CastlingRights.Right]' may have shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | /// A castling right.
27 | public enum Right: String, CustomStringConvertible {
| `- note: consider making enum 'Right' conform to the 'Sendable' protocol
28 |
29 | /// White can castle kingside.
:
49 |
50 | /// Kingside rights.
51 | public static let kingside: [Right] = all.filter({ $0.side.isKingside })
| |- warning: static property 'kingside' is not concurrency-safe because non-'Sendable' type '[CastlingRights.Right]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'kingside' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |
53 | /// Queenside rights.
/host/spi-builder-workspace/Sources/SwiftChessNeo/CastlingRights.swift:54:27: warning: static property 'queenside' is not concurrency-safe because non-'Sendable' type '[CastlingRights.Right]' may have shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | /// A castling right.
27 | public enum Right: String, CustomStringConvertible {
| `- note: consider making enum 'Right' conform to the 'Sendable' protocol
28 |
29 | /// White can castle kingside.
:
52 |
53 | /// Queenside rights.
54 | public static let queenside: [Right] = all.filter({ $0.side.isQueenside })
| |- warning: static property 'queenside' is not concurrency-safe because non-'Sendable' type '[CastlingRights.Right]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'queenside' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 |
56 | /// The color for `self`.
/host/spi-builder-workspace/Sources/SwiftChessNeo/CastlingRights.swift:174:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'CastlingRights' may have shared mutable state; this is an error in the Swift 6 language mode
22 | ///
23 | /// Defines whether a `Color` has the right to castle for a `Board.Side`.
24 | public struct CastlingRights: CustomStringConvertible {
| `- note: consider making struct 'CastlingRights' conform to the 'Sendable' protocol
25 |
26 | /// A castling right.
:
172 |
173 | /// All castling rights.
174 | public static let all = CastlingRights(Right.all)
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'CastlingRights' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
175 |
176 | /// White castling rights.
/host/spi-builder-workspace/Sources/SwiftChessNeo/CastlingRights.swift:177:23: warning: static property 'white' is not concurrency-safe because non-'Sendable' type 'CastlingRights' may have shared mutable state; this is an error in the Swift 6 language mode
22 | ///
23 | /// Defines whether a `Color` has the right to castle for a `Board.Side`.
24 | public struct CastlingRights: CustomStringConvertible {
| `- note: consider making struct 'CastlingRights' conform to the 'Sendable' protocol
25 |
26 | /// A castling right.
:
175 |
176 | /// White castling rights.
177 | public static let white = CastlingRights(Right.white)
| |- warning: static property 'white' is not concurrency-safe because non-'Sendable' type 'CastlingRights' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'white' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
178 |
179 | /// Black castling rights.
/host/spi-builder-workspace/Sources/SwiftChessNeo/CastlingRights.swift:180:23: warning: static property 'black' is not concurrency-safe because non-'Sendable' type 'CastlingRights' may have shared mutable state; this is an error in the Swift 6 language mode
22 | ///
23 | /// Defines whether a `Color` has the right to castle for a `Board.Side`.
24 | public struct CastlingRights: CustomStringConvertible {
| `- note: consider making struct 'CastlingRights' conform to the 'Sendable' protocol
25 |
26 | /// A castling right.
:
178 |
179 | /// Black castling rights.
180 | public static let black = CastlingRights(Right.black)
| |- warning: static property 'black' is not concurrency-safe because non-'Sendable' type 'CastlingRights' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'black' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
181 |
182 | /// Kingside castling rights.
/host/spi-builder-workspace/Sources/SwiftChessNeo/CastlingRights.swift:183:23: warning: static property 'kingside' is not concurrency-safe because non-'Sendable' type 'CastlingRights' may have shared mutable state; this is an error in the Swift 6 language mode
22 | ///
23 | /// Defines whether a `Color` has the right to castle for a `Board.Side`.
24 | public struct CastlingRights: CustomStringConvertible {
| `- note: consider making struct 'CastlingRights' conform to the 'Sendable' protocol
25 |
26 | /// A castling right.
:
181 |
182 | /// Kingside castling rights.
183 | public static let kingside = CastlingRights(Right.kingside)
| |- warning: static property 'kingside' is not concurrency-safe because non-'Sendable' type 'CastlingRights' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'kingside' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
184 |
185 | /// Queenside castling rights.
/host/spi-builder-workspace/Sources/SwiftChessNeo/CastlingRights.swift:186:23: warning: static property 'queenside' is not concurrency-safe because non-'Sendable' type 'CastlingRights' may have shared mutable state; this is an error in the Swift 6 language mode
22 | ///
23 | /// Defines whether a `Color` has the right to castle for a `Board.Side`.
24 | public struct CastlingRights: CustomStringConvertible {
| `- note: consider making struct 'CastlingRights' conform to the 'Sendable' protocol
25 |
26 | /// A castling right.
:
184 |
185 | /// Queenside castling rights.
186 | public static let queenside = CastlingRights(Right.queenside)
| |- warning: static property 'queenside' is not concurrency-safe because non-'Sendable' type 'CastlingRights' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'queenside' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
187 |
188 | /// The rights.
[18/20] Compiling SwiftChessNeo CastlingRights.swift
/host/spi-builder-workspace/Sources/SwiftChessNeo/Bitboard.swift:42:13: warning: let '_bitboardTable' is not concurrency-safe because non-'Sendable' type '[Bitboard]' may have shared mutable state; this is an error in the Swift 6 language mode
40 |
41 | /// A lookup table of bitboards for all squares.
42 | private let _bitboardTable: [Bitboard] = (0 ..< 64).map { Bitboard(rawValue: 1 << $0) }
| |- warning: let '_bitboardTable' is not concurrency-safe because non-'Sendable' type '[Bitboard]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_bitboardTable' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 |
44 | /// The De Bruijn multiplier.
:
76 | /// - see also: [Bitboard (Wikipedia)](https://en.wikipedia.org/wiki/Bitboard ),
77 | /// [Bitboards (Chess Programming Wiki)](https://chessprogramming.org/Bitboards)
78 | public struct Bitboard: RawRepresentable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'Bitboard' conform to the 'Sendable' protocol
79 |
80 | /// A bitboard shift direction.
/host/spi-builder-workspace/Sources/SwiftChessNeo/Bitboard.swift:56:13: warning: let '_notFileA' is not concurrency-safe because non-'Sendable' type 'Bitboard' may have shared mutable state; this is an error in the Swift 6 language mode
54 |
55 | /// Mask for bits not in File A.
56 | private let _notFileA: Bitboard = 0xfefefefefefefefe
| |- warning: let '_notFileA' is not concurrency-safe because non-'Sendable' type 'Bitboard' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_notFileA' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 |
58 | /// Mask for bits not in Files A and B.
:
76 | /// - see also: [Bitboard (Wikipedia)](https://en.wikipedia.org/wiki/Bitboard ),
77 | /// [Bitboards (Chess Programming Wiki)](https://chessprogramming.org/Bitboards)
78 | public struct Bitboard: RawRepresentable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'Bitboard' conform to the 'Sendable' protocol
79 |
80 | /// A bitboard shift direction.
/host/spi-builder-workspace/Sources/SwiftChessNeo/Bitboard.swift:59:13: warning: let '_notFileAB' is not concurrency-safe because non-'Sendable' type 'Bitboard' may have shared mutable state; this is an error in the Swift 6 language mode
57 |
58 | /// Mask for bits not in Files A and B.
59 | private let _notFileAB: Bitboard = 0xfcfcfcfcfcfcfcfc
| |- warning: let '_notFileAB' is not concurrency-safe because non-'Sendable' type 'Bitboard' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_notFileAB' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 |
61 | /// Mask for bits not in File H.
:
76 | /// - see also: [Bitboard (Wikipedia)](https://en.wikipedia.org/wiki/Bitboard ),
77 | /// [Bitboards (Chess Programming Wiki)](https://chessprogramming.org/Bitboards)
78 | public struct Bitboard: RawRepresentable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'Bitboard' conform to the 'Sendable' protocol
79 |
80 | /// A bitboard shift direction.
/host/spi-builder-workspace/Sources/SwiftChessNeo/Bitboard.swift:62:13: warning: let '_notFileH' is not concurrency-safe because non-'Sendable' type 'Bitboard' may have shared mutable state; this is an error in the Swift 6 language mode
60 |
61 | /// Mask for bits not in File H.
62 | private let _notFileH: Bitboard = 0x7f7f7f7f7f7f7f7f
| |- warning: let '_notFileH' is not concurrency-safe because non-'Sendable' type 'Bitboard' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_notFileH' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 |
64 | /// Mask for bits not in Files G and H.
:
76 | /// - see also: [Bitboard (Wikipedia)](https://en.wikipedia.org/wiki/Bitboard ),
77 | /// [Bitboards (Chess Programming Wiki)](https://chessprogramming.org/Bitboards)
78 | public struct Bitboard: RawRepresentable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'Bitboard' conform to the 'Sendable' protocol
79 |
80 | /// A bitboard shift direction.
/host/spi-builder-workspace/Sources/SwiftChessNeo/Bitboard.swift:65:13: warning: let '_notFileGH' is not concurrency-safe because non-'Sendable' type 'Bitboard' may have shared mutable state; this is an error in the Swift 6 language mode
63 |
64 | /// Mask for bits not in Files G and H.
65 | private let _notFileGH: Bitboard = 0x3f3f3f3f3f3f3f3f
| |- warning: let '_notFileGH' is not concurrency-safe because non-'Sendable' type 'Bitboard' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_notFileGH' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 |
67 | /// A bitmap of sixty-four bits suitable for storing squares for various pieces.
:
76 | /// - see also: [Bitboard (Wikipedia)](https://en.wikipedia.org/wiki/Bitboard ),
77 | /// [Bitboards (Chess Programming Wiki)](https://chessprogramming.org/Bitboards)
78 | public struct Bitboard: RawRepresentable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'Bitboard' conform to the 'Sendable' protocol
79 |
80 | /// A bitboard shift direction.
/host/spi-builder-workspace/Sources/SwiftChessNeo/Bitboard.swift:108:29: warning: static property '_north' is not concurrency-safe because non-'Sendable' type 'Bitboard.ShiftDirection' may have shared mutable state; this is an error in the Swift 6 language mode
79 |
80 | /// A bitboard shift direction.
81 | public enum ShiftDirection {
| `- note: consider making enum 'ShiftDirection' conform to the 'Sendable' protocol
82 |
83 | /// North direction.
:
106 |
107 | /// North regardless of Swift version.
108 | internal static let _north = ShiftDirection.north
| |- warning: static property '_north' is not concurrency-safe because non-'Sendable' type 'Bitboard.ShiftDirection' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_north' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
109 |
110 | /// South regardless of Swift version.
/host/spi-builder-workspace/Sources/SwiftChessNeo/Bitboard.swift:111:29: warning: static property '_south' is not concurrency-safe because non-'Sendable' type 'Bitboard.ShiftDirection' may have shared mutable state; this is an error in the Swift 6 language mode
79 |
80 | /// A bitboard shift direction.
81 | public enum ShiftDirection {
| `- note: consider making enum 'ShiftDirection' conform to the 'Sendable' protocol
82 |
83 | /// North direction.
:
109 |
110 | /// South regardless of Swift version.
111 | internal static let _south = ShiftDirection.south
| |- warning: static property '_south' is not concurrency-safe because non-'Sendable' type 'Bitboard.ShiftDirection' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_south' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
112 |
113 | /// East regardless of Swift version.
/host/spi-builder-workspace/Sources/SwiftChessNeo/Bitboard.swift:114:29: warning: static property '_east' is not concurrency-safe because non-'Sendable' type 'Bitboard.ShiftDirection' may have shared mutable state; this is an error in the Swift 6 language mode
79 |
80 | /// A bitboard shift direction.
81 | public enum ShiftDirection {
| `- note: consider making enum 'ShiftDirection' conform to the 'Sendable' protocol
82 |
83 | /// North direction.
:
112 |
113 | /// East regardless of Swift version.
114 | internal static let _east = ShiftDirection.east
| |- warning: static property '_east' is not concurrency-safe because non-'Sendable' type 'Bitboard.ShiftDirection' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_east' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
115 |
116 | /// West regardless of Swift version.
/host/spi-builder-workspace/Sources/SwiftChessNeo/Bitboard.swift:117:29: warning: static property '_west' is not concurrency-safe because non-'Sendable' type 'Bitboard.ShiftDirection' may have shared mutable state; this is an error in the Swift 6 language mode
79 |
80 | /// A bitboard shift direction.
81 | public enum ShiftDirection {
| `- note: consider making enum 'ShiftDirection' conform to the 'Sendable' protocol
82 |
83 | /// North direction.
:
115 |
116 | /// West regardless of Swift version.
117 | internal static let _west = ShiftDirection.west
| |- warning: static property '_west' is not concurrency-safe because non-'Sendable' type 'Bitboard.ShiftDirection' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_west' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
118 |
119 | /// Northeast regardless of Swift version.
/host/spi-builder-workspace/Sources/SwiftChessNeo/Bitboard.swift:120:29: warning: static property '_northeast' is not concurrency-safe because non-'Sendable' type 'Bitboard.ShiftDirection' may have shared mutable state; this is an error in the Swift 6 language mode
79 |
80 | /// A bitboard shift direction.
81 | public enum ShiftDirection {
| `- note: consider making enum 'ShiftDirection' conform to the 'Sendable' protocol
82 |
83 | /// North direction.
:
118 |
119 | /// Northeast regardless of Swift version.
120 | internal static let _northeast = ShiftDirection.northeast
| |- warning: static property '_northeast' is not concurrency-safe because non-'Sendable' type 'Bitboard.ShiftDirection' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_northeast' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
121 |
122 | /// Southeast regardless of Swift version.
/host/spi-builder-workspace/Sources/SwiftChessNeo/Bitboard.swift:123:29: warning: static property '_southeast' is not concurrency-safe because non-'Sendable' type 'Bitboard.ShiftDirection' may have shared mutable state; this is an error in the Swift 6 language mode
79 |
80 | /// A bitboard shift direction.
81 | public enum ShiftDirection {
| `- note: consider making enum 'ShiftDirection' conform to the 'Sendable' protocol
82 |
83 | /// North direction.
:
121 |
122 | /// Southeast regardless of Swift version.
123 | internal static let _southeast = ShiftDirection.southeast
| |- warning: static property '_southeast' is not concurrency-safe because non-'Sendable' type 'Bitboard.ShiftDirection' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_southeast' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
124 |
125 | /// Northwest regardless of Swift version.
/host/spi-builder-workspace/Sources/SwiftChessNeo/Bitboard.swift:126:29: warning: static property '_northwest' is not concurrency-safe because non-'Sendable' type 'Bitboard.ShiftDirection' may have shared mutable state; this is an error in the Swift 6 language mode
79 |
80 | /// A bitboard shift direction.
81 | public enum ShiftDirection {
| `- note: consider making enum 'ShiftDirection' conform to the 'Sendable' protocol
82 |
83 | /// North direction.
:
124 |
125 | /// Northwest regardless of Swift version.
126 | internal static let _northwest = ShiftDirection.northwest
| |- warning: static property '_northwest' is not concurrency-safe because non-'Sendable' type 'Bitboard.ShiftDirection' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_northwest' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
127 |
128 | /// Southwest regardless of Swift version.
/host/spi-builder-workspace/Sources/SwiftChessNeo/Bitboard.swift:129:29: warning: static property '_southwest' is not concurrency-safe because non-'Sendable' type 'Bitboard.ShiftDirection' may have shared mutable state; this is an error in the Swift 6 language mode
79 |
80 | /// A bitboard shift direction.
81 | public enum ShiftDirection {
| `- note: consider making enum 'ShiftDirection' conform to the 'Sendable' protocol
82 |
83 | /// North direction.
:
127 |
128 | /// Southwest regardless of Swift version.
129 | internal static let _southwest = ShiftDirection.southwest
| |- warning: static property '_southwest' is not concurrency-safe because non-'Sendable' type 'Bitboard.ShiftDirection' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_southwest' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
130 |
131 | }
/host/spi-builder-workspace/Sources/SwiftChessNeo/Bitboard.swift:152:23: warning: static property 'edges' is not concurrency-safe because non-'Sendable' type 'Bitboard' may have shared mutable state; this is an error in the Swift 6 language mode
76 | /// - see also: [Bitboard (Wikipedia)](https://en.wikipedia.org/wiki/Bitboard ),
77 | /// [Bitboards (Chess Programming Wiki)](https://chessprogramming.org/Bitboards)
78 | public struct Bitboard: RawRepresentable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'Bitboard' conform to the 'Sendable' protocol
79 |
80 | /// A bitboard shift direction.
:
150 |
151 | /// The edges of a board.
152 | public static let edges: Bitboard = 0xff818181818181ff
| |- warning: static property 'edges' is not concurrency-safe because non-'Sendable' type 'Bitboard' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'edges' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
153 |
154 | /// The corresponding value of the "raw" type.
/host/spi-builder-workspace/Sources/SwiftChessNeo/Rank.swift:66:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[Rank]' may have shared mutable state; this is an error in the Swift 6 language mode
22 | ///
23 | /// `Rank`s refer to the eight rows of a chess board, beginning with 1 at the bottom and ending with 8 at the top.
24 | public enum Rank: Int, Comparable, CustomStringConvertible {
| `- note: consider making enum 'Rank' conform to the 'Sendable' protocol
25 |
26 | /// A direction in rank.
:
64 |
65 | /// An array of all ranks.
66 | public static let all: [Rank] = [1, 2, 3, 4, 5, 6, 7, 8]
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[Rank]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 |
68 | /// The row index of `self`.
/host/spi-builder-workspace/Sources/SwiftChessNeo/File.swift:90:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[File]' may have shared mutable state; this is an error in the Swift 6 language mode
22 | ///
23 | /// Files refer to the eight columns of a chess board, beginning with A and ending with H from left to right.
24 | public enum File: Int, Comparable, CustomStringConvertible {
| `- note: consider making enum 'File' conform to the 'Sendable' protocol
25 |
26 | /// A direction in file.
:
88 |
89 | /// An array of all files.
90 | public static let all: [File] = [.a, .b, .c, .d, .e, .f, .g, .h]
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[File]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 |
92 | /// The column index of `self`.
/host/spi-builder-workspace/Sources/SwiftChessNeo/Piece.swift:149:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[Piece]' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// A chess piece.
22 | public struct Piece: Hashable, CustomStringConvertible {
| `- note: consider making struct 'Piece' conform to the 'Sendable' protocol
23 |
24 | /// A piece kind.
:
147 |
148 | /// An array of all pieces.
149 | public static let all: [Piece] = {
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[Piece]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
150 | return [.white, .black].reduce([]) { pieces, color in
151 | return pieces + Kind.all.map({ Piece(kind: $0, color: color) })
/host/spi-builder-workspace/Sources/SwiftChessNeo/File.swift:83:25: warning: static property '_h' is not concurrency-safe because non-'Sendable' type 'File' may have shared mutable state; this is an error in the Swift 6 language mode
22 | ///
23 | /// Files refer to the eight columns of a chess board, beginning with A and ending with H from left to right.
24 | public enum File: Int, Comparable, CustomStringConvertible {
| `- note: consider making enum 'File' conform to the 'Sendable' protocol
25 |
26 | /// A direction in file.
:
81 |
82 | /// H regardless of Swift version.
83 | internal static let _h = File.h
| |- warning: static property '_h' is not concurrency-safe because non-'Sendable' type 'File' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_h' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 |
85 | }
/host/spi-builder-workspace/Sources/SwiftChessNeo/CastlingRights.swift:42:27: warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[CastlingRights.Right]' may have shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | /// A castling right.
27 | public enum Right: String, CustomStringConvertible {
| `- note: consider making enum 'Right' conform to the 'Sendable' protocol
28 |
29 | /// White can castle kingside.
:
40 |
41 | /// All rights.
42 | public static let all: [Right] = [.whiteKingside, .whiteQueenside, .blackKingside, .blackQueenside]
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[CastlingRights.Right]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 |
44 | /// White rights.
/host/spi-builder-workspace/Sources/SwiftChessNeo/CastlingRights.swift:45:27: warning: static property 'white' is not concurrency-safe because non-'Sendable' type '[CastlingRights.Right]' may have shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | /// A castling right.
27 | public enum Right: String, CustomStringConvertible {
| `- note: consider making enum 'Right' conform to the 'Sendable' protocol
28 |
29 | /// White can castle kingside.
:
43 |
44 | /// White rights.
45 | public static let white: [Right] = all.filter({ $0.color.isWhite })
| |- warning: static property 'white' is not concurrency-safe because non-'Sendable' type '[CastlingRights.Right]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'white' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 |
47 | /// Black rights.
/host/spi-builder-workspace/Sources/SwiftChessNeo/CastlingRights.swift:48:27: warning: static property 'black' is not concurrency-safe because non-'Sendable' type '[CastlingRights.Right]' may have shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | /// A castling right.
27 | public enum Right: String, CustomStringConvertible {
| `- note: consider making enum 'Right' conform to the 'Sendable' protocol
28 |
29 | /// White can castle kingside.
:
46 |
47 | /// Black rights.
48 | public static let black: [Right] = all.filter({ $0.color.isBlack })
| |- warning: static property 'black' is not concurrency-safe because non-'Sendable' type '[CastlingRights.Right]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'black' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 |
50 | /// Kingside rights.
/host/spi-builder-workspace/Sources/SwiftChessNeo/CastlingRights.swift:51:27: warning: static property 'kingside' is not concurrency-safe because non-'Sendable' type '[CastlingRights.Right]' may have shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | /// A castling right.
27 | public enum Right: String, CustomStringConvertible {
| `- note: consider making enum 'Right' conform to the 'Sendable' protocol
28 |
29 | /// White can castle kingside.
:
49 |
50 | /// Kingside rights.
51 | public static let kingside: [Right] = all.filter({ $0.side.isKingside })
| |- warning: static property 'kingside' is not concurrency-safe because non-'Sendable' type '[CastlingRights.Right]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'kingside' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |
53 | /// Queenside rights.
/host/spi-builder-workspace/Sources/SwiftChessNeo/CastlingRights.swift:54:27: warning: static property 'queenside' is not concurrency-safe because non-'Sendable' type '[CastlingRights.Right]' may have shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | /// A castling right.
27 | public enum Right: String, CustomStringConvertible {
| `- note: consider making enum 'Right' conform to the 'Sendable' protocol
28 |
29 | /// White can castle kingside.
:
52 |
53 | /// Queenside rights.
54 | public static let queenside: [Right] = all.filter({ $0.side.isQueenside })
| |- warning: static property 'queenside' is not concurrency-safe because non-'Sendable' type '[CastlingRights.Right]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'queenside' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 |
56 | /// The color for `self`.
/host/spi-builder-workspace/Sources/SwiftChessNeo/CastlingRights.swift:174:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'CastlingRights' may have shared mutable state; this is an error in the Swift 6 language mode
22 | ///
23 | /// Defines whether a `Color` has the right to castle for a `Board.Side`.
24 | public struct CastlingRights: CustomStringConvertible {
| `- note: consider making struct 'CastlingRights' conform to the 'Sendable' protocol
25 |
26 | /// A castling right.
:
172 |
173 | /// All castling rights.
174 | public static let all = CastlingRights(Right.all)
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'CastlingRights' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
175 |
176 | /// White castling rights.
/host/spi-builder-workspace/Sources/SwiftChessNeo/CastlingRights.swift:177:23: warning: static property 'white' is not concurrency-safe because non-'Sendable' type 'CastlingRights' may have shared mutable state; this is an error in the Swift 6 language mode
22 | ///
23 | /// Defines whether a `Color` has the right to castle for a `Board.Side`.
24 | public struct CastlingRights: CustomStringConvertible {
| `- note: consider making struct 'CastlingRights' conform to the 'Sendable' protocol
25 |
26 | /// A castling right.
:
175 |
176 | /// White castling rights.
177 | public static let white = CastlingRights(Right.white)
| |- warning: static property 'white' is not concurrency-safe because non-'Sendable' type 'CastlingRights' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'white' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
178 |
179 | /// Black castling rights.
/host/spi-builder-workspace/Sources/SwiftChessNeo/CastlingRights.swift:180:23: warning: static property 'black' is not concurrency-safe because non-'Sendable' type 'CastlingRights' may have shared mutable state; this is an error in the Swift 6 language mode
22 | ///
23 | /// Defines whether a `Color` has the right to castle for a `Board.Side`.
24 | public struct CastlingRights: CustomStringConvertible {
| `- note: consider making struct 'CastlingRights' conform to the 'Sendable' protocol
25 |
26 | /// A castling right.
:
178 |
179 | /// Black castling rights.
180 | public static let black = CastlingRights(Right.black)
| |- warning: static property 'black' is not concurrency-safe because non-'Sendable' type 'CastlingRights' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'black' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
181 |
182 | /// Kingside castling rights.
/host/spi-builder-workspace/Sources/SwiftChessNeo/CastlingRights.swift:183:23: warning: static property 'kingside' is not concurrency-safe because non-'Sendable' type 'CastlingRights' may have shared mutable state; this is an error in the Swift 6 language mode
22 | ///
23 | /// Defines whether a `Color` has the right to castle for a `Board.Side`.
24 | public struct CastlingRights: CustomStringConvertible {
| `- note: consider making struct 'CastlingRights' conform to the 'Sendable' protocol
25 |
26 | /// A castling right.
:
181 |
182 | /// Kingside castling rights.
183 | public static let kingside = CastlingRights(Right.kingside)
| |- warning: static property 'kingside' is not concurrency-safe because non-'Sendable' type 'CastlingRights' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'kingside' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
184 |
185 | /// Queenside castling rights.
/host/spi-builder-workspace/Sources/SwiftChessNeo/CastlingRights.swift:186:23: warning: static property 'queenside' is not concurrency-safe because non-'Sendable' type 'CastlingRights' may have shared mutable state; this is an error in the Swift 6 language mode
22 | ///
23 | /// Defines whether a `Color` has the right to castle for a `Board.Side`.
24 | public struct CastlingRights: CustomStringConvertible {
| `- note: consider making struct 'CastlingRights' conform to the 'Sendable' protocol
25 |
26 | /// A castling right.
:
184 |
185 | /// Queenside castling rights.
186 | public static let queenside = CastlingRights(Right.queenside)
| |- warning: static property 'queenside' is not concurrency-safe because non-'Sendable' type 'CastlingRights' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'queenside' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
187 |
188 | /// The rights.
[19/20] Compiling SwiftChessNeo Move.swift
/host/spi-builder-workspace/Sources/SwiftChessNeo/File.swift:74:25: warning: static property '_e' is not concurrency-safe because non-'Sendable' type 'File' may have shared mutable state; this is an error in the Swift 6 language mode
22 | ///
23 | /// Files refer to the eight columns of a chess board, beginning with A and ending with H from left to right.
24 | public enum File: Int, Comparable, CustomStringConvertible {
| `- note: consider making enum 'File' conform to the 'Sendable' protocol
25 |
26 | /// A direction in file.
:
72 |
73 | /// E regardless of Swift version.
74 | internal static let _e = File.e
| |- warning: static property '_e' is not concurrency-safe because non-'Sendable' type 'File' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_e' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 |
76 | /// F regardless of Swift version.
/host/spi-builder-workspace/Sources/SwiftChessNeo/File.swift:68:25: warning: static property '_c' is not concurrency-safe because non-'Sendable' type 'File' may have shared mutable state; this is an error in the Swift 6 language mode
22 | ///
23 | /// Files refer to the eight columns of a chess board, beginning with A and ending with H from left to right.
24 | public enum File: Int, Comparable, CustomStringConvertible {
| `- note: consider making enum 'File' conform to the 'Sendable' protocol
25 |
26 | /// A direction in file.
:
66 |
67 | /// C regardless of Swift version.
68 | internal static let _c = File.c
| |- warning: static property '_c' is not concurrency-safe because non-'Sendable' type 'File' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_c' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 |
70 | /// D regardless of Swift version.
/host/spi-builder-workspace/Sources/SwiftChessNeo/File.swift:80:25: warning: static property '_g' is not concurrency-safe because non-'Sendable' type 'File' may have shared mutable state; this is an error in the Swift 6 language mode
22 | ///
23 | /// Files refer to the eight columns of a chess board, beginning with A and ending with H from left to right.
24 | public enum File: Int, Comparable, CustomStringConvertible {
| `- note: consider making enum 'File' conform to the 'Sendable' protocol
25 |
26 | /// A direction in file.
:
78 |
79 | /// G regardless of Swift version.
80 | internal static let _g = File.g
| |- warning: static property '_g' is not concurrency-safe because non-'Sendable' type 'File' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_g' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
81 |
82 | /// H regardless of Swift version.
[20/20] Compiling SwiftChessNeo PGN.swift
/host/spi-builder-workspace/Sources/SwiftChessNeo/File.swift:74:25: warning: static property '_e' is not concurrency-safe because non-'Sendable' type 'File' may have shared mutable state; this is an error in the Swift 6 language mode
22 | ///
23 | /// Files refer to the eight columns of a chess board, beginning with A and ending with H from left to right.
24 | public enum File: Int, Comparable, CustomStringConvertible {
| `- note: consider making enum 'File' conform to the 'Sendable' protocol
25 |
26 | /// A direction in file.
:
72 |
73 | /// E regardless of Swift version.
74 | internal static let _e = File.e
| |- warning: static property '_e' is not concurrency-safe because non-'Sendable' type 'File' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_e' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 |
76 | /// F regardless of Swift version.
/host/spi-builder-workspace/Sources/SwiftChessNeo/File.swift:68:25: warning: static property '_c' is not concurrency-safe because non-'Sendable' type 'File' may have shared mutable state; this is an error in the Swift 6 language mode
22 | ///
23 | /// Files refer to the eight columns of a chess board, beginning with A and ending with H from left to right.
24 | public enum File: Int, Comparable, CustomStringConvertible {
| `- note: consider making enum 'File' conform to the 'Sendable' protocol
25 |
26 | /// A direction in file.
:
66 |
67 | /// C regardless of Swift version.
68 | internal static let _c = File.c
| |- warning: static property '_c' is not concurrency-safe because non-'Sendable' type 'File' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_c' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 |
70 | /// D regardless of Swift version.
/host/spi-builder-workspace/Sources/SwiftChessNeo/File.swift:80:25: warning: static property '_g' is not concurrency-safe because non-'Sendable' type 'File' may have shared mutable state; this is an error in the Swift 6 language mode
22 | ///
23 | /// Files refer to the eight columns of a chess board, beginning with A and ending with H from left to right.
24 | public enum File: Int, Comparable, CustomStringConvertible {
| `- note: consider making enum 'File' conform to the 'Sendable' protocol
25 |
26 | /// A direction in file.
:
78 |
79 | /// G regardless of Swift version.
80 | internal static let _g = File.g
| |- warning: static property '_g' is not concurrency-safe because non-'Sendable' type 'File' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_g' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
81 |
82 | /// H regardless of Swift version.
Build complete! (13.30s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "swift-chess-neo",
"name" : "swift-chess-neo",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "SwiftChessNeo",
"targets" : [
"SwiftChessNeo"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftChessNeoTests",
"module_type" : "SwiftTarget",
"name" : "SwiftChessNeoTests",
"path" : "Tests/SwiftChessNeoTests",
"sources" : [
"PGNParsingTests.swift",
"PlayerTests.swift",
"SwiftChessNeoTests.swift",
"VariantTests.swift"
],
"target_dependencies" : [
"SwiftChessNeo"
],
"type" : "test"
},
{
"c99name" : "SwiftChessNeo",
"module_type" : "SwiftTarget",
"name" : "SwiftChessNeo",
"path" : "Sources/SwiftChessNeo",
"product_memberships" : [
"SwiftChessNeo"
],
"sources" : [
"Bitboard.swift",
"Board.swift",
"CastlingRights.swift",
"Color.swift",
"File.swift",
"Game.swift",
"InternalTypes.swift",
"Move.swift",
"PGN.swift",
"PGNMove.swift",
"Piece.swift",
"Player.swift",
"Rank.swift",
"Sequence+Sage.swift",
"Square.swift",
"Tables.swift",
"Variant.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.