The Swift Package Index logo.Swift Package Index

Build Information

Successful build of swift-chess-neo, reference master (1a2031), with Swift 6.1 for macOS (SPM) on 16 Sep 2025 23:46:56 UTC.

Swift 6 data race errors: 8

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/navanchauhan/swift-chess-neo.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/navanchauhan/swift-chess-neo
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 1a20317 Merge pull request #8 from navanchauhan/feature/swiftui-board
Cloned https://github.com/navanchauhan/swift-chess-neo.git
Revision (git rev-parse @):
1a2031788da75026c1bb25fccffa38ab6ec8bdf5
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/navanchauhan/swift-chess-neo.git at master
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "swift-chess-neo",
      "name": "swift-chess-neo",
      "url": "https://github.com/navanchauhan/swift-chess-neo.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-chess-neo",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/navanchauhan/swift-chess-neo.git
[9/276] Fetching swift-chess-neo
Fetched https://github.com/navanchauhan/swift-chess-neo.git from cache (0.78s)
Creating working copy for https://github.com/navanchauhan/swift-chess-neo.git
Working copy of https://github.com/navanchauhan/swift-chess-neo.git resolved at master (1a20317)
warning: '.resolve-product-dependencies': dependency 'swift-chess-neo' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/navanchauhan/swift-chess-neo.git
https://github.com/navanchauhan/swift-chess-neo.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "swift-chess-neo",
  "name" : "swift-chess-neo",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    },
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "tvos",
      "version" : "16.0"
    },
    {
      "name" : "watchos",
      "version" : "9.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftChessCore",
      "targets" : [
        "SwiftChessCore"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SwiftChessUI",
      "targets" : [
        "SwiftChessUI"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftChessUI",
      "module_type" : "SwiftTarget",
      "name" : "SwiftChessUI",
      "path" : "Sources/SwiftChessUI",
      "product_memberships" : [
        "SwiftChessUI"
      ],
      "sources" : [
        "Board+View.swift",
        "BoardState.swift",
        "BoardView+Preview.swift",
        "BoardView.swift",
        "MovetextOutline.swift"
      ],
      "target_dependencies" : [
        "SwiftChessCore"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SwiftChessCoreTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftChessCoreTests",
      "path" : "Tests/SwiftChessCoreTests",
      "sources" : [
        "BoardStateTests.swift",
        "MiscTests.swift",
        "PGNParsingTests.swift",
        "SwiftChessCoreTests.swift"
      ],
      "target_dependencies" : [
        "SwiftChessCore",
        "SwiftChessUI"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftChessCore",
      "module_type" : "SwiftTarget",
      "name" : "SwiftChessCore",
      "path" : "Sources/SwiftChessCore",
      "product_memberships" : [
        "SwiftChessCore",
        "SwiftChessUI"
      ],
      "sources" : [
        "Bitboard.swift",
        "Board.swift",
        "CastlingRights.swift",
        "Color.swift",
        "File.swift",
        "Game.swift",
        "InternalTypes.swift",
        "Minimax.swift",
        "Move.swift",
        "PGN.swift",
        "PGNMove.swift",
        "PGNMovetextParser.swift",
        "Piece.swift",
        "Player.swift",
        "Rank.swift",
        "Sequence+Sage.swift",
        "Square.swift",
        "Tables.swift",
        "Variant.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-2F0A5646E1D333AE.txt
[4/22] Compiling SwiftChessCore Piece.swift
[5/22] Compiling SwiftChessCore Player.swift
[6/22] Compiling SwiftChessCore Square.swift
[7/22] Compiling SwiftChessCore Tables.swift
[8/23] Compiling SwiftChessCore Variant.swift
[9/23] Compiling SwiftChessCore File.swift
[10/23] Compiling SwiftChessCore Game.swift
[11/23] Compiling SwiftChessCore Rank.swift
[12/23] Compiling SwiftChessCore Sequence+Sage.swift
[13/23] Compiling SwiftChessCore Move.swift
[14/23] Compiling SwiftChessCore PGN.swift
[15/23] Compiling SwiftChessCore InternalTypes.swift
[16/23] Compiling SwiftChessCore Minimax.swift
[17/23] Compiling SwiftChessCore PGNMove.swift
[18/23] Compiling SwiftChessCore PGNMovetextParser.swift
[19/23] Compiling SwiftChessCore CastlingRights.swift
[20/23] Compiling SwiftChessCore Color.swift
[21/23] Emitting module SwiftChessCore
[22/23] Compiling SwiftChessCore Bitboard.swift
[23/23] Compiling SwiftChessCore Board.swift
[24/29] Compiling SwiftChessUI MovetextOutline.swift
[25/29] Compiling SwiftChessUI BoardView+Preview.swift
[26/29] Compiling SwiftChessUI Board+View.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftChessUI/Board+View.swift:31:16: warning: call to main actor-isolated initializer 'init(frame:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
16 | extension Board.Space {
17 |   // Mirrors the original playground helper while keeping the core target UI-free.
18 |   fileprivate func _view(size: CGFloat) -> _View {
   |                    `- note: add '@MainActor' to make instance method '_view(size:)' part of global actor 'MainActor'
19 |     #if canImport(AppKit)
20 |     let rectY = CGFloat(rank.index) * size
   :
29 |     let textFrame = CGRect(x: 0, y: 0, width: size, height: size)
30 |     let fontSize = size * 0.625
31 |     let view = _View(frame: frame)
   |                `- warning: call to main actor-isolated initializer 'init(frame:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
32 |     let str = piece.map({ String($0.specialCharacter(background: color)) }) ?? ""
33 |     let white = _Color.white
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:83:1: note: calls to initializer 'init(frame:)' from outside of its actor context are implicitly asynchronous
 81 | @interface NSView : NSResponder <NSAnimatablePropertyContainer, NSUserInterfaceItemIdentification, NSDraggingDestination, NSAppearanceCustomization, NSAccessibilityElement, NSAccessibility>
 82 |
 83 | - (instancetype)initWithFrame:(NSRect)frameRect NS_DESIGNATED_INITIALIZER;
    | |- note: calls to initializer 'init(frame:)' from outside of its actor context are implicitly asynchronous
    | `- note: main actor isolation inferred from inheritance from class 'NSResponder'
 84 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
 85 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftChessUI/Board+View.swift:38:10: warning: main actor-isolated property 'wantsLayer' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
16 | extension Board.Space {
17 |   // Mirrors the original playground helper while keeping the core target UI-free.
18 |   fileprivate func _view(size: CGFloat) -> _View {
   |                    `- note: add '@MainActor' to make instance method '_view(size:)' part of global actor 'MainActor'
19 |     #if canImport(AppKit)
20 |     let rectY = CGFloat(rank.index) * size
   :
36 |     let tc: _Color = color.isWhite ? black : white
37 |     #if canImport(AppKit)
38 |     view.wantsLayer = true
   |          `- warning: main actor-isolated property 'wantsLayer' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
39 |     view.layer?.backgroundColor = bg.cgColor
40 |     let text = _Label(frame: textFrame)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:247:16: note: mutation of this property is only permitted within the actor
245 | /* Indicates if this view should be a "Layer Backed View". When layer backed, all subviews will subsequently also have a layer set on them (however, wantsLayer will only be YES on views that have had it explicitly set). Contents for a layer are specified in one of two ways: if -wantsUpdateLayer returns YES, then one can directly update the layer's contents (or other properties) in -updateLayer. If -wantsUpdateLayer returns NO, then the layer's contents is filled with whatever is drawn by -drawRect:
246 |  */
247 | @property BOOL wantsLayer API_AVAILABLE(macos(10.5));
    |                `- note: mutation of this property is only permitted within the actor
248 |
249 | /* Get and set the CALayer for this view. The layer is not encoded by the view.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftChessUI/Board+View.swift:39:10: warning: main actor-isolated property 'layer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
16 | extension Board.Space {
17 |   // Mirrors the original playground helper while keeping the core target UI-free.
18 |   fileprivate func _view(size: CGFloat) -> _View {
   |                    `- note: add '@MainActor' to make instance method '_view(size:)' part of global actor 'MainActor'
19 |     #if canImport(AppKit)
20 |     let rectY = CGFloat(rank.index) * size
   :
37 |     #if canImport(AppKit)
38 |     view.wantsLayer = true
39 |     view.layer?.backgroundColor = bg.cgColor
   |          `- warning: main actor-isolated property 'layer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
40 |     let text = _Label(frame: textFrame)
41 |     text.alignment = .center
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:251:39: note: property declared here
249 | /* Get and set the CALayer for this view. The layer is not encoded by the view.
250 |  */
251 | @property (nullable, strong) CALayer *layer API_AVAILABLE(macos(10.5));
    |                                       `- note: property declared here
252 |
253 | /* Layer Backed Views: Return YES if this view supports directly setting the layer properties (such as the contents and backgroundColor) as opposed to filling in the contents with a drawRect: implementation. Most AppKit controls return YES if there is no subclassing involved that would alter the drawing appearance. It will return NO for views that do have subclassing that AppKit does not know about (such as, overriding drawRect:, or other drawing methods).
/Users/admin/builder/spi-builder-workspace/Sources/SwiftChessUI/Board+View.swift:40:16: warning: call to main actor-isolated initializer 'init(frame:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
16 | extension Board.Space {
17 |   // Mirrors the original playground helper while keeping the core target UI-free.
18 |   fileprivate func _view(size: CGFloat) -> _View {
   |                    `- note: add '@MainActor' to make instance method '_view(size:)' part of global actor 'MainActor'
19 |     #if canImport(AppKit)
20 |     let rectY = CGFloat(rank.index) * size
   :
38 |     view.wantsLayer = true
39 |     view.layer?.backgroundColor = bg.cgColor
40 |     let text = _Label(frame: textFrame)
   |                `- warning: call to main actor-isolated initializer 'init(frame:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
41 |     text.alignment = .center
42 |     text.font = .systemFont(ofSize: fontSize)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSText.h:66:1: note: calls to initializer 'init(frame:)' from outside of its actor context are implicitly asynchronous
 64 | @interface NSText : NSView <NSChangeSpelling, NSIgnoreMisspelledWords>
 65 |
 66 | - (instancetype)initWithFrame:(NSRect)frameRect NS_DESIGNATED_INITIALIZER;
    | |- note: calls to initializer 'init(frame:)' from outside of its actor context are implicitly asynchronous
    | `- note: main actor isolation inferred from inheritance from class 'NSView'
 67 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
 68 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftChessUI/Board+View.swift:41:10: warning: main actor-isolated property 'alignment' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
16 | extension Board.Space {
17 |   // Mirrors the original playground helper while keeping the core target UI-free.
18 |   fileprivate func _view(size: CGFloat) -> _View {
   |                    `- note: add '@MainActor' to make instance method '_view(size:)' part of global actor 'MainActor'
19 |     #if canImport(AppKit)
20 |     let rectY = CGFloat(rank.index) * size
   :
39 |     view.layer?.backgroundColor = bg.cgColor
40 |     let text = _Label(frame: textFrame)
41 |     text.alignment = .center
   |          `- warning: main actor-isolated property 'alignment' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
42 |     text.font = .systemFont(ofSize: fontSize)
43 |     text.isEditable = false
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSText.h:102:27: note: mutation of this property is only permitted within the actor
100 |
101 | #if !TARGET_OS_IPHONE
102 | @property NSTextAlignment alignment;
    |                           `- note: mutation of this property is only permitted within the actor
103 | @property NSWritingDirection baseWritingDirection;
104 | #endif // !TARGET_OS_IPHONE
/Users/admin/builder/spi-builder-workspace/Sources/SwiftChessUI/Board+View.swift:42:10: warning: main actor-isolated property 'font' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
16 | extension Board.Space {
17 |   // Mirrors the original playground helper while keeping the core target UI-free.
18 |   fileprivate func _view(size: CGFloat) -> _View {
   |                    `- note: add '@MainActor' to make instance method '_view(size:)' part of global actor 'MainActor'
19 |     #if canImport(AppKit)
20 |     let rectY = CGFloat(rank.index) * size
   :
40 |     let text = _Label(frame: textFrame)
41 |     text.alignment = .center
42 |     text.font = .systemFont(ofSize: fontSize)
   |          `- warning: main actor-isolated property 'font' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
43 |     text.isEditable = false
44 |     text.isSelectable = false
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSText.h:98:38: note: mutation of this property is only permitted within the actor
 96 | - (void)scrollRangeToVisible:(NSRange)range;
 97 |
 98 | @property (nullable, strong) NSFont *font;
    |                                      `- note: mutation of this property is only permitted within the actor
 99 | @property (nullable, copy) NSColor *textColor; // Default is nil. If nil, draws with blackColor
100 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftChessUI/Board+View.swift:43:10: warning: main actor-isolated property 'isEditable' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
16 | extension Board.Space {
17 |   // Mirrors the original playground helper while keeping the core target UI-free.
18 |   fileprivate func _view(size: CGFloat) -> _View {
   |                    `- note: add '@MainActor' to make instance method '_view(size:)' part of global actor 'MainActor'
19 |     #if canImport(AppKit)
20 |     let rectY = CGFloat(rank.index) * size
   :
41 |     text.alignment = .center
42 |     text.font = .systemFont(ofSize: fontSize)
43 |     text.isEditable = false
   |          `- warning: main actor-isolated property 'isEditable' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
44 |     text.isSelectable = false
45 |     text.string = str
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSText.h:83:36: note: mutation of this property is only permitted within the actor
 81 | @property (nullable, assign) id<NSTextDelegate> delegate;
 82 |
 83 | @property (getter=isEditable) BOOL editable;
    |                                    `- note: mutation of this property is only permitted within the actor
 84 | @property (getter=isSelectable) BOOL selectable;
 85 | @property (getter=isRichText) BOOL richText;        //If NO, also clears setImportsGraphics:
/Users/admin/builder/spi-builder-workspace/Sources/SwiftChessUI/Board+View.swift:44:10: warning: main actor-isolated property 'isSelectable' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
16 | extension Board.Space {
17 |   // Mirrors the original playground helper while keeping the core target UI-free.
18 |   fileprivate func _view(size: CGFloat) -> _View {
   |                    `- note: add '@MainActor' to make instance method '_view(size:)' part of global actor 'MainActor'
19 |     #if canImport(AppKit)
20 |     let rectY = CGFloat(rank.index) * size
   :
42 |     text.font = .systemFont(ofSize: fontSize)
43 |     text.isEditable = false
44 |     text.isSelectable = false
   |          `- warning: main actor-isolated property 'isSelectable' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
45 |     text.string = str
46 |     text.drawsBackground = false
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSText.h:84:38: note: mutation of this property is only permitted within the actor
 82 |
 83 | @property (getter=isEditable) BOOL editable;
 84 | @property (getter=isSelectable) BOOL selectable;
    |                                      `- note: mutation of this property is only permitted within the actor
 85 | @property (getter=isRichText) BOOL richText;        //If NO, also clears setImportsGraphics:
 86 | @property BOOL importsGraphics; // If YES, also sets setRichText:
/Users/admin/builder/spi-builder-workspace/Sources/SwiftChessUI/Board+View.swift:45:10: warning: main actor-isolated property 'string' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
16 | extension Board.Space {
17 |   // Mirrors the original playground helper while keeping the core target UI-free.
18 |   fileprivate func _view(size: CGFloat) -> _View {
   |                    `- note: add '@MainActor' to make instance method '_view(size:)' part of global actor 'MainActor'
19 |     #if canImport(AppKit)
20 |     let rectY = CGFloat(rank.index) * size
   :
43 |     text.isEditable = false
44 |     text.isSelectable = false
45 |     text.string = str
   |          `- warning: main actor-isolated property 'string' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
46 |     text.drawsBackground = false
47 |     text.textColor = tc
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSText.h:69:28: note: mutation of this property is only permitted within the actor
 67 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
 68 |
 69 | @property (copy) NSString *string;
    |                            `- note: mutation of this property is only permitted within the actor
 70 |
 71 | - (void)replaceCharactersInRange:(NSRange)range withString:(NSString *)string;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftChessUI/Board+View.swift:46:10: warning: main actor-isolated property 'drawsBackground' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
16 | extension Board.Space {
17 |   // Mirrors the original playground helper while keeping the core target UI-free.
18 |   fileprivate func _view(size: CGFloat) -> _View {
   |                    `- note: add '@MainActor' to make instance method '_view(size:)' part of global actor 'MainActor'
19 |     #if canImport(AppKit)
20 |     let rectY = CGFloat(rank.index) * size
   :
44 |     text.isSelectable = false
45 |     text.string = str
46 |     text.drawsBackground = false
   |          `- warning: main actor-isolated property 'drawsBackground' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
47 |     text.textColor = tc
48 |     view.addSubview(text)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSText.h:89:16: note: mutation of this property is only permitted within the actor
 87 | @property (getter=isFieldEditor) BOOL fieldEditor;     // Indicates whether to end editing on CR, TAB, etc.
 88 | @property BOOL usesFontPanel;
 89 | @property BOOL drawsBackground;
    |                `- note: mutation of this property is only permitted within the actor
 90 | @property (nullable, copy) NSColor *backgroundColor; // Default is nil. If nil, it implies -drawsBackground=NO
 91 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftChessUI/Board+View.swift:47:10: warning: main actor-isolated property 'textColor' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
16 | extension Board.Space {
17 |   // Mirrors the original playground helper while keeping the core target UI-free.
18 |   fileprivate func _view(size: CGFloat) -> _View {
   |                    `- note: add '@MainActor' to make instance method '_view(size:)' part of global actor 'MainActor'
19 |     #if canImport(AppKit)
20 |     let rectY = CGFloat(rank.index) * size
   :
45 |     text.string = str
46 |     text.drawsBackground = false
47 |     text.textColor = tc
   |          `- warning: main actor-isolated property 'textColor' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
48 |     view.addSubview(text)
49 |     #else
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSText.h:99:37: note: mutation of this property is only permitted within the actor
 97 |
 98 | @property (nullable, strong) NSFont *font;
 99 | @property (nullable, copy) NSColor *textColor; // Default is nil. If nil, draws with blackColor
    |                                     `- note: mutation of this property is only permitted within the actor
100 |
101 | #if !TARGET_OS_IPHONE
/Users/admin/builder/spi-builder-workspace/Sources/SwiftChessUI/Board+View.swift:48:10: warning: call to main actor-isolated instance method 'addSubview' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
16 | extension Board.Space {
17 |   // Mirrors the original playground helper while keeping the core target UI-free.
18 |   fileprivate func _view(size: CGFloat) -> _View {
   |                    `- note: add '@MainActor' to make instance method '_view(size:)' part of global actor 'MainActor'
19 |     #if canImport(AppKit)
20 |     let rectY = CGFloat(rank.index) * size
   :
46 |     text.drawsBackground = false
47 |     text.textColor = tc
48 |     view.addSubview(text)
   |          `- warning: call to main actor-isolated instance method 'addSubview' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
49 |     #else
50 |     view.backgroundColor = bg
AppKit.NSView.addSubview:2:22: note: calls to instance method 'addSubview' from outside of its actor context are implicitly asynchronous
1 | class NSView {
2 | @MainActor open func addSubview(_ view: NSView)}
  |                      |- note: calls to instance method 'addSubview' from outside of its actor context are implicitly asynchronous
  |                      `- note: main actor isolation inferred from inheritance from class 'NSResponder'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftChessUI/Board+View.swift:68:16: warning: call to main actor-isolated initializer 'init(frame:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
66 |     let boardSize = spaceSize * 8
67 |     let frame = CGRect(x: 0, y: 0, width: boardSize, height: boardSize)
68 |     let view = _View(frame: frame)
   |                `- warning: call to main actor-isolated initializer 'init(frame:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
69 |
70 |     for space in self {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:83:1: note: calls to initializer 'init(frame:)' from outside of its actor context are implicitly asynchronous
 81 | @interface NSView : NSResponder <NSAnimatablePropertyContainer, NSUserInterfaceItemIdentification, NSDraggingDestination, NSAppearanceCustomization, NSAccessibilityElement, NSAccessibility>
 82 |
 83 | - (instancetype)initWithFrame:(NSRect)frameRect NS_DESIGNATED_INITIALIZER;
    | |- note: calls to initializer 'init(frame:)' from outside of its actor context are implicitly asynchronous
    | `- note: main actor isolation inferred from inheritance from class 'NSResponder'
 84 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
 85 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftChessUI/Board+View.swift:71:12: warning: call to main actor-isolated instance method 'addSubview' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
69 |
70 |     for space in self {
71 |       view.addSubview(space._view(size: spaceSize))
   |            `- warning: call to main actor-isolated instance method 'addSubview' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
72 |     }
73 |     return view
AppKit.NSView.addSubview:2:22: note: calls to instance method 'addSubview' from outside of its actor context are implicitly asynchronous
1 | class NSView {
2 | @MainActor open func addSubview(_ view: NSView)}
  |                      |- note: calls to instance method 'addSubview' from outside of its actor context are implicitly asynchronous
  |                      `- note: main actor isolation inferred from inheritance from class 'NSResponder'
3 |
[27/29] Compiling SwiftChessUI BoardView.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftChessUI/BoardView.swift:56:21: warning: static property 'classic' is not concurrency-safe because non-'Sendable' type 'BoardTheme' may have shared mutable state; this is an error in the Swift 6 language mode
  3 | import SwiftChessCore
  4 |
  5 | public struct BoardTheme {
    |               `- note: consider making struct 'BoardTheme' conform to the 'Sendable' protocol
  6 |   public var lightSquare: SwiftUI.Color
  7 |   public var darkSquare: SwiftUI.Color
    :
 54 |   }
 55 |
 56 |   public static let classic = BoardTheme()
    |                     |- warning: static property 'classic' is not concurrency-safe because non-'Sendable' type 'BoardTheme' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: add '@MainActor' to make static property 'classic' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 57 |
 58 |   public func symbol(for piece: Piece) -> String {
[28/29] Emitting module SwiftChessUI
/Users/admin/builder/spi-builder-workspace/Sources/SwiftChessUI/BoardState.swift:12:25: warning: static property 'selected' is not concurrency-safe because non-'Sendable' type 'BoardState.SquareModel.Highlights' may have shared mutable state; this is an error in the Swift 6 language mode
  7 |
  8 |   public struct SquareModel: Identifiable, Equatable {
  9 |     public struct Highlights: OptionSet {
    |                   `- note: consider making struct 'Highlights' conform to the 'Sendable' protocol
 10 |       public let rawValue: Int
 11 |       public init(rawValue: Int) { self.rawValue = rawValue }
 12 |       public static let selected = Highlights(rawValue: 1 << 0)
    |                         |- warning: static property 'selected' is not concurrency-safe because non-'Sendable' type 'BoardState.SquareModel.Highlights' may have shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: add '@MainActor' to make static property 'selected' part of global actor 'MainActor'
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 13 |       public static let legalMove = Highlights(rawValue: 1 << 1)
 14 |       public static let capture = Highlights(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftChessUI/BoardState.swift:13:25: warning: static property 'legalMove' is not concurrency-safe because non-'Sendable' type 'BoardState.SquareModel.Highlights' may have shared mutable state; this is an error in the Swift 6 language mode
  7 |
  8 |   public struct SquareModel: Identifiable, Equatable {
  9 |     public struct Highlights: OptionSet {
    |                   `- note: consider making struct 'Highlights' conform to the 'Sendable' protocol
 10 |       public let rawValue: Int
 11 |       public init(rawValue: Int) { self.rawValue = rawValue }
 12 |       public static let selected = Highlights(rawValue: 1 << 0)
 13 |       public static let legalMove = Highlights(rawValue: 1 << 1)
    |                         |- warning: static property 'legalMove' is not concurrency-safe because non-'Sendable' type 'BoardState.SquareModel.Highlights' may have shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: add '@MainActor' to make static property 'legalMove' part of global actor 'MainActor'
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 14 |       public static let capture = Highlights(rawValue: 1 << 2)
 15 |       public static let lastMoveOrigin = Highlights(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftChessUI/BoardState.swift:14:25: warning: static property 'capture' is not concurrency-safe because non-'Sendable' type 'BoardState.SquareModel.Highlights' may have shared mutable state; this is an error in the Swift 6 language mode
  7 |
  8 |   public struct SquareModel: Identifiable, Equatable {
  9 |     public struct Highlights: OptionSet {
    |                   `- note: consider making struct 'Highlights' conform to the 'Sendable' protocol
 10 |       public let rawValue: Int
 11 |       public init(rawValue: Int) { self.rawValue = rawValue }
 12 |       public static let selected = Highlights(rawValue: 1 << 0)
 13 |       public static let legalMove = Highlights(rawValue: 1 << 1)
 14 |       public static let capture = Highlights(rawValue: 1 << 2)
    |                         |- warning: static property 'capture' is not concurrency-safe because non-'Sendable' type 'BoardState.SquareModel.Highlights' may have shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: add '@MainActor' to make static property 'capture' part of global actor 'MainActor'
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 15 |       public static let lastMoveOrigin = Highlights(rawValue: 1 << 3)
 16 |       public static let lastMoveDestination = Highlights(rawValue: 1 << 4)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftChessUI/BoardState.swift:15:25: warning: static property 'lastMoveOrigin' is not concurrency-safe because non-'Sendable' type 'BoardState.SquareModel.Highlights' may have shared mutable state; this is an error in the Swift 6 language mode
  7 |
  8 |   public struct SquareModel: Identifiable, Equatable {
  9 |     public struct Highlights: OptionSet {
    |                   `- note: consider making struct 'Highlights' conform to the 'Sendable' protocol
 10 |       public let rawValue: Int
 11 |       public init(rawValue: Int) { self.rawValue = rawValue }
    :
 13 |       public static let legalMove = Highlights(rawValue: 1 << 1)
 14 |       public static let capture = Highlights(rawValue: 1 << 2)
 15 |       public static let lastMoveOrigin = Highlights(rawValue: 1 << 3)
    |                         |- warning: static property 'lastMoveOrigin' is not concurrency-safe because non-'Sendable' type 'BoardState.SquareModel.Highlights' may have shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: add '@MainActor' to make static property 'lastMoveOrigin' part of global actor 'MainActor'
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 |       public static let lastMoveDestination = Highlights(rawValue: 1 << 4)
 17 |       public static let check = Highlights(rawValue: 1 << 5)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftChessUI/BoardState.swift:16:25: warning: static property 'lastMoveDestination' is not concurrency-safe because non-'Sendable' type 'BoardState.SquareModel.Highlights' may have shared mutable state; this is an error in the Swift 6 language mode
  7 |
  8 |   public struct SquareModel: Identifiable, Equatable {
  9 |     public struct Highlights: OptionSet {
    |                   `- note: consider making struct 'Highlights' conform to the 'Sendable' protocol
 10 |       public let rawValue: Int
 11 |       public init(rawValue: Int) { self.rawValue = rawValue }
    :
 14 |       public static let capture = Highlights(rawValue: 1 << 2)
 15 |       public static let lastMoveOrigin = Highlights(rawValue: 1 << 3)
 16 |       public static let lastMoveDestination = Highlights(rawValue: 1 << 4)
    |                         |- warning: static property 'lastMoveDestination' is not concurrency-safe because non-'Sendable' type 'BoardState.SquareModel.Highlights' may have shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: add '@MainActor' to make static property 'lastMoveDestination' part of global actor 'MainActor'
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 17 |       public static let check = Highlights(rawValue: 1 << 5)
 18 |       public static let hover = Highlights(rawValue: 1 << 6)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftChessUI/BoardState.swift:17:25: warning: static property 'check' is not concurrency-safe because non-'Sendable' type 'BoardState.SquareModel.Highlights' may have shared mutable state; this is an error in the Swift 6 language mode
  7 |
  8 |   public struct SquareModel: Identifiable, Equatable {
  9 |     public struct Highlights: OptionSet {
    |                   `- note: consider making struct 'Highlights' conform to the 'Sendable' protocol
 10 |       public let rawValue: Int
 11 |       public init(rawValue: Int) { self.rawValue = rawValue }
    :
 15 |       public static let lastMoveOrigin = Highlights(rawValue: 1 << 3)
 16 |       public static let lastMoveDestination = Highlights(rawValue: 1 << 4)
 17 |       public static let check = Highlights(rawValue: 1 << 5)
    |                         |- warning: static property 'check' is not concurrency-safe because non-'Sendable' type 'BoardState.SquareModel.Highlights' may have shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: add '@MainActor' to make static property 'check' part of global actor 'MainActor'
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 18 |       public static let hover = Highlights(rawValue: 1 << 6)
 19 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftChessUI/BoardState.swift:18:25: warning: static property 'hover' is not concurrency-safe because non-'Sendable' type 'BoardState.SquareModel.Highlights' may have shared mutable state; this is an error in the Swift 6 language mode
  7 |
  8 |   public struct SquareModel: Identifiable, Equatable {
  9 |     public struct Highlights: OptionSet {
    |                   `- note: consider making struct 'Highlights' conform to the 'Sendable' protocol
 10 |       public let rawValue: Int
 11 |       public init(rawValue: Int) { self.rawValue = rawValue }
    :
 16 |       public static let lastMoveDestination = Highlights(rawValue: 1 << 4)
 17 |       public static let check = Highlights(rawValue: 1 << 5)
 18 |       public static let hover = Highlights(rawValue: 1 << 6)
    |                         |- warning: static property 'hover' is not concurrency-safe because non-'Sendable' type 'BoardState.SquareModel.Highlights' may have shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: add '@MainActor' to make static property 'hover' part of global actor 'MainActor'
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 19 |     }
 20 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftChessUI/BoardView.swift:56:21: warning: static property 'classic' is not concurrency-safe because non-'Sendable' type 'BoardTheme' may have shared mutable state; this is an error in the Swift 6 language mode
  3 | import SwiftChessCore
  4 |
  5 | public struct BoardTheme {
    |               `- note: consider making struct 'BoardTheme' conform to the 'Sendable' protocol
  6 |   public var lightSquare: SwiftUI.Color
  7 |   public var darkSquare: SwiftUI.Color
    :
 54 |   }
 55 |
 56 |   public static let classic = BoardTheme()
    |                     |- warning: static property 'classic' is not concurrency-safe because non-'Sendable' type 'BoardTheme' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: add '@MainActor' to make static property 'classic' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 57 |
 58 |   public func symbol(for piece: Piece) -> String {
[29/29] Compiling SwiftChessUI BoardState.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftChessUI/BoardState.swift:12:25: warning: static property 'selected' is not concurrency-safe because non-'Sendable' type 'BoardState.SquareModel.Highlights' may have shared mutable state; this is an error in the Swift 6 language mode
  7 |
  8 |   public struct SquareModel: Identifiable, Equatable {
  9 |     public struct Highlights: OptionSet {
    |                   `- note: consider making struct 'Highlights' conform to the 'Sendable' protocol
 10 |       public let rawValue: Int
 11 |       public init(rawValue: Int) { self.rawValue = rawValue }
 12 |       public static let selected = Highlights(rawValue: 1 << 0)
    |                         |- warning: static property 'selected' is not concurrency-safe because non-'Sendable' type 'BoardState.SquareModel.Highlights' may have shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: add '@MainActor' to make static property 'selected' part of global actor 'MainActor'
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 13 |       public static let legalMove = Highlights(rawValue: 1 << 1)
 14 |       public static let capture = Highlights(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftChessUI/BoardState.swift:13:25: warning: static property 'legalMove' is not concurrency-safe because non-'Sendable' type 'BoardState.SquareModel.Highlights' may have shared mutable state; this is an error in the Swift 6 language mode
  7 |
  8 |   public struct SquareModel: Identifiable, Equatable {
  9 |     public struct Highlights: OptionSet {
    |                   `- note: consider making struct 'Highlights' conform to the 'Sendable' protocol
 10 |       public let rawValue: Int
 11 |       public init(rawValue: Int) { self.rawValue = rawValue }
 12 |       public static let selected = Highlights(rawValue: 1 << 0)
 13 |       public static let legalMove = Highlights(rawValue: 1 << 1)
    |                         |- warning: static property 'legalMove' is not concurrency-safe because non-'Sendable' type 'BoardState.SquareModel.Highlights' may have shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: add '@MainActor' to make static property 'legalMove' part of global actor 'MainActor'
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 14 |       public static let capture = Highlights(rawValue: 1 << 2)
 15 |       public static let lastMoveOrigin = Highlights(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftChessUI/BoardState.swift:14:25: warning: static property 'capture' is not concurrency-safe because non-'Sendable' type 'BoardState.SquareModel.Highlights' may have shared mutable state; this is an error in the Swift 6 language mode
  7 |
  8 |   public struct SquareModel: Identifiable, Equatable {
  9 |     public struct Highlights: OptionSet {
    |                   `- note: consider making struct 'Highlights' conform to the 'Sendable' protocol
 10 |       public let rawValue: Int
 11 |       public init(rawValue: Int) { self.rawValue = rawValue }
 12 |       public static let selected = Highlights(rawValue: 1 << 0)
 13 |       public static let legalMove = Highlights(rawValue: 1 << 1)
 14 |       public static let capture = Highlights(rawValue: 1 << 2)
    |                         |- warning: static property 'capture' is not concurrency-safe because non-'Sendable' type 'BoardState.SquareModel.Highlights' may have shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: add '@MainActor' to make static property 'capture' part of global actor 'MainActor'
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 15 |       public static let lastMoveOrigin = Highlights(rawValue: 1 << 3)
 16 |       public static let lastMoveDestination = Highlights(rawValue: 1 << 4)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftChessUI/BoardState.swift:15:25: warning: static property 'lastMoveOrigin' is not concurrency-safe because non-'Sendable' type 'BoardState.SquareModel.Highlights' may have shared mutable state; this is an error in the Swift 6 language mode
  7 |
  8 |   public struct SquareModel: Identifiable, Equatable {
  9 |     public struct Highlights: OptionSet {
    |                   `- note: consider making struct 'Highlights' conform to the 'Sendable' protocol
 10 |       public let rawValue: Int
 11 |       public init(rawValue: Int) { self.rawValue = rawValue }
    :
 13 |       public static let legalMove = Highlights(rawValue: 1 << 1)
 14 |       public static let capture = Highlights(rawValue: 1 << 2)
 15 |       public static let lastMoveOrigin = Highlights(rawValue: 1 << 3)
    |                         |- warning: static property 'lastMoveOrigin' is not concurrency-safe because non-'Sendable' type 'BoardState.SquareModel.Highlights' may have shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: add '@MainActor' to make static property 'lastMoveOrigin' part of global actor 'MainActor'
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 |       public static let lastMoveDestination = Highlights(rawValue: 1 << 4)
 17 |       public static let check = Highlights(rawValue: 1 << 5)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftChessUI/BoardState.swift:16:25: warning: static property 'lastMoveDestination' is not concurrency-safe because non-'Sendable' type 'BoardState.SquareModel.Highlights' may have shared mutable state; this is an error in the Swift 6 language mode
  7 |
  8 |   public struct SquareModel: Identifiable, Equatable {
  9 |     public struct Highlights: OptionSet {
    |                   `- note: consider making struct 'Highlights' conform to the 'Sendable' protocol
 10 |       public let rawValue: Int
 11 |       public init(rawValue: Int) { self.rawValue = rawValue }
    :
 14 |       public static let capture = Highlights(rawValue: 1 << 2)
 15 |       public static let lastMoveOrigin = Highlights(rawValue: 1 << 3)
 16 |       public static let lastMoveDestination = Highlights(rawValue: 1 << 4)
    |                         |- warning: static property 'lastMoveDestination' is not concurrency-safe because non-'Sendable' type 'BoardState.SquareModel.Highlights' may have shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: add '@MainActor' to make static property 'lastMoveDestination' part of global actor 'MainActor'
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 17 |       public static let check = Highlights(rawValue: 1 << 5)
 18 |       public static let hover = Highlights(rawValue: 1 << 6)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftChessUI/BoardState.swift:17:25: warning: static property 'check' is not concurrency-safe because non-'Sendable' type 'BoardState.SquareModel.Highlights' may have shared mutable state; this is an error in the Swift 6 language mode
  7 |
  8 |   public struct SquareModel: Identifiable, Equatable {
  9 |     public struct Highlights: OptionSet {
    |                   `- note: consider making struct 'Highlights' conform to the 'Sendable' protocol
 10 |       public let rawValue: Int
 11 |       public init(rawValue: Int) { self.rawValue = rawValue }
    :
 15 |       public static let lastMoveOrigin = Highlights(rawValue: 1 << 3)
 16 |       public static let lastMoveDestination = Highlights(rawValue: 1 << 4)
 17 |       public static let check = Highlights(rawValue: 1 << 5)
    |                         |- warning: static property 'check' is not concurrency-safe because non-'Sendable' type 'BoardState.SquareModel.Highlights' may have shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: add '@MainActor' to make static property 'check' part of global actor 'MainActor'
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 18 |       public static let hover = Highlights(rawValue: 1 << 6)
 19 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftChessUI/BoardState.swift:18:25: warning: static property 'hover' is not concurrency-safe because non-'Sendable' type 'BoardState.SquareModel.Highlights' may have shared mutable state; this is an error in the Swift 6 language mode
  7 |
  8 |   public struct SquareModel: Identifiable, Equatable {
  9 |     public struct Highlights: OptionSet {
    |                   `- note: consider making struct 'Highlights' conform to the 'Sendable' protocol
 10 |       public let rawValue: Int
 11 |       public init(rawValue: Int) { self.rawValue = rawValue }
    :
 16 |       public static let lastMoveDestination = Highlights(rawValue: 1 << 4)
 17 |       public static let check = Highlights(rawValue: 1 << 5)
 18 |       public static let hover = Highlights(rawValue: 1 << 6)
    |                         |- warning: static property 'hover' is not concurrency-safe because non-'Sendable' type 'BoardState.SquareModel.Highlights' may have shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: add '@MainActor' to make static property 'hover' part of global actor 'MainActor'
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 19 |     }
 20 |
Build complete! (9.22s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "swift-chess-neo",
  "name" : "swift-chess-neo",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    },
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "tvos",
      "version" : "16.0"
    },
    {
      "name" : "watchos",
      "version" : "9.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftChessCore",
      "targets" : [
        "SwiftChessCore"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SwiftChessUI",
      "targets" : [
        "SwiftChessUI"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftChessUI",
      "module_type" : "SwiftTarget",
      "name" : "SwiftChessUI",
      "path" : "Sources/SwiftChessUI",
      "product_memberships" : [
        "SwiftChessUI"
      ],
      "sources" : [
        "Board+View.swift",
        "BoardState.swift",
        "BoardView+Preview.swift",
        "BoardView.swift",
        "MovetextOutline.swift"
      ],
      "target_dependencies" : [
        "SwiftChessCore"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SwiftChessCoreTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftChessCoreTests",
      "path" : "Tests/SwiftChessCoreTests",
      "sources" : [
        "BoardStateTests.swift",
        "MiscTests.swift",
        "PGNParsingTests.swift",
        "SwiftChessCoreTests.swift"
      ],
      "target_dependencies" : [
        "SwiftChessCore",
        "SwiftChessUI"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftChessCore",
      "module_type" : "SwiftTarget",
      "name" : "SwiftChessCore",
      "path" : "Sources/SwiftChessCore",
      "product_memberships" : [
        "SwiftChessCore",
        "SwiftChessUI"
      ],
      "sources" : [
        "Bitboard.swift",
        "Board.swift",
        "CastlingRights.swift",
        "Color.swift",
        "File.swift",
        "Game.swift",
        "InternalTypes.swift",
        "Minimax.swift",
        "Move.swift",
        "PGN.swift",
        "PGNMove.swift",
        "PGNMovetextParser.swift",
        "Piece.swift",
        "Player.swift",
        "Rank.swift",
        "Sequence+Sage.swift",
        "Square.swift",
        "Tables.swift",
        "Variant.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
✅  Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path:  $PWD/.docs/navanchauhan/swift-chess-neo/master
Repository:               navanchauhan/swift-chess-neo
Swift version used:       6.1
Target:                   SwiftChessNeo
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/swift-docc-render-artifact/.git/
From https://github.com/swiftlang/swift-docc-render-artifact
 * branch            4633b45fc732d8c55568be09dd852f9dc1582c25 -> FETCH_HEAD
HEAD is now at 4633b45 Update the artifact
Cloned https://github.com/swiftlang/swift-docc-render-artifact
Fetching https://github.com/swiftlang/swift-docc-plugin from cache
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (0.60s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.5 (3.12s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit from cache
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.91s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.56s)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.5
Building for debugging...
[0/8] Write sources
[2/8] Write snippet-extract-tool-entitlement.plist
[2/8] Write sources
[4/8] Write swift-version-2F0A5646E1D333AE.txt
[6/53] Compiling SymbolKit Identifier.swift
[7/53] Compiling SymbolKit KindIdentifier.swift
[8/53] Compiling SymbolKit Location.swift
[9/53] Compiling SymbolKit Mutability.swift
[10/53] Compiling SymbolKit Names.swift
[11/53] Compiling SymbolKit SPI.swift
[12/53] Compiling SymbolKit Snippet.swift
[13/53] Compiling SymbolKit Extension.swift
[14/57] Compiling Snippets Snippet.swift
[15/57] Compiling Snippets SnippetParser.swift
[16/57] Compiling SymbolKit Relationship.swift
[17/57] Compiling SymbolKit RelationshipKind.swift
[18/57] Compiling SymbolKit SourceOrigin.swift
[19/57] Compiling SymbolKit GenericConstraints.swift
[20/57] Compiling SymbolKit Swift.swift
[21/57] Emitting module Snippets
[22/57] Compiling SymbolKit GenericConstraint.swift
[23/57] Compiling SymbolKit GenericParameter.swift
[24/57] Compiling SymbolKit Generics.swift
[25/57] Compiling SymbolKit Namespace.swift
[26/57] Compiling SymbolKit DeclarationFragments.swift
[27/57] Compiling SymbolKit Fragment.swift
[28/57] Compiling SymbolKit FragmentKind.swift
[29/57] Compiling SymbolKit FunctionParameter.swift
[30/57] Compiling SymbolKit FunctionSignature.swift
[31/57] Compiling SymbolKit Mixin+Equals.swift
[32/57] Compiling SymbolKit Mixin+Hash.swift
[33/57] Compiling SymbolKit Mixin.swift
[34/57] Compiling SymbolKit LineList.swift
[35/57] Compiling SymbolKit Position.swift
[36/57] Compiling SymbolKit SourceRange.swift
[37/57] Compiling SymbolKit Metadata.swift
[38/57] Compiling SymbolKit Module.swift
[39/57] Compiling SymbolKit OperatingSystem.swift
[40/57] Compiling SymbolKit Platform.swift
[41/57] Emitting module SymbolKit
[42/57] Compiling SymbolKit Symbol.swift
[43/57] Compiling SymbolKit SymbolKind.swift
[44/57] Compiling SymbolKit SymbolGraph.swift
[45/57] Compiling SymbolKit GraphCollector.swift
[46/57] Compiling SymbolKit SemanticVersion.swift
[47/57] Compiling SymbolKit AccessControl.swift
[48/57] Compiling SymbolKit Availability.swift
[49/57] Compiling SymbolKit AvailabilityItem.swift
[50/57] Compiling SymbolKit Domain.swift
[51/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[52/57] Compiling SymbolKit UnifiedSymbol.swift
[53/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[54/57] Compiling SymbolKit UnifiedSymbolGraph.swift
[55/61] Compiling snippet_extract URL+Status.swift
[56/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[57/61] Emitting module snippet_extract
[58/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (4.24s)
error: no target named 'SwiftChessNeo'
compatible targets: 'SwiftChessCore', 'SwiftChessUI'
       1
0	/Users/admin/builder/spi-builder-workspace/.docs/navanchauhan/swift-chess-neo/master
✅  Doc result (uploading) reported
Error while generating docs: Error Domain=NSCocoaErrorDomain Code=260 "The folder “documentation” doesn’t exist." UserInfo={NSUserStringVariant=(
    Folder
), NSFilePath=/Users/admin/builder/spi-builder-workspace/.docs/navanchauhan/swift-chess-neo/master/documentation, NSURL=file:///Users/admin/builder/spi-builder-workspace/.docs/navanchauhan/swift-chess-neo/master/documentation, NSUnderlyingError=0x600000800ed0 {Error Domain=NSOSStatusErrorDomain Code=-43 "fnfErr: File not found"}}
✅  Doc result (failed) reported
Done.