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 Euclid, reference main (067e21), with Swift 6.0 for macOS (SPM) on 16 Apr 2025 08:32:05 UTC.

Swift 6 data race errors: 2

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.2.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.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nicklockwood/Euclid.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/nicklockwood/Euclid
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 067e21d Update for 0.7.11 release
Cloned https://github.com/nicklockwood/Euclid.git
Revision (git rev-parse @):
067e21d20d523aa76211df8279ee5d92e9b27781
SUCCESS checkout https://github.com/nicklockwood/Euclid.git at main
========================================
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": "euclid",
      "name": "Euclid",
      "url": "https://github.com/nicklockwood/Euclid.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Euclid",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/nicklockwood/Euclid.git
[1/10298] Fetching euclid
Fetched https://github.com/nicklockwood/Euclid.git from cache (2.13s)
Creating working copy for https://github.com/nicklockwood/Euclid.git
Working copy of https://github.com/nicklockwood/Euclid.git resolved at main (067e21d)
warning: '.resolve-product-dependencies': dependency 'euclid' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/nicklockwood/Euclid.git
https://github.com/nicklockwood/Euclid.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Euclid",
  "name" : "Euclid",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Euclid",
      "targets" : [
        "Euclid"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "EuclidTests",
      "module_type" : "SwiftTarget",
      "name" : "EuclidTests",
      "path" : "Tests",
      "sources" : [
        "AngleTests.swift",
        "BoundsTests.swift",
        "CGPathTests.swift",
        "CodingTests.swift",
        "Euclid+Testing.swift",
        "LineSegmentTests.swift",
        "LineTests.swift",
        "MeshCSGTests.swift",
        "MeshExportTests.swift",
        "MeshImportTests.swift",
        "MeshShapeTests.swift",
        "MeshTests.swift",
        "MetadataTests.swift",
        "PathShapeTests.swift",
        "PathTests.swift",
        "PlaneTests.swift",
        "PolygonCSGTests.swift",
        "PolygonTests.swift",
        "QuaternionTests.swift",
        "RealityKitTests.swift",
        "SceneKitTests.swift",
        "StretchableTests.swift",
        "TextTests.swift",
        "TransformTests.swift",
        "UtilityTests.swift",
        "VectorTests.swift"
      ],
      "target_dependencies" : [
        "Euclid"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Euclid",
      "module_type" : "SwiftTarget",
      "name" : "Euclid",
      "path" : "Sources",
      "product_memberships" : [
        "Euclid"
      ],
      "sources" : [
        "Angle.swift",
        "BSP.swift",
        "Bounds.swift",
        "Color.swift",
        "Euclid+AppKit.swift",
        "Euclid+CoreGraphics.swift",
        "Euclid+CoreText.swift",
        "Euclid+RealityKit.swift",
        "Euclid+SIMD.swift",
        "Euclid+SceneKit.swift",
        "Euclid+UIKit.swift",
        "Line.swift",
        "LineSegment+CSG.swift",
        "LineSegment.swift",
        "Mesh+CSG.swift",
        "Mesh+IO.swift",
        "Mesh+OBJ.swift",
        "Mesh+STL.swift",
        "Mesh+Shapes.swift",
        "Mesh+Texcoords.swift",
        "Mesh.swift",
        "Path+Shapes.swift",
        "Path.swift",
        "PathPoint.swift",
        "Plane.swift",
        "Polygon+CSG.swift",
        "Polygon.swift",
        "Quaternion.swift",
        "Rotation.swift",
        "Stretchable.swift",
        "Transforms.swift",
        "Utilities.swift",
        "Vector.swift",
        "Vertex.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-5BDAB9E9C0126B9D.txt
[3/34] Emitting module Euclid
/Users/admin/builder/spi-builder-workspace/Sources/Polygon.swift:127:16: warning: static property 'codableClasses' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 125 |
 126 |     /// Supported `NSSecureCodable` Material base classes.
 127 |     static var codableClasses: [AnyClass] = {
     |                |- warning: static property 'codableClasses' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                |- note: convert 'codableClasses' to a 'let' constant to make 'Sendable' shared state immutable
     |                |- note: annotate 'codableClasses' 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
 128 |         #if canImport(AppKit) || canImport(UIKit)
 129 |         return [OSImage.self, OSColor.self] + scnMaterialTypes
/Users/admin/builder/spi-builder-workspace/Sources/Transforms.swift:215:16: warning: static property 'identity' is not concurrency-safe because non-'Sendable' type 'Transform' may have shared mutable state; this is an error in the Swift 6 language mode
123 | /// Working with intermediate transform objects instead of directly updating the vertex positions of a mesh
124 | /// is more efficient and avoids a buildup of rounding errors.
125 | public struct Transform: Hashable {
    |               `- note: consider making struct 'Transform' conform to the 'Sendable' protocol
126 |     /// The translation or position component of the transform.
127 |     public var offset: Vector
    :
213 | public extension Transform {
214 |     /// The identity transform (i.e. no transform).
215 |     static let identity = Transform()
    |                |- warning: static property 'identity' is not concurrency-safe because non-'Sendable' type 'Transform' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'identity' 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
216 |
217 |     /// Creates a offset transform.
[4/37] Compiling Euclid Angle.swift
[5/37] Compiling Euclid BSP.swift
[6/37] Compiling Euclid Bounds.swift
[7/37] Compiling Euclid Color.swift
[8/37] Compiling Euclid Rotation.swift
/Users/admin/builder/spi-builder-workspace/Sources/Transforms.swift:215:16: warning: static property 'identity' is not concurrency-safe because non-'Sendable' type 'Transform' may have shared mutable state; this is an error in the Swift 6 language mode
123 | /// Working with intermediate transform objects instead of directly updating the vertex positions of a mesh
124 | /// is more efficient and avoids a buildup of rounding errors.
125 | public struct Transform: Hashable {
    |               `- note: consider making struct 'Transform' conform to the 'Sendable' protocol
126 |     /// The translation or position component of the transform.
127 |     public var offset: Vector
    :
213 | public extension Transform {
214 |     /// The identity transform (i.e. no transform).
215 |     static let identity = Transform()
    |                |- warning: static property 'identity' is not concurrency-safe because non-'Sendable' type 'Transform' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'identity' 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
216 |
217 |     /// Creates a offset transform.
[9/37] Compiling Euclid Stretchable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Transforms.swift:215:16: warning: static property 'identity' is not concurrency-safe because non-'Sendable' type 'Transform' may have shared mutable state; this is an error in the Swift 6 language mode
123 | /// Working with intermediate transform objects instead of directly updating the vertex positions of a mesh
124 | /// is more efficient and avoids a buildup of rounding errors.
125 | public struct Transform: Hashable {
    |               `- note: consider making struct 'Transform' conform to the 'Sendable' protocol
126 |     /// The translation or position component of the transform.
127 |     public var offset: Vector
    :
213 | public extension Transform {
214 |     /// The identity transform (i.e. no transform).
215 |     static let identity = Transform()
    |                |- warning: static property 'identity' is not concurrency-safe because non-'Sendable' type 'Transform' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'identity' 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
216 |
217 |     /// Creates a offset transform.
[10/37] Compiling Euclid Transforms.swift
/Users/admin/builder/spi-builder-workspace/Sources/Transforms.swift:215:16: warning: static property 'identity' is not concurrency-safe because non-'Sendable' type 'Transform' may have shared mutable state; this is an error in the Swift 6 language mode
123 | /// Working with intermediate transform objects instead of directly updating the vertex positions of a mesh
124 | /// is more efficient and avoids a buildup of rounding errors.
125 | public struct Transform: Hashable {
    |               `- note: consider making struct 'Transform' conform to the 'Sendable' protocol
126 |     /// The translation or position component of the transform.
127 |     public var offset: Vector
    :
213 | public extension Transform {
214 |     /// The identity transform (i.e. no transform).
215 |     static let identity = Transform()
    |                |- warning: static property 'identity' is not concurrency-safe because non-'Sendable' type 'Transform' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'identity' 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
216 |
217 |     /// Creates a offset transform.
[11/37] Compiling Euclid Polygon+CSG.swift
/Users/admin/builder/spi-builder-workspace/Sources/Polygon.swift:127:16: warning: static property 'codableClasses' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 125 |
 126 |     /// Supported `NSSecureCodable` Material base classes.
 127 |     static var codableClasses: [AnyClass] = {
     |                |- warning: static property 'codableClasses' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                |- note: convert 'codableClasses' to a 'let' constant to make 'Sendable' shared state immutable
     |                |- note: annotate 'codableClasses' 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
 128 |         #if canImport(AppKit) || canImport(UIKit)
 129 |         return [OSImage.self, OSColor.self] + scnMaterialTypes
[12/37] Compiling Euclid Polygon.swift
/Users/admin/builder/spi-builder-workspace/Sources/Polygon.swift:127:16: warning: static property 'codableClasses' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 125 |
 126 |     /// Supported `NSSecureCodable` Material base classes.
 127 |     static var codableClasses: [AnyClass] = {
     |                |- warning: static property 'codableClasses' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                |- note: convert 'codableClasses' to a 'let' constant to make 'Sendable' shared state immutable
     |                |- note: annotate 'codableClasses' 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
 128 |         #if canImport(AppKit) || canImport(UIKit)
 129 |         return [OSImage.self, OSColor.self] + scnMaterialTypes
[13/37] Compiling Euclid Quaternion.swift
/Users/admin/builder/spi-builder-workspace/Sources/Polygon.swift:127:16: warning: static property 'codableClasses' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 125 |
 126 |     /// Supported `NSSecureCodable` Material base classes.
 127 |     static var codableClasses: [AnyClass] = {
     |                |- warning: static property 'codableClasses' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                |- note: convert 'codableClasses' to a 'let' constant to make 'Sendable' shared state immutable
     |                |- note: annotate 'codableClasses' 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
 128 |         #if canImport(AppKit) || canImport(UIKit)
 129 |         return [OSImage.self, OSColor.self] + scnMaterialTypes
[14/37] Compiling Euclid Path.swift
[15/37] Compiling Euclid PathPoint.swift
[16/37] Compiling Euclid Plane.swift
[17/37] Compiling Euclid LineSegment+CSG.swift
/Users/admin/builder/spi-builder-workspace/Sources/Mesh+CSG.swift:591:17: warning: capture of 'op1' with non-sendable type '() -> Void' in a `@Sendable` closure
589 |     DispatchQueue.concurrentPerform(iterations: 2) { index in
590 |         switch index {
591 |         case 0: op1()
    |                 |- warning: capture of 'op1' with non-sendable type '() -> Void' in a `@Sendable` closure
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
592 |         default: op2()
593 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Mesh+CSG.swift:592:18: warning: capture of 'op2' with non-sendable type '() -> Void' in a `@Sendable` closure
590 |         switch index {
591 |         case 0: op1()
592 |         default: op2()
    |                  |- warning: capture of 'op2' with non-sendable type '() -> Void' in a `@Sendable` closure
    |                  `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
593 |         }
594 |     }
[18/37] Compiling Euclid LineSegment.swift
/Users/admin/builder/spi-builder-workspace/Sources/Mesh+CSG.swift:591:17: warning: capture of 'op1' with non-sendable type '() -> Void' in a `@Sendable` closure
589 |     DispatchQueue.concurrentPerform(iterations: 2) { index in
590 |         switch index {
591 |         case 0: op1()
    |                 |- warning: capture of 'op1' with non-sendable type '() -> Void' in a `@Sendable` closure
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
592 |         default: op2()
593 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Mesh+CSG.swift:592:18: warning: capture of 'op2' with non-sendable type '() -> Void' in a `@Sendable` closure
590 |         switch index {
591 |         case 0: op1()
592 |         default: op2()
    |                  |- warning: capture of 'op2' with non-sendable type '() -> Void' in a `@Sendable` closure
    |                  `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
593 |         }
594 |     }
[19/37] Compiling Euclid Mesh+CSG.swift
/Users/admin/builder/spi-builder-workspace/Sources/Mesh+CSG.swift:591:17: warning: capture of 'op1' with non-sendable type '() -> Void' in a `@Sendable` closure
589 |     DispatchQueue.concurrentPerform(iterations: 2) { index in
590 |         switch index {
591 |         case 0: op1()
    |                 |- warning: capture of 'op1' with non-sendable type '() -> Void' in a `@Sendable` closure
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
592 |         default: op2()
593 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Mesh+CSG.swift:592:18: warning: capture of 'op2' with non-sendable type '() -> Void' in a `@Sendable` closure
590 |         switch index {
591 |         case 0: op1()
592 |         default: op2()
    |                  |- warning: capture of 'op2' with non-sendable type '() -> Void' in a `@Sendable` closure
    |                  `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
593 |         }
594 |     }
[20/37] Compiling Euclid Mesh+IO.swift
/Users/admin/builder/spi-builder-workspace/Sources/Mesh+CSG.swift:591:17: warning: capture of 'op1' with non-sendable type '() -> Void' in a `@Sendable` closure
589 |     DispatchQueue.concurrentPerform(iterations: 2) { index in
590 |         switch index {
591 |         case 0: op1()
    |                 |- warning: capture of 'op1' with non-sendable type '() -> Void' in a `@Sendable` closure
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
592 |         default: op2()
593 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Mesh+CSG.swift:592:18: warning: capture of 'op2' with non-sendable type '() -> Void' in a `@Sendable` closure
590 |         switch index {
591 |         case 0: op1()
592 |         default: op2()
    |                  |- warning: capture of 'op2' with non-sendable type '() -> Void' in a `@Sendable` closure
    |                  `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
593 |         }
594 |     }
[21/37] Compiling Euclid Euclid+SIMD.swift
[22/37] Compiling Euclid Euclid+SceneKit.swift
[23/37] Compiling Euclid Euclid+UIKit.swift
[24/37] Compiling Euclid Line.swift
[25/37] Compiling Euclid Utilities.swift
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:750:22: warning: capture of 'fn' with non-sendable type '([T]) -> [U]' in a `@Sendable` closure
748 |     var a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x: [U]?
749 |     DispatchQueue.concurrentPerform(iterations: parts.count) { index in
750 |         let result = fn(parts[index])
    |                      |- warning: capture of 'fn' with non-sendable type '([T]) -> [U]' in a `@Sendable` closure
    |                      `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
751 |         switch index {
752 |         case 0: a = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:750:25: warning: capture of 'parts' with non-sendable type '[[T]]' in a `@Sendable` closure
730 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
731 |
732 | func batch<T, U>(
    |            `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
733 |     _ elements: [T],
734 |     stride minBatchSize: Int,
    :
748 |     var a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x: [U]?
749 |     DispatchQueue.concurrentPerform(iterations: parts.count) { index in
750 |         let result = fn(parts[index])
    |                         `- warning: capture of 'parts' with non-sendable type '[[T]]' in a `@Sendable` closure
751 |         switch index {
752 |         case 0: a = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:752:17: warning: capture of 'a' with non-sendable type '[U]?' in a `@Sendable` closure
730 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
731 |
732 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
733 |     _ elements: [T],
734 |     stride minBatchSize: Int,
    :
750 |         let result = fn(parts[index])
751 |         switch index {
752 |         case 0: a = result
    |                 `- warning: capture of 'a' with non-sendable type '[U]?' in a `@Sendable` closure
753 |         case 1: b = result
754 |         case 2: c = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:753:17: warning: capture of 'b' with non-sendable type '[U]?' in a `@Sendable` closure
730 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
731 |
732 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
733 |     _ elements: [T],
734 |     stride minBatchSize: Int,
    :
751 |         switch index {
752 |         case 0: a = result
753 |         case 1: b = result
    |                 `- warning: capture of 'b' with non-sendable type '[U]?' in a `@Sendable` closure
754 |         case 2: c = result
755 |         case 3: d = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:754:17: warning: capture of 'c' with non-sendable type '[U]?' in a `@Sendable` closure
730 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
731 |
732 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
733 |     _ elements: [T],
734 |     stride minBatchSize: Int,
    :
752 |         case 0: a = result
753 |         case 1: b = result
754 |         case 2: c = result
    |                 `- warning: capture of 'c' with non-sendable type '[U]?' in a `@Sendable` closure
755 |         case 3: d = result
756 |         case 4: e = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:755:17: warning: capture of 'd' with non-sendable type '[U]?' in a `@Sendable` closure
730 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
731 |
732 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
733 |     _ elements: [T],
734 |     stride minBatchSize: Int,
    :
753 |         case 1: b = result
754 |         case 2: c = result
755 |         case 3: d = result
    |                 `- warning: capture of 'd' with non-sendable type '[U]?' in a `@Sendable` closure
756 |         case 4: e = result
757 |         case 5: f = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:756:17: warning: capture of 'e' with non-sendable type '[U]?' in a `@Sendable` closure
730 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
731 |
732 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
733 |     _ elements: [T],
734 |     stride minBatchSize: Int,
    :
754 |         case 2: c = result
755 |         case 3: d = result
756 |         case 4: e = result
    |                 `- warning: capture of 'e' with non-sendable type '[U]?' in a `@Sendable` closure
757 |         case 5: f = result
758 |         case 6: g = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:757:17: warning: capture of 'f' with non-sendable type '[U]?' in a `@Sendable` closure
730 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
731 |
732 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
733 |     _ elements: [T],
734 |     stride minBatchSize: Int,
    :
755 |         case 3: d = result
756 |         case 4: e = result
757 |         case 5: f = result
    |                 `- warning: capture of 'f' with non-sendable type '[U]?' in a `@Sendable` closure
758 |         case 6: g = result
759 |         case 7: h = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:758:17: warning: capture of 'g' with non-sendable type '[U]?' in a `@Sendable` closure
730 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
731 |
732 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
733 |     _ elements: [T],
734 |     stride minBatchSize: Int,
    :
756 |         case 4: e = result
757 |         case 5: f = result
758 |         case 6: g = result
    |                 `- warning: capture of 'g' with non-sendable type '[U]?' in a `@Sendable` closure
759 |         case 7: h = result
760 |         case 8: i = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:759:17: warning: capture of 'h' with non-sendable type '[U]?' in a `@Sendable` closure
730 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
731 |
732 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
733 |     _ elements: [T],
734 |     stride minBatchSize: Int,
    :
757 |         case 5: f = result
758 |         case 6: g = result
759 |         case 7: h = result
    |                 `- warning: capture of 'h' with non-sendable type '[U]?' in a `@Sendable` closure
760 |         case 8: i = result
761 |         case 9: j = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:760:17: warning: capture of 'i' with non-sendable type '[U]?' in a `@Sendable` closure
730 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
731 |
732 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
733 |     _ elements: [T],
734 |     stride minBatchSize: Int,
    :
758 |         case 6: g = result
759 |         case 7: h = result
760 |         case 8: i = result
    |                 `- warning: capture of 'i' with non-sendable type '[U]?' in a `@Sendable` closure
761 |         case 9: j = result
762 |         case 10: k = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:761:17: warning: capture of 'j' with non-sendable type '[U]?' in a `@Sendable` closure
730 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
731 |
732 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
733 |     _ elements: [T],
734 |     stride minBatchSize: Int,
    :
759 |         case 7: h = result
760 |         case 8: i = result
761 |         case 9: j = result
    |                 `- warning: capture of 'j' with non-sendable type '[U]?' in a `@Sendable` closure
762 |         case 10: k = result
763 |         case 11: l = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:762:18: warning: capture of 'k' with non-sendable type '[U]?' in a `@Sendable` closure
730 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
731 |
732 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
733 |     _ elements: [T],
734 |     stride minBatchSize: Int,
    :
760 |         case 8: i = result
761 |         case 9: j = result
762 |         case 10: k = result
    |                  `- warning: capture of 'k' with non-sendable type '[U]?' in a `@Sendable` closure
763 |         case 11: l = result
764 |         case 12: m = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:763:18: warning: capture of 'l' with non-sendable type '[U]?' in a `@Sendable` closure
730 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
731 |
732 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
733 |     _ elements: [T],
734 |     stride minBatchSize: Int,
    :
761 |         case 9: j = result
762 |         case 10: k = result
763 |         case 11: l = result
    |                  `- warning: capture of 'l' with non-sendable type '[U]?' in a `@Sendable` closure
764 |         case 12: m = result
765 |         case 13: n = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:764:18: warning: capture of 'm' with non-sendable type '[U]?' in a `@Sendable` closure
730 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
731 |
732 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
733 |     _ elements: [T],
734 |     stride minBatchSize: Int,
    :
762 |         case 10: k = result
763 |         case 11: l = result
764 |         case 12: m = result
    |                  `- warning: capture of 'm' with non-sendable type '[U]?' in a `@Sendable` closure
765 |         case 13: n = result
766 |         case 14: o = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:765:18: warning: capture of 'n' with non-sendable type '[U]?' in a `@Sendable` closure
730 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
731 |
732 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
733 |     _ elements: [T],
734 |     stride minBatchSize: Int,
    :
763 |         case 11: l = result
764 |         case 12: m = result
765 |         case 13: n = result
    |                  `- warning: capture of 'n' with non-sendable type '[U]?' in a `@Sendable` closure
766 |         case 14: o = result
767 |         case 15: p = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:766:18: warning: capture of 'o' with non-sendable type '[U]?' in a `@Sendable` closure
730 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
731 |
732 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
733 |     _ elements: [T],
734 |     stride minBatchSize: Int,
    :
764 |         case 12: m = result
765 |         case 13: n = result
766 |         case 14: o = result
    |                  `- warning: capture of 'o' with non-sendable type '[U]?' in a `@Sendable` closure
767 |         case 15: p = result
768 |         case 16: q = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:767:18: warning: capture of 'p' with non-sendable type '[U]?' in a `@Sendable` closure
730 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
731 |
732 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
733 |     _ elements: [T],
734 |     stride minBatchSize: Int,
    :
765 |         case 13: n = result
766 |         case 14: o = result
767 |         case 15: p = result
    |                  `- warning: capture of 'p' with non-sendable type '[U]?' in a `@Sendable` closure
768 |         case 16: q = result
769 |         case 17: r = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:768:18: warning: capture of 'q' with non-sendable type '[U]?' in a `@Sendable` closure
730 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
731 |
732 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
733 |     _ elements: [T],
734 |     stride minBatchSize: Int,
    :
766 |         case 14: o = result
767 |         case 15: p = result
768 |         case 16: q = result
    |                  `- warning: capture of 'q' with non-sendable type '[U]?' in a `@Sendable` closure
769 |         case 17: r = result
770 |         case 18: s = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:769:18: warning: capture of 'r' with non-sendable type '[U]?' in a `@Sendable` closure
730 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
731 |
732 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
733 |     _ elements: [T],
734 |     stride minBatchSize: Int,
    :
767 |         case 15: p = result
768 |         case 16: q = result
769 |         case 17: r = result
    |                  `- warning: capture of 'r' with non-sendable type '[U]?' in a `@Sendable` closure
770 |         case 18: s = result
771 |         case 19: t = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:770:18: warning: capture of 's' with non-sendable type '[U]?' in a `@Sendable` closure
730 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
731 |
732 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
733 |     _ elements: [T],
734 |     stride minBatchSize: Int,
    :
768 |         case 16: q = result
769 |         case 17: r = result
770 |         case 18: s = result
    |                  `- warning: capture of 's' with non-sendable type '[U]?' in a `@Sendable` closure
771 |         case 19: t = result
772 |         case 20: u = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:771:18: warning: capture of 't' with non-sendable type '[U]?' in a `@Sendable` closure
730 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
731 |
732 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
733 |     _ elements: [T],
734 |     stride minBatchSize: Int,
    :
769 |         case 17: r = result
770 |         case 18: s = result
771 |         case 19: t = result
    |                  `- warning: capture of 't' with non-sendable type '[U]?' in a `@Sendable` closure
772 |         case 20: u = result
773 |         case 21: v = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:772:18: warning: capture of 'u' with non-sendable type '[U]?' in a `@Sendable` closure
730 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
731 |
732 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
733 |     _ elements: [T],
734 |     stride minBatchSize: Int,
    :
770 |         case 18: s = result
771 |         case 19: t = result
772 |         case 20: u = result
    |                  `- warning: capture of 'u' with non-sendable type '[U]?' in a `@Sendable` closure
773 |         case 21: v = result
774 |         case 22: w = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:773:18: warning: capture of 'v' with non-sendable type '[U]?' in a `@Sendable` closure
730 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
731 |
732 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
733 |     _ elements: [T],
734 |     stride minBatchSize: Int,
    :
771 |         case 19: t = result
772 |         case 20: u = result
773 |         case 21: v = result
    |                  `- warning: capture of 'v' with non-sendable type '[U]?' in a `@Sendable` closure
774 |         case 22: w = result
775 |         case 23: x = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:774:18: warning: capture of 'w' with non-sendable type '[U]?' in a `@Sendable` closure
730 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
731 |
732 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
733 |     _ elements: [T],
734 |     stride minBatchSize: Int,
    :
772 |         case 20: u = result
773 |         case 21: v = result
774 |         case 22: w = result
    |                  `- warning: capture of 'w' with non-sendable type '[U]?' in a `@Sendable` closure
775 |         case 23: x = result
776 |         default: preconditionFailure()
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:775:18: warning: capture of 'x' with non-sendable type '[U]?' in a `@Sendable` closure
730 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
731 |
732 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
733 |     _ elements: [T],
734 |     stride minBatchSize: Int,
    :
773 |         case 21: v = result
774 |         case 22: w = result
775 |         case 23: x = result
    |                  `- warning: capture of 'x' with non-sendable type '[U]?' in a `@Sendable` closure
776 |         default: preconditionFailure()
777 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:752:17: warning: mutation of captured var 'a' in concurrently-executing code
750 |         let result = fn(parts[index])
751 |         switch index {
752 |         case 0: a = result
    |                 `- warning: mutation of captured var 'a' in concurrently-executing code
753 |         case 1: b = result
754 |         case 2: c = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:753:17: warning: mutation of captured var 'b' in concurrently-executing code
751 |         switch index {
752 |         case 0: a = result
753 |         case 1: b = result
    |                 `- warning: mutation of captured var 'b' in concurrently-executing code
754 |         case 2: c = result
755 |         case 3: d = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:754:17: warning: mutation of captured var 'c' in concurrently-executing code
752 |         case 0: a = result
753 |         case 1: b = result
754 |         case 2: c = result
    |                 `- warning: mutation of captured var 'c' in concurrently-executing code
755 |         case 3: d = result
756 |         case 4: e = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:755:17: warning: mutation of captured var 'd' in concurrently-executing code
753 |         case 1: b = result
754 |         case 2: c = result
755 |         case 3: d = result
    |                 `- warning: mutation of captured var 'd' in concurrently-executing code
756 |         case 4: e = result
757 |         case 5: f = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:756:17: warning: mutation of captured var 'e' in concurrently-executing code
754 |         case 2: c = result
755 |         case 3: d = result
756 |         case 4: e = result
    |                 `- warning: mutation of captured var 'e' in concurrently-executing code
757 |         case 5: f = result
758 |         case 6: g = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:757:17: warning: mutation of captured var 'f' in concurrently-executing code
755 |         case 3: d = result
756 |         case 4: e = result
757 |         case 5: f = result
    |                 `- warning: mutation of captured var 'f' in concurrently-executing code
758 |         case 6: g = result
759 |         case 7: h = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:758:17: warning: mutation of captured var 'g' in concurrently-executing code
756 |         case 4: e = result
757 |         case 5: f = result
758 |         case 6: g = result
    |                 `- warning: mutation of captured var 'g' in concurrently-executing code
759 |         case 7: h = result
760 |         case 8: i = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:759:17: warning: mutation of captured var 'h' in concurrently-executing code
757 |         case 5: f = result
758 |         case 6: g = result
759 |         case 7: h = result
    |                 `- warning: mutation of captured var 'h' in concurrently-executing code
760 |         case 8: i = result
761 |         case 9: j = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:760:17: warning: mutation of captured var 'i' in concurrently-executing code
758 |         case 6: g = result
759 |         case 7: h = result
760 |         case 8: i = result
    |                 `- warning: mutation of captured var 'i' in concurrently-executing code
761 |         case 9: j = result
762 |         case 10: k = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:761:17: warning: mutation of captured var 'j' in concurrently-executing code
759 |         case 7: h = result
760 |         case 8: i = result
761 |         case 9: j = result
    |                 `- warning: mutation of captured var 'j' in concurrently-executing code
762 |         case 10: k = result
763 |         case 11: l = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:762:18: warning: mutation of captured var 'k' in concurrently-executing code
760 |         case 8: i = result
761 |         case 9: j = result
762 |         case 10: k = result
    |                  `- warning: mutation of captured var 'k' in concurrently-executing code
763 |         case 11: l = result
764 |         case 12: m = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:763:18: warning: mutation of captured var 'l' in concurrently-executing code
761 |         case 9: j = result
762 |         case 10: k = result
763 |         case 11: l = result
    |                  `- warning: mutation of captured var 'l' in concurrently-executing code
764 |         case 12: m = result
765 |         case 13: n = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:764:18: warning: mutation of captured var 'm' in concurrently-executing code
762 |         case 10: k = result
763 |         case 11: l = result
764 |         case 12: m = result
    |                  `- warning: mutation of captured var 'm' in concurrently-executing code
765 |         case 13: n = result
766 |         case 14: o = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:765:18: warning: mutation of captured var 'n' in concurrently-executing code
763 |         case 11: l = result
764 |         case 12: m = result
765 |         case 13: n = result
    |                  `- warning: mutation of captured var 'n' in concurrently-executing code
766 |         case 14: o = result
767 |         case 15: p = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:766:18: warning: mutation of captured var 'o' in concurrently-executing code
764 |         case 12: m = result
765 |         case 13: n = result
766 |         case 14: o = result
    |                  `- warning: mutation of captured var 'o' in concurrently-executing code
767 |         case 15: p = result
768 |         case 16: q = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:767:18: warning: mutation of captured var 'p' in concurrently-executing code
765 |         case 13: n = result
766 |         case 14: o = result
767 |         case 15: p = result
    |                  `- warning: mutation of captured var 'p' in concurrently-executing code
768 |         case 16: q = result
769 |         case 17: r = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:768:18: warning: mutation of captured var 'q' in concurrently-executing code
766 |         case 14: o = result
767 |         case 15: p = result
768 |         case 16: q = result
    |                  `- warning: mutation of captured var 'q' in concurrently-executing code
769 |         case 17: r = result
770 |         case 18: s = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:769:18: warning: mutation of captured var 'r' in concurrently-executing code
767 |         case 15: p = result
768 |         case 16: q = result
769 |         case 17: r = result
    |                  `- warning: mutation of captured var 'r' in concurrently-executing code
770 |         case 18: s = result
771 |         case 19: t = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:770:18: warning: mutation of captured var 's' in concurrently-executing code
768 |         case 16: q = result
769 |         case 17: r = result
770 |         case 18: s = result
    |                  `- warning: mutation of captured var 's' in concurrently-executing code
771 |         case 19: t = result
772 |         case 20: u = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:771:18: warning: mutation of captured var 't' in concurrently-executing code
769 |         case 17: r = result
770 |         case 18: s = result
771 |         case 19: t = result
    |                  `- warning: mutation of captured var 't' in concurrently-executing code
772 |         case 20: u = result
773 |         case 21: v = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:772:18: warning: mutation of captured var 'u' in concurrently-executing code
770 |         case 18: s = result
771 |         case 19: t = result
772 |         case 20: u = result
    |                  `- warning: mutation of captured var 'u' in concurrently-executing code
773 |         case 21: v = result
774 |         case 22: w = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:773:18: warning: mutation of captured var 'v' in concurrently-executing code
771 |         case 19: t = result
772 |         case 20: u = result
773 |         case 21: v = result
    |                  `- warning: mutation of captured var 'v' in concurrently-executing code
774 |         case 22: w = result
775 |         case 23: x = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:774:18: warning: mutation of captured var 'w' in concurrently-executing code
772 |         case 20: u = result
773 |         case 21: v = result
774 |         case 22: w = result
    |                  `- warning: mutation of captured var 'w' in concurrently-executing code
775 |         case 23: x = result
776 |         default: preconditionFailure()
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:775:18: warning: mutation of captured var 'x' in concurrently-executing code
773 |         case 21: v = result
774 |         case 22: w = result
775 |         case 23: x = result
    |                  `- warning: mutation of captured var 'x' in concurrently-executing code
776 |         default: preconditionFailure()
777 |         }
[26/37] Compiling Euclid Vector.swift
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:750:22: warning: capture of 'fn' with non-sendable type '([T]) -> [U]' in a `@Sendable` closure
748 |     var a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x: [U]?
749 |     DispatchQueue.concurrentPerform(iterations: parts.count) { index in
750 |         let result = fn(parts[index])
    |                      |- warning: capture of 'fn' with non-sendable type '([T]) -> [U]' in a `@Sendable` closure
    |                      `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
751 |         switch index {
752 |         case 0: a = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:750:25: warning: capture of 'parts' with non-sendable type '[[T]]' in a `@Sendable` closure
730 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
731 |
732 | func batch<T, U>(
    |            `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
733 |     _ elements: [T],
734 |     stride minBatchSize: Int,
    :
748 |     var a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x: [U]?
749 |     DispatchQueue.concurrentPerform(iterations: parts.count) { index in
750 |         let result = fn(parts[index])
    |                         `- warning: capture of 'parts' with non-sendable type '[[T]]' in a `@Sendable` closure
751 |         switch index {
752 |         case 0: a = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:752:17: warning: capture of 'a' with non-sendable type '[U]?' in a `@Sendable` closure
730 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
731 |
732 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
733 |     _ elements: [T],
734 |     stride minBatchSize: Int,
    :
750 |         let result = fn(parts[index])
751 |         switch index {
752 |         case 0: a = result
    |                 `- warning: capture of 'a' with non-sendable type '[U]?' in a `@Sendable` closure
753 |         case 1: b = result
754 |         case 2: c = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:753:17: warning: capture of 'b' with non-sendable type '[U]?' in a `@Sendable` closure
730 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
731 |
732 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
733 |     _ elements: [T],
734 |     stride minBatchSize: Int,
    :
751 |         switch index {
752 |         case 0: a = result
753 |         case 1: b = result
    |                 `- warning: capture of 'b' with non-sendable type '[U]?' in a `@Sendable` closure
754 |         case 2: c = result
755 |         case 3: d = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:754:17: warning: capture of 'c' with non-sendable type '[U]?' in a `@Sendable` closure
730 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
731 |
732 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
733 |     _ elements: [T],
734 |     stride minBatchSize: Int,
    :
752 |         case 0: a = result
753 |         case 1: b = result
754 |         case 2: c = result
    |                 `- warning: capture of 'c' with non-sendable type '[U]?' in a `@Sendable` closure
755 |         case 3: d = result
756 |         case 4: e = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:755:17: warning: capture of 'd' with non-sendable type '[U]?' in a `@Sendable` closure
730 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
731 |
732 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
733 |     _ elements: [T],
734 |     stride minBatchSize: Int,
    :
753 |         case 1: b = result
754 |         case 2: c = result
755 |         case 3: d = result
    |                 `- warning: capture of 'd' with non-sendable type '[U]?' in a `@Sendable` closure
756 |         case 4: e = result
757 |         case 5: f = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:756:17: warning: capture of 'e' with non-sendable type '[U]?' in a `@Sendable` closure
730 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
731 |
732 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
733 |     _ elements: [T],
734 |     stride minBatchSize: Int,
    :
754 |         case 2: c = result
755 |         case 3: d = result
756 |         case 4: e = result
    |                 `- warning: capture of 'e' with non-sendable type '[U]?' in a `@Sendable` closure
757 |         case 5: f = result
758 |         case 6: g = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:757:17: warning: capture of 'f' with non-sendable type '[U]?' in a `@Sendable` closure
730 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
731 |
732 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
733 |     _ elements: [T],
734 |     stride minBatchSize: Int,
    :
755 |         case 3: d = result
756 |         case 4: e = result
757 |         case 5: f = result
    |                 `- warning: capture of 'f' with non-sendable type '[U]?' in a `@Sendable` closure
758 |         case 6: g = result
759 |         case 7: h = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:758:17: warning: capture of 'g' with non-sendable type '[U]?' in a `@Sendable` closure
730 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
731 |
732 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
733 |     _ elements: [T],
734 |     stride minBatchSize: Int,
    :
756 |         case 4: e = result
757 |         case 5: f = result
758 |         case 6: g = result
    |                 `- warning: capture of 'g' with non-sendable type '[U]?' in a `@Sendable` closure
759 |         case 7: h = result
760 |         case 8: i = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:759:17: warning: capture of 'h' with non-sendable type '[U]?' in a `@Sendable` closure
730 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
731 |
732 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
733 |     _ elements: [T],
734 |     stride minBatchSize: Int,
    :
757 |         case 5: f = result
758 |         case 6: g = result
759 |         case 7: h = result
    |                 `- warning: capture of 'h' with non-sendable type '[U]?' in a `@Sendable` closure
760 |         case 8: i = result
761 |         case 9: j = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:760:17: warning: capture of 'i' with non-sendable type '[U]?' in a `@Sendable` closure
730 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
731 |
732 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
733 |     _ elements: [T],
734 |     stride minBatchSize: Int,
    :
758 |         case 6: g = result
759 |         case 7: h = result
760 |         case 8: i = result
    |                 `- warning: capture of 'i' with non-sendable type '[U]?' in a `@Sendable` closure
761 |         case 9: j = result
762 |         case 10: k = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:761:17: warning: capture of 'j' with non-sendable type '[U]?' in a `@Sendable` closure
730 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
731 |
732 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
733 |     _ elements: [T],
734 |     stride minBatchSize: Int,
    :
759 |         case 7: h = result
760 |         case 8: i = result
761 |         case 9: j = result
    |                 `- warning: capture of 'j' with non-sendable type '[U]?' in a `@Sendable` closure
762 |         case 10: k = result
763 |         case 11: l = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:762:18: warning: capture of 'k' with non-sendable type '[U]?' in a `@Sendable` closure
730 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
731 |
732 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
733 |     _ elements: [T],
734 |     stride minBatchSize: Int,
    :
760 |         case 8: i = result
761 |         case 9: j = result
762 |         case 10: k = result
    |                  `- warning: capture of 'k' with non-sendable type '[U]?' in a `@Sendable` closure
763 |         case 11: l = result
764 |         case 12: m = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:763:18: warning: capture of 'l' with non-sendable type '[U]?' in a `@Sendable` closure
730 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
731 |
732 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
733 |     _ elements: [T],
734 |     stride minBatchSize: Int,
    :
761 |         case 9: j = result
762 |         case 10: k = result
763 |         case 11: l = result
    |                  `- warning: capture of 'l' with non-sendable type '[U]?' in a `@Sendable` closure
764 |         case 12: m = result
765 |         case 13: n = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:764:18: warning: capture of 'm' with non-sendable type '[U]?' in a `@Sendable` closure
730 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
731 |
732 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
733 |     _ elements: [T],
734 |     stride minBatchSize: Int,
    :
762 |         case 10: k = result
763 |         case 11: l = result
764 |         case 12: m = result
    |                  `- warning: capture of 'm' with non-sendable type '[U]?' in a `@Sendable` closure
765 |         case 13: n = result
766 |         case 14: o = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:765:18: warning: capture of 'n' with non-sendable type '[U]?' in a `@Sendable` closure
730 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
731 |
732 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
733 |     _ elements: [T],
734 |     stride minBatchSize: Int,
    :
763 |         case 11: l = result
764 |         case 12: m = result
765 |         case 13: n = result
    |                  `- warning: capture of 'n' with non-sendable type '[U]?' in a `@Sendable` closure
766 |         case 14: o = result
767 |         case 15: p = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:766:18: warning: capture of 'o' with non-sendable type '[U]?' in a `@Sendable` closure
730 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
731 |
732 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
733 |     _ elements: [T],
734 |     stride minBatchSize: Int,
    :
764 |         case 12: m = result
765 |         case 13: n = result
766 |         case 14: o = result
    |                  `- warning: capture of 'o' with non-sendable type '[U]?' in a `@Sendable` closure
767 |         case 15: p = result
768 |         case 16: q = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:767:18: warning: capture of 'p' with non-sendable type '[U]?' in a `@Sendable` closure
730 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
731 |
732 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
733 |     _ elements: [T],
734 |     stride minBatchSize: Int,
    :
765 |         case 13: n = result
766 |         case 14: o = result
767 |         case 15: p = result
    |                  `- warning: capture of 'p' with non-sendable type '[U]?' in a `@Sendable` closure
768 |         case 16: q = result
769 |         case 17: r = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:768:18: warning: capture of 'q' with non-sendable type '[U]?' in a `@Sendable` closure
730 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
731 |
732 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
733 |     _ elements: [T],
734 |     stride minBatchSize: Int,
    :
766 |         case 14: o = result
767 |         case 15: p = result
768 |         case 16: q = result
    |                  `- warning: capture of 'q' with non-sendable type '[U]?' in a `@Sendable` closure
769 |         case 17: r = result
770 |         case 18: s = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:769:18: warning: capture of 'r' with non-sendable type '[U]?' in a `@Sendable` closure
730 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
731 |
732 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
733 |     _ elements: [T],
734 |     stride minBatchSize: Int,
    :
767 |         case 15: p = result
768 |         case 16: q = result
769 |         case 17: r = result
    |                  `- warning: capture of 'r' with non-sendable type '[U]?' in a `@Sendable` closure
770 |         case 18: s = result
771 |         case 19: t = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:770:18: warning: capture of 's' with non-sendable type '[U]?' in a `@Sendable` closure
730 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
731 |
732 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
733 |     _ elements: [T],
734 |     stride minBatchSize: Int,
    :
768 |         case 16: q = result
769 |         case 17: r = result
770 |         case 18: s = result
    |                  `- warning: capture of 's' with non-sendable type '[U]?' in a `@Sendable` closure
771 |         case 19: t = result
772 |         case 20: u = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:771:18: warning: capture of 't' with non-sendable type '[U]?' in a `@Sendable` closure
730 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
731 |
732 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
733 |     _ elements: [T],
734 |     stride minBatchSize: Int,
    :
769 |         case 17: r = result
770 |         case 18: s = result
771 |         case 19: t = result
    |                  `- warning: capture of 't' with non-sendable type '[U]?' in a `@Sendable` closure
772 |         case 20: u = result
773 |         case 21: v = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:772:18: warning: capture of 'u' with non-sendable type '[U]?' in a `@Sendable` closure
730 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
731 |
732 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
733 |     _ elements: [T],
734 |     stride minBatchSize: Int,
    :
770 |         case 18: s = result
771 |         case 19: t = result
772 |         case 20: u = result
    |                  `- warning: capture of 'u' with non-sendable type '[U]?' in a `@Sendable` closure
773 |         case 21: v = result
774 |         case 22: w = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:773:18: warning: capture of 'v' with non-sendable type '[U]?' in a `@Sendable` closure
730 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
731 |
732 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
733 |     _ elements: [T],
734 |     stride minBatchSize: Int,
    :
771 |         case 19: t = result
772 |         case 20: u = result
773 |         case 21: v = result
    |                  `- warning: capture of 'v' with non-sendable type '[U]?' in a `@Sendable` closure
774 |         case 22: w = result
775 |         case 23: x = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:774:18: warning: capture of 'w' with non-sendable type '[U]?' in a `@Sendable` closure
730 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
731 |
732 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
733 |     _ elements: [T],
734 |     stride minBatchSize: Int,
    :
772 |         case 20: u = result
773 |         case 21: v = result
774 |         case 22: w = result
    |                  `- warning: capture of 'w' with non-sendable type '[U]?' in a `@Sendable` closure
775 |         case 23: x = result
776 |         default: preconditionFailure()
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:775:18: warning: capture of 'x' with non-sendable type '[U]?' in a `@Sendable` closure
730 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
731 |
732 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
733 |     _ elements: [T],
734 |     stride minBatchSize: Int,
    :
773 |         case 21: v = result
774 |         case 22: w = result
775 |         case 23: x = result
    |                  `- warning: capture of 'x' with non-sendable type '[U]?' in a `@Sendable` closure
776 |         default: preconditionFailure()
777 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:752:17: warning: mutation of captured var 'a' in concurrently-executing code
750 |         let result = fn(parts[index])
751 |         switch index {
752 |         case 0: a = result
    |                 `- warning: mutation of captured var 'a' in concurrently-executing code
753 |         case 1: b = result
754 |         case 2: c = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:753:17: warning: mutation of captured var 'b' in concurrently-executing code
751 |         switch index {
752 |         case 0: a = result
753 |         case 1: b = result
    |                 `- warning: mutation of captured var 'b' in concurrently-executing code
754 |         case 2: c = result
755 |         case 3: d = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:754:17: warning: mutation of captured var 'c' in concurrently-executing code
752 |         case 0: a = result
753 |         case 1: b = result
754 |         case 2: c = result
    |                 `- warning: mutation of captured var 'c' in concurrently-executing code
755 |         case 3: d = result
756 |         case 4: e = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:755:17: warning: mutation of captured var 'd' in concurrently-executing code
753 |         case 1: b = result
754 |         case 2: c = result
755 |         case 3: d = result
    |                 `- warning: mutation of captured var 'd' in concurrently-executing code
756 |         case 4: e = result
757 |         case 5: f = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:756:17: warning: mutation of captured var 'e' in concurrently-executing code
754 |         case 2: c = result
755 |         case 3: d = result
756 |         case 4: e = result
    |                 `- warning: mutation of captured var 'e' in concurrently-executing code
757 |         case 5: f = result
758 |         case 6: g = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:757:17: warning: mutation of captured var 'f' in concurrently-executing code
755 |         case 3: d = result
756 |         case 4: e = result
757 |         case 5: f = result
    |                 `- warning: mutation of captured var 'f' in concurrently-executing code
758 |         case 6: g = result
759 |         case 7: h = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:758:17: warning: mutation of captured var 'g' in concurrently-executing code
756 |         case 4: e = result
757 |         case 5: f = result
758 |         case 6: g = result
    |                 `- warning: mutation of captured var 'g' in concurrently-executing code
759 |         case 7: h = result
760 |         case 8: i = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:759:17: warning: mutation of captured var 'h' in concurrently-executing code
757 |         case 5: f = result
758 |         case 6: g = result
759 |         case 7: h = result
    |                 `- warning: mutation of captured var 'h' in concurrently-executing code
760 |         case 8: i = result
761 |         case 9: j = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:760:17: warning: mutation of captured var 'i' in concurrently-executing code
758 |         case 6: g = result
759 |         case 7: h = result
760 |         case 8: i = result
    |                 `- warning: mutation of captured var 'i' in concurrently-executing code
761 |         case 9: j = result
762 |         case 10: k = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:761:17: warning: mutation of captured var 'j' in concurrently-executing code
759 |         case 7: h = result
760 |         case 8: i = result
761 |         case 9: j = result
    |                 `- warning: mutation of captured var 'j' in concurrently-executing code
762 |         case 10: k = result
763 |         case 11: l = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:762:18: warning: mutation of captured var 'k' in concurrently-executing code
760 |         case 8: i = result
761 |         case 9: j = result
762 |         case 10: k = result
    |                  `- warning: mutation of captured var 'k' in concurrently-executing code
763 |         case 11: l = result
764 |         case 12: m = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:763:18: warning: mutation of captured var 'l' in concurrently-executing code
761 |         case 9: j = result
762 |         case 10: k = result
763 |         case 11: l = result
    |                  `- warning: mutation of captured var 'l' in concurrently-executing code
764 |         case 12: m = result
765 |         case 13: n = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:764:18: warning: mutation of captured var 'm' in concurrently-executing code
762 |         case 10: k = result
763 |         case 11: l = result
764 |         case 12: m = result
    |                  `- warning: mutation of captured var 'm' in concurrently-executing code
765 |         case 13: n = result
766 |         case 14: o = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:765:18: warning: mutation of captured var 'n' in concurrently-executing code
763 |         case 11: l = result
764 |         case 12: m = result
765 |         case 13: n = result
    |                  `- warning: mutation of captured var 'n' in concurrently-executing code
766 |         case 14: o = result
767 |         case 15: p = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:766:18: warning: mutation of captured var 'o' in concurrently-executing code
764 |         case 12: m = result
765 |         case 13: n = result
766 |         case 14: o = result
    |                  `- warning: mutation of captured var 'o' in concurrently-executing code
767 |         case 15: p = result
768 |         case 16: q = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:767:18: warning: mutation of captured var 'p' in concurrently-executing code
765 |         case 13: n = result
766 |         case 14: o = result
767 |         case 15: p = result
    |                  `- warning: mutation of captured var 'p' in concurrently-executing code
768 |         case 16: q = result
769 |         case 17: r = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:768:18: warning: mutation of captured var 'q' in concurrently-executing code
766 |         case 14: o = result
767 |         case 15: p = result
768 |         case 16: q = result
    |                  `- warning: mutation of captured var 'q' in concurrently-executing code
769 |         case 17: r = result
770 |         case 18: s = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:769:18: warning: mutation of captured var 'r' in concurrently-executing code
767 |         case 15: p = result
768 |         case 16: q = result
769 |         case 17: r = result
    |                  `- warning: mutation of captured var 'r' in concurrently-executing code
770 |         case 18: s = result
771 |         case 19: t = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:770:18: warning: mutation of captured var 's' in concurrently-executing code
768 |         case 16: q = result
769 |         case 17: r = result
770 |         case 18: s = result
    |                  `- warning: mutation of captured var 's' in concurrently-executing code
771 |         case 19: t = result
772 |         case 20: u = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:771:18: warning: mutation of captured var 't' in concurrently-executing code
769 |         case 17: r = result
770 |         case 18: s = result
771 |         case 19: t = result
    |                  `- warning: mutation of captured var 't' in concurrently-executing code
772 |         case 20: u = result
773 |         case 21: v = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:772:18: warning: mutation of captured var 'u' in concurrently-executing code
770 |         case 18: s = result
771 |         case 19: t = result
772 |         case 20: u = result
    |                  `- warning: mutation of captured var 'u' in concurrently-executing code
773 |         case 21: v = result
774 |         case 22: w = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:773:18: warning: mutation of captured var 'v' in concurrently-executing code
771 |         case 19: t = result
772 |         case 20: u = result
773 |         case 21: v = result
    |                  `- warning: mutation of captured var 'v' in concurrently-executing code
774 |         case 22: w = result
775 |         case 23: x = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:774:18: warning: mutation of captured var 'w' in concurrently-executing code
772 |         case 20: u = result
773 |         case 21: v = result
774 |         case 22: w = result
    |                  `- warning: mutation of captured var 'w' in concurrently-executing code
775 |         case 23: x = result
776 |         default: preconditionFailure()
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:775:18: warning: mutation of captured var 'x' in concurrently-executing code
773 |         case 21: v = result
774 |         case 22: w = result
775 |         case 23: x = result
    |                  `- warning: mutation of captured var 'x' in concurrently-executing code
776 |         default: preconditionFailure()
777 |         }
[27/37] Compiling Euclid Vertex.swift
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:750:22: warning: capture of 'fn' with non-sendable type '([T]) -> [U]' in a `@Sendable` closure
748 |     var a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x: [U]?
749 |     DispatchQueue.concurrentPerform(iterations: parts.count) { index in
750 |         let result = fn(parts[index])
    |                      |- warning: capture of 'fn' with non-sendable type '([T]) -> [U]' in a `@Sendable` closure
    |                      `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
751 |         switch index {
752 |         case 0: a = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:750:25: warning: capture of 'parts' with non-sendable type '[[T]]' in a `@Sendable` closure
730 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
731 |
732 | func batch<T, U>(
    |            `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
733 |     _ elements: [T],
734 |     stride minBatchSize: Int,
    :
748 |     var a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x: [U]?
749 |     DispatchQueue.concurrentPerform(iterations: parts.count) { index in
750 |         let result = fn(parts[index])
    |                         `- warning: capture of 'parts' with non-sendable type '[[T]]' in a `@Sendable` closure
751 |         switch index {
752 |         case 0: a = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:752:17: warning: capture of 'a' with non-sendable type '[U]?' in a `@Sendable` closure
730 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
731 |
732 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
733 |     _ elements: [T],
734 |     stride minBatchSize: Int,
    :
750 |         let result = fn(parts[index])
751 |         switch index {
752 |         case 0: a = result
    |                 `- warning: capture of 'a' with non-sendable type '[U]?' in a `@Sendable` closure
753 |         case 1: b = result
754 |         case 2: c = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:753:17: warning: capture of 'b' with non-sendable type '[U]?' in a `@Sendable` closure
730 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
731 |
732 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
733 |     _ elements: [T],
734 |     stride minBatchSize: Int,
    :
751 |         switch index {
752 |         case 0: a = result
753 |         case 1: b = result
    |                 `- warning: capture of 'b' with non-sendable type '[U]?' in a `@Sendable` closure
754 |         case 2: c = result
755 |         case 3: d = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:754:17: warning: capture of 'c' with non-sendable type '[U]?' in a `@Sendable` closure
730 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
731 |
732 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
733 |     _ elements: [T],
734 |     stride minBatchSize: Int,
    :
752 |         case 0: a = result
753 |         case 1: b = result
754 |         case 2: c = result
    |                 `- warning: capture of 'c' with non-sendable type '[U]?' in a `@Sendable` closure
755 |         case 3: d = result
756 |         case 4: e = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:755:17: warning: capture of 'd' with non-sendable type '[U]?' in a `@Sendable` closure
730 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
731 |
732 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
733 |     _ elements: [T],
734 |     stride minBatchSize: Int,
    :
753 |         case 1: b = result
754 |         case 2: c = result
755 |         case 3: d = result
    |                 `- warning: capture of 'd' with non-sendable type '[U]?' in a `@Sendable` closure
756 |         case 4: e = result
757 |         case 5: f = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:756:17: warning: capture of 'e' with non-sendable type '[U]?' in a `@Sendable` closure
730 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
731 |
732 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
733 |     _ elements: [T],
734 |     stride minBatchSize: Int,
    :
754 |         case 2: c = result
755 |         case 3: d = result
756 |         case 4: e = result
    |                 `- warning: capture of 'e' with non-sendable type '[U]?' in a `@Sendable` closure
757 |         case 5: f = result
758 |         case 6: g = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:757:17: warning: capture of 'f' with non-sendable type '[U]?' in a `@Sendable` closure
730 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
731 |
732 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
733 |     _ elements: [T],
734 |     stride minBatchSize: Int,
    :
755 |         case 3: d = result
756 |         case 4: e = result
757 |         case 5: f = result
    |                 `- warning: capture of 'f' with non-sendable type '[U]?' in a `@Sendable` closure
758 |         case 6: g = result
759 |         case 7: h = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:758:17: warning: capture of 'g' with non-sendable type '[U]?' in a `@Sendable` closure
730 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
731 |
732 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
733 |     _ elements: [T],
734 |     stride minBatchSize: Int,
    :
756 |         case 4: e = result
757 |         case 5: f = result
758 |         case 6: g = result
    |                 `- warning: capture of 'g' with non-sendable type '[U]?' in a `@Sendable` closure
759 |         case 7: h = result
760 |         case 8: i = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:759:17: warning: capture of 'h' with non-sendable type '[U]?' in a `@Sendable` closure
730 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
731 |
732 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
733 |     _ elements: [T],
734 |     stride minBatchSize: Int,
    :
757 |         case 5: f = result
758 |         case 6: g = result
759 |         case 7: h = result
    |                 `- warning: capture of 'h' with non-sendable type '[U]?' in a `@Sendable` closure
760 |         case 8: i = result
761 |         case 9: j = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:760:17: warning: capture of 'i' with non-sendable type '[U]?' in a `@Sendable` closure
730 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
731 |
732 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
733 |     _ elements: [T],
734 |     stride minBatchSize: Int,
    :
758 |         case 6: g = result
759 |         case 7: h = result
760 |         case 8: i = result
    |                 `- warning: capture of 'i' with non-sendable type '[U]?' in a `@Sendable` closure
761 |         case 9: j = result
762 |         case 10: k = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:761:17: warning: capture of 'j' with non-sendable type '[U]?' in a `@Sendable` closure
730 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
731 |
732 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
733 |     _ elements: [T],
734 |     stride minBatchSize: Int,
    :
759 |         case 7: h = result
760 |         case 8: i = result
761 |         case 9: j = result
    |                 `- warning: capture of 'j' with non-sendable type '[U]?' in a `@Sendable` closure
762 |         case 10: k = result
763 |         case 11: l = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:762:18: warning: capture of 'k' with non-sendable type '[U]?' in a `@Sendable` closure
730 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
731 |
732 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
733 |     _ elements: [T],
734 |     stride minBatchSize: Int,
    :
760 |         case 8: i = result
761 |         case 9: j = result
762 |         case 10: k = result
    |                  `- warning: capture of 'k' with non-sendable type '[U]?' in a `@Sendable` closure
763 |         case 11: l = result
764 |         case 12: m = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:763:18: warning: capture of 'l' with non-sendable type '[U]?' in a `@Sendable` closure
730 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
731 |
732 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
733 |     _ elements: [T],
734 |     stride minBatchSize: Int,
    :
761 |         case 9: j = result
762 |         case 10: k = result
763 |         case 11: l = result
    |                  `- warning: capture of 'l' with non-sendable type '[U]?' in a `@Sendable` closure
764 |         case 12: m = result
765 |         case 13: n = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:764:18: warning: capture of 'm' with non-sendable type '[U]?' in a `@Sendable` closure
730 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
731 |
732 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
733 |     _ elements: [T],
734 |     stride minBatchSize: Int,
    :
762 |         case 10: k = result
763 |         case 11: l = result
764 |         case 12: m = result
    |                  `- warning: capture of 'm' with non-sendable type '[U]?' in a `@Sendable` closure
765 |         case 13: n = result
766 |         case 14: o = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:765:18: warning: capture of 'n' with non-sendable type '[U]?' in a `@Sendable` closure
730 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
731 |
732 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
733 |     _ elements: [T],
734 |     stride minBatchSize: Int,
    :
763 |         case 11: l = result
764 |         case 12: m = result
765 |         case 13: n = result
    |                  `- warning: capture of 'n' with non-sendable type '[U]?' in a `@Sendable` closure
766 |         case 14: o = result
767 |         case 15: p = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:766:18: warning: capture of 'o' with non-sendable type '[U]?' in a `@Sendable` closure
730 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
731 |
732 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
733 |     _ elements: [T],
734 |     stride minBatchSize: Int,
    :
764 |         case 12: m = result
765 |         case 13: n = result
766 |         case 14: o = result
    |                  `- warning: capture of 'o' with non-sendable type '[U]?' in a `@Sendable` closure
767 |         case 15: p = result
768 |         case 16: q = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:767:18: warning: capture of 'p' with non-sendable type '[U]?' in a `@Sendable` closure
730 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
731 |
732 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
733 |     _ elements: [T],
734 |     stride minBatchSize: Int,
    :
765 |         case 13: n = result
766 |         case 14: o = result
767 |         case 15: p = result
    |                  `- warning: capture of 'p' with non-sendable type '[U]?' in a `@Sendable` closure
768 |         case 16: q = result
769 |         case 17: r = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:768:18: warning: capture of 'q' with non-sendable type '[U]?' in a `@Sendable` closure
730 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
731 |
732 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
733 |     _ elements: [T],
734 |     stride minBatchSize: Int,
    :
766 |         case 14: o = result
767 |         case 15: p = result
768 |         case 16: q = result
    |                  `- warning: capture of 'q' with non-sendable type '[U]?' in a `@Sendable` closure
769 |         case 17: r = result
770 |         case 18: s = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:769:18: warning: capture of 'r' with non-sendable type '[U]?' in a `@Sendable` closure
730 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
731 |
732 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
733 |     _ elements: [T],
734 |     stride minBatchSize: Int,
    :
767 |         case 15: p = result
768 |         case 16: q = result
769 |         case 17: r = result
    |                  `- warning: capture of 'r' with non-sendable type '[U]?' in a `@Sendable` closure
770 |         case 18: s = result
771 |         case 19: t = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:770:18: warning: capture of 's' with non-sendable type '[U]?' in a `@Sendable` closure
730 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
731 |
732 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
733 |     _ elements: [T],
734 |     stride minBatchSize: Int,
    :
768 |         case 16: q = result
769 |         case 17: r = result
770 |         case 18: s = result
    |                  `- warning: capture of 's' with non-sendable type '[U]?' in a `@Sendable` closure
771 |         case 19: t = result
772 |         case 20: u = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:771:18: warning: capture of 't' with non-sendable type '[U]?' in a `@Sendable` closure
730 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
731 |
732 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
733 |     _ elements: [T],
734 |     stride minBatchSize: Int,
    :
769 |         case 17: r = result
770 |         case 18: s = result
771 |         case 19: t = result
    |                  `- warning: capture of 't' with non-sendable type '[U]?' in a `@Sendable` closure
772 |         case 20: u = result
773 |         case 21: v = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:772:18: warning: capture of 'u' with non-sendable type '[U]?' in a `@Sendable` closure
730 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
731 |
732 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
733 |     _ elements: [T],
734 |     stride minBatchSize: Int,
    :
770 |         case 18: s = result
771 |         case 19: t = result
772 |         case 20: u = result
    |                  `- warning: capture of 'u' with non-sendable type '[U]?' in a `@Sendable` closure
773 |         case 21: v = result
774 |         case 22: w = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:773:18: warning: capture of 'v' with non-sendable type '[U]?' in a `@Sendable` closure
730 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
731 |
732 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
733 |     _ elements: [T],
734 |     stride minBatchSize: Int,
    :
771 |         case 19: t = result
772 |         case 20: u = result
773 |         case 21: v = result
    |                  `- warning: capture of 'v' with non-sendable type '[U]?' in a `@Sendable` closure
774 |         case 22: w = result
775 |         case 23: x = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:774:18: warning: capture of 'w' with non-sendable type '[U]?' in a `@Sendable` closure
730 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
731 |
732 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
733 |     _ elements: [T],
734 |     stride minBatchSize: Int,
    :
772 |         case 20: u = result
773 |         case 21: v = result
774 |         case 22: w = result
    |                  `- warning: capture of 'w' with non-sendable type '[U]?' in a `@Sendable` closure
775 |         case 23: x = result
776 |         default: preconditionFailure()
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:775:18: warning: capture of 'x' with non-sendable type '[U]?' in a `@Sendable` closure
730 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
731 |
732 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
733 |     _ elements: [T],
734 |     stride minBatchSize: Int,
    :
773 |         case 21: v = result
774 |         case 22: w = result
775 |         case 23: x = result
    |                  `- warning: capture of 'x' with non-sendable type '[U]?' in a `@Sendable` closure
776 |         default: preconditionFailure()
777 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:752:17: warning: mutation of captured var 'a' in concurrently-executing code
750 |         let result = fn(parts[index])
751 |         switch index {
752 |         case 0: a = result
    |                 `- warning: mutation of captured var 'a' in concurrently-executing code
753 |         case 1: b = result
754 |         case 2: c = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:753:17: warning: mutation of captured var 'b' in concurrently-executing code
751 |         switch index {
752 |         case 0: a = result
753 |         case 1: b = result
    |                 `- warning: mutation of captured var 'b' in concurrently-executing code
754 |         case 2: c = result
755 |         case 3: d = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:754:17: warning: mutation of captured var 'c' in concurrently-executing code
752 |         case 0: a = result
753 |         case 1: b = result
754 |         case 2: c = result
    |                 `- warning: mutation of captured var 'c' in concurrently-executing code
755 |         case 3: d = result
756 |         case 4: e = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:755:17: warning: mutation of captured var 'd' in concurrently-executing code
753 |         case 1: b = result
754 |         case 2: c = result
755 |         case 3: d = result
    |                 `- warning: mutation of captured var 'd' in concurrently-executing code
756 |         case 4: e = result
757 |         case 5: f = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:756:17: warning: mutation of captured var 'e' in concurrently-executing code
754 |         case 2: c = result
755 |         case 3: d = result
756 |         case 4: e = result
    |                 `- warning: mutation of captured var 'e' in concurrently-executing code
757 |         case 5: f = result
758 |         case 6: g = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:757:17: warning: mutation of captured var 'f' in concurrently-executing code
755 |         case 3: d = result
756 |         case 4: e = result
757 |         case 5: f = result
    |                 `- warning: mutation of captured var 'f' in concurrently-executing code
758 |         case 6: g = result
759 |         case 7: h = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:758:17: warning: mutation of captured var 'g' in concurrently-executing code
756 |         case 4: e = result
757 |         case 5: f = result
758 |         case 6: g = result
    |                 `- warning: mutation of captured var 'g' in concurrently-executing code
759 |         case 7: h = result
760 |         case 8: i = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:759:17: warning: mutation of captured var 'h' in concurrently-executing code
757 |         case 5: f = result
758 |         case 6: g = result
759 |         case 7: h = result
    |                 `- warning: mutation of captured var 'h' in concurrently-executing code
760 |         case 8: i = result
761 |         case 9: j = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:760:17: warning: mutation of captured var 'i' in concurrently-executing code
758 |         case 6: g = result
759 |         case 7: h = result
760 |         case 8: i = result
    |                 `- warning: mutation of captured var 'i' in concurrently-executing code
761 |         case 9: j = result
762 |         case 10: k = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:761:17: warning: mutation of captured var 'j' in concurrently-executing code
759 |         case 7: h = result
760 |         case 8: i = result
761 |         case 9: j = result
    |                 `- warning: mutation of captured var 'j' in concurrently-executing code
762 |         case 10: k = result
763 |         case 11: l = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:762:18: warning: mutation of captured var 'k' in concurrently-executing code
760 |         case 8: i = result
761 |         case 9: j = result
762 |         case 10: k = result
    |                  `- warning: mutation of captured var 'k' in concurrently-executing code
763 |         case 11: l = result
764 |         case 12: m = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:763:18: warning: mutation of captured var 'l' in concurrently-executing code
761 |         case 9: j = result
762 |         case 10: k = result
763 |         case 11: l = result
    |                  `- warning: mutation of captured var 'l' in concurrently-executing code
764 |         case 12: m = result
765 |         case 13: n = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:764:18: warning: mutation of captured var 'm' in concurrently-executing code
762 |         case 10: k = result
763 |         case 11: l = result
764 |         case 12: m = result
    |                  `- warning: mutation of captured var 'm' in concurrently-executing code
765 |         case 13: n = result
766 |         case 14: o = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:765:18: warning: mutation of captured var 'n' in concurrently-executing code
763 |         case 11: l = result
764 |         case 12: m = result
765 |         case 13: n = result
    |                  `- warning: mutation of captured var 'n' in concurrently-executing code
766 |         case 14: o = result
767 |         case 15: p = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:766:18: warning: mutation of captured var 'o' in concurrently-executing code
764 |         case 12: m = result
765 |         case 13: n = result
766 |         case 14: o = result
    |                  `- warning: mutation of captured var 'o' in concurrently-executing code
767 |         case 15: p = result
768 |         case 16: q = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:767:18: warning: mutation of captured var 'p' in concurrently-executing code
765 |         case 13: n = result
766 |         case 14: o = result
767 |         case 15: p = result
    |                  `- warning: mutation of captured var 'p' in concurrently-executing code
768 |         case 16: q = result
769 |         case 17: r = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:768:18: warning: mutation of captured var 'q' in concurrently-executing code
766 |         case 14: o = result
767 |         case 15: p = result
768 |         case 16: q = result
    |                  `- warning: mutation of captured var 'q' in concurrently-executing code
769 |         case 17: r = result
770 |         case 18: s = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:769:18: warning: mutation of captured var 'r' in concurrently-executing code
767 |         case 15: p = result
768 |         case 16: q = result
769 |         case 17: r = result
    |                  `- warning: mutation of captured var 'r' in concurrently-executing code
770 |         case 18: s = result
771 |         case 19: t = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:770:18: warning: mutation of captured var 's' in concurrently-executing code
768 |         case 16: q = result
769 |         case 17: r = result
770 |         case 18: s = result
    |                  `- warning: mutation of captured var 's' in concurrently-executing code
771 |         case 19: t = result
772 |         case 20: u = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:771:18: warning: mutation of captured var 't' in concurrently-executing code
769 |         case 17: r = result
770 |         case 18: s = result
771 |         case 19: t = result
    |                  `- warning: mutation of captured var 't' in concurrently-executing code
772 |         case 20: u = result
773 |         case 21: v = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:772:18: warning: mutation of captured var 'u' in concurrently-executing code
770 |         case 18: s = result
771 |         case 19: t = result
772 |         case 20: u = result
    |                  `- warning: mutation of captured var 'u' in concurrently-executing code
773 |         case 21: v = result
774 |         case 22: w = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:773:18: warning: mutation of captured var 'v' in concurrently-executing code
771 |         case 19: t = result
772 |         case 20: u = result
773 |         case 21: v = result
    |                  `- warning: mutation of captured var 'v' in concurrently-executing code
774 |         case 22: w = result
775 |         case 23: x = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:774:18: warning: mutation of captured var 'w' in concurrently-executing code
772 |         case 20: u = result
773 |         case 21: v = result
774 |         case 22: w = result
    |                  `- warning: mutation of captured var 'w' in concurrently-executing code
775 |         case 23: x = result
776 |         default: preconditionFailure()
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:775:18: warning: mutation of captured var 'x' in concurrently-executing code
773 |         case 21: v = result
774 |         case 22: w = result
775 |         case 23: x = result
    |                  `- warning: mutation of captured var 'x' in concurrently-executing code
776 |         default: preconditionFailure()
777 |         }
[28/37] Compiling Euclid Mesh+OBJ.swift
[29/37] Compiling Euclid Mesh+STL.swift
[30/37] Compiling Euclid Mesh+Shapes.swift
[31/37] Compiling Euclid Euclid+AppKit.swift
/Users/admin/builder/spi-builder-workspace/Sources/Euclid+RealityKit.swift:78:50: warning: call to main actor-isolated static method 'generate(from:withName:options:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 61 |
 62 | @available(macOS 12.0, iOS 15.0, *)
 63 | private func defaultMaterialLookup(_ material: Polygon.Material?) -> RealityKit.Material? {
    |              `- note: add '@MainActor' to make global function 'defaultMaterialLookup' part of global actor 'MainActor'
 64 |     switch material {
 65 |     case let wrapper as MaterialWrapper:
    :
 76 |         return defaultMaterialLookup(image.cgImage)
 77 |     case let image as CGImage where CFGetTypeID(image) == CGImage.typeID:
 78 |         guard let texture = try? TextureResource.generate(
    |                                                  `- warning: call to main actor-isolated static method 'generate(from:withName:options:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 79 |             from: image,
 80 |             options: .init(semantic: .color)
RealityFoundation.TextureResource:70:51: note: calls to static method 'generate(from:withName:options:)' from outside of its actor context are implicitly asynchronous
 68 |     @available(macCatalyst, introduced: 15.0, deprecated: 18.0, renamed: "init(image:withName:options:)")
 69 |     @available(visionOS, introduced: 1.0, deprecated: 2.0, renamed: "init(image:withName:options:)")
 70 |     @MainActor @preconcurrency public static func generate(from cgImage: CGImage, withName resourceName: String? = nil, options: TextureResource.CreateOptions) throws -> TextureResource
    |                                                   `- note: calls to static method 'generate(from:withName:options:)' from outside of its actor context are implicitly asynchronous
 71 |     @available(macOS 12.0, iOS 15.0, *)
 72 |     @available(macOS, introduced: 12.0, deprecated: 15.0, renamed: "init(image:withName:options:)")
/Users/admin/builder/spi-builder-workspace/Sources/Euclid+RealityKit.swift:425:43: warning: main actor-isolated property 'contents' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
423 |     init(_ meshResource: MeshResource, materials: [Polygon.Material?] = []) {
424 |         var models = [String: Mesh]()
425 |         self.init(submeshes: meshResource.contents.instances.compactMap {
    |                                           `- warning: main actor-isolated property 'contents' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
426 |             var mesh = models[$0.model]
427 |             if mesh == nil, let model = meshResource.contents.models[$0.model] {
RealityFoundation.MeshResource:34:43: note: property declared here
32 |         public init()
33 |     }
34 |     @MainActor @preconcurrency public var contents: MeshResource.Contents { get }
   |                                           `- note: property declared here
35 |     @MainActor @preconcurrency public func replace(with content: MeshResource.Contents) throws
36 |     nonisolated public func replace(with content: MeshResource.Contents) async throws
/Users/admin/builder/spi-builder-workspace/Sources/Euclid+RealityKit.swift:427:54: warning: main actor-isolated property 'contents' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
425 |         self.init(submeshes: meshResource.contents.instances.compactMap {
426 |             var mesh = models[$0.model]
427 |             if mesh == nil, let model = meshResource.contents.models[$0.model] {
    |                                                      `- warning: main actor-isolated property 'contents' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
428 |                 let modelMesh = Mesh(model, materials: materials)
429 |                 models[$0.model] = modelMesh
RealityFoundation.MeshResource:34:43: note: property declared here
32 |         public init()
33 |     }
34 |     @MainActor @preconcurrency public var contents: MeshResource.Contents { get }
   |                                           `- note: property declared here
35 |     @MainActor @preconcurrency public func replace(with content: MeshResource.Contents) throws
36 |     nonisolated public func replace(with content: MeshResource.Contents) async throws
/Users/admin/builder/spi-builder-workspace/Sources/Euclid+RealityKit.swift:463:39: warning: main actor-isolated property 'model' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
461 |     ///   - materialLookup: An optional closure to map the RealityKit materials to Euclid materials.
462 |     init(_ modelEntity: ModelEntity, materialLookup: RealityKitMaterialProvider? = nil) {
463 |         guard let model = modelEntity.model else {
    |                                       `- warning: main actor-isolated property 'model' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
464 |             self = .empty
465 |             return
RealityFoundation.HasModel:3:43: note: property declared here
1 | @available(macOS 10.15, iOS 13.0, *)
2 | extension HasModel {
3 |     @MainActor @preconcurrency public var model: ModelComponent? { get set }
  |                                           `- note: property declared here
4 |     @available(macOS 11.0, iOS 14.0, *)
5 |     @MainActor @preconcurrency public var modelDebugOptions: ModelDebugOptionsComponent? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/Euclid+RealityKit.swift:468:41: warning: main actor-isolated property 'transform' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
466 |         }
467 |         self.init(model, materialLookup: materialLookup)
468 |         transform(by: .init(modelEntity.transform))
    |                                         `- warning: main actor-isolated property 'transform' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
469 |     }
470 |
RealityFoundation.HasTransform:3:43: note: property declared here
 1 | @available(macOS 10.15, iOS 13.0, *)
 2 | extension HasTransform {
 3 |     @MainActor @preconcurrency public var transform: Transform { get set }
   |                                           `- note: property declared here
 4 |     @MainActor @preconcurrency public var scale: SIMD3<Float> { get set }
 5 |     @MainActor @preconcurrency public func scale(relativeTo referenceEntity: Entity?) -> SIMD3<Float>
/Users/admin/builder/spi-builder-workspace/Sources/Euclid+RealityKit.swift:514:52: warning: main actor-isolated property 'avPlayer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
512 |                 return MaterialWrapper(material)
513 |             case let videoMaterial as VideoMaterial:
514 |                 guard let avPlayer = videoMaterial.avPlayer else { return nil }
    |                                                    `- warning: main actor-isolated property 'avPlayer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
515 |                 var material = VideoMaterial(avPlayer: avPlayer)
516 |                 #if compiler(>=6)
RealityFoundation.VideoMaterial:7:43: note: property declared here
 5 |     public var __videoResource: __VideoResource
 6 |     @MainActor @preconcurrency public init(avPlayer: AVPlayer)
 7 |     @MainActor @preconcurrency public var avPlayer: AVPlayer? { get set }
   |                                           `- note: property declared here
 8 |     public var controller: VideoPlaybackController { get }
 9 |     @MainActor @preconcurrency public static func __makeVideoMaterial(videoResource: __VideoResource) -> VideoMaterial
/Users/admin/builder/spi-builder-workspace/Sources/Euclid+RealityKit.swift:515:32: warning: call to main actor-isolated initializer 'init(avPlayer:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
513 |             case let videoMaterial as VideoMaterial:
514 |                 guard let avPlayer = videoMaterial.avPlayer else { return nil }
515 |                 var material = VideoMaterial(avPlayer: avPlayer)
    |                                `- warning: call to main actor-isolated initializer 'init(avPlayer:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
516 |                 #if compiler(>=6)
517 |                 if #available(visionOS 1.0, macOS 15.0, iOS 18.0, *) {
RealityFoundation.VideoMaterial:6:39: note: calls to initializer 'init(avPlayer:)' from outside of its actor context are implicitly asynchronous
 4 |     public var __parameterBlock: __RKMaterialParameterBlock
 5 |     public var __videoResource: __VideoResource
 6 |     @MainActor @preconcurrency public init(avPlayer: AVPlayer)
   |                                       `- note: calls to initializer 'init(avPlayer:)' from outside of its actor context are implicitly asynchronous
 7 |     @MainActor @preconcurrency public var avPlayer: AVPlayer? { get set }
 8 |     public var controller: VideoPlaybackController { get }
/Users/admin/builder/spi-builder-workspace/Sources/Euclid+RealityKit.swift:518:41: warning: main actor-isolated property 'preferredViewingMode' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
516 |                 #if compiler(>=6)
517 |                 if #available(visionOS 1.0, macOS 15.0, iOS 18.0, *) {
518 |                     material.controller.preferredViewingMode = videoMaterial.controller.preferredViewingMode
    |                                         `- warning: main actor-isolated property 'preferredViewingMode' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
519 |                     material.triangleFillMode = videoMaterial.triangleFillMode
520 |                     if #available(visionOS 2.0, *) {
RealityFoundation.VideoPlaybackController:14:43: note: mutation of this property is only permitted within the actor
12 |         public var hashValue: Int { get }
13 |     }
14 |     @MainActor @preconcurrency public var preferredViewingMode: VideoPlaybackController.ViewingMode { get set }
   |                                           `- note: mutation of this property is only permitted within the actor
15 |     @MainActor @preconcurrency public var currentViewingMode: VideoPlaybackController.ViewingMode? { get }
16 |     @MainActor @preconcurrency public var currentImageSize: CGSize? { get }
/Users/admin/builder/spi-builder-workspace/Sources/Euclid+RealityKit.swift:518:89: warning: main actor-isolated property 'preferredViewingMode' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
516 |                 #if compiler(>=6)
517 |                 if #available(visionOS 1.0, macOS 15.0, iOS 18.0, *) {
518 |                     material.controller.preferredViewingMode = videoMaterial.controller.preferredViewingMode
    |                                                                                         `- warning: main actor-isolated property 'preferredViewingMode' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
519 |                     material.triangleFillMode = videoMaterial.triangleFillMode
520 |                     if #available(visionOS 2.0, *) {
RealityFoundation.VideoPlaybackController:14:43: note: property declared here
12 |         public var hashValue: Int { get }
13 |     }
14 |     @MainActor @preconcurrency public var preferredViewingMode: VideoPlaybackController.ViewingMode { get set }
   |                                           `- note: property declared here
15 |     @MainActor @preconcurrency public var currentViewingMode: VideoPlaybackController.ViewingMode? { get }
16 |     @MainActor @preconcurrency public var currentImageSize: CGSize? { get }
[32/37] Compiling Euclid Euclid+CoreGraphics.swift
/Users/admin/builder/spi-builder-workspace/Sources/Euclid+RealityKit.swift:78:50: warning: call to main actor-isolated static method 'generate(from:withName:options:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 61 |
 62 | @available(macOS 12.0, iOS 15.0, *)
 63 | private func defaultMaterialLookup(_ material: Polygon.Material?) -> RealityKit.Material? {
    |              `- note: add '@MainActor' to make global function 'defaultMaterialLookup' part of global actor 'MainActor'
 64 |     switch material {
 65 |     case let wrapper as MaterialWrapper:
    :
 76 |         return defaultMaterialLookup(image.cgImage)
 77 |     case let image as CGImage where CFGetTypeID(image) == CGImage.typeID:
 78 |         guard let texture = try? TextureResource.generate(
    |                                                  `- warning: call to main actor-isolated static method 'generate(from:withName:options:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 79 |             from: image,
 80 |             options: .init(semantic: .color)
RealityFoundation.TextureResource:70:51: note: calls to static method 'generate(from:withName:options:)' from outside of its actor context are implicitly asynchronous
 68 |     @available(macCatalyst, introduced: 15.0, deprecated: 18.0, renamed: "init(image:withName:options:)")
 69 |     @available(visionOS, introduced: 1.0, deprecated: 2.0, renamed: "init(image:withName:options:)")
 70 |     @MainActor @preconcurrency public static func generate(from cgImage: CGImage, withName resourceName: String? = nil, options: TextureResource.CreateOptions) throws -> TextureResource
    |                                                   `- note: calls to static method 'generate(from:withName:options:)' from outside of its actor context are implicitly asynchronous
 71 |     @available(macOS 12.0, iOS 15.0, *)
 72 |     @available(macOS, introduced: 12.0, deprecated: 15.0, renamed: "init(image:withName:options:)")
/Users/admin/builder/spi-builder-workspace/Sources/Euclid+RealityKit.swift:425:43: warning: main actor-isolated property 'contents' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
423 |     init(_ meshResource: MeshResource, materials: [Polygon.Material?] = []) {
424 |         var models = [String: Mesh]()
425 |         self.init(submeshes: meshResource.contents.instances.compactMap {
    |                                           `- warning: main actor-isolated property 'contents' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
426 |             var mesh = models[$0.model]
427 |             if mesh == nil, let model = meshResource.contents.models[$0.model] {
RealityFoundation.MeshResource:34:43: note: property declared here
32 |         public init()
33 |     }
34 |     @MainActor @preconcurrency public var contents: MeshResource.Contents { get }
   |                                           `- note: property declared here
35 |     @MainActor @preconcurrency public func replace(with content: MeshResource.Contents) throws
36 |     nonisolated public func replace(with content: MeshResource.Contents) async throws
/Users/admin/builder/spi-builder-workspace/Sources/Euclid+RealityKit.swift:427:54: warning: main actor-isolated property 'contents' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
425 |         self.init(submeshes: meshResource.contents.instances.compactMap {
426 |             var mesh = models[$0.model]
427 |             if mesh == nil, let model = meshResource.contents.models[$0.model] {
    |                                                      `- warning: main actor-isolated property 'contents' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
428 |                 let modelMesh = Mesh(model, materials: materials)
429 |                 models[$0.model] = modelMesh
RealityFoundation.MeshResource:34:43: note: property declared here
32 |         public init()
33 |     }
34 |     @MainActor @preconcurrency public var contents: MeshResource.Contents { get }
   |                                           `- note: property declared here
35 |     @MainActor @preconcurrency public func replace(with content: MeshResource.Contents) throws
36 |     nonisolated public func replace(with content: MeshResource.Contents) async throws
/Users/admin/builder/spi-builder-workspace/Sources/Euclid+RealityKit.swift:463:39: warning: main actor-isolated property 'model' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
461 |     ///   - materialLookup: An optional closure to map the RealityKit materials to Euclid materials.
462 |     init(_ modelEntity: ModelEntity, materialLookup: RealityKitMaterialProvider? = nil) {
463 |         guard let model = modelEntity.model else {
    |                                       `- warning: main actor-isolated property 'model' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
464 |             self = .empty
465 |             return
RealityFoundation.HasModel:3:43: note: property declared here
1 | @available(macOS 10.15, iOS 13.0, *)
2 | extension HasModel {
3 |     @MainActor @preconcurrency public var model: ModelComponent? { get set }
  |                                           `- note: property declared here
4 |     @available(macOS 11.0, iOS 14.0, *)
5 |     @MainActor @preconcurrency public var modelDebugOptions: ModelDebugOptionsComponent? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/Euclid+RealityKit.swift:468:41: warning: main actor-isolated property 'transform' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
466 |         }
467 |         self.init(model, materialLookup: materialLookup)
468 |         transform(by: .init(modelEntity.transform))
    |                                         `- warning: main actor-isolated property 'transform' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
469 |     }
470 |
RealityFoundation.HasTransform:3:43: note: property declared here
 1 | @available(macOS 10.15, iOS 13.0, *)
 2 | extension HasTransform {
 3 |     @MainActor @preconcurrency public var transform: Transform { get set }
   |                                           `- note: property declared here
 4 |     @MainActor @preconcurrency public var scale: SIMD3<Float> { get set }
 5 |     @MainActor @preconcurrency public func scale(relativeTo referenceEntity: Entity?) -> SIMD3<Float>
/Users/admin/builder/spi-builder-workspace/Sources/Euclid+RealityKit.swift:514:52: warning: main actor-isolated property 'avPlayer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
512 |                 return MaterialWrapper(material)
513 |             case let videoMaterial as VideoMaterial:
514 |                 guard let avPlayer = videoMaterial.avPlayer else { return nil }
    |                                                    `- warning: main actor-isolated property 'avPlayer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
515 |                 var material = VideoMaterial(avPlayer: avPlayer)
516 |                 #if compiler(>=6)
RealityFoundation.VideoMaterial:7:43: note: property declared here
 5 |     public var __videoResource: __VideoResource
 6 |     @MainActor @preconcurrency public init(avPlayer: AVPlayer)
 7 |     @MainActor @preconcurrency public var avPlayer: AVPlayer? { get set }
   |                                           `- note: property declared here
 8 |     public var controller: VideoPlaybackController { get }
 9 |     @MainActor @preconcurrency public static func __makeVideoMaterial(videoResource: __VideoResource) -> VideoMaterial
/Users/admin/builder/spi-builder-workspace/Sources/Euclid+RealityKit.swift:515:32: warning: call to main actor-isolated initializer 'init(avPlayer:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
513 |             case let videoMaterial as VideoMaterial:
514 |                 guard let avPlayer = videoMaterial.avPlayer else { return nil }
515 |                 var material = VideoMaterial(avPlayer: avPlayer)
    |                                `- warning: call to main actor-isolated initializer 'init(avPlayer:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
516 |                 #if compiler(>=6)
517 |                 if #available(visionOS 1.0, macOS 15.0, iOS 18.0, *) {
RealityFoundation.VideoMaterial:6:39: note: calls to initializer 'init(avPlayer:)' from outside of its actor context are implicitly asynchronous
 4 |     public var __parameterBlock: __RKMaterialParameterBlock
 5 |     public var __videoResource: __VideoResource
 6 |     @MainActor @preconcurrency public init(avPlayer: AVPlayer)
   |                                       `- note: calls to initializer 'init(avPlayer:)' from outside of its actor context are implicitly asynchronous
 7 |     @MainActor @preconcurrency public var avPlayer: AVPlayer? { get set }
 8 |     public var controller: VideoPlaybackController { get }
/Users/admin/builder/spi-builder-workspace/Sources/Euclid+RealityKit.swift:518:41: warning: main actor-isolated property 'preferredViewingMode' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
516 |                 #if compiler(>=6)
517 |                 if #available(visionOS 1.0, macOS 15.0, iOS 18.0, *) {
518 |                     material.controller.preferredViewingMode = videoMaterial.controller.preferredViewingMode
    |                                         `- warning: main actor-isolated property 'preferredViewingMode' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
519 |                     material.triangleFillMode = videoMaterial.triangleFillMode
520 |                     if #available(visionOS 2.0, *) {
RealityFoundation.VideoPlaybackController:14:43: note: mutation of this property is only permitted within the actor
12 |         public var hashValue: Int { get }
13 |     }
14 |     @MainActor @preconcurrency public var preferredViewingMode: VideoPlaybackController.ViewingMode { get set }
   |                                           `- note: mutation of this property is only permitted within the actor
15 |     @MainActor @preconcurrency public var currentViewingMode: VideoPlaybackController.ViewingMode? { get }
16 |     @MainActor @preconcurrency public var currentImageSize: CGSize? { get }
/Users/admin/builder/spi-builder-workspace/Sources/Euclid+RealityKit.swift:518:89: warning: main actor-isolated property 'preferredViewingMode' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
516 |                 #if compiler(>=6)
517 |                 if #available(visionOS 1.0, macOS 15.0, iOS 18.0, *) {
518 |                     material.controller.preferredViewingMode = videoMaterial.controller.preferredViewingMode
    |                                                                                         `- warning: main actor-isolated property 'preferredViewingMode' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
519 |                     material.triangleFillMode = videoMaterial.triangleFillMode
520 |                     if #available(visionOS 2.0, *) {
RealityFoundation.VideoPlaybackController:14:43: note: property declared here
12 |         public var hashValue: Int { get }
13 |     }
14 |     @MainActor @preconcurrency public var preferredViewingMode: VideoPlaybackController.ViewingMode { get set }
   |                                           `- note: property declared here
15 |     @MainActor @preconcurrency public var currentViewingMode: VideoPlaybackController.ViewingMode? { get }
16 |     @MainActor @preconcurrency public var currentImageSize: CGSize? { get }
[33/37] Compiling Euclid Euclid+CoreText.swift
/Users/admin/builder/spi-builder-workspace/Sources/Euclid+RealityKit.swift:78:50: warning: call to main actor-isolated static method 'generate(from:withName:options:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 61 |
 62 | @available(macOS 12.0, iOS 15.0, *)
 63 | private func defaultMaterialLookup(_ material: Polygon.Material?) -> RealityKit.Material? {
    |              `- note: add '@MainActor' to make global function 'defaultMaterialLookup' part of global actor 'MainActor'
 64 |     switch material {
 65 |     case let wrapper as MaterialWrapper:
    :
 76 |         return defaultMaterialLookup(image.cgImage)
 77 |     case let image as CGImage where CFGetTypeID(image) == CGImage.typeID:
 78 |         guard let texture = try? TextureResource.generate(
    |                                                  `- warning: call to main actor-isolated static method 'generate(from:withName:options:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 79 |             from: image,
 80 |             options: .init(semantic: .color)
RealityFoundation.TextureResource:70:51: note: calls to static method 'generate(from:withName:options:)' from outside of its actor context are implicitly asynchronous
 68 |     @available(macCatalyst, introduced: 15.0, deprecated: 18.0, renamed: "init(image:withName:options:)")
 69 |     @available(visionOS, introduced: 1.0, deprecated: 2.0, renamed: "init(image:withName:options:)")
 70 |     @MainActor @preconcurrency public static func generate(from cgImage: CGImage, withName resourceName: String? = nil, options: TextureResource.CreateOptions) throws -> TextureResource
    |                                                   `- note: calls to static method 'generate(from:withName:options:)' from outside of its actor context are implicitly asynchronous
 71 |     @available(macOS 12.0, iOS 15.0, *)
 72 |     @available(macOS, introduced: 12.0, deprecated: 15.0, renamed: "init(image:withName:options:)")
/Users/admin/builder/spi-builder-workspace/Sources/Euclid+RealityKit.swift:425:43: warning: main actor-isolated property 'contents' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
423 |     init(_ meshResource: MeshResource, materials: [Polygon.Material?] = []) {
424 |         var models = [String: Mesh]()
425 |         self.init(submeshes: meshResource.contents.instances.compactMap {
    |                                           `- warning: main actor-isolated property 'contents' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
426 |             var mesh = models[$0.model]
427 |             if mesh == nil, let model = meshResource.contents.models[$0.model] {
RealityFoundation.MeshResource:34:43: note: property declared here
32 |         public init()
33 |     }
34 |     @MainActor @preconcurrency public var contents: MeshResource.Contents { get }
   |                                           `- note: property declared here
35 |     @MainActor @preconcurrency public func replace(with content: MeshResource.Contents) throws
36 |     nonisolated public func replace(with content: MeshResource.Contents) async throws
/Users/admin/builder/spi-builder-workspace/Sources/Euclid+RealityKit.swift:427:54: warning: main actor-isolated property 'contents' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
425 |         self.init(submeshes: meshResource.contents.instances.compactMap {
426 |             var mesh = models[$0.model]
427 |             if mesh == nil, let model = meshResource.contents.models[$0.model] {
    |                                                      `- warning: main actor-isolated property 'contents' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
428 |                 let modelMesh = Mesh(model, materials: materials)
429 |                 models[$0.model] = modelMesh
RealityFoundation.MeshResource:34:43: note: property declared here
32 |         public init()
33 |     }
34 |     @MainActor @preconcurrency public var contents: MeshResource.Contents { get }
   |                                           `- note: property declared here
35 |     @MainActor @preconcurrency public func replace(with content: MeshResource.Contents) throws
36 |     nonisolated public func replace(with content: MeshResource.Contents) async throws
/Users/admin/builder/spi-builder-workspace/Sources/Euclid+RealityKit.swift:463:39: warning: main actor-isolated property 'model' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
461 |     ///   - materialLookup: An optional closure to map the RealityKit materials to Euclid materials.
462 |     init(_ modelEntity: ModelEntity, materialLookup: RealityKitMaterialProvider? = nil) {
463 |         guard let model = modelEntity.model else {
    |                                       `- warning: main actor-isolated property 'model' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
464 |             self = .empty
465 |             return
RealityFoundation.HasModel:3:43: note: property declared here
1 | @available(macOS 10.15, iOS 13.0, *)
2 | extension HasModel {
3 |     @MainActor @preconcurrency public var model: ModelComponent? { get set }
  |                                           `- note: property declared here
4 |     @available(macOS 11.0, iOS 14.0, *)
5 |     @MainActor @preconcurrency public var modelDebugOptions: ModelDebugOptionsComponent? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/Euclid+RealityKit.swift:468:41: warning: main actor-isolated property 'transform' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
466 |         }
467 |         self.init(model, materialLookup: materialLookup)
468 |         transform(by: .init(modelEntity.transform))
    |                                         `- warning: main actor-isolated property 'transform' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
469 |     }
470 |
RealityFoundation.HasTransform:3:43: note: property declared here
 1 | @available(macOS 10.15, iOS 13.0, *)
 2 | extension HasTransform {
 3 |     @MainActor @preconcurrency public var transform: Transform { get set }
   |                                           `- note: property declared here
 4 |     @MainActor @preconcurrency public var scale: SIMD3<Float> { get set }
 5 |     @MainActor @preconcurrency public func scale(relativeTo referenceEntity: Entity?) -> SIMD3<Float>
/Users/admin/builder/spi-builder-workspace/Sources/Euclid+RealityKit.swift:514:52: warning: main actor-isolated property 'avPlayer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
512 |                 return MaterialWrapper(material)
513 |             case let videoMaterial as VideoMaterial:
514 |                 guard let avPlayer = videoMaterial.avPlayer else { return nil }
    |                                                    `- warning: main actor-isolated property 'avPlayer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
515 |                 var material = VideoMaterial(avPlayer: avPlayer)
516 |                 #if compiler(>=6)
RealityFoundation.VideoMaterial:7:43: note: property declared here
 5 |     public var __videoResource: __VideoResource
 6 |     @MainActor @preconcurrency public init(avPlayer: AVPlayer)
 7 |     @MainActor @preconcurrency public var avPlayer: AVPlayer? { get set }
   |                                           `- note: property declared here
 8 |     public var controller: VideoPlaybackController { get }
 9 |     @MainActor @preconcurrency public static func __makeVideoMaterial(videoResource: __VideoResource) -> VideoMaterial
/Users/admin/builder/spi-builder-workspace/Sources/Euclid+RealityKit.swift:515:32: warning: call to main actor-isolated initializer 'init(avPlayer:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
513 |             case let videoMaterial as VideoMaterial:
514 |                 guard let avPlayer = videoMaterial.avPlayer else { return nil }
515 |                 var material = VideoMaterial(avPlayer: avPlayer)
    |                                `- warning: call to main actor-isolated initializer 'init(avPlayer:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
516 |                 #if compiler(>=6)
517 |                 if #available(visionOS 1.0, macOS 15.0, iOS 18.0, *) {
RealityFoundation.VideoMaterial:6:39: note: calls to initializer 'init(avPlayer:)' from outside of its actor context are implicitly asynchronous
 4 |     public var __parameterBlock: __RKMaterialParameterBlock
 5 |     public var __videoResource: __VideoResource
 6 |     @MainActor @preconcurrency public init(avPlayer: AVPlayer)
   |                                       `- note: calls to initializer 'init(avPlayer:)' from outside of its actor context are implicitly asynchronous
 7 |     @MainActor @preconcurrency public var avPlayer: AVPlayer? { get set }
 8 |     public var controller: VideoPlaybackController { get }
/Users/admin/builder/spi-builder-workspace/Sources/Euclid+RealityKit.swift:518:41: warning: main actor-isolated property 'preferredViewingMode' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
516 |                 #if compiler(>=6)
517 |                 if #available(visionOS 1.0, macOS 15.0, iOS 18.0, *) {
518 |                     material.controller.preferredViewingMode = videoMaterial.controller.preferredViewingMode
    |                                         `- warning: main actor-isolated property 'preferredViewingMode' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
519 |                     material.triangleFillMode = videoMaterial.triangleFillMode
520 |                     if #available(visionOS 2.0, *) {
RealityFoundation.VideoPlaybackController:14:43: note: mutation of this property is only permitted within the actor
12 |         public var hashValue: Int { get }
13 |     }
14 |     @MainActor @preconcurrency public var preferredViewingMode: VideoPlaybackController.ViewingMode { get set }
   |                                           `- note: mutation of this property is only permitted within the actor
15 |     @MainActor @preconcurrency public var currentViewingMode: VideoPlaybackController.ViewingMode? { get }
16 |     @MainActor @preconcurrency public var currentImageSize: CGSize? { get }
/Users/admin/builder/spi-builder-workspace/Sources/Euclid+RealityKit.swift:518:89: warning: main actor-isolated property 'preferredViewingMode' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
516 |                 #if compiler(>=6)
517 |                 if #available(visionOS 1.0, macOS 15.0, iOS 18.0, *) {
518 |                     material.controller.preferredViewingMode = videoMaterial.controller.preferredViewingMode
    |                                                                                         `- warning: main actor-isolated property 'preferredViewingMode' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
519 |                     material.triangleFillMode = videoMaterial.triangleFillMode
520 |                     if #available(visionOS 2.0, *) {
RealityFoundation.VideoPlaybackController:14:43: note: property declared here
12 |         public var hashValue: Int { get }
13 |     }
14 |     @MainActor @preconcurrency public var preferredViewingMode: VideoPlaybackController.ViewingMode { get set }
   |                                           `- note: property declared here
15 |     @MainActor @preconcurrency public var currentViewingMode: VideoPlaybackController.ViewingMode? { get }
16 |     @MainActor @preconcurrency public var currentImageSize: CGSize? { get }
[34/37] Compiling Euclid Euclid+RealityKit.swift
/Users/admin/builder/spi-builder-workspace/Sources/Euclid+RealityKit.swift:78:50: warning: call to main actor-isolated static method 'generate(from:withName:options:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 61 |
 62 | @available(macOS 12.0, iOS 15.0, *)
 63 | private func defaultMaterialLookup(_ material: Polygon.Material?) -> RealityKit.Material? {
    |              `- note: add '@MainActor' to make global function 'defaultMaterialLookup' part of global actor 'MainActor'
 64 |     switch material {
 65 |     case let wrapper as MaterialWrapper:
    :
 76 |         return defaultMaterialLookup(image.cgImage)
 77 |     case let image as CGImage where CFGetTypeID(image) == CGImage.typeID:
 78 |         guard let texture = try? TextureResource.generate(
    |                                                  `- warning: call to main actor-isolated static method 'generate(from:withName:options:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 79 |             from: image,
 80 |             options: .init(semantic: .color)
RealityFoundation.TextureResource:70:51: note: calls to static method 'generate(from:withName:options:)' from outside of its actor context are implicitly asynchronous
 68 |     @available(macCatalyst, introduced: 15.0, deprecated: 18.0, renamed: "init(image:withName:options:)")
 69 |     @available(visionOS, introduced: 1.0, deprecated: 2.0, renamed: "init(image:withName:options:)")
 70 |     @MainActor @preconcurrency public static func generate(from cgImage: CGImage, withName resourceName: String? = nil, options: TextureResource.CreateOptions) throws -> TextureResource
    |                                                   `- note: calls to static method 'generate(from:withName:options:)' from outside of its actor context are implicitly asynchronous
 71 |     @available(macOS 12.0, iOS 15.0, *)
 72 |     @available(macOS, introduced: 12.0, deprecated: 15.0, renamed: "init(image:withName:options:)")
/Users/admin/builder/spi-builder-workspace/Sources/Euclid+RealityKit.swift:425:43: warning: main actor-isolated property 'contents' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
423 |     init(_ meshResource: MeshResource, materials: [Polygon.Material?] = []) {
424 |         var models = [String: Mesh]()
425 |         self.init(submeshes: meshResource.contents.instances.compactMap {
    |                                           `- warning: main actor-isolated property 'contents' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
426 |             var mesh = models[$0.model]
427 |             if mesh == nil, let model = meshResource.contents.models[$0.model] {
RealityFoundation.MeshResource:34:43: note: property declared here
32 |         public init()
33 |     }
34 |     @MainActor @preconcurrency public var contents: MeshResource.Contents { get }
   |                                           `- note: property declared here
35 |     @MainActor @preconcurrency public func replace(with content: MeshResource.Contents) throws
36 |     nonisolated public func replace(with content: MeshResource.Contents) async throws
/Users/admin/builder/spi-builder-workspace/Sources/Euclid+RealityKit.swift:427:54: warning: main actor-isolated property 'contents' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
425 |         self.init(submeshes: meshResource.contents.instances.compactMap {
426 |             var mesh = models[$0.model]
427 |             if mesh == nil, let model = meshResource.contents.models[$0.model] {
    |                                                      `- warning: main actor-isolated property 'contents' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
428 |                 let modelMesh = Mesh(model, materials: materials)
429 |                 models[$0.model] = modelMesh
RealityFoundation.MeshResource:34:43: note: property declared here
32 |         public init()
33 |     }
34 |     @MainActor @preconcurrency public var contents: MeshResource.Contents { get }
   |                                           `- note: property declared here
35 |     @MainActor @preconcurrency public func replace(with content: MeshResource.Contents) throws
36 |     nonisolated public func replace(with content: MeshResource.Contents) async throws
/Users/admin/builder/spi-builder-workspace/Sources/Euclid+RealityKit.swift:463:39: warning: main actor-isolated property 'model' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
461 |     ///   - materialLookup: An optional closure to map the RealityKit materials to Euclid materials.
462 |     init(_ modelEntity: ModelEntity, materialLookup: RealityKitMaterialProvider? = nil) {
463 |         guard let model = modelEntity.model else {
    |                                       `- warning: main actor-isolated property 'model' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
464 |             self = .empty
465 |             return
RealityFoundation.HasModel:3:43: note: property declared here
1 | @available(macOS 10.15, iOS 13.0, *)
2 | extension HasModel {
3 |     @MainActor @preconcurrency public var model: ModelComponent? { get set }
  |                                           `- note: property declared here
4 |     @available(macOS 11.0, iOS 14.0, *)
5 |     @MainActor @preconcurrency public var modelDebugOptions: ModelDebugOptionsComponent? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/Euclid+RealityKit.swift:468:41: warning: main actor-isolated property 'transform' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
466 |         }
467 |         self.init(model, materialLookup: materialLookup)
468 |         transform(by: .init(modelEntity.transform))
    |                                         `- warning: main actor-isolated property 'transform' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
469 |     }
470 |
RealityFoundation.HasTransform:3:43: note: property declared here
 1 | @available(macOS 10.15, iOS 13.0, *)
 2 | extension HasTransform {
 3 |     @MainActor @preconcurrency public var transform: Transform { get set }
   |                                           `- note: property declared here
 4 |     @MainActor @preconcurrency public var scale: SIMD3<Float> { get set }
 5 |     @MainActor @preconcurrency public func scale(relativeTo referenceEntity: Entity?) -> SIMD3<Float>
/Users/admin/builder/spi-builder-workspace/Sources/Euclid+RealityKit.swift:514:52: warning: main actor-isolated property 'avPlayer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
512 |                 return MaterialWrapper(material)
513 |             case let videoMaterial as VideoMaterial:
514 |                 guard let avPlayer = videoMaterial.avPlayer else { return nil }
    |                                                    `- warning: main actor-isolated property 'avPlayer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
515 |                 var material = VideoMaterial(avPlayer: avPlayer)
516 |                 #if compiler(>=6)
RealityFoundation.VideoMaterial:7:43: note: property declared here
 5 |     public var __videoResource: __VideoResource
 6 |     @MainActor @preconcurrency public init(avPlayer: AVPlayer)
 7 |     @MainActor @preconcurrency public var avPlayer: AVPlayer? { get set }
   |                                           `- note: property declared here
 8 |     public var controller: VideoPlaybackController { get }
 9 |     @MainActor @preconcurrency public static func __makeVideoMaterial(videoResource: __VideoResource) -> VideoMaterial
/Users/admin/builder/spi-builder-workspace/Sources/Euclid+RealityKit.swift:515:32: warning: call to main actor-isolated initializer 'init(avPlayer:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
513 |             case let videoMaterial as VideoMaterial:
514 |                 guard let avPlayer = videoMaterial.avPlayer else { return nil }
515 |                 var material = VideoMaterial(avPlayer: avPlayer)
    |                                `- warning: call to main actor-isolated initializer 'init(avPlayer:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
516 |                 #if compiler(>=6)
517 |                 if #available(visionOS 1.0, macOS 15.0, iOS 18.0, *) {
RealityFoundation.VideoMaterial:6:39: note: calls to initializer 'init(avPlayer:)' from outside of its actor context are implicitly asynchronous
 4 |     public var __parameterBlock: __RKMaterialParameterBlock
 5 |     public var __videoResource: __VideoResource
 6 |     @MainActor @preconcurrency public init(avPlayer: AVPlayer)
   |                                       `- note: calls to initializer 'init(avPlayer:)' from outside of its actor context are implicitly asynchronous
 7 |     @MainActor @preconcurrency public var avPlayer: AVPlayer? { get set }
 8 |     public var controller: VideoPlaybackController { get }
/Users/admin/builder/spi-builder-workspace/Sources/Euclid+RealityKit.swift:518:41: warning: main actor-isolated property 'preferredViewingMode' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
516 |                 #if compiler(>=6)
517 |                 if #available(visionOS 1.0, macOS 15.0, iOS 18.0, *) {
518 |                     material.controller.preferredViewingMode = videoMaterial.controller.preferredViewingMode
    |                                         `- warning: main actor-isolated property 'preferredViewingMode' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
519 |                     material.triangleFillMode = videoMaterial.triangleFillMode
520 |                     if #available(visionOS 2.0, *) {
RealityFoundation.VideoPlaybackController:14:43: note: mutation of this property is only permitted within the actor
12 |         public var hashValue: Int { get }
13 |     }
14 |     @MainActor @preconcurrency public var preferredViewingMode: VideoPlaybackController.ViewingMode { get set }
   |                                           `- note: mutation of this property is only permitted within the actor
15 |     @MainActor @preconcurrency public var currentViewingMode: VideoPlaybackController.ViewingMode? { get }
16 |     @MainActor @preconcurrency public var currentImageSize: CGSize? { get }
/Users/admin/builder/spi-builder-workspace/Sources/Euclid+RealityKit.swift:518:89: warning: main actor-isolated property 'preferredViewingMode' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
516 |                 #if compiler(>=6)
517 |                 if #available(visionOS 1.0, macOS 15.0, iOS 18.0, *) {
518 |                     material.controller.preferredViewingMode = videoMaterial.controller.preferredViewingMode
    |                                                                                         `- warning: main actor-isolated property 'preferredViewingMode' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
519 |                     material.triangleFillMode = videoMaterial.triangleFillMode
520 |                     if #available(visionOS 2.0, *) {
RealityFoundation.VideoPlaybackController:14:43: note: property declared here
12 |         public var hashValue: Int { get }
13 |     }
14 |     @MainActor @preconcurrency public var preferredViewingMode: VideoPlaybackController.ViewingMode { get set }
   |                                           `- note: property declared here
15 |     @MainActor @preconcurrency public var currentViewingMode: VideoPlaybackController.ViewingMode? { get }
16 |     @MainActor @preconcurrency public var currentImageSize: CGSize? { get }
[35/37] Compiling Euclid Mesh+Texcoords.swift
[36/37] Compiling Euclid Mesh.swift
[37/37] Compiling Euclid Path+Shapes.swift
Build complete! (23.32s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Euclid",
  "name" : "Euclid",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Euclid",
      "targets" : [
        "Euclid"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "EuclidTests",
      "module_type" : "SwiftTarget",
      "name" : "EuclidTests",
      "path" : "Tests",
      "sources" : [
        "AngleTests.swift",
        "BoundsTests.swift",
        "CGPathTests.swift",
        "CodingTests.swift",
        "Euclid+Testing.swift",
        "LineSegmentTests.swift",
        "LineTests.swift",
        "MeshCSGTests.swift",
        "MeshExportTests.swift",
        "MeshImportTests.swift",
        "MeshShapeTests.swift",
        "MeshTests.swift",
        "MetadataTests.swift",
        "PathShapeTests.swift",
        "PathTests.swift",
        "PlaneTests.swift",
        "PolygonCSGTests.swift",
        "PolygonTests.swift",
        "QuaternionTests.swift",
        "RealityKitTests.swift",
        "SceneKitTests.swift",
        "StretchableTests.swift",
        "TextTests.swift",
        "TransformTests.swift",
        "UtilityTests.swift",
        "VectorTests.swift"
      ],
      "target_dependencies" : [
        "Euclid"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Euclid",
      "module_type" : "SwiftTarget",
      "name" : "Euclid",
      "path" : "Sources",
      "product_memberships" : [
        "Euclid"
      ],
      "sources" : [
        "Angle.swift",
        "BSP.swift",
        "Bounds.swift",
        "Color.swift",
        "Euclid+AppKit.swift",
        "Euclid+CoreGraphics.swift",
        "Euclid+CoreText.swift",
        "Euclid+RealityKit.swift",
        "Euclid+SIMD.swift",
        "Euclid+SceneKit.swift",
        "Euclid+UIKit.swift",
        "Line.swift",
        "LineSegment+CSG.swift",
        "LineSegment.swift",
        "Mesh+CSG.swift",
        "Mesh+IO.swift",
        "Mesh+OBJ.swift",
        "Mesh+STL.swift",
        "Mesh+Shapes.swift",
        "Mesh+Texcoords.swift",
        "Mesh.swift",
        "Path+Shapes.swift",
        "Path.swift",
        "PathPoint.swift",
        "Plane.swift",
        "Polygon+CSG.swift",
        "Polygon.swift",
        "Quaternion.swift",
        "Rotation.swift",
        "Stretchable.swift",
        "Transforms.swift",
        "Utilities.swift",
        "Vector.swift",
        "Vertex.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Done.