The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of HiveEngine, reference 3.1.4 (0fa54c), with Swift 6.0 for macOS (SPM) on 1 Nov 2024 14:38:30 UTC.

Swift 6 data race errors: 7

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/autoreleasefool/hive-engine.git
Reference: 3.1.4
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/autoreleasefool/hive-engine
 * tag               3.1.4      -> FETCH_HEAD
HEAD is now at 0fa54ca Move testing utilities into target
Cloned https://github.com/autoreleasefool/hive-engine.git
Revision (git rev-parse @):
0fa54ca24d7881d661119d97fe0867bd3bf72ff6
SUCCESS checkout https://github.com/autoreleasefool/hive-engine.git at 3.1.4
Fetching https://github.com/sharplet/Regex.git
[1/1254] Fetching regex
Fetched https://github.com/sharplet/Regex.git from cache (6.05s)
Computing version for https://github.com/sharplet/Regex.git
Computed https://github.com/sharplet/Regex.git at 2.1.0 (2.50s)
Creating working copy for https://github.com/sharplet/Regex.git
Working copy of https://github.com/sharplet/Regex.git resolved at 2.1.0
========================================
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": "hive-engine",
      "name": "HiveEngine",
      "url": "https://github.com/autoreleasefool/hive-engine.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/hive-engine",
      "dependencies": [
        {
          "identity": "regex",
          "name": "Regex",
          "url": "https://github.com/sharplet/Regex.git",
          "version": "2.1.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Regex",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/autoreleasefool/hive-engine.git
[1/2523] Fetching hive-engine
Fetched https://github.com/autoreleasefool/hive-engine.git from cache (1.11s)
Fetching https://github.com/sharplet/Regex.git from cache
Fetched https://github.com/sharplet/Regex.git from cache (0.50s)
Computing version for https://github.com/sharplet/Regex.git
Computed https://github.com/sharplet/Regex.git at 2.1.1 (0.02s)
Creating working copy for https://github.com/autoreleasefool/hive-engine.git
Working copy of https://github.com/autoreleasefool/hive-engine.git resolved at 3.1.4 (0fa54ca)
Creating working copy for https://github.com/sharplet/Regex.git
Working copy of https://github.com/sharplet/Regex.git resolved at 2.1.1
warning: '.resolve-product-dependencies': dependency 'hive-engine' is not used by any target
Found 1 product dependencies
  - Regex
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/autoreleasefool/hive-engine.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version--7754E27361AE5C74.txt
[5/11] Compiling Regex ThreadLocal.swift
[6/11] Compiling Regex String+ReplaceMatching.swift
[7/11] Compiling Regex MatchResult.swift
[8/11] Compiling Regex Regex.swift
[9/11] Compiling Regex Options.swift
[10/11] Compiling Regex Foundation+Ranges.swift
[11/11] Emitting module Regex
[12/40] Compiling HiveEngine Unit+Ant.swift
[13/40] Compiling HiveEngine Unit+Beetle.swift
[14/40] Compiling HiveEngine Unit+Hopper.swift
[15/43] Compiling HiveEngine Unit+LadyBug.swift
[16/43] Compiling HiveEngine Unit+Mosquito.swift
[17/43] Compiling HiveEngine Unit+PillBug.swift
[18/43] Compiling HiveEngine GameStateString.swift
[19/43] Compiling HiveEngine GameString.swift
[20/43] Compiling HiveEngine GameTypeString.swift
[21/43] Compiling HiveEngine BestMoveCommand.swift
[22/43] Compiling HiveEngine InfoCommand.swift
[23/43] Compiling HiveEngine NewGameCommand.swift
[24/43] Compiling HiveEngine OptionsCommand.swift
[25/43] Compiling HiveEngine PlayCommand.swift
[26/43] Compiling HiveEngine UHPCommand.swift
[27/43] Compiling HiveEngine UHPResult.swift
[28/43] Emitting module HiveEngine
/Users/admin/builder/spi-builder-workspace/Sources/HiveEngine/Engine/Util/TurnString.swift:24:21: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
22 | 	}
23 |
24 | 	private static let regex = Regex(#"^(Black|White)\[(\d+)\]$"#)
   |                     `- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | 	public init?(from: String) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Regex/Source/Regex/Regex.swift:3:15: note: struct 'Regex' does not conform to the 'Sendable' protocol
  1 | import Foundation
  2 |
  3 | public struct Regex: CustomStringConvertible, CustomDebugStringConvertible {
    |               `- note: struct 'Regex' does not conform to the 'Sendable' protocol
  4 |   // MARK: Initialisation
  5 |
/Users/admin/builder/spi-builder-workspace/Sources/HiveEngine/Engine/Util/TurnString.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Regex'
 7 | //
 8 |
 9 | import Regex
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Regex'
10 |
11 | public struct TurnString: Equatable, CustomStringConvertible {
   :
22 | 	}
23 |
24 | 	private static let regex = Regex(#"^(Black|White)\[(\d+)\]$"#)
   |                     |- note: annotate 'regex' 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
25 |
26 | 	public init?(from: String) {
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/HiveEngine/Extensions/FatalError.swift:26:21: warning: static property 'defaultFatalErrorClosure' is not concurrency-safe because non-'Sendable' type '(String, StaticString, UInt) -> Never' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | internal struct FatalErrorUtil {
26 | 	private static let defaultFatalErrorClosure = { Swift.fatalError($0, file: $1, line: $2) }
   |                     |- warning: static property 'defaultFatalErrorClosure' is not concurrency-safe because non-'Sendable' type '(String, StaticString, UInt) -> Never' may have shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: annotate 'defaultFatalErrorClosure' 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
27 |
28 | 	static var fatalErrorClosure: (String, StaticString, UInt) -> Never = defaultFatalErrorClosure
/Users/admin/builder/spi-builder-workspace/Sources/HiveEngine/Extensions/FatalError.swift:28:13: warning: static property 'fatalErrorClosure' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 | 	private static let defaultFatalErrorClosure = { Swift.fatalError($0, file: $1, line: $2) }
27 |
28 | 	static var fatalErrorClosure: (String, StaticString, UInt) -> Never = defaultFatalErrorClosure
   |             |- warning: static property 'fatalErrorClosure' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: convert 'fatalErrorClosure' to a 'let' constant to make 'Sendable' shared state immutable
   |             |- note: annotate 'fatalErrorClosure' 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
29 |
30 | 	static func replaceFatalError(closure: @escaping (String, StaticString, UInt) -> Never) {
/Users/admin/builder/spi-builder-workspace/Sources/HiveEngine/State/Position.swift:42:20: warning: static property 'origin' is not concurrency-safe because non-'Sendable' type 'Position' may have shared mutable state; this is an error in the Swift 6 language mode
 28 | //
 29 |
 30 | public struct Position: Hashable, Equatable, Codable {
    |               `- note: consider making struct 'Position' conform to the 'Sendable' protocol
 31 | 	public let x: Int
 32 | 	public let y: Int
    :
 40 |
 41 | 	/// Origin position
 42 | 	public static let origin = Position(x: 0, y: 0, z: 0)
    |                    |- warning: static property 'origin' is not concurrency-safe because non-'Sendable' type 'Position' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'origin' 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 | 	/// All adjacent positions
/Users/admin/builder/spi-builder-workspace/Sources/HiveEngine/State/RelativeMovement.swift:23:21: warning: static property 'unitRegex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
 21 | 	}
 22 |
 23 | 	private static let unitRegex = Regex("[wb]([AG][1-3]|[BS][1-2]|[LMPQ]1?)")
    |                     `- warning: static property 'unitRegex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
 24 | 	private static let directionRegex = Regex(#"[-\\/]"#)
 25 | 	private static let regex: Regex = {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Regex/Source/Regex/Regex.swift:3:15: note: struct 'Regex' does not conform to the 'Sendable' protocol
  1 | import Foundation
  2 |
  3 | public struct Regex: CustomStringConvertible, CustomDebugStringConvertible {
    |               `- note: struct 'Regex' does not conform to the 'Sendable' protocol
  4 |   // MARK: Initialisation
  5 |
/Users/admin/builder/spi-builder-workspace/Sources/HiveEngine/State/RelativeMovement.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Regex'
  7 | //
  8 |
  9 | import Regex
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Regex'
 10 |
 11 | public struct RelativeMovement {
    :
 21 | 	}
 22 |
 23 | 	private static let unitRegex = Regex("[wb]([AG][1-3]|[BS][1-2]|[LMPQ]1?)")
    |                     |- note: annotate 'unitRegex' 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
 24 | 	private static let directionRegex = Regex(#"[-\\/]"#)
 25 | 	private static let regex: Regex = {
/Users/admin/builder/spi-builder-workspace/Sources/HiveEngine/State/RelativeMovement.swift:24:21: warning: static property 'directionRegex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
 22 |
 23 | 	private static let unitRegex = Regex("[wb]([AG][1-3]|[BS][1-2]|[LMPQ]1?)")
 24 | 	private static let directionRegex = Regex(#"[-\\/]"#)
    |                     |- warning: static property 'directionRegex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: annotate 'directionRegex' 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
 25 | 	private static let regex: Regex = {
 26 | 		// swiftlint:disable:next force_try
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Regex/Source/Regex/Regex.swift:3:15: note: struct 'Regex' does not conform to the 'Sendable' protocol
  1 | import Foundation
  2 |
  3 | public struct Regex: CustomStringConvertible, CustomDebugStringConvertible {
    |               `- note: struct 'Regex' does not conform to the 'Sendable' protocol
  4 |   // MARK: Initialisation
  5 |
/Users/admin/builder/spi-builder-workspace/Sources/HiveEngine/State/RelativeMovement.swift:25:21: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
 23 | 	private static let unitRegex = Regex("[wb]([AG][1-3]|[BS][1-2]|[LMPQ]1?)")
 24 | 	private static let directionRegex = Regex(#"[-\\/]"#)
 25 | 	private static let regex: Regex = {
    |                     |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: annotate 'regex' 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
 26 | 		// swiftlint:disable:next force_try
 27 | 		try! Regex(
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Regex/Source/Regex/Regex.swift:3:15: note: struct 'Regex' does not conform to the 'Sendable' protocol
  1 | import Foundation
  2 |
  3 | public struct Regex: CustomStringConvertible, CustomDebugStringConvertible {
    |               `- note: struct 'Regex' does not conform to the 'Sendable' protocol
  4 |   // MARK: Initialisation
  5 |
[29/43] Compiling HiveEngine MoveString.swift
/Users/admin/builder/spi-builder-workspace/Sources/HiveEngine/Engine/Util/TurnString.swift:24:21: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
22 | 	}
23 |
24 | 	private static let regex = Regex(#"^(Black|White)\[(\d+)\]$"#)
   |                     `- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | 	public init?(from: String) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Regex/Source/Regex/Regex.swift:3:15: note: struct 'Regex' does not conform to the 'Sendable' protocol
  1 | import Foundation
  2 |
  3 | public struct Regex: CustomStringConvertible, CustomDebugStringConvertible {
    |               `- note: struct 'Regex' does not conform to the 'Sendable' protocol
  4 |   // MARK: Initialisation
  5 |
/Users/admin/builder/spi-builder-workspace/Sources/HiveEngine/Engine/Util/TurnString.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Regex'
 7 | //
 8 |
 9 | import Regex
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Regex'
10 |
11 | public struct TurnString: Equatable, CustomStringConvertible {
   :
22 | 	}
23 |
24 | 	private static let regex = Regex(#"^(Black|White)\[(\d+)\]$"#)
   |                     |- note: annotate 'regex' 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
25 |
26 | 	public init?(from: String) {
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/HiveEngine/Extensions/FatalError.swift:26:21: warning: static property 'defaultFatalErrorClosure' is not concurrency-safe because non-'Sendable' type '(String, StaticString, UInt) -> Never' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | internal struct FatalErrorUtil {
26 | 	private static let defaultFatalErrorClosure = { Swift.fatalError($0, file: $1, line: $2) }
   |                     |- warning: static property 'defaultFatalErrorClosure' is not concurrency-safe because non-'Sendable' type '(String, StaticString, UInt) -> Never' may have shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: annotate 'defaultFatalErrorClosure' 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
27 |
28 | 	static var fatalErrorClosure: (String, StaticString, UInt) -> Never = defaultFatalErrorClosure
/Users/admin/builder/spi-builder-workspace/Sources/HiveEngine/Extensions/FatalError.swift:28:13: warning: static property 'fatalErrorClosure' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 | 	private static let defaultFatalErrorClosure = { Swift.fatalError($0, file: $1, line: $2) }
27 |
28 | 	static var fatalErrorClosure: (String, StaticString, UInt) -> Never = defaultFatalErrorClosure
   |             |- warning: static property 'fatalErrorClosure' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: convert 'fatalErrorClosure' to a 'let' constant to make 'Sendable' shared state immutable
   |             |- note: annotate 'fatalErrorClosure' 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
29 |
30 | 	static func replaceFatalError(closure: @escaping (String, StaticString, UInt) -> Never) {
[30/43] Compiling HiveEngine TurnString.swift
/Users/admin/builder/spi-builder-workspace/Sources/HiveEngine/Engine/Util/TurnString.swift:24:21: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
22 | 	}
23 |
24 | 	private static let regex = Regex(#"^(Black|White)\[(\d+)\]$"#)
   |                     `- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | 	public init?(from: String) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Regex/Source/Regex/Regex.swift:3:15: note: struct 'Regex' does not conform to the 'Sendable' protocol
  1 | import Foundation
  2 |
  3 | public struct Regex: CustomStringConvertible, CustomDebugStringConvertible {
    |               `- note: struct 'Regex' does not conform to the 'Sendable' protocol
  4 |   // MARK: Initialisation
  5 |
/Users/admin/builder/spi-builder-workspace/Sources/HiveEngine/Engine/Util/TurnString.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Regex'
 7 | //
 8 |
 9 | import Regex
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Regex'
10 |
11 | public struct TurnString: Equatable, CustomStringConvertible {
   :
22 | 	}
23 |
24 | 	private static let regex = Regex(#"^(Black|White)\[(\d+)\]$"#)
   |                     |- note: annotate 'regex' 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
25 |
26 | 	public init?(from: String) {
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/HiveEngine/Extensions/FatalError.swift:26:21: warning: static property 'defaultFatalErrorClosure' is not concurrency-safe because non-'Sendable' type '(String, StaticString, UInt) -> Never' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | internal struct FatalErrorUtil {
26 | 	private static let defaultFatalErrorClosure = { Swift.fatalError($0, file: $1, line: $2) }
   |                     |- warning: static property 'defaultFatalErrorClosure' is not concurrency-safe because non-'Sendable' type '(String, StaticString, UInt) -> Never' may have shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: annotate 'defaultFatalErrorClosure' 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
27 |
28 | 	static var fatalErrorClosure: (String, StaticString, UInt) -> Never = defaultFatalErrorClosure
/Users/admin/builder/spi-builder-workspace/Sources/HiveEngine/Extensions/FatalError.swift:28:13: warning: static property 'fatalErrorClosure' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 | 	private static let defaultFatalErrorClosure = { Swift.fatalError($0, file: $1, line: $2) }
27 |
28 | 	static var fatalErrorClosure: (String, StaticString, UInt) -> Never = defaultFatalErrorClosure
   |             |- warning: static property 'fatalErrorClosure' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: convert 'fatalErrorClosure' to a 'let' constant to make 'Sendable' shared state immutable
   |             |- note: annotate 'fatalErrorClosure' 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
29 |
30 | 	static func replaceFatalError(closure: @escaping (String, StaticString, UInt) -> Never) {
[31/43] Compiling HiveEngine FatalError.swift
/Users/admin/builder/spi-builder-workspace/Sources/HiveEngine/Engine/Util/TurnString.swift:24:21: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
22 | 	}
23 |
24 | 	private static let regex = Regex(#"^(Black|White)\[(\d+)\]$"#)
   |                     `- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | 	public init?(from: String) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Regex/Source/Regex/Regex.swift:3:15: note: struct 'Regex' does not conform to the 'Sendable' protocol
  1 | import Foundation
  2 |
  3 | public struct Regex: CustomStringConvertible, CustomDebugStringConvertible {
    |               `- note: struct 'Regex' does not conform to the 'Sendable' protocol
  4 |   // MARK: Initialisation
  5 |
/Users/admin/builder/spi-builder-workspace/Sources/HiveEngine/Engine/Util/TurnString.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Regex'
 7 | //
 8 |
 9 | import Regex
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Regex'
10 |
11 | public struct TurnString: Equatable, CustomStringConvertible {
   :
22 | 	}
23 |
24 | 	private static let regex = Regex(#"^(Black|White)\[(\d+)\]$"#)
   |                     |- note: annotate 'regex' 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
25 |
26 | 	public init?(from: String) {
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/HiveEngine/Extensions/FatalError.swift:26:21: warning: static property 'defaultFatalErrorClosure' is not concurrency-safe because non-'Sendable' type '(String, StaticString, UInt) -> Never' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | internal struct FatalErrorUtil {
26 | 	private static let defaultFatalErrorClosure = { Swift.fatalError($0, file: $1, line: $2) }
   |                     |- warning: static property 'defaultFatalErrorClosure' is not concurrency-safe because non-'Sendable' type '(String, StaticString, UInt) -> Never' may have shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: annotate 'defaultFatalErrorClosure' 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
27 |
28 | 	static var fatalErrorClosure: (String, StaticString, UInt) -> Never = defaultFatalErrorClosure
/Users/admin/builder/spi-builder-workspace/Sources/HiveEngine/Extensions/FatalError.swift:28:13: warning: static property 'fatalErrorClosure' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 | 	private static let defaultFatalErrorClosure = { Swift.fatalError($0, file: $1, line: $2) }
27 |
28 | 	static var fatalErrorClosure: (String, StaticString, UInt) -> Never = defaultFatalErrorClosure
   |             |- warning: static property 'fatalErrorClosure' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: convert 'fatalErrorClosure' to a 'let' constant to make 'Sendable' shared state immutable
   |             |- note: annotate 'fatalErrorClosure' 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
29 |
30 | 	static func replaceFatalError(closure: @escaping (String, StaticString, UInt) -> Never) {
[32/43] Compiling HiveEngine UndoCommand.swift
[33/43] Compiling HiveEngine ValidMovesCommand.swift
[34/43] Compiling HiveEngine Engine.swift
[35/43] Compiling HiveEngine Player.swift
/Users/admin/builder/spi-builder-workspace/Sources/HiveEngine/State/Position.swift:42:20: warning: static property 'origin' is not concurrency-safe because non-'Sendable' type 'Position' may have shared mutable state; this is an error in the Swift 6 language mode
 28 | //
 29 |
 30 | public struct Position: Hashable, Equatable, Codable {
    |               `- note: consider making struct 'Position' conform to the 'Sendable' protocol
 31 | 	public let x: Int
 32 | 	public let y: Int
    :
 40 |
 41 | 	/// Origin position
 42 | 	public static let origin = Position(x: 0, y: 0, z: 0)
    |                    |- warning: static property 'origin' is not concurrency-safe because non-'Sendable' type 'Position' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'origin' 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 | 	/// All adjacent positions
/Users/admin/builder/spi-builder-workspace/Sources/HiveEngine/State/RelativeMovement.swift:23:21: warning: static property 'unitRegex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
 21 | 	}
 22 |
 23 | 	private static let unitRegex = Regex("[wb]([AG][1-3]|[BS][1-2]|[LMPQ]1?)")
    |                     `- warning: static property 'unitRegex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
 24 | 	private static let directionRegex = Regex(#"[-\\/]"#)
 25 | 	private static let regex: Regex = {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Regex/Source/Regex/Regex.swift:3:15: note: struct 'Regex' does not conform to the 'Sendable' protocol
  1 | import Foundation
  2 |
  3 | public struct Regex: CustomStringConvertible, CustomDebugStringConvertible {
    |               `- note: struct 'Regex' does not conform to the 'Sendable' protocol
  4 |   // MARK: Initialisation
  5 |
/Users/admin/builder/spi-builder-workspace/Sources/HiveEngine/State/RelativeMovement.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Regex'
  7 | //
  8 |
  9 | import Regex
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Regex'
 10 |
 11 | public struct RelativeMovement {
    :
 21 | 	}
 22 |
 23 | 	private static let unitRegex = Regex("[wb]([AG][1-3]|[BS][1-2]|[LMPQ]1?)")
    |                     |- note: annotate 'unitRegex' 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
 24 | 	private static let directionRegex = Regex(#"[-\\/]"#)
 25 | 	private static let regex: Regex = {
/Users/admin/builder/spi-builder-workspace/Sources/HiveEngine/State/RelativeMovement.swift:24:21: warning: static property 'directionRegex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
 22 |
 23 | 	private static let unitRegex = Regex("[wb]([AG][1-3]|[BS][1-2]|[LMPQ]1?)")
 24 | 	private static let directionRegex = Regex(#"[-\\/]"#)
    |                     |- warning: static property 'directionRegex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: annotate 'directionRegex' 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
 25 | 	private static let regex: Regex = {
 26 | 		// swiftlint:disable:next force_try
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Regex/Source/Regex/Regex.swift:3:15: note: struct 'Regex' does not conform to the 'Sendable' protocol
  1 | import Foundation
  2 |
  3 | public struct Regex: CustomStringConvertible, CustomDebugStringConvertible {
    |               `- note: struct 'Regex' does not conform to the 'Sendable' protocol
  4 |   // MARK: Initialisation
  5 |
/Users/admin/builder/spi-builder-workspace/Sources/HiveEngine/State/RelativeMovement.swift:25:21: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
 23 | 	private static let unitRegex = Regex("[wb]([AG][1-3]|[BS][1-2]|[LMPQ]1?)")
 24 | 	private static let directionRegex = Regex(#"[-\\/]"#)
 25 | 	private static let regex: Regex = {
    |                     |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: annotate 'regex' 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
 26 | 		// swiftlint:disable:next force_try
 27 | 		try! Regex(
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Regex/Source/Regex/Regex.swift:3:15: note: struct 'Regex' does not conform to the 'Sendable' protocol
  1 | import Foundation
  2 |
  3 | public struct Regex: CustomStringConvertible, CustomDebugStringConvertible {
    |               `- note: struct 'Regex' does not conform to the 'Sendable' protocol
  4 |   // MARK: Initialisation
  5 |
[36/43] Compiling HiveEngine Position.swift
/Users/admin/builder/spi-builder-workspace/Sources/HiveEngine/State/Position.swift:42:20: warning: static property 'origin' is not concurrency-safe because non-'Sendable' type 'Position' may have shared mutable state; this is an error in the Swift 6 language mode
 28 | //
 29 |
 30 | public struct Position: Hashable, Equatable, Codable {
    |               `- note: consider making struct 'Position' conform to the 'Sendable' protocol
 31 | 	public let x: Int
 32 | 	public let y: Int
    :
 40 |
 41 | 	/// Origin position
 42 | 	public static let origin = Position(x: 0, y: 0, z: 0)
    |                    |- warning: static property 'origin' is not concurrency-safe because non-'Sendable' type 'Position' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'origin' 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 | 	/// All adjacent positions
/Users/admin/builder/spi-builder-workspace/Sources/HiveEngine/State/RelativeMovement.swift:23:21: warning: static property 'unitRegex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
 21 | 	}
 22 |
 23 | 	private static let unitRegex = Regex("[wb]([AG][1-3]|[BS][1-2]|[LMPQ]1?)")
    |                     `- warning: static property 'unitRegex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
 24 | 	private static let directionRegex = Regex(#"[-\\/]"#)
 25 | 	private static let regex: Regex = {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Regex/Source/Regex/Regex.swift:3:15: note: struct 'Regex' does not conform to the 'Sendable' protocol
  1 | import Foundation
  2 |
  3 | public struct Regex: CustomStringConvertible, CustomDebugStringConvertible {
    |               `- note: struct 'Regex' does not conform to the 'Sendable' protocol
  4 |   // MARK: Initialisation
  5 |
/Users/admin/builder/spi-builder-workspace/Sources/HiveEngine/State/RelativeMovement.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Regex'
  7 | //
  8 |
  9 | import Regex
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Regex'
 10 |
 11 | public struct RelativeMovement {
    :
 21 | 	}
 22 |
 23 | 	private static let unitRegex = Regex("[wb]([AG][1-3]|[BS][1-2]|[LMPQ]1?)")
    |                     |- note: annotate 'unitRegex' 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
 24 | 	private static let directionRegex = Regex(#"[-\\/]"#)
 25 | 	private static let regex: Regex = {
/Users/admin/builder/spi-builder-workspace/Sources/HiveEngine/State/RelativeMovement.swift:24:21: warning: static property 'directionRegex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
 22 |
 23 | 	private static let unitRegex = Regex("[wb]([AG][1-3]|[BS][1-2]|[LMPQ]1?)")
 24 | 	private static let directionRegex = Regex(#"[-\\/]"#)
    |                     |- warning: static property 'directionRegex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: annotate 'directionRegex' 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
 25 | 	private static let regex: Regex = {
 26 | 		// swiftlint:disable:next force_try
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Regex/Source/Regex/Regex.swift:3:15: note: struct 'Regex' does not conform to the 'Sendable' protocol
  1 | import Foundation
  2 |
  3 | public struct Regex: CustomStringConvertible, CustomDebugStringConvertible {
    |               `- note: struct 'Regex' does not conform to the 'Sendable' protocol
  4 |   // MARK: Initialisation
  5 |
/Users/admin/builder/spi-builder-workspace/Sources/HiveEngine/State/RelativeMovement.swift:25:21: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
 23 | 	private static let unitRegex = Regex("[wb]([AG][1-3]|[BS][1-2]|[LMPQ]1?)")
 24 | 	private static let directionRegex = Regex(#"[-\\/]"#)
 25 | 	private static let regex: Regex = {
    |                     |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: annotate 'regex' 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
 26 | 		// swiftlint:disable:next force_try
 27 | 		try! Regex(
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Regex/Source/Regex/Regex.swift:3:15: note: struct 'Regex' does not conform to the 'Sendable' protocol
  1 | import Foundation
  2 |
  3 | public struct Regex: CustomStringConvertible, CustomDebugStringConvertible {
    |               `- note: struct 'Regex' does not conform to the 'Sendable' protocol
  4 |   // MARK: Initialisation
  5 |
[37/43] Compiling HiveEngine RelativeMovement.swift
/Users/admin/builder/spi-builder-workspace/Sources/HiveEngine/State/Position.swift:42:20: warning: static property 'origin' is not concurrency-safe because non-'Sendable' type 'Position' may have shared mutable state; this is an error in the Swift 6 language mode
 28 | //
 29 |
 30 | public struct Position: Hashable, Equatable, Codable {
    |               `- note: consider making struct 'Position' conform to the 'Sendable' protocol
 31 | 	public let x: Int
 32 | 	public let y: Int
    :
 40 |
 41 | 	/// Origin position
 42 | 	public static let origin = Position(x: 0, y: 0, z: 0)
    |                    |- warning: static property 'origin' is not concurrency-safe because non-'Sendable' type 'Position' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'origin' 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 | 	/// All adjacent positions
/Users/admin/builder/spi-builder-workspace/Sources/HiveEngine/State/RelativeMovement.swift:23:21: warning: static property 'unitRegex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
 21 | 	}
 22 |
 23 | 	private static let unitRegex = Regex("[wb]([AG][1-3]|[BS][1-2]|[LMPQ]1?)")
    |                     `- warning: static property 'unitRegex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
 24 | 	private static let directionRegex = Regex(#"[-\\/]"#)
 25 | 	private static let regex: Regex = {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Regex/Source/Regex/Regex.swift:3:15: note: struct 'Regex' does not conform to the 'Sendable' protocol
  1 | import Foundation
  2 |
  3 | public struct Regex: CustomStringConvertible, CustomDebugStringConvertible {
    |               `- note: struct 'Regex' does not conform to the 'Sendable' protocol
  4 |   // MARK: Initialisation
  5 |
/Users/admin/builder/spi-builder-workspace/Sources/HiveEngine/State/RelativeMovement.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Regex'
  7 | //
  8 |
  9 | import Regex
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Regex'
 10 |
 11 | public struct RelativeMovement {
    :
 21 | 	}
 22 |
 23 | 	private static let unitRegex = Regex("[wb]([AG][1-3]|[BS][1-2]|[LMPQ]1?)")
    |                     |- note: annotate 'unitRegex' 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
 24 | 	private static let directionRegex = Regex(#"[-\\/]"#)
 25 | 	private static let regex: Regex = {
/Users/admin/builder/spi-builder-workspace/Sources/HiveEngine/State/RelativeMovement.swift:24:21: warning: static property 'directionRegex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
 22 |
 23 | 	private static let unitRegex = Regex("[wb]([AG][1-3]|[BS][1-2]|[LMPQ]1?)")
 24 | 	private static let directionRegex = Regex(#"[-\\/]"#)
    |                     |- warning: static property 'directionRegex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: annotate 'directionRegex' 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
 25 | 	private static let regex: Regex = {
 26 | 		// swiftlint:disable:next force_try
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Regex/Source/Regex/Regex.swift:3:15: note: struct 'Regex' does not conform to the 'Sendable' protocol
  1 | import Foundation
  2 |
  3 | public struct Regex: CustomStringConvertible, CustomDebugStringConvertible {
    |               `- note: struct 'Regex' does not conform to the 'Sendable' protocol
  4 |   // MARK: Initialisation
  5 |
/Users/admin/builder/spi-builder-workspace/Sources/HiveEngine/State/RelativeMovement.swift:25:21: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
 23 | 	private static let unitRegex = Regex("[wb]([AG][1-3]|[BS][1-2]|[LMPQ]1?)")
 24 | 	private static let directionRegex = Regex(#"[-\\/]"#)
 25 | 	private static let regex: Regex = {
    |                     |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: annotate 'regex' 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
 26 | 		// swiftlint:disable:next force_try
 27 | 		try! Regex(
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Regex/Source/Regex/Regex.swift:3:15: note: struct 'Regex' does not conform to the 'Sendable' protocol
  1 | import Foundation
  2 |
  3 | public struct Regex: CustomStringConvertible, CustomDebugStringConvertible {
    |               `- note: struct 'Regex' does not conform to the 'Sendable' protocol
  4 |   // MARK: Initialisation
  5 |
[38/43] Compiling HiveEngine Unit+Queen.swift
[39/43] Compiling HiveEngine Unit+Spider.swift
[40/43] Compiling HiveEngine Unit.swift
[41/43] Compiling HiveEngine GameState+UHP.swift
/Users/admin/builder/spi-builder-workspace/Sources/HiveEngine/State/Position.swift:42:20: warning: static property 'origin' is not concurrency-safe because non-'Sendable' type 'Position' may have shared mutable state; this is an error in the Swift 6 language mode
 28 | //
 29 |
 30 | public struct Position: Hashable, Equatable, Codable {
    |               `- note: consider making struct 'Position' conform to the 'Sendable' protocol
 31 | 	public let x: Int
 32 | 	public let y: Int
    :
 40 |
 41 | 	/// Origin position
 42 | 	public static let origin = Position(x: 0, y: 0, z: 0)
    |                    |- warning: static property 'origin' is not concurrency-safe because non-'Sendable' type 'Position' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'origin' 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 | 	/// All adjacent positions
[42/43] Compiling HiveEngine GameState.swift
/Users/admin/builder/spi-builder-workspace/Sources/HiveEngine/State/Position.swift:42:20: warning: static property 'origin' is not concurrency-safe because non-'Sendable' type 'Position' may have shared mutable state; this is an error in the Swift 6 language mode
 28 | //
 29 |
 30 | public struct Position: Hashable, Equatable, Codable {
    |               `- note: consider making struct 'Position' conform to the 'Sendable' protocol
 31 | 	public let x: Int
 32 | 	public let y: Int
    :
 40 |
 41 | 	/// Origin position
 42 | 	public static let origin = Position(x: 0, y: 0, z: 0)
    |                    |- warning: static property 'origin' is not concurrency-safe because non-'Sendable' type 'Position' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'origin' 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 | 	/// All adjacent positions
[43/43] Compiling HiveEngine Movement.swift
/Users/admin/builder/spi-builder-workspace/Sources/HiveEngine/State/Position.swift:42:20: warning: static property 'origin' is not concurrency-safe because non-'Sendable' type 'Position' may have shared mutable state; this is an error in the Swift 6 language mode
 28 | //
 29 |
 30 | public struct Position: Hashable, Equatable, Codable {
    |               `- note: consider making struct 'Position' conform to the 'Sendable' protocol
 31 | 	public let x: Int
 32 | 	public let y: Int
    :
 40 |
 41 | 	/// Origin position
 42 | 	public static let origin = Position(x: 0, y: 0, z: 0)
    |                    |- warning: static property 'origin' is not concurrency-safe because non-'Sendable' type 'Position' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'origin' 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 | 	/// All adjacent positions
[44/53] Compiling HiveEngineTestUtilities GameStateProvider+LadyBug.swift
[45/54] Compiling HiveEngineTestUtilities GameStateProvider+Spider.swift
[46/54] Compiling HiveEngineTestUtilities GameStateProvider+Queen.swift
[47/54] Compiling HiveEngineTestUtilities GameStateProvider+Hopper.swift
[48/54] Compiling HiveEngineTestUtilities GameStateProvider+Beetle.swift
[49/54] Emitting module HiveEngineTestUtilities
[50/54] Compiling HiveEngineTestUtilities GameStateProvider+PillBug.swift
[51/54] Compiling HiveEngineTestUtilities GameStateProvider+Ant.swift
[52/54] Compiling HiveEngineTestUtilities GameStateProvider+Mosquito.swift
[53/54] Compiling HiveEngineTestUtilities GameStateProvider.swift
[54/54] Compiling HiveEngineTestUtilities HiveEngineTestCase.swift
/Users/admin/builder/spi-builder-workspace/Sources/HiveEngineTestUtilities/HiveEngineTestCase.swift:122:60: warning: passing non-sendable parameter 'testcase' to function expecting a @Sendable closure
110 | 	}
111 |
112 | 	public func XCTAssertFatalError(expectedMessage: String, testcase: @escaping () -> Void) {
    |                                                           `- note: parameter 'testcase' is implicitly non-sendable
113 | 		let expectation = self.expectation(description: "expectingFatalError")
114 | 		var assertionMessage: String?
    :
120 | 		}
121 |
122 | 		DispatchQueue.global(qos: .userInitiated).async(execute: testcase)
    |                                                            `- warning: passing non-sendable parameter 'testcase' to function expecting a @Sendable closure
123 |
124 | 		waitForExpectations(timeout: 2) { _ in
/Users/admin/builder/spi-builder-workspace/Sources/HiveEngineTestUtilities/HiveEngineTestCase.swift:124:3: warning: call to main actor-isolated instance method 'waitForExpectations(timeout:handler:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
110 | 	}
111 |
112 | 	public func XCTAssertFatalError(expectedMessage: String, testcase: @escaping () -> Void) {
    |              `- note: add '@MainActor' to make instance method 'XCTAssertFatalError(expectedMessage:testcase:)' part of global actor 'MainActor'
113 | 		let expectation = self.expectation(description: "expectingFatalError")
114 | 		var assertionMessage: String?
    :
122 | 		DispatchQueue.global(qos: .userInitiated).async(execute: testcase)
123 |
124 | 		waitForExpectations(timeout: 2) { _ in
    |   `- warning: call to main actor-isolated instance method 'waitForExpectations(timeout:handler:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
125 | 			XCTAssertEqual(assertionMessage, expectedMessage)
126 | 			FatalErrorUtil.restoreFatalError()
XCTest.XCTestCase:5:26: note: calls to instance method 'waitForExpectations(timeout:handler:)' from outside of its actor context are implicitly asynchronous
 3 |     @available(swift, obsoleted: 3, renamed: "expectation(description:)")
 4 |     open func expectationWithDescription(_ description: String) -> XCTestExpectation
 5 |     @MainActor open func waitForExpectations(timeout: TimeInterval, handler: (@Sendable ((any Error)?) -> Void)? = nil)
   |                          `- note: calls to instance method 'waitForExpectations(timeout:handler:)' from outside of its actor context are implicitly asynchronous
 6 |     @available(swift, obsoleted: 3, renamed: "waitForExpectations(timeout:handler:)")
 7 |     @MainActor open func waitForExpectationsWithTimeout(_ timeout: TimeInterval, handler: (@Sendable ((any Error)?) -> Void)? = nil)
/Users/admin/builder/spi-builder-workspace/Sources/HiveEngineTestUtilities/HiveEngineTestCase.swift:125:19: warning: reference to captured var 'assertionMessage' in concurrently-executing code; this is an error in the Swift 6 language mode
123 |
124 | 		waitForExpectations(timeout: 2) { _ in
125 | 			XCTAssertEqual(assertionMessage, expectedMessage)
    |                   `- warning: reference to captured var 'assertionMessage' in concurrently-executing code; this is an error in the Swift 6 language mode
126 | 			FatalErrorUtil.restoreFatalError()
127 | 		}
/Users/admin/builder/spi-builder-workspace/Sources/HiveEngineTestUtilities/HiveEngineTestCase.swift:124:3: warning: sending task-isolated value of type 'HiveEngineTestCase' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
122 | 		DispatchQueue.global(qos: .userInitiated).async(execute: testcase)
123 |
124 | 		waitForExpectations(timeout: 2) { _ in
    |   `- warning: sending task-isolated value of type 'HiveEngineTestCase' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
125 | 			XCTAssertEqual(assertionMessage, expectedMessage)
126 | 			FatalErrorUtil.restoreFatalError()
Build complete! (20.83s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "regex",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.1.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/sharplet/Regex.git"
    }
  ],
  "manifest_display_name" : "HiveEngine",
  "name" : "HiveEngine",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.4"
    }
  ],
  "products" : [
    {
      "name" : "HiveEngine",
      "targets" : [
        "HiveEngine"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "HiveEngineTestUtilities",
      "targets" : [
        "HiveEngineTestUtilities"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "HiveEngineTests",
      "module_type" : "SwiftTarget",
      "name" : "HiveEngineTests",
      "path" : "Tests/HiveEngineTests",
      "sources" : [
        "Engine/Commands/BestMoveCommandTests.swift",
        "Engine/Commands/InfoCommandTests.swift",
        "Engine/Commands/NewGameCommandTests.swift",
        "Engine/Commands/OptionsCommandTests.swift",
        "Engine/Commands/PlayCommandTests.swift",
        "Engine/Commands/UHPCommandParserTests.swift",
        "Engine/Commands/UndoCommandTests.swift",
        "Engine/Commands/ValidMovesCommandTests.swift",
        "Engine/EngineTests.swift",
        "Engine/Util/GameStringTests.swift",
        "Engine/Util/TurnStringTests.swift",
        "State/GameState+UHPTests.swift",
        "State/GameStateTests.swift",
        "State/MovementTests.swift",
        "State/PlayerTests.swift",
        "State/PositionTests.swift",
        "State/RelativeMovementTests.swift",
        "Unit/Unit+AntTests.swift",
        "Unit/Unit+BeetleTests.swift",
        "Unit/Unit+HopperTests.swift",
        "Unit/Unit+LadyBugTests.swift",
        "Unit/Unit+MosquitoTests.swift",
        "Unit/Unit+PillBugTests.swift",
        "Unit/Unit+QueenTests.swift",
        "Unit/Unit+SpiderTests.swift",
        "Unit/UnitTests.swift",
        "Validation/PerftTests.swift"
      ],
      "target_dependencies" : [
        "HiveEngine",
        "HiveEngineTestUtilities"
      ],
      "type" : "test"
    },
    {
      "c99name" : "HiveEngineTestUtilities",
      "module_type" : "SwiftTarget",
      "name" : "HiveEngineTestUtilities",
      "path" : "Sources/HiveEngineTestUtilities",
      "product_memberships" : [
        "HiveEngineTestUtilities"
      ],
      "sources" : [
        "GameStateProvider/GameStateProvider+Ant.swift",
        "GameStateProvider/GameStateProvider+Beetle.swift",
        "GameStateProvider/GameStateProvider+Hopper.swift",
        "GameStateProvider/GameStateProvider+LadyBug.swift",
        "GameStateProvider/GameStateProvider+Mosquito.swift",
        "GameStateProvider/GameStateProvider+PillBug.swift",
        "GameStateProvider/GameStateProvider+Queen.swift",
        "GameStateProvider/GameStateProvider+Spider.swift",
        "GameStateProvider/GameStateProvider.swift",
        "HiveEngineTestCase.swift"
      ],
      "target_dependencies" : [
        "HiveEngine"
      ],
      "type" : "library"
    },
    {
      "c99name" : "HiveEngineBenchmarkTests",
      "module_type" : "SwiftTarget",
      "name" : "HiveEngineBenchmarkTests",
      "path" : "Tests/HiveEngineBenchmarkTests",
      "sources" : [
        "State/GameStateBenchmarkTests.swift",
        "State/PositionBenchmarkTests.swift",
        "Unit/BeetleBenchmarkTests.swift"
      ],
      "target_dependencies" : [
        "HiveEngine",
        "HiveEngineTestUtilities"
      ],
      "type" : "test"
    },
    {
      "c99name" : "HiveEngine",
      "module_type" : "SwiftTarget",
      "name" : "HiveEngine",
      "path" : "Sources/HiveEngine",
      "product_dependencies" : [
        "Regex"
      ],
      "product_memberships" : [
        "HiveEngine",
        "HiveEngineTestUtilities"
      ],
      "sources" : [
        "Engine/Commands/BestMoveCommand.swift",
        "Engine/Commands/InfoCommand.swift",
        "Engine/Commands/NewGameCommand.swift",
        "Engine/Commands/OptionsCommand.swift",
        "Engine/Commands/PlayCommand.swift",
        "Engine/Commands/UHPCommand.swift",
        "Engine/Commands/UHPResult.swift",
        "Engine/Commands/UndoCommand.swift",
        "Engine/Commands/ValidMovesCommand.swift",
        "Engine/Engine.swift",
        "Engine/Util/GameStateString.swift",
        "Engine/Util/GameString.swift",
        "Engine/Util/GameTypeString.swift",
        "Engine/Util/MoveString.swift",
        "Engine/Util/TurnString.swift",
        "Extensions/FatalError.swift",
        "State/GameState+UHP.swift",
        "State/GameState.swift",
        "State/Movement.swift",
        "State/Player.swift",
        "State/Position.swift",
        "State/RelativeMovement.swift",
        "Unit/Unit+Ant.swift",
        "Unit/Unit+Beetle.swift",
        "Unit/Unit+Hopper.swift",
        "Unit/Unit+LadyBug.swift",
        "Unit/Unit+Mosquito.swift",
        "Unit/Unit+PillBug.swift",
        "Unit/Unit+Queen.swift",
        "Unit/Unit+Spider.swift",
        "Unit/Unit.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.2"
}
Done.