The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of Euclid, reference main (028924), with Swift 6.1 for Linux on 25 May 2025 22:41:45 UTC.

Swift 6 data race errors: 2

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nicklockwood/Euclid.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/nicklockwood/Euclid
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 028924d Update for 0.7.14 release
Cloned https://github.com/nicklockwood/Euclid.git
Revision (git rev-parse @):
028924db01786e58f79f8b30b8fbfffd7887ca82
SUCCESS checkout https://github.com/nicklockwood/Euclid.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/nicklockwood/Euclid.git
https://github.com/nicklockwood/Euclid.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Euclid",
  "name" : "Euclid",
  "path" : "/host/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",
        "Bounded.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 ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:ba854000887cd0c27418c7bc304adc590345237c7003ebd31ba26cc8db085cf3
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/34] Emitting module Euclid
/host/spi-builder-workspace/Sources/Polygon.swift:122: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
 120 |
 121 |     /// Supported `NSSecureCodable` Material base classes.
 122 |     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: add '@MainActor' to make static property 'codableClasses' part of global actor 'MainActor'
     |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 123 |         #if canImport(AppKit) || canImport(UIKit)
 124 |         return [OSImage.self, OSColor.self] + scnMaterialTypes
/host/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: add '@MainActor' to make static property 'identity' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
216 |
217 |     /// Creates a offset transform.
[4/38] Compiling Euclid Euclid+SceneKit.swift
[5/38] Compiling Euclid Euclid+UIKit.swift
[6/38] Compiling Euclid Line.swift
[7/38] Compiling Euclid LineSegment+CSG.swift
[8/38] Compiling Euclid LineSegment.swift
[9/38] Compiling Euclid Angle.swift
[10/38] Compiling Euclid BSP.swift
[11/38] Compiling Euclid Bounded.swift
[12/38] Compiling Euclid Bounds.swift
[13/38] Compiling Euclid Color.swift
[14/38] Compiling Euclid Transforms.swift
/host/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: add '@MainActor' to make static property 'identity' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
216 |
217 |     /// Creates a offset transform.
/host/spi-builder-workspace/Sources/Utilities.swift:744:22: warning: capture of 'fn' with non-sendable type '([T]) -> [U]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
742 |     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]?
743 |     DispatchQueue.concurrentPerform(iterations: parts.count) { index in
744 |         let result = fn(parts[index])
    |                      |- warning: capture of 'fn' with non-sendable type '([T]) -> [U]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
    |                      `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
745 |         switch index {
746 |         case 0: a = result
/host/spi-builder-workspace/Sources/Utilities.swift:744:25: warning: capture of 'parts' with non-sendable type '[[T]]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
724 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
725 |
726 | func batch<T, U>(
    |            `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
727 |     _ elements: [T],
728 |     stride minBatchSize: Int,
    :
742 |     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]?
743 |     DispatchQueue.concurrentPerform(iterations: parts.count) { index in
744 |         let result = fn(parts[index])
    |                         `- warning: capture of 'parts' with non-sendable type '[[T]]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
745 |         switch index {
746 |         case 0: a = result
/host/spi-builder-workspace/Sources/Utilities.swift:746:17: warning: capture of 'a' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
724 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
725 |
726 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
727 |     _ elements: [T],
728 |     stride minBatchSize: Int,
    :
744 |         let result = fn(parts[index])
745 |         switch index {
746 |         case 0: a = result
    |                 `- warning: capture of 'a' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
747 |         case 1: b = result
748 |         case 2: c = result
/host/spi-builder-workspace/Sources/Utilities.swift:747:17: warning: capture of 'b' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
724 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
725 |
726 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
727 |     _ elements: [T],
728 |     stride minBatchSize: Int,
    :
745 |         switch index {
746 |         case 0: a = result
747 |         case 1: b = result
    |                 `- warning: capture of 'b' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
748 |         case 2: c = result
749 |         case 3: d = result
/host/spi-builder-workspace/Sources/Utilities.swift:748:17: warning: capture of 'c' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
724 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
725 |
726 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
727 |     _ elements: [T],
728 |     stride minBatchSize: Int,
    :
746 |         case 0: a = result
747 |         case 1: b = result
748 |         case 2: c = result
    |                 `- warning: capture of 'c' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
749 |         case 3: d = result
750 |         case 4: e = result
/host/spi-builder-workspace/Sources/Utilities.swift:749:17: warning: capture of 'd' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
724 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
725 |
726 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
727 |     _ elements: [T],
728 |     stride minBatchSize: Int,
    :
747 |         case 1: b = result
748 |         case 2: c = result
749 |         case 3: d = result
    |                 `- warning: capture of 'd' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
750 |         case 4: e = result
751 |         case 5: f = result
/host/spi-builder-workspace/Sources/Utilities.swift:750:17: warning: capture of 'e' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
724 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
725 |
726 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
727 |     _ elements: [T],
728 |     stride minBatchSize: Int,
    :
748 |         case 2: c = result
749 |         case 3: d = result
750 |         case 4: e = result
    |                 `- warning: capture of 'e' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
751 |         case 5: f = result
752 |         case 6: g = result
/host/spi-builder-workspace/Sources/Utilities.swift:751:17: warning: capture of 'f' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
724 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
725 |
726 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
727 |     _ elements: [T],
728 |     stride minBatchSize: Int,
    :
749 |         case 3: d = result
750 |         case 4: e = result
751 |         case 5: f = result
    |                 `- warning: capture of 'f' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
752 |         case 6: g = result
753 |         case 7: h = result
/host/spi-builder-workspace/Sources/Utilities.swift:752:17: warning: capture of 'g' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
724 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
725 |
726 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
727 |     _ elements: [T],
728 |     stride minBatchSize: Int,
    :
750 |         case 4: e = result
751 |         case 5: f = result
752 |         case 6: g = result
    |                 `- warning: capture of 'g' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
753 |         case 7: h = result
754 |         case 8: i = result
/host/spi-builder-workspace/Sources/Utilities.swift:753:17: warning: capture of 'h' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
724 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
725 |
726 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
727 |     _ elements: [T],
728 |     stride minBatchSize: Int,
    :
751 |         case 5: f = result
752 |         case 6: g = result
753 |         case 7: h = result
    |                 `- warning: capture of 'h' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
754 |         case 8: i = result
755 |         case 9: j = result
/host/spi-builder-workspace/Sources/Utilities.swift:754:17: warning: capture of 'i' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
724 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
725 |
726 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
727 |     _ elements: [T],
728 |     stride minBatchSize: Int,
    :
752 |         case 6: g = result
753 |         case 7: h = result
754 |         case 8: i = result
    |                 `- warning: capture of 'i' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
755 |         case 9: j = result
756 |         case 10: k = result
/host/spi-builder-workspace/Sources/Utilities.swift:755:17: warning: capture of 'j' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
724 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
725 |
726 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
727 |     _ elements: [T],
728 |     stride minBatchSize: Int,
    :
753 |         case 7: h = result
754 |         case 8: i = result
755 |         case 9: j = result
    |                 `- warning: capture of 'j' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
756 |         case 10: k = result
757 |         case 11: l = result
/host/spi-builder-workspace/Sources/Utilities.swift:756:18: warning: capture of 'k' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
724 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
725 |
726 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
727 |     _ elements: [T],
728 |     stride minBatchSize: Int,
    :
754 |         case 8: i = result
755 |         case 9: j = result
756 |         case 10: k = result
    |                  `- warning: capture of 'k' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
757 |         case 11: l = result
758 |         case 12: m = result
/host/spi-builder-workspace/Sources/Utilities.swift:757:18: warning: capture of 'l' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
724 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
725 |
726 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
727 |     _ elements: [T],
728 |     stride minBatchSize: Int,
    :
755 |         case 9: j = result
756 |         case 10: k = result
757 |         case 11: l = result
    |                  `- warning: capture of 'l' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
758 |         case 12: m = result
759 |         case 13: n = result
/host/spi-builder-workspace/Sources/Utilities.swift:758:18: warning: capture of 'm' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
724 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
725 |
726 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
727 |     _ elements: [T],
728 |     stride minBatchSize: Int,
    :
756 |         case 10: k = result
757 |         case 11: l = result
758 |         case 12: m = result
    |                  `- warning: capture of 'm' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
759 |         case 13: n = result
760 |         case 14: o = result
/host/spi-builder-workspace/Sources/Utilities.swift:759:18: warning: capture of 'n' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
724 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
725 |
726 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
727 |     _ elements: [T],
728 |     stride minBatchSize: Int,
    :
757 |         case 11: l = result
758 |         case 12: m = result
759 |         case 13: n = result
    |                  `- warning: capture of 'n' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
760 |         case 14: o = result
761 |         case 15: p = result
/host/spi-builder-workspace/Sources/Utilities.swift:760:18: warning: capture of 'o' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
724 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
725 |
726 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
727 |     _ elements: [T],
728 |     stride minBatchSize: Int,
    :
758 |         case 12: m = result
759 |         case 13: n = result
760 |         case 14: o = result
    |                  `- warning: capture of 'o' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
761 |         case 15: p = result
762 |         case 16: q = result
/host/spi-builder-workspace/Sources/Utilities.swift:761:18: warning: capture of 'p' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
724 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
725 |
726 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
727 |     _ elements: [T],
728 |     stride minBatchSize: Int,
    :
759 |         case 13: n = result
760 |         case 14: o = result
761 |         case 15: p = result
    |                  `- warning: capture of 'p' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
762 |         case 16: q = result
763 |         case 17: r = result
/host/spi-builder-workspace/Sources/Utilities.swift:762:18: warning: capture of 'q' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
724 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
725 |
726 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
727 |     _ elements: [T],
728 |     stride minBatchSize: Int,
    :
760 |         case 14: o = result
761 |         case 15: p = result
762 |         case 16: q = result
    |                  `- warning: capture of 'q' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
763 |         case 17: r = result
764 |         case 18: s = result
/host/spi-builder-workspace/Sources/Utilities.swift:763:18: warning: capture of 'r' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
724 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
725 |
726 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
727 |     _ elements: [T],
728 |     stride minBatchSize: Int,
    :
761 |         case 15: p = result
762 |         case 16: q = result
763 |         case 17: r = result
    |                  `- warning: capture of 'r' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
764 |         case 18: s = result
765 |         case 19: t = result
/host/spi-builder-workspace/Sources/Utilities.swift:764:18: warning: capture of 's' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
724 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
725 |
726 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
727 |     _ elements: [T],
728 |     stride minBatchSize: Int,
    :
762 |         case 16: q = result
763 |         case 17: r = result
764 |         case 18: s = result
    |                  `- warning: capture of 's' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
765 |         case 19: t = result
766 |         case 20: u = result
/host/spi-builder-workspace/Sources/Utilities.swift:765:18: warning: capture of 't' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
724 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
725 |
726 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
727 |     _ elements: [T],
728 |     stride minBatchSize: Int,
    :
763 |         case 17: r = result
764 |         case 18: s = result
765 |         case 19: t = result
    |                  `- warning: capture of 't' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
766 |         case 20: u = result
767 |         case 21: v = result
/host/spi-builder-workspace/Sources/Utilities.swift:766:18: warning: capture of 'u' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
724 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
725 |
726 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
727 |     _ elements: [T],
728 |     stride minBatchSize: Int,
    :
764 |         case 18: s = result
765 |         case 19: t = result
766 |         case 20: u = result
    |                  `- warning: capture of 'u' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
767 |         case 21: v = result
768 |         case 22: w = result
/host/spi-builder-workspace/Sources/Utilities.swift:767:18: warning: capture of 'v' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
724 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
725 |
726 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
727 |     _ elements: [T],
728 |     stride minBatchSize: Int,
    :
765 |         case 19: t = result
766 |         case 20: u = result
767 |         case 21: v = result
    |                  `- warning: capture of 'v' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
768 |         case 22: w = result
769 |         case 23: x = result
/host/spi-builder-workspace/Sources/Utilities.swift:768:18: warning: capture of 'w' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
724 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
725 |
726 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
727 |     _ elements: [T],
728 |     stride minBatchSize: Int,
    :
766 |         case 20: u = result
767 |         case 21: v = result
768 |         case 22: w = result
    |                  `- warning: capture of 'w' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
769 |         case 23: x = result
770 |         default: preconditionFailure()
/host/spi-builder-workspace/Sources/Utilities.swift:769:18: warning: capture of 'x' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
724 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
725 |
726 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
727 |     _ elements: [T],
728 |     stride minBatchSize: Int,
    :
767 |         case 21: v = result
768 |         case 22: w = result
769 |         case 23: x = result
    |                  `- warning: capture of 'x' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
770 |         default: preconditionFailure()
771 |         }
/host/spi-builder-workspace/Sources/Utilities.swift:746:17: warning: mutation of captured var 'a' in concurrently-executing code; this is an error in the Swift 6 language mode
744 |         let result = fn(parts[index])
745 |         switch index {
746 |         case 0: a = result
    |                 `- warning: mutation of captured var 'a' in concurrently-executing code; this is an error in the Swift 6 language mode
747 |         case 1: b = result
748 |         case 2: c = result
/host/spi-builder-workspace/Sources/Utilities.swift:747:17: warning: mutation of captured var 'b' in concurrently-executing code; this is an error in the Swift 6 language mode
745 |         switch index {
746 |         case 0: a = result
747 |         case 1: b = result
    |                 `- warning: mutation of captured var 'b' in concurrently-executing code; this is an error in the Swift 6 language mode
748 |         case 2: c = result
749 |         case 3: d = result
/host/spi-builder-workspace/Sources/Utilities.swift:748:17: warning: mutation of captured var 'c' in concurrently-executing code; this is an error in the Swift 6 language mode
746 |         case 0: a = result
747 |         case 1: b = result
748 |         case 2: c = result
    |                 `- warning: mutation of captured var 'c' in concurrently-executing code; this is an error in the Swift 6 language mode
749 |         case 3: d = result
750 |         case 4: e = result
/host/spi-builder-workspace/Sources/Utilities.swift:749:17: warning: mutation of captured var 'd' in concurrently-executing code; this is an error in the Swift 6 language mode
747 |         case 1: b = result
748 |         case 2: c = result
749 |         case 3: d = result
    |                 `- warning: mutation of captured var 'd' in concurrently-executing code; this is an error in the Swift 6 language mode
750 |         case 4: e = result
751 |         case 5: f = result
/host/spi-builder-workspace/Sources/Utilities.swift:750:17: warning: mutation of captured var 'e' in concurrently-executing code; this is an error in the Swift 6 language mode
748 |         case 2: c = result
749 |         case 3: d = result
750 |         case 4: e = result
    |                 `- warning: mutation of captured var 'e' in concurrently-executing code; this is an error in the Swift 6 language mode
751 |         case 5: f = result
752 |         case 6: g = result
/host/spi-builder-workspace/Sources/Utilities.swift:751:17: warning: mutation of captured var 'f' in concurrently-executing code; this is an error in the Swift 6 language mode
749 |         case 3: d = result
750 |         case 4: e = result
751 |         case 5: f = result
    |                 `- warning: mutation of captured var 'f' in concurrently-executing code; this is an error in the Swift 6 language mode
752 |         case 6: g = result
753 |         case 7: h = result
/host/spi-builder-workspace/Sources/Utilities.swift:752:17: warning: mutation of captured var 'g' in concurrently-executing code; this is an error in the Swift 6 language mode
750 |         case 4: e = result
751 |         case 5: f = result
752 |         case 6: g = result
    |                 `- warning: mutation of captured var 'g' in concurrently-executing code; this is an error in the Swift 6 language mode
753 |         case 7: h = result
754 |         case 8: i = result
/host/spi-builder-workspace/Sources/Utilities.swift:753:17: warning: mutation of captured var 'h' in concurrently-executing code; this is an error in the Swift 6 language mode
751 |         case 5: f = result
752 |         case 6: g = result
753 |         case 7: h = result
    |                 `- warning: mutation of captured var 'h' in concurrently-executing code; this is an error in the Swift 6 language mode
754 |         case 8: i = result
755 |         case 9: j = result
/host/spi-builder-workspace/Sources/Utilities.swift:754:17: warning: mutation of captured var 'i' in concurrently-executing code; this is an error in the Swift 6 language mode
752 |         case 6: g = result
753 |         case 7: h = result
754 |         case 8: i = result
    |                 `- warning: mutation of captured var 'i' in concurrently-executing code; this is an error in the Swift 6 language mode
755 |         case 9: j = result
756 |         case 10: k = result
/host/spi-builder-workspace/Sources/Utilities.swift:755:17: warning: mutation of captured var 'j' in concurrently-executing code; this is an error in the Swift 6 language mode
753 |         case 7: h = result
754 |         case 8: i = result
755 |         case 9: j = result
    |                 `- warning: mutation of captured var 'j' in concurrently-executing code; this is an error in the Swift 6 language mode
756 |         case 10: k = result
757 |         case 11: l = result
/host/spi-builder-workspace/Sources/Utilities.swift:756:18: warning: mutation of captured var 'k' in concurrently-executing code; this is an error in the Swift 6 language mode
754 |         case 8: i = result
755 |         case 9: j = result
756 |         case 10: k = result
    |                  `- warning: mutation of captured var 'k' in concurrently-executing code; this is an error in the Swift 6 language mode
757 |         case 11: l = result
758 |         case 12: m = result
/host/spi-builder-workspace/Sources/Utilities.swift:757:18: warning: mutation of captured var 'l' in concurrently-executing code; this is an error in the Swift 6 language mode
755 |         case 9: j = result
756 |         case 10: k = result
757 |         case 11: l = result
    |                  `- warning: mutation of captured var 'l' in concurrently-executing code; this is an error in the Swift 6 language mode
758 |         case 12: m = result
759 |         case 13: n = result
/host/spi-builder-workspace/Sources/Utilities.swift:758:18: warning: mutation of captured var 'm' in concurrently-executing code; this is an error in the Swift 6 language mode
756 |         case 10: k = result
757 |         case 11: l = result
758 |         case 12: m = result
    |                  `- warning: mutation of captured var 'm' in concurrently-executing code; this is an error in the Swift 6 language mode
759 |         case 13: n = result
760 |         case 14: o = result
/host/spi-builder-workspace/Sources/Utilities.swift:759:18: warning: mutation of captured var 'n' in concurrently-executing code; this is an error in the Swift 6 language mode
757 |         case 11: l = result
758 |         case 12: m = result
759 |         case 13: n = result
    |                  `- warning: mutation of captured var 'n' in concurrently-executing code; this is an error in the Swift 6 language mode
760 |         case 14: o = result
761 |         case 15: p = result
/host/spi-builder-workspace/Sources/Utilities.swift:760:18: warning: mutation of captured var 'o' in concurrently-executing code; this is an error in the Swift 6 language mode
758 |         case 12: m = result
759 |         case 13: n = result
760 |         case 14: o = result
    |                  `- warning: mutation of captured var 'o' in concurrently-executing code; this is an error in the Swift 6 language mode
761 |         case 15: p = result
762 |         case 16: q = result
/host/spi-builder-workspace/Sources/Utilities.swift:761:18: warning: mutation of captured var 'p' in concurrently-executing code; this is an error in the Swift 6 language mode
759 |         case 13: n = result
760 |         case 14: o = result
761 |         case 15: p = result
    |                  `- warning: mutation of captured var 'p' in concurrently-executing code; this is an error in the Swift 6 language mode
762 |         case 16: q = result
763 |         case 17: r = result
/host/spi-builder-workspace/Sources/Utilities.swift:762:18: warning: mutation of captured var 'q' in concurrently-executing code; this is an error in the Swift 6 language mode
760 |         case 14: o = result
761 |         case 15: p = result
762 |         case 16: q = result
    |                  `- warning: mutation of captured var 'q' in concurrently-executing code; this is an error in the Swift 6 language mode
763 |         case 17: r = result
764 |         case 18: s = result
/host/spi-builder-workspace/Sources/Utilities.swift:763:18: warning: mutation of captured var 'r' in concurrently-executing code; this is an error in the Swift 6 language mode
761 |         case 15: p = result
762 |         case 16: q = result
763 |         case 17: r = result
    |                  `- warning: mutation of captured var 'r' in concurrently-executing code; this is an error in the Swift 6 language mode
764 |         case 18: s = result
765 |         case 19: t = result
/host/spi-builder-workspace/Sources/Utilities.swift:764:18: warning: mutation of captured var 's' in concurrently-executing code; this is an error in the Swift 6 language mode
762 |         case 16: q = result
763 |         case 17: r = result
764 |         case 18: s = result
    |                  `- warning: mutation of captured var 's' in concurrently-executing code; this is an error in the Swift 6 language mode
765 |         case 19: t = result
766 |         case 20: u = result
/host/spi-builder-workspace/Sources/Utilities.swift:765:18: warning: mutation of captured var 't' in concurrently-executing code; this is an error in the Swift 6 language mode
763 |         case 17: r = result
764 |         case 18: s = result
765 |         case 19: t = result
    |                  `- warning: mutation of captured var 't' in concurrently-executing code; this is an error in the Swift 6 language mode
766 |         case 20: u = result
767 |         case 21: v = result
/host/spi-builder-workspace/Sources/Utilities.swift:766:18: warning: mutation of captured var 'u' in concurrently-executing code; this is an error in the Swift 6 language mode
764 |         case 18: s = result
765 |         case 19: t = result
766 |         case 20: u = result
    |                  `- warning: mutation of captured var 'u' in concurrently-executing code; this is an error in the Swift 6 language mode
767 |         case 21: v = result
768 |         case 22: w = result
/host/spi-builder-workspace/Sources/Utilities.swift:767:18: warning: mutation of captured var 'v' in concurrently-executing code; this is an error in the Swift 6 language mode
765 |         case 19: t = result
766 |         case 20: u = result
767 |         case 21: v = result
    |                  `- warning: mutation of captured var 'v' in concurrently-executing code; this is an error in the Swift 6 language mode
768 |         case 22: w = result
769 |         case 23: x = result
/host/spi-builder-workspace/Sources/Utilities.swift:768:18: warning: mutation of captured var 'w' in concurrently-executing code; this is an error in the Swift 6 language mode
766 |         case 20: u = result
767 |         case 21: v = result
768 |         case 22: w = result
    |                  `- warning: mutation of captured var 'w' in concurrently-executing code; this is an error in the Swift 6 language mode
769 |         case 23: x = result
770 |         default: preconditionFailure()
/host/spi-builder-workspace/Sources/Utilities.swift:769:18: warning: mutation of captured var 'x' in concurrently-executing code; this is an error in the Swift 6 language mode
767 |         case 21: v = result
768 |         case 22: w = result
769 |         case 23: x = result
    |                  `- warning: mutation of captured var 'x' in concurrently-executing code; this is an error in the Swift 6 language mode
770 |         default: preconditionFailure()
771 |         }
[15/38] Compiling Euclid Utilities.swift
/host/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: add '@MainActor' to make static property 'identity' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
216 |
217 |     /// Creates a offset transform.
/host/spi-builder-workspace/Sources/Utilities.swift:744:22: warning: capture of 'fn' with non-sendable type '([T]) -> [U]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
742 |     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]?
743 |     DispatchQueue.concurrentPerform(iterations: parts.count) { index in
744 |         let result = fn(parts[index])
    |                      |- warning: capture of 'fn' with non-sendable type '([T]) -> [U]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
    |                      `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
745 |         switch index {
746 |         case 0: a = result
/host/spi-builder-workspace/Sources/Utilities.swift:744:25: warning: capture of 'parts' with non-sendable type '[[T]]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
724 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
725 |
726 | func batch<T, U>(
    |            `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
727 |     _ elements: [T],
728 |     stride minBatchSize: Int,
    :
742 |     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]?
743 |     DispatchQueue.concurrentPerform(iterations: parts.count) { index in
744 |         let result = fn(parts[index])
    |                         `- warning: capture of 'parts' with non-sendable type '[[T]]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
745 |         switch index {
746 |         case 0: a = result
/host/spi-builder-workspace/Sources/Utilities.swift:746:17: warning: capture of 'a' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
724 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
725 |
726 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
727 |     _ elements: [T],
728 |     stride minBatchSize: Int,
    :
744 |         let result = fn(parts[index])
745 |         switch index {
746 |         case 0: a = result
    |                 `- warning: capture of 'a' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
747 |         case 1: b = result
748 |         case 2: c = result
/host/spi-builder-workspace/Sources/Utilities.swift:747:17: warning: capture of 'b' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
724 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
725 |
726 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
727 |     _ elements: [T],
728 |     stride minBatchSize: Int,
    :
745 |         switch index {
746 |         case 0: a = result
747 |         case 1: b = result
    |                 `- warning: capture of 'b' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
748 |         case 2: c = result
749 |         case 3: d = result
/host/spi-builder-workspace/Sources/Utilities.swift:748:17: warning: capture of 'c' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
724 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
725 |
726 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
727 |     _ elements: [T],
728 |     stride minBatchSize: Int,
    :
746 |         case 0: a = result
747 |         case 1: b = result
748 |         case 2: c = result
    |                 `- warning: capture of 'c' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
749 |         case 3: d = result
750 |         case 4: e = result
/host/spi-builder-workspace/Sources/Utilities.swift:749:17: warning: capture of 'd' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
724 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
725 |
726 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
727 |     _ elements: [T],
728 |     stride minBatchSize: Int,
    :
747 |         case 1: b = result
748 |         case 2: c = result
749 |         case 3: d = result
    |                 `- warning: capture of 'd' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
750 |         case 4: e = result
751 |         case 5: f = result
/host/spi-builder-workspace/Sources/Utilities.swift:750:17: warning: capture of 'e' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
724 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
725 |
726 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
727 |     _ elements: [T],
728 |     stride minBatchSize: Int,
    :
748 |         case 2: c = result
749 |         case 3: d = result
750 |         case 4: e = result
    |                 `- warning: capture of 'e' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
751 |         case 5: f = result
752 |         case 6: g = result
/host/spi-builder-workspace/Sources/Utilities.swift:751:17: warning: capture of 'f' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
724 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
725 |
726 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
727 |     _ elements: [T],
728 |     stride minBatchSize: Int,
    :
749 |         case 3: d = result
750 |         case 4: e = result
751 |         case 5: f = result
    |                 `- warning: capture of 'f' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
752 |         case 6: g = result
753 |         case 7: h = result
/host/spi-builder-workspace/Sources/Utilities.swift:752:17: warning: capture of 'g' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
724 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
725 |
726 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
727 |     _ elements: [T],
728 |     stride minBatchSize: Int,
    :
750 |         case 4: e = result
751 |         case 5: f = result
752 |         case 6: g = result
    |                 `- warning: capture of 'g' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
753 |         case 7: h = result
754 |         case 8: i = result
/host/spi-builder-workspace/Sources/Utilities.swift:753:17: warning: capture of 'h' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
724 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
725 |
726 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
727 |     _ elements: [T],
728 |     stride minBatchSize: Int,
    :
751 |         case 5: f = result
752 |         case 6: g = result
753 |         case 7: h = result
    |                 `- warning: capture of 'h' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
754 |         case 8: i = result
755 |         case 9: j = result
/host/spi-builder-workspace/Sources/Utilities.swift:754:17: warning: capture of 'i' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
724 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
725 |
726 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
727 |     _ elements: [T],
728 |     stride minBatchSize: Int,
    :
752 |         case 6: g = result
753 |         case 7: h = result
754 |         case 8: i = result
    |                 `- warning: capture of 'i' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
755 |         case 9: j = result
756 |         case 10: k = result
/host/spi-builder-workspace/Sources/Utilities.swift:755:17: warning: capture of 'j' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
724 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
725 |
726 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
727 |     _ elements: [T],
728 |     stride minBatchSize: Int,
    :
753 |         case 7: h = result
754 |         case 8: i = result
755 |         case 9: j = result
    |                 `- warning: capture of 'j' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
756 |         case 10: k = result
757 |         case 11: l = result
/host/spi-builder-workspace/Sources/Utilities.swift:756:18: warning: capture of 'k' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
724 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
725 |
726 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
727 |     _ elements: [T],
728 |     stride minBatchSize: Int,
    :
754 |         case 8: i = result
755 |         case 9: j = result
756 |         case 10: k = result
    |                  `- warning: capture of 'k' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
757 |         case 11: l = result
758 |         case 12: m = result
/host/spi-builder-workspace/Sources/Utilities.swift:757:18: warning: capture of 'l' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
724 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
725 |
726 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
727 |     _ elements: [T],
728 |     stride minBatchSize: Int,
    :
755 |         case 9: j = result
756 |         case 10: k = result
757 |         case 11: l = result
    |                  `- warning: capture of 'l' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
758 |         case 12: m = result
759 |         case 13: n = result
/host/spi-builder-workspace/Sources/Utilities.swift:758:18: warning: capture of 'm' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
724 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
725 |
726 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
727 |     _ elements: [T],
728 |     stride minBatchSize: Int,
    :
756 |         case 10: k = result
757 |         case 11: l = result
758 |         case 12: m = result
    |                  `- warning: capture of 'm' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
759 |         case 13: n = result
760 |         case 14: o = result
/host/spi-builder-workspace/Sources/Utilities.swift:759:18: warning: capture of 'n' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
724 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
725 |
726 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
727 |     _ elements: [T],
728 |     stride minBatchSize: Int,
    :
757 |         case 11: l = result
758 |         case 12: m = result
759 |         case 13: n = result
    |                  `- warning: capture of 'n' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
760 |         case 14: o = result
761 |         case 15: p = result
/host/spi-builder-workspace/Sources/Utilities.swift:760:18: warning: capture of 'o' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
724 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
725 |
726 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
727 |     _ elements: [T],
728 |     stride minBatchSize: Int,
    :
758 |         case 12: m = result
759 |         case 13: n = result
760 |         case 14: o = result
    |                  `- warning: capture of 'o' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
761 |         case 15: p = result
762 |         case 16: q = result
/host/spi-builder-workspace/Sources/Utilities.swift:761:18: warning: capture of 'p' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
724 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
725 |
726 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
727 |     _ elements: [T],
728 |     stride minBatchSize: Int,
    :
759 |         case 13: n = result
760 |         case 14: o = result
761 |         case 15: p = result
    |                  `- warning: capture of 'p' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
762 |         case 16: q = result
763 |         case 17: r = result
/host/spi-builder-workspace/Sources/Utilities.swift:762:18: warning: capture of 'q' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
724 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
725 |
726 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
727 |     _ elements: [T],
728 |     stride minBatchSize: Int,
    :
760 |         case 14: o = result
761 |         case 15: p = result
762 |         case 16: q = result
    |                  `- warning: capture of 'q' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
763 |         case 17: r = result
764 |         case 18: s = result
/host/spi-builder-workspace/Sources/Utilities.swift:763:18: warning: capture of 'r' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
724 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
725 |
726 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
727 |     _ elements: [T],
728 |     stride minBatchSize: Int,
    :
761 |         case 15: p = result
762 |         case 16: q = result
763 |         case 17: r = result
    |                  `- warning: capture of 'r' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
764 |         case 18: s = result
765 |         case 19: t = result
/host/spi-builder-workspace/Sources/Utilities.swift:764:18: warning: capture of 's' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
724 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
725 |
726 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
727 |     _ elements: [T],
728 |     stride minBatchSize: Int,
    :
762 |         case 16: q = result
763 |         case 17: r = result
764 |         case 18: s = result
    |                  `- warning: capture of 's' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
765 |         case 19: t = result
766 |         case 20: u = result
/host/spi-builder-workspace/Sources/Utilities.swift:765:18: warning: capture of 't' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
724 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
725 |
726 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
727 |     _ elements: [T],
728 |     stride minBatchSize: Int,
    :
763 |         case 17: r = result
764 |         case 18: s = result
765 |         case 19: t = result
    |                  `- warning: capture of 't' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
766 |         case 20: u = result
767 |         case 21: v = result
/host/spi-builder-workspace/Sources/Utilities.swift:766:18: warning: capture of 'u' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
724 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
725 |
726 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
727 |     _ elements: [T],
728 |     stride minBatchSize: Int,
    :
764 |         case 18: s = result
765 |         case 19: t = result
766 |         case 20: u = result
    |                  `- warning: capture of 'u' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
767 |         case 21: v = result
768 |         case 22: w = result
/host/spi-builder-workspace/Sources/Utilities.swift:767:18: warning: capture of 'v' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
724 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
725 |
726 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
727 |     _ elements: [T],
728 |     stride minBatchSize: Int,
    :
765 |         case 19: t = result
766 |         case 20: u = result
767 |         case 21: v = result
    |                  `- warning: capture of 'v' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
768 |         case 22: w = result
769 |         case 23: x = result
/host/spi-builder-workspace/Sources/Utilities.swift:768:18: warning: capture of 'w' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
724 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
725 |
726 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
727 |     _ elements: [T],
728 |     stride minBatchSize: Int,
    :
766 |         case 20: u = result
767 |         case 21: v = result
768 |         case 22: w = result
    |                  `- warning: capture of 'w' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
769 |         case 23: x = result
770 |         default: preconditionFailure()
/host/spi-builder-workspace/Sources/Utilities.swift:769:18: warning: capture of 'x' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
724 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
725 |
726 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
727 |     _ elements: [T],
728 |     stride minBatchSize: Int,
    :
767 |         case 21: v = result
768 |         case 22: w = result
769 |         case 23: x = result
    |                  `- warning: capture of 'x' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
770 |         default: preconditionFailure()
771 |         }
/host/spi-builder-workspace/Sources/Utilities.swift:746:17: warning: mutation of captured var 'a' in concurrently-executing code; this is an error in the Swift 6 language mode
744 |         let result = fn(parts[index])
745 |         switch index {
746 |         case 0: a = result
    |                 `- warning: mutation of captured var 'a' in concurrently-executing code; this is an error in the Swift 6 language mode
747 |         case 1: b = result
748 |         case 2: c = result
/host/spi-builder-workspace/Sources/Utilities.swift:747:17: warning: mutation of captured var 'b' in concurrently-executing code; this is an error in the Swift 6 language mode
745 |         switch index {
746 |         case 0: a = result
747 |         case 1: b = result
    |                 `- warning: mutation of captured var 'b' in concurrently-executing code; this is an error in the Swift 6 language mode
748 |         case 2: c = result
749 |         case 3: d = result
/host/spi-builder-workspace/Sources/Utilities.swift:748:17: warning: mutation of captured var 'c' in concurrently-executing code; this is an error in the Swift 6 language mode
746 |         case 0: a = result
747 |         case 1: b = result
748 |         case 2: c = result
    |                 `- warning: mutation of captured var 'c' in concurrently-executing code; this is an error in the Swift 6 language mode
749 |         case 3: d = result
750 |         case 4: e = result
/host/spi-builder-workspace/Sources/Utilities.swift:749:17: warning: mutation of captured var 'd' in concurrently-executing code; this is an error in the Swift 6 language mode
747 |         case 1: b = result
748 |         case 2: c = result
749 |         case 3: d = result
    |                 `- warning: mutation of captured var 'd' in concurrently-executing code; this is an error in the Swift 6 language mode
750 |         case 4: e = result
751 |         case 5: f = result
/host/spi-builder-workspace/Sources/Utilities.swift:750:17: warning: mutation of captured var 'e' in concurrently-executing code; this is an error in the Swift 6 language mode
748 |         case 2: c = result
749 |         case 3: d = result
750 |         case 4: e = result
    |                 `- warning: mutation of captured var 'e' in concurrently-executing code; this is an error in the Swift 6 language mode
751 |         case 5: f = result
752 |         case 6: g = result
/host/spi-builder-workspace/Sources/Utilities.swift:751:17: warning: mutation of captured var 'f' in concurrently-executing code; this is an error in the Swift 6 language mode
749 |         case 3: d = result
750 |         case 4: e = result
751 |         case 5: f = result
    |                 `- warning: mutation of captured var 'f' in concurrently-executing code; this is an error in the Swift 6 language mode
752 |         case 6: g = result
753 |         case 7: h = result
/host/spi-builder-workspace/Sources/Utilities.swift:752:17: warning: mutation of captured var 'g' in concurrently-executing code; this is an error in the Swift 6 language mode
750 |         case 4: e = result
751 |         case 5: f = result
752 |         case 6: g = result
    |                 `- warning: mutation of captured var 'g' in concurrently-executing code; this is an error in the Swift 6 language mode
753 |         case 7: h = result
754 |         case 8: i = result
/host/spi-builder-workspace/Sources/Utilities.swift:753:17: warning: mutation of captured var 'h' in concurrently-executing code; this is an error in the Swift 6 language mode
751 |         case 5: f = result
752 |         case 6: g = result
753 |         case 7: h = result
    |                 `- warning: mutation of captured var 'h' in concurrently-executing code; this is an error in the Swift 6 language mode
754 |         case 8: i = result
755 |         case 9: j = result
/host/spi-builder-workspace/Sources/Utilities.swift:754:17: warning: mutation of captured var 'i' in concurrently-executing code; this is an error in the Swift 6 language mode
752 |         case 6: g = result
753 |         case 7: h = result
754 |         case 8: i = result
    |                 `- warning: mutation of captured var 'i' in concurrently-executing code; this is an error in the Swift 6 language mode
755 |         case 9: j = result
756 |         case 10: k = result
/host/spi-builder-workspace/Sources/Utilities.swift:755:17: warning: mutation of captured var 'j' in concurrently-executing code; this is an error in the Swift 6 language mode
753 |         case 7: h = result
754 |         case 8: i = result
755 |         case 9: j = result
    |                 `- warning: mutation of captured var 'j' in concurrently-executing code; this is an error in the Swift 6 language mode
756 |         case 10: k = result
757 |         case 11: l = result
/host/spi-builder-workspace/Sources/Utilities.swift:756:18: warning: mutation of captured var 'k' in concurrently-executing code; this is an error in the Swift 6 language mode
754 |         case 8: i = result
755 |         case 9: j = result
756 |         case 10: k = result
    |                  `- warning: mutation of captured var 'k' in concurrently-executing code; this is an error in the Swift 6 language mode
757 |         case 11: l = result
758 |         case 12: m = result
/host/spi-builder-workspace/Sources/Utilities.swift:757:18: warning: mutation of captured var 'l' in concurrently-executing code; this is an error in the Swift 6 language mode
755 |         case 9: j = result
756 |         case 10: k = result
757 |         case 11: l = result
    |                  `- warning: mutation of captured var 'l' in concurrently-executing code; this is an error in the Swift 6 language mode
758 |         case 12: m = result
759 |         case 13: n = result
/host/spi-builder-workspace/Sources/Utilities.swift:758:18: warning: mutation of captured var 'm' in concurrently-executing code; this is an error in the Swift 6 language mode
756 |         case 10: k = result
757 |         case 11: l = result
758 |         case 12: m = result
    |                  `- warning: mutation of captured var 'm' in concurrently-executing code; this is an error in the Swift 6 language mode
759 |         case 13: n = result
760 |         case 14: o = result
/host/spi-builder-workspace/Sources/Utilities.swift:759:18: warning: mutation of captured var 'n' in concurrently-executing code; this is an error in the Swift 6 language mode
757 |         case 11: l = result
758 |         case 12: m = result
759 |         case 13: n = result
    |                  `- warning: mutation of captured var 'n' in concurrently-executing code; this is an error in the Swift 6 language mode
760 |         case 14: o = result
761 |         case 15: p = result
/host/spi-builder-workspace/Sources/Utilities.swift:760:18: warning: mutation of captured var 'o' in concurrently-executing code; this is an error in the Swift 6 language mode
758 |         case 12: m = result
759 |         case 13: n = result
760 |         case 14: o = result
    |                  `- warning: mutation of captured var 'o' in concurrently-executing code; this is an error in the Swift 6 language mode
761 |         case 15: p = result
762 |         case 16: q = result
/host/spi-builder-workspace/Sources/Utilities.swift:761:18: warning: mutation of captured var 'p' in concurrently-executing code; this is an error in the Swift 6 language mode
759 |         case 13: n = result
760 |         case 14: o = result
761 |         case 15: p = result
    |                  `- warning: mutation of captured var 'p' in concurrently-executing code; this is an error in the Swift 6 language mode
762 |         case 16: q = result
763 |         case 17: r = result
/host/spi-builder-workspace/Sources/Utilities.swift:762:18: warning: mutation of captured var 'q' in concurrently-executing code; this is an error in the Swift 6 language mode
760 |         case 14: o = result
761 |         case 15: p = result
762 |         case 16: q = result
    |                  `- warning: mutation of captured var 'q' in concurrently-executing code; this is an error in the Swift 6 language mode
763 |         case 17: r = result
764 |         case 18: s = result
/host/spi-builder-workspace/Sources/Utilities.swift:763:18: warning: mutation of captured var 'r' in concurrently-executing code; this is an error in the Swift 6 language mode
761 |         case 15: p = result
762 |         case 16: q = result
763 |         case 17: r = result
    |                  `- warning: mutation of captured var 'r' in concurrently-executing code; this is an error in the Swift 6 language mode
764 |         case 18: s = result
765 |         case 19: t = result
/host/spi-builder-workspace/Sources/Utilities.swift:764:18: warning: mutation of captured var 's' in concurrently-executing code; this is an error in the Swift 6 language mode
762 |         case 16: q = result
763 |         case 17: r = result
764 |         case 18: s = result
    |                  `- warning: mutation of captured var 's' in concurrently-executing code; this is an error in the Swift 6 language mode
765 |         case 19: t = result
766 |         case 20: u = result
/host/spi-builder-workspace/Sources/Utilities.swift:765:18: warning: mutation of captured var 't' in concurrently-executing code; this is an error in the Swift 6 language mode
763 |         case 17: r = result
764 |         case 18: s = result
765 |         case 19: t = result
    |                  `- warning: mutation of captured var 't' in concurrently-executing code; this is an error in the Swift 6 language mode
766 |         case 20: u = result
767 |         case 21: v = result
/host/spi-builder-workspace/Sources/Utilities.swift:766:18: warning: mutation of captured var 'u' in concurrently-executing code; this is an error in the Swift 6 language mode
764 |         case 18: s = result
765 |         case 19: t = result
766 |         case 20: u = result
    |                  `- warning: mutation of captured var 'u' in concurrently-executing code; this is an error in the Swift 6 language mode
767 |         case 21: v = result
768 |         case 22: w = result
/host/spi-builder-workspace/Sources/Utilities.swift:767:18: warning: mutation of captured var 'v' in concurrently-executing code; this is an error in the Swift 6 language mode
765 |         case 19: t = result
766 |         case 20: u = result
767 |         case 21: v = result
    |                  `- warning: mutation of captured var 'v' in concurrently-executing code; this is an error in the Swift 6 language mode
768 |         case 22: w = result
769 |         case 23: x = result
/host/spi-builder-workspace/Sources/Utilities.swift:768:18: warning: mutation of captured var 'w' in concurrently-executing code; this is an error in the Swift 6 language mode
766 |         case 20: u = result
767 |         case 21: v = result
768 |         case 22: w = result
    |                  `- warning: mutation of captured var 'w' in concurrently-executing code; this is an error in the Swift 6 language mode
769 |         case 23: x = result
770 |         default: preconditionFailure()
/host/spi-builder-workspace/Sources/Utilities.swift:769:18: warning: mutation of captured var 'x' in concurrently-executing code; this is an error in the Swift 6 language mode
767 |         case 21: v = result
768 |         case 22: w = result
769 |         case 23: x = result
    |                  `- warning: mutation of captured var 'x' in concurrently-executing code; this is an error in the Swift 6 language mode
770 |         default: preconditionFailure()
771 |         }
[16/38] Compiling Euclid Vector.swift
/host/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: add '@MainActor' to make static property 'identity' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
216 |
217 |     /// Creates a offset transform.
/host/spi-builder-workspace/Sources/Utilities.swift:744:22: warning: capture of 'fn' with non-sendable type '([T]) -> [U]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
742 |     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]?
743 |     DispatchQueue.concurrentPerform(iterations: parts.count) { index in
744 |         let result = fn(parts[index])
    |                      |- warning: capture of 'fn' with non-sendable type '([T]) -> [U]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
    |                      `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
745 |         switch index {
746 |         case 0: a = result
/host/spi-builder-workspace/Sources/Utilities.swift:744:25: warning: capture of 'parts' with non-sendable type '[[T]]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
724 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
725 |
726 | func batch<T, U>(
    |            `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
727 |     _ elements: [T],
728 |     stride minBatchSize: Int,
    :
742 |     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]?
743 |     DispatchQueue.concurrentPerform(iterations: parts.count) { index in
744 |         let result = fn(parts[index])
    |                         `- warning: capture of 'parts' with non-sendable type '[[T]]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
745 |         switch index {
746 |         case 0: a = result
/host/spi-builder-workspace/Sources/Utilities.swift:746:17: warning: capture of 'a' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
724 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
725 |
726 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
727 |     _ elements: [T],
728 |     stride minBatchSize: Int,
    :
744 |         let result = fn(parts[index])
745 |         switch index {
746 |         case 0: a = result
    |                 `- warning: capture of 'a' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
747 |         case 1: b = result
748 |         case 2: c = result
/host/spi-builder-workspace/Sources/Utilities.swift:747:17: warning: capture of 'b' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
724 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
725 |
726 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
727 |     _ elements: [T],
728 |     stride minBatchSize: Int,
    :
745 |         switch index {
746 |         case 0: a = result
747 |         case 1: b = result
    |                 `- warning: capture of 'b' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
748 |         case 2: c = result
749 |         case 3: d = result
/host/spi-builder-workspace/Sources/Utilities.swift:748:17: warning: capture of 'c' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
724 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
725 |
726 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
727 |     _ elements: [T],
728 |     stride minBatchSize: Int,
    :
746 |         case 0: a = result
747 |         case 1: b = result
748 |         case 2: c = result
    |                 `- warning: capture of 'c' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
749 |         case 3: d = result
750 |         case 4: e = result
/host/spi-builder-workspace/Sources/Utilities.swift:749:17: warning: capture of 'd' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
724 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
725 |
726 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
727 |     _ elements: [T],
728 |     stride minBatchSize: Int,
    :
747 |         case 1: b = result
748 |         case 2: c = result
749 |         case 3: d = result
    |                 `- warning: capture of 'd' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
750 |         case 4: e = result
751 |         case 5: f = result
/host/spi-builder-workspace/Sources/Utilities.swift:750:17: warning: capture of 'e' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
724 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
725 |
726 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
727 |     _ elements: [T],
728 |     stride minBatchSize: Int,
    :
748 |         case 2: c = result
749 |         case 3: d = result
750 |         case 4: e = result
    |                 `- warning: capture of 'e' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
751 |         case 5: f = result
752 |         case 6: g = result
/host/spi-builder-workspace/Sources/Utilities.swift:751:17: warning: capture of 'f' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
724 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
725 |
726 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
727 |     _ elements: [T],
728 |     stride minBatchSize: Int,
    :
749 |         case 3: d = result
750 |         case 4: e = result
751 |         case 5: f = result
    |                 `- warning: capture of 'f' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
752 |         case 6: g = result
753 |         case 7: h = result
/host/spi-builder-workspace/Sources/Utilities.swift:752:17: warning: capture of 'g' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
724 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
725 |
726 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
727 |     _ elements: [T],
728 |     stride minBatchSize: Int,
    :
750 |         case 4: e = result
751 |         case 5: f = result
752 |         case 6: g = result
    |                 `- warning: capture of 'g' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
753 |         case 7: h = result
754 |         case 8: i = result
/host/spi-builder-workspace/Sources/Utilities.swift:753:17: warning: capture of 'h' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
724 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
725 |
726 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
727 |     _ elements: [T],
728 |     stride minBatchSize: Int,
    :
751 |         case 5: f = result
752 |         case 6: g = result
753 |         case 7: h = result
    |                 `- warning: capture of 'h' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
754 |         case 8: i = result
755 |         case 9: j = result
/host/spi-builder-workspace/Sources/Utilities.swift:754:17: warning: capture of 'i' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
724 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
725 |
726 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
727 |     _ elements: [T],
728 |     stride minBatchSize: Int,
    :
752 |         case 6: g = result
753 |         case 7: h = result
754 |         case 8: i = result
    |                 `- warning: capture of 'i' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
755 |         case 9: j = result
756 |         case 10: k = result
/host/spi-builder-workspace/Sources/Utilities.swift:755:17: warning: capture of 'j' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
724 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
725 |
726 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
727 |     _ elements: [T],
728 |     stride minBatchSize: Int,
    :
753 |         case 7: h = result
754 |         case 8: i = result
755 |         case 9: j = result
    |                 `- warning: capture of 'j' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
756 |         case 10: k = result
757 |         case 11: l = result
/host/spi-builder-workspace/Sources/Utilities.swift:756:18: warning: capture of 'k' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
724 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
725 |
726 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
727 |     _ elements: [T],
728 |     stride minBatchSize: Int,
    :
754 |         case 8: i = result
755 |         case 9: j = result
756 |         case 10: k = result
    |                  `- warning: capture of 'k' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
757 |         case 11: l = result
758 |         case 12: m = result
/host/spi-builder-workspace/Sources/Utilities.swift:757:18: warning: capture of 'l' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
724 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
725 |
726 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
727 |     _ elements: [T],
728 |     stride minBatchSize: Int,
    :
755 |         case 9: j = result
756 |         case 10: k = result
757 |         case 11: l = result
    |                  `- warning: capture of 'l' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
758 |         case 12: m = result
759 |         case 13: n = result
/host/spi-builder-workspace/Sources/Utilities.swift:758:18: warning: capture of 'm' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
724 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
725 |
726 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
727 |     _ elements: [T],
728 |     stride minBatchSize: Int,
    :
756 |         case 10: k = result
757 |         case 11: l = result
758 |         case 12: m = result
    |                  `- warning: capture of 'm' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
759 |         case 13: n = result
760 |         case 14: o = result
/host/spi-builder-workspace/Sources/Utilities.swift:759:18: warning: capture of 'n' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
724 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
725 |
726 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
727 |     _ elements: [T],
728 |     stride minBatchSize: Int,
    :
757 |         case 11: l = result
758 |         case 12: m = result
759 |         case 13: n = result
    |                  `- warning: capture of 'n' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
760 |         case 14: o = result
761 |         case 15: p = result
/host/spi-builder-workspace/Sources/Utilities.swift:760:18: warning: capture of 'o' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
724 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
725 |
726 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
727 |     _ elements: [T],
728 |     stride minBatchSize: Int,
    :
758 |         case 12: m = result
759 |         case 13: n = result
760 |         case 14: o = result
    |                  `- warning: capture of 'o' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
761 |         case 15: p = result
762 |         case 16: q = result
/host/spi-builder-workspace/Sources/Utilities.swift:761:18: warning: capture of 'p' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
724 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
725 |
726 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
727 |     _ elements: [T],
728 |     stride minBatchSize: Int,
    :
759 |         case 13: n = result
760 |         case 14: o = result
761 |         case 15: p = result
    |                  `- warning: capture of 'p' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
762 |         case 16: q = result
763 |         case 17: r = result
/host/spi-builder-workspace/Sources/Utilities.swift:762:18: warning: capture of 'q' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
724 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
725 |
726 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
727 |     _ elements: [T],
728 |     stride minBatchSize: Int,
    :
760 |         case 14: o = result
761 |         case 15: p = result
762 |         case 16: q = result
    |                  `- warning: capture of 'q' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
763 |         case 17: r = result
764 |         case 18: s = result
/host/spi-builder-workspace/Sources/Utilities.swift:763:18: warning: capture of 'r' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
724 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
725 |
726 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
727 |     _ elements: [T],
728 |     stride minBatchSize: Int,
    :
761 |         case 15: p = result
762 |         case 16: q = result
763 |         case 17: r = result
    |                  `- warning: capture of 'r' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
764 |         case 18: s = result
765 |         case 19: t = result
/host/spi-builder-workspace/Sources/Utilities.swift:764:18: warning: capture of 's' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
724 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
725 |
726 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
727 |     _ elements: [T],
728 |     stride minBatchSize: Int,
    :
762 |         case 16: q = result
763 |         case 17: r = result
764 |         case 18: s = result
    |                  `- warning: capture of 's' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
765 |         case 19: t = result
766 |         case 20: u = result
/host/spi-builder-workspace/Sources/Utilities.swift:765:18: warning: capture of 't' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
724 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
725 |
726 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
727 |     _ elements: [T],
728 |     stride minBatchSize: Int,
    :
763 |         case 17: r = result
764 |         case 18: s = result
765 |         case 19: t = result
    |                  `- warning: capture of 't' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
766 |         case 20: u = result
767 |         case 21: v = result
/host/spi-builder-workspace/Sources/Utilities.swift:766:18: warning: capture of 'u' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
724 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
725 |
726 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
727 |     _ elements: [T],
728 |     stride minBatchSize: Int,
    :
764 |         case 18: s = result
765 |         case 19: t = result
766 |         case 20: u = result
    |                  `- warning: capture of 'u' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
767 |         case 21: v = result
768 |         case 22: w = result
/host/spi-builder-workspace/Sources/Utilities.swift:767:18: warning: capture of 'v' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
724 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
725 |
726 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
727 |     _ elements: [T],
728 |     stride minBatchSize: Int,
    :
765 |         case 19: t = result
766 |         case 20: u = result
767 |         case 21: v = result
    |                  `- warning: capture of 'v' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
768 |         case 22: w = result
769 |         case 23: x = result
/host/spi-builder-workspace/Sources/Utilities.swift:768:18: warning: capture of 'w' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
724 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
725 |
726 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
727 |     _ elements: [T],
728 |     stride minBatchSize: Int,
    :
766 |         case 20: u = result
767 |         case 21: v = result
768 |         case 22: w = result
    |                  `- warning: capture of 'w' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
769 |         case 23: x = result
770 |         default: preconditionFailure()
/host/spi-builder-workspace/Sources/Utilities.swift:769:18: warning: capture of 'x' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
724 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
725 |
726 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
727 |     _ elements: [T],
728 |     stride minBatchSize: Int,
    :
767 |         case 21: v = result
768 |         case 22: w = result
769 |         case 23: x = result
    |                  `- warning: capture of 'x' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
770 |         default: preconditionFailure()
771 |         }
/host/spi-builder-workspace/Sources/Utilities.swift:746:17: warning: mutation of captured var 'a' in concurrently-executing code; this is an error in the Swift 6 language mode
744 |         let result = fn(parts[index])
745 |         switch index {
746 |         case 0: a = result
    |                 `- warning: mutation of captured var 'a' in concurrently-executing code; this is an error in the Swift 6 language mode
747 |         case 1: b = result
748 |         case 2: c = result
/host/spi-builder-workspace/Sources/Utilities.swift:747:17: warning: mutation of captured var 'b' in concurrently-executing code; this is an error in the Swift 6 language mode
745 |         switch index {
746 |         case 0: a = result
747 |         case 1: b = result
    |                 `- warning: mutation of captured var 'b' in concurrently-executing code; this is an error in the Swift 6 language mode
748 |         case 2: c = result
749 |         case 3: d = result
/host/spi-builder-workspace/Sources/Utilities.swift:748:17: warning: mutation of captured var 'c' in concurrently-executing code; this is an error in the Swift 6 language mode
746 |         case 0: a = result
747 |         case 1: b = result
748 |         case 2: c = result
    |                 `- warning: mutation of captured var 'c' in concurrently-executing code; this is an error in the Swift 6 language mode
749 |         case 3: d = result
750 |         case 4: e = result
/host/spi-builder-workspace/Sources/Utilities.swift:749:17: warning: mutation of captured var 'd' in concurrently-executing code; this is an error in the Swift 6 language mode
747 |         case 1: b = result
748 |         case 2: c = result
749 |         case 3: d = result
    |                 `- warning: mutation of captured var 'd' in concurrently-executing code; this is an error in the Swift 6 language mode
750 |         case 4: e = result
751 |         case 5: f = result
/host/spi-builder-workspace/Sources/Utilities.swift:750:17: warning: mutation of captured var 'e' in concurrently-executing code; this is an error in the Swift 6 language mode
748 |         case 2: c = result
749 |         case 3: d = result
750 |         case 4: e = result
    |                 `- warning: mutation of captured var 'e' in concurrently-executing code; this is an error in the Swift 6 language mode
751 |         case 5: f = result
752 |         case 6: g = result
/host/spi-builder-workspace/Sources/Utilities.swift:751:17: warning: mutation of captured var 'f' in concurrently-executing code; this is an error in the Swift 6 language mode
749 |         case 3: d = result
750 |         case 4: e = result
751 |         case 5: f = result
    |                 `- warning: mutation of captured var 'f' in concurrently-executing code; this is an error in the Swift 6 language mode
752 |         case 6: g = result
753 |         case 7: h = result
/host/spi-builder-workspace/Sources/Utilities.swift:752:17: warning: mutation of captured var 'g' in concurrently-executing code; this is an error in the Swift 6 language mode
750 |         case 4: e = result
751 |         case 5: f = result
752 |         case 6: g = result
    |                 `- warning: mutation of captured var 'g' in concurrently-executing code; this is an error in the Swift 6 language mode
753 |         case 7: h = result
754 |         case 8: i = result
/host/spi-builder-workspace/Sources/Utilities.swift:753:17: warning: mutation of captured var 'h' in concurrently-executing code; this is an error in the Swift 6 language mode
751 |         case 5: f = result
752 |         case 6: g = result
753 |         case 7: h = result
    |                 `- warning: mutation of captured var 'h' in concurrently-executing code; this is an error in the Swift 6 language mode
754 |         case 8: i = result
755 |         case 9: j = result
/host/spi-builder-workspace/Sources/Utilities.swift:754:17: warning: mutation of captured var 'i' in concurrently-executing code; this is an error in the Swift 6 language mode
752 |         case 6: g = result
753 |         case 7: h = result
754 |         case 8: i = result
    |                 `- warning: mutation of captured var 'i' in concurrently-executing code; this is an error in the Swift 6 language mode
755 |         case 9: j = result
756 |         case 10: k = result
/host/spi-builder-workspace/Sources/Utilities.swift:755:17: warning: mutation of captured var 'j' in concurrently-executing code; this is an error in the Swift 6 language mode
753 |         case 7: h = result
754 |         case 8: i = result
755 |         case 9: j = result
    |                 `- warning: mutation of captured var 'j' in concurrently-executing code; this is an error in the Swift 6 language mode
756 |         case 10: k = result
757 |         case 11: l = result
/host/spi-builder-workspace/Sources/Utilities.swift:756:18: warning: mutation of captured var 'k' in concurrently-executing code; this is an error in the Swift 6 language mode
754 |         case 8: i = result
755 |         case 9: j = result
756 |         case 10: k = result
    |                  `- warning: mutation of captured var 'k' in concurrently-executing code; this is an error in the Swift 6 language mode
757 |         case 11: l = result
758 |         case 12: m = result
/host/spi-builder-workspace/Sources/Utilities.swift:757:18: warning: mutation of captured var 'l' in concurrently-executing code; this is an error in the Swift 6 language mode
755 |         case 9: j = result
756 |         case 10: k = result
757 |         case 11: l = result
    |                  `- warning: mutation of captured var 'l' in concurrently-executing code; this is an error in the Swift 6 language mode
758 |         case 12: m = result
759 |         case 13: n = result
/host/spi-builder-workspace/Sources/Utilities.swift:758:18: warning: mutation of captured var 'm' in concurrently-executing code; this is an error in the Swift 6 language mode
756 |         case 10: k = result
757 |         case 11: l = result
758 |         case 12: m = result
    |                  `- warning: mutation of captured var 'm' in concurrently-executing code; this is an error in the Swift 6 language mode
759 |         case 13: n = result
760 |         case 14: o = result
/host/spi-builder-workspace/Sources/Utilities.swift:759:18: warning: mutation of captured var 'n' in concurrently-executing code; this is an error in the Swift 6 language mode
757 |         case 11: l = result
758 |         case 12: m = result
759 |         case 13: n = result
    |                  `- warning: mutation of captured var 'n' in concurrently-executing code; this is an error in the Swift 6 language mode
760 |         case 14: o = result
761 |         case 15: p = result
/host/spi-builder-workspace/Sources/Utilities.swift:760:18: warning: mutation of captured var 'o' in concurrently-executing code; this is an error in the Swift 6 language mode
758 |         case 12: m = result
759 |         case 13: n = result
760 |         case 14: o = result
    |                  `- warning: mutation of captured var 'o' in concurrently-executing code; this is an error in the Swift 6 language mode
761 |         case 15: p = result
762 |         case 16: q = result
/host/spi-builder-workspace/Sources/Utilities.swift:761:18: warning: mutation of captured var 'p' in concurrently-executing code; this is an error in the Swift 6 language mode
759 |         case 13: n = result
760 |         case 14: o = result
761 |         case 15: p = result
    |                  `- warning: mutation of captured var 'p' in concurrently-executing code; this is an error in the Swift 6 language mode
762 |         case 16: q = result
763 |         case 17: r = result
/host/spi-builder-workspace/Sources/Utilities.swift:762:18: warning: mutation of captured var 'q' in concurrently-executing code; this is an error in the Swift 6 language mode
760 |         case 14: o = result
761 |         case 15: p = result
762 |         case 16: q = result
    |                  `- warning: mutation of captured var 'q' in concurrently-executing code; this is an error in the Swift 6 language mode
763 |         case 17: r = result
764 |         case 18: s = result
/host/spi-builder-workspace/Sources/Utilities.swift:763:18: warning: mutation of captured var 'r' in concurrently-executing code; this is an error in the Swift 6 language mode
761 |         case 15: p = result
762 |         case 16: q = result
763 |         case 17: r = result
    |                  `- warning: mutation of captured var 'r' in concurrently-executing code; this is an error in the Swift 6 language mode
764 |         case 18: s = result
765 |         case 19: t = result
/host/spi-builder-workspace/Sources/Utilities.swift:764:18: warning: mutation of captured var 's' in concurrently-executing code; this is an error in the Swift 6 language mode
762 |         case 16: q = result
763 |         case 17: r = result
764 |         case 18: s = result
    |                  `- warning: mutation of captured var 's' in concurrently-executing code; this is an error in the Swift 6 language mode
765 |         case 19: t = result
766 |         case 20: u = result
/host/spi-builder-workspace/Sources/Utilities.swift:765:18: warning: mutation of captured var 't' in concurrently-executing code; this is an error in the Swift 6 language mode
763 |         case 17: r = result
764 |         case 18: s = result
765 |         case 19: t = result
    |                  `- warning: mutation of captured var 't' in concurrently-executing code; this is an error in the Swift 6 language mode
766 |         case 20: u = result
767 |         case 21: v = result
/host/spi-builder-workspace/Sources/Utilities.swift:766:18: warning: mutation of captured var 'u' in concurrently-executing code; this is an error in the Swift 6 language mode
764 |         case 18: s = result
765 |         case 19: t = result
766 |         case 20: u = result
    |                  `- warning: mutation of captured var 'u' in concurrently-executing code; this is an error in the Swift 6 language mode
767 |         case 21: v = result
768 |         case 22: w = result
/host/spi-builder-workspace/Sources/Utilities.swift:767:18: warning: mutation of captured var 'v' in concurrently-executing code; this is an error in the Swift 6 language mode
765 |         case 19: t = result
766 |         case 20: u = result
767 |         case 21: v = result
    |                  `- warning: mutation of captured var 'v' in concurrently-executing code; this is an error in the Swift 6 language mode
768 |         case 22: w = result
769 |         case 23: x = result
/host/spi-builder-workspace/Sources/Utilities.swift:768:18: warning: mutation of captured var 'w' in concurrently-executing code; this is an error in the Swift 6 language mode
766 |         case 20: u = result
767 |         case 21: v = result
768 |         case 22: w = result
    |                  `- warning: mutation of captured var 'w' in concurrently-executing code; this is an error in the Swift 6 language mode
769 |         case 23: x = result
770 |         default: preconditionFailure()
/host/spi-builder-workspace/Sources/Utilities.swift:769:18: warning: mutation of captured var 'x' in concurrently-executing code; this is an error in the Swift 6 language mode
767 |         case 21: v = result
768 |         case 22: w = result
769 |         case 23: x = result
    |                  `- warning: mutation of captured var 'x' in concurrently-executing code; this is an error in the Swift 6 language mode
770 |         default: preconditionFailure()
771 |         }
[17/38] Compiling Euclid Vertex.swift
/host/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: add '@MainActor' to make static property 'identity' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
216 |
217 |     /// Creates a offset transform.
/host/spi-builder-workspace/Sources/Utilities.swift:744:22: warning: capture of 'fn' with non-sendable type '([T]) -> [U]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
742 |     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]?
743 |     DispatchQueue.concurrentPerform(iterations: parts.count) { index in
744 |         let result = fn(parts[index])
    |                      |- warning: capture of 'fn' with non-sendable type '([T]) -> [U]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
    |                      `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
745 |         switch index {
746 |         case 0: a = result
/host/spi-builder-workspace/Sources/Utilities.swift:744:25: warning: capture of 'parts' with non-sendable type '[[T]]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
724 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
725 |
726 | func batch<T, U>(
    |            `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
727 |     _ elements: [T],
728 |     stride minBatchSize: Int,
    :
742 |     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]?
743 |     DispatchQueue.concurrentPerform(iterations: parts.count) { index in
744 |         let result = fn(parts[index])
    |                         `- warning: capture of 'parts' with non-sendable type '[[T]]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
745 |         switch index {
746 |         case 0: a = result
/host/spi-builder-workspace/Sources/Utilities.swift:746:17: warning: capture of 'a' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
724 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
725 |
726 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
727 |     _ elements: [T],
728 |     stride minBatchSize: Int,
    :
744 |         let result = fn(parts[index])
745 |         switch index {
746 |         case 0: a = result
    |                 `- warning: capture of 'a' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
747 |         case 1: b = result
748 |         case 2: c = result
/host/spi-builder-workspace/Sources/Utilities.swift:747:17: warning: capture of 'b' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
724 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
725 |
726 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
727 |     _ elements: [T],
728 |     stride minBatchSize: Int,
    :
745 |         switch index {
746 |         case 0: a = result
747 |         case 1: b = result
    |                 `- warning: capture of 'b' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
748 |         case 2: c = result
749 |         case 3: d = result
/host/spi-builder-workspace/Sources/Utilities.swift:748:17: warning: capture of 'c' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
724 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
725 |
726 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
727 |     _ elements: [T],
728 |     stride minBatchSize: Int,
    :
746 |         case 0: a = result
747 |         case 1: b = result
748 |         case 2: c = result
    |                 `- warning: capture of 'c' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
749 |         case 3: d = result
750 |         case 4: e = result
/host/spi-builder-workspace/Sources/Utilities.swift:749:17: warning: capture of 'd' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
724 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
725 |
726 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
727 |     _ elements: [T],
728 |     stride minBatchSize: Int,
    :
747 |         case 1: b = result
748 |         case 2: c = result
749 |         case 3: d = result
    |                 `- warning: capture of 'd' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
750 |         case 4: e = result
751 |         case 5: f = result
/host/spi-builder-workspace/Sources/Utilities.swift:750:17: warning: capture of 'e' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
724 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
725 |
726 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
727 |     _ elements: [T],
728 |     stride minBatchSize: Int,
    :
748 |         case 2: c = result
749 |         case 3: d = result
750 |         case 4: e = result
    |                 `- warning: capture of 'e' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
751 |         case 5: f = result
752 |         case 6: g = result
/host/spi-builder-workspace/Sources/Utilities.swift:751:17: warning: capture of 'f' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
724 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
725 |
726 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
727 |     _ elements: [T],
728 |     stride minBatchSize: Int,
    :
749 |         case 3: d = result
750 |         case 4: e = result
751 |         case 5: f = result
    |                 `- warning: capture of 'f' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
752 |         case 6: g = result
753 |         case 7: h = result
/host/spi-builder-workspace/Sources/Utilities.swift:752:17: warning: capture of 'g' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
724 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
725 |
726 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
727 |     _ elements: [T],
728 |     stride minBatchSize: Int,
    :
750 |         case 4: e = result
751 |         case 5: f = result
752 |         case 6: g = result
    |                 `- warning: capture of 'g' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
753 |         case 7: h = result
754 |         case 8: i = result
/host/spi-builder-workspace/Sources/Utilities.swift:753:17: warning: capture of 'h' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
724 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
725 |
726 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
727 |     _ elements: [T],
728 |     stride minBatchSize: Int,
    :
751 |         case 5: f = result
752 |         case 6: g = result
753 |         case 7: h = result
    |                 `- warning: capture of 'h' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
754 |         case 8: i = result
755 |         case 9: j = result
/host/spi-builder-workspace/Sources/Utilities.swift:754:17: warning: capture of 'i' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
724 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
725 |
726 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
727 |     _ elements: [T],
728 |     stride minBatchSize: Int,
    :
752 |         case 6: g = result
753 |         case 7: h = result
754 |         case 8: i = result
    |                 `- warning: capture of 'i' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
755 |         case 9: j = result
756 |         case 10: k = result
/host/spi-builder-workspace/Sources/Utilities.swift:755:17: warning: capture of 'j' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
724 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
725 |
726 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
727 |     _ elements: [T],
728 |     stride minBatchSize: Int,
    :
753 |         case 7: h = result
754 |         case 8: i = result
755 |         case 9: j = result
    |                 `- warning: capture of 'j' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
756 |         case 10: k = result
757 |         case 11: l = result
/host/spi-builder-workspace/Sources/Utilities.swift:756:18: warning: capture of 'k' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
724 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
725 |
726 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
727 |     _ elements: [T],
728 |     stride minBatchSize: Int,
    :
754 |         case 8: i = result
755 |         case 9: j = result
756 |         case 10: k = result
    |                  `- warning: capture of 'k' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
757 |         case 11: l = result
758 |         case 12: m = result
/host/spi-builder-workspace/Sources/Utilities.swift:757:18: warning: capture of 'l' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
724 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
725 |
726 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
727 |     _ elements: [T],
728 |     stride minBatchSize: Int,
    :
755 |         case 9: j = result
756 |         case 10: k = result
757 |         case 11: l = result
    |                  `- warning: capture of 'l' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
758 |         case 12: m = result
759 |         case 13: n = result
/host/spi-builder-workspace/Sources/Utilities.swift:758:18: warning: capture of 'm' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
724 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
725 |
726 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
727 |     _ elements: [T],
728 |     stride minBatchSize: Int,
    :
756 |         case 10: k = result
757 |         case 11: l = result
758 |         case 12: m = result
    |                  `- warning: capture of 'm' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
759 |         case 13: n = result
760 |         case 14: o = result
/host/spi-builder-workspace/Sources/Utilities.swift:759:18: warning: capture of 'n' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
724 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
725 |
726 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
727 |     _ elements: [T],
728 |     stride minBatchSize: Int,
    :
757 |         case 11: l = result
758 |         case 12: m = result
759 |         case 13: n = result
    |                  `- warning: capture of 'n' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
760 |         case 14: o = result
761 |         case 15: p = result
/host/spi-builder-workspace/Sources/Utilities.swift:760:18: warning: capture of 'o' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
724 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
725 |
726 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
727 |     _ elements: [T],
728 |     stride minBatchSize: Int,
    :
758 |         case 12: m = result
759 |         case 13: n = result
760 |         case 14: o = result
    |                  `- warning: capture of 'o' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
761 |         case 15: p = result
762 |         case 16: q = result
/host/spi-builder-workspace/Sources/Utilities.swift:761:18: warning: capture of 'p' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
724 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
725 |
726 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
727 |     _ elements: [T],
728 |     stride minBatchSize: Int,
    :
759 |         case 13: n = result
760 |         case 14: o = result
761 |         case 15: p = result
    |                  `- warning: capture of 'p' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
762 |         case 16: q = result
763 |         case 17: r = result
/host/spi-builder-workspace/Sources/Utilities.swift:762:18: warning: capture of 'q' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
724 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
725 |
726 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
727 |     _ elements: [T],
728 |     stride minBatchSize: Int,
    :
760 |         case 14: o = result
761 |         case 15: p = result
762 |         case 16: q = result
    |                  `- warning: capture of 'q' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
763 |         case 17: r = result
764 |         case 18: s = result
/host/spi-builder-workspace/Sources/Utilities.swift:763:18: warning: capture of 'r' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
724 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
725 |
726 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
727 |     _ elements: [T],
728 |     stride minBatchSize: Int,
    :
761 |         case 15: p = result
762 |         case 16: q = result
763 |         case 17: r = result
    |                  `- warning: capture of 'r' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
764 |         case 18: s = result
765 |         case 19: t = result
/host/spi-builder-workspace/Sources/Utilities.swift:764:18: warning: capture of 's' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
724 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
725 |
726 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
727 |     _ elements: [T],
728 |     stride minBatchSize: Int,
    :
762 |         case 16: q = result
763 |         case 17: r = result
764 |         case 18: s = result
    |                  `- warning: capture of 's' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
765 |         case 19: t = result
766 |         case 20: u = result
/host/spi-builder-workspace/Sources/Utilities.swift:765:18: warning: capture of 't' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
724 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
725 |
726 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
727 |     _ elements: [T],
728 |     stride minBatchSize: Int,
    :
763 |         case 17: r = result
764 |         case 18: s = result
765 |         case 19: t = result
    |                  `- warning: capture of 't' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
766 |         case 20: u = result
767 |         case 21: v = result
/host/spi-builder-workspace/Sources/Utilities.swift:766:18: warning: capture of 'u' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
724 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
725 |
726 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
727 |     _ elements: [T],
728 |     stride minBatchSize: Int,
    :
764 |         case 18: s = result
765 |         case 19: t = result
766 |         case 20: u = result
    |                  `- warning: capture of 'u' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
767 |         case 21: v = result
768 |         case 22: w = result
/host/spi-builder-workspace/Sources/Utilities.swift:767:18: warning: capture of 'v' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
724 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
725 |
726 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
727 |     _ elements: [T],
728 |     stride minBatchSize: Int,
    :
765 |         case 19: t = result
766 |         case 20: u = result
767 |         case 21: v = result
    |                  `- warning: capture of 'v' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
768 |         case 22: w = result
769 |         case 23: x = result
/host/spi-builder-workspace/Sources/Utilities.swift:768:18: warning: capture of 'w' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
724 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
725 |
726 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
727 |     _ elements: [T],
728 |     stride minBatchSize: Int,
    :
766 |         case 20: u = result
767 |         case 21: v = result
768 |         case 22: w = result
    |                  `- warning: capture of 'w' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
769 |         case 23: x = result
770 |         default: preconditionFailure()
/host/spi-builder-workspace/Sources/Utilities.swift:769:18: warning: capture of 'x' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
724 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
725 |
726 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
727 |     _ elements: [T],
728 |     stride minBatchSize: Int,
    :
767 |         case 21: v = result
768 |         case 22: w = result
769 |         case 23: x = result
    |                  `- warning: capture of 'x' with non-sendable type '[U]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
770 |         default: preconditionFailure()
771 |         }
/host/spi-builder-workspace/Sources/Utilities.swift:746:17: warning: mutation of captured var 'a' in concurrently-executing code; this is an error in the Swift 6 language mode
744 |         let result = fn(parts[index])
745 |         switch index {
746 |         case 0: a = result
    |                 `- warning: mutation of captured var 'a' in concurrently-executing code; this is an error in the Swift 6 language mode
747 |         case 1: b = result
748 |         case 2: c = result
/host/spi-builder-workspace/Sources/Utilities.swift:747:17: warning: mutation of captured var 'b' in concurrently-executing code; this is an error in the Swift 6 language mode
745 |         switch index {
746 |         case 0: a = result
747 |         case 1: b = result
    |                 `- warning: mutation of captured var 'b' in concurrently-executing code; this is an error in the Swift 6 language mode
748 |         case 2: c = result
749 |         case 3: d = result
/host/spi-builder-workspace/Sources/Utilities.swift:748:17: warning: mutation of captured var 'c' in concurrently-executing code; this is an error in the Swift 6 language mode
746 |         case 0: a = result
747 |         case 1: b = result
748 |         case 2: c = result
    |                 `- warning: mutation of captured var 'c' in concurrently-executing code; this is an error in the Swift 6 language mode
749 |         case 3: d = result
750 |         case 4: e = result
/host/spi-builder-workspace/Sources/Utilities.swift:749:17: warning: mutation of captured var 'd' in concurrently-executing code; this is an error in the Swift 6 language mode
747 |         case 1: b = result
748 |         case 2: c = result
749 |         case 3: d = result
    |                 `- warning: mutation of captured var 'd' in concurrently-executing code; this is an error in the Swift 6 language mode
750 |         case 4: e = result
751 |         case 5: f = result
/host/spi-builder-workspace/Sources/Utilities.swift:750:17: warning: mutation of captured var 'e' in concurrently-executing code; this is an error in the Swift 6 language mode
748 |         case 2: c = result
749 |         case 3: d = result
750 |         case 4: e = result
    |                 `- warning: mutation of captured var 'e' in concurrently-executing code; this is an error in the Swift 6 language mode
751 |         case 5: f = result
752 |         case 6: g = result
/host/spi-builder-workspace/Sources/Utilities.swift:751:17: warning: mutation of captured var 'f' in concurrently-executing code; this is an error in the Swift 6 language mode
749 |         case 3: d = result
750 |         case 4: e = result
751 |         case 5: f = result
    |                 `- warning: mutation of captured var 'f' in concurrently-executing code; this is an error in the Swift 6 language mode
752 |         case 6: g = result
753 |         case 7: h = result
/host/spi-builder-workspace/Sources/Utilities.swift:752:17: warning: mutation of captured var 'g' in concurrently-executing code; this is an error in the Swift 6 language mode
750 |         case 4: e = result
751 |         case 5: f = result
752 |         case 6: g = result
    |                 `- warning: mutation of captured var 'g' in concurrently-executing code; this is an error in the Swift 6 language mode
753 |         case 7: h = result
754 |         case 8: i = result
/host/spi-builder-workspace/Sources/Utilities.swift:753:17: warning: mutation of captured var 'h' in concurrently-executing code; this is an error in the Swift 6 language mode
751 |         case 5: f = result
752 |         case 6: g = result
753 |         case 7: h = result
    |                 `- warning: mutation of captured var 'h' in concurrently-executing code; this is an error in the Swift 6 language mode
754 |         case 8: i = result
755 |         case 9: j = result
/host/spi-builder-workspace/Sources/Utilities.swift:754:17: warning: mutation of captured var 'i' in concurrently-executing code; this is an error in the Swift 6 language mode
752 |         case 6: g = result
753 |         case 7: h = result
754 |         case 8: i = result
    |                 `- warning: mutation of captured var 'i' in concurrently-executing code; this is an error in the Swift 6 language mode
755 |         case 9: j = result
756 |         case 10: k = result
/host/spi-builder-workspace/Sources/Utilities.swift:755:17: warning: mutation of captured var 'j' in concurrently-executing code; this is an error in the Swift 6 language mode
753 |         case 7: h = result
754 |         case 8: i = result
755 |         case 9: j = result
    |                 `- warning: mutation of captured var 'j' in concurrently-executing code; this is an error in the Swift 6 language mode
756 |         case 10: k = result
757 |         case 11: l = result
/host/spi-builder-workspace/Sources/Utilities.swift:756:18: warning: mutation of captured var 'k' in concurrently-executing code; this is an error in the Swift 6 language mode
754 |         case 8: i = result
755 |         case 9: j = result
756 |         case 10: k = result
    |                  `- warning: mutation of captured var 'k' in concurrently-executing code; this is an error in the Swift 6 language mode
757 |         case 11: l = result
758 |         case 12: m = result
/host/spi-builder-workspace/Sources/Utilities.swift:757:18: warning: mutation of captured var 'l' in concurrently-executing code; this is an error in the Swift 6 language mode
755 |         case 9: j = result
756 |         case 10: k = result
757 |         case 11: l = result
    |                  `- warning: mutation of captured var 'l' in concurrently-executing code; this is an error in the Swift 6 language mode
758 |         case 12: m = result
759 |         case 13: n = result
/host/spi-builder-workspace/Sources/Utilities.swift:758:18: warning: mutation of captured var 'm' in concurrently-executing code; this is an error in the Swift 6 language mode
756 |         case 10: k = result
757 |         case 11: l = result
758 |         case 12: m = result
    |                  `- warning: mutation of captured var 'm' in concurrently-executing code; this is an error in the Swift 6 language mode
759 |         case 13: n = result
760 |         case 14: o = result
/host/spi-builder-workspace/Sources/Utilities.swift:759:18: warning: mutation of captured var 'n' in concurrently-executing code; this is an error in the Swift 6 language mode
757 |         case 11: l = result
758 |         case 12: m = result
759 |         case 13: n = result
    |                  `- warning: mutation of captured var 'n' in concurrently-executing code; this is an error in the Swift 6 language mode
760 |         case 14: o = result
761 |         case 15: p = result
/host/spi-builder-workspace/Sources/Utilities.swift:760:18: warning: mutation of captured var 'o' in concurrently-executing code; this is an error in the Swift 6 language mode
758 |         case 12: m = result
759 |         case 13: n = result
760 |         case 14: o = result
    |                  `- warning: mutation of captured var 'o' in concurrently-executing code; this is an error in the Swift 6 language mode
761 |         case 15: p = result
762 |         case 16: q = result
/host/spi-builder-workspace/Sources/Utilities.swift:761:18: warning: mutation of captured var 'p' in concurrently-executing code; this is an error in the Swift 6 language mode
759 |         case 13: n = result
760 |         case 14: o = result
761 |         case 15: p = result
    |                  `- warning: mutation of captured var 'p' in concurrently-executing code; this is an error in the Swift 6 language mode
762 |         case 16: q = result
763 |         case 17: r = result
/host/spi-builder-workspace/Sources/Utilities.swift:762:18: warning: mutation of captured var 'q' in concurrently-executing code; this is an error in the Swift 6 language mode
760 |         case 14: o = result
761 |         case 15: p = result
762 |         case 16: q = result
    |                  `- warning: mutation of captured var 'q' in concurrently-executing code; this is an error in the Swift 6 language mode
763 |         case 17: r = result
764 |         case 18: s = result
/host/spi-builder-workspace/Sources/Utilities.swift:763:18: warning: mutation of captured var 'r' in concurrently-executing code; this is an error in the Swift 6 language mode
761 |         case 15: p = result
762 |         case 16: q = result
763 |         case 17: r = result
    |                  `- warning: mutation of captured var 'r' in concurrently-executing code; this is an error in the Swift 6 language mode
764 |         case 18: s = result
765 |         case 19: t = result
/host/spi-builder-workspace/Sources/Utilities.swift:764:18: warning: mutation of captured var 's' in concurrently-executing code; this is an error in the Swift 6 language mode
762 |         case 16: q = result
763 |         case 17: r = result
764 |         case 18: s = result
    |                  `- warning: mutation of captured var 's' in concurrently-executing code; this is an error in the Swift 6 language mode
765 |         case 19: t = result
766 |         case 20: u = result
/host/spi-builder-workspace/Sources/Utilities.swift:765:18: warning: mutation of captured var 't' in concurrently-executing code; this is an error in the Swift 6 language mode
763 |         case 17: r = result
764 |         case 18: s = result
765 |         case 19: t = result
    |                  `- warning: mutation of captured var 't' in concurrently-executing code; this is an error in the Swift 6 language mode
766 |         case 20: u = result
767 |         case 21: v = result
/host/spi-builder-workspace/Sources/Utilities.swift:766:18: warning: mutation of captured var 'u' in concurrently-executing code; this is an error in the Swift 6 language mode
764 |         case 18: s = result
765 |         case 19: t = result
766 |         case 20: u = result
    |                  `- warning: mutation of captured var 'u' in concurrently-executing code; this is an error in the Swift 6 language mode
767 |         case 21: v = result
768 |         case 22: w = result
/host/spi-builder-workspace/Sources/Utilities.swift:767:18: warning: mutation of captured var 'v' in concurrently-executing code; this is an error in the Swift 6 language mode
765 |         case 19: t = result
766 |         case 20: u = result
767 |         case 21: v = result
    |                  `- warning: mutation of captured var 'v' in concurrently-executing code; this is an error in the Swift 6 language mode
768 |         case 22: w = result
769 |         case 23: x = result
/host/spi-builder-workspace/Sources/Utilities.swift:768:18: warning: mutation of captured var 'w' in concurrently-executing code; this is an error in the Swift 6 language mode
766 |         case 20: u = result
767 |         case 21: v = result
768 |         case 22: w = result
    |                  `- warning: mutation of captured var 'w' in concurrently-executing code; this is an error in the Swift 6 language mode
769 |         case 23: x = result
770 |         default: preconditionFailure()
/host/spi-builder-workspace/Sources/Utilities.swift:769:18: warning: mutation of captured var 'x' in concurrently-executing code; this is an error in the Swift 6 language mode
767 |         case 21: v = result
768 |         case 22: w = result
769 |         case 23: x = result
    |                  `- warning: mutation of captured var 'x' in concurrently-executing code; this is an error in the Swift 6 language mode
770 |         default: preconditionFailure()
771 |         }
[18/38] Compiling Euclid Polygon.swift
/host/spi-builder-workspace/Sources/Polygon.swift:122: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
 120 |
 121 |     /// Supported `NSSecureCodable` Material base classes.
 122 |     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: add '@MainActor' to make static property 'codableClasses' part of global actor 'MainActor'
     |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 123 |         #if canImport(AppKit) || canImport(UIKit)
 124 |         return [OSImage.self, OSColor.self] + scnMaterialTypes
[19/38] Compiling Euclid Quaternion.swift
/host/spi-builder-workspace/Sources/Polygon.swift:122: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
 120 |
 121 |     /// Supported `NSSecureCodable` Material base classes.
 122 |     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: add '@MainActor' to make static property 'codableClasses' part of global actor 'MainActor'
     |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 123 |         #if canImport(AppKit) || canImport(UIKit)
 124 |         return [OSImage.self, OSColor.self] + scnMaterialTypes
[20/38] Compiling Euclid Rotation.swift
/host/spi-builder-workspace/Sources/Polygon.swift:122: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
 120 |
 121 |     /// Supported `NSSecureCodable` Material base classes.
 122 |     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: add '@MainActor' to make static property 'codableClasses' part of global actor 'MainActor'
     |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 123 |         #if canImport(AppKit) || canImport(UIKit)
 124 |         return [OSImage.self, OSColor.self] + scnMaterialTypes
[21/38] Compiling Euclid Stretchable.swift
/host/spi-builder-workspace/Sources/Polygon.swift:122: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
 120 |
 121 |     /// Supported `NSSecureCodable` Material base classes.
 122 |     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: add '@MainActor' to make static property 'codableClasses' part of global actor 'MainActor'
     |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 123 |         #if canImport(AppKit) || canImport(UIKit)
 124 |         return [OSImage.self, OSColor.self] + scnMaterialTypes
[22/38] Compiling Euclid Path.swift
[23/38] Compiling Euclid PathPoint.swift
[24/38] Compiling Euclid Plane.swift
[25/38] Compiling Euclid Polygon+CSG.swift
[26/38] Compiling Euclid Mesh+Shapes.swift
[27/38] Compiling Euclid Mesh+Texcoords.swift
[28/38] Compiling Euclid Mesh.swift
[29/38] Compiling Euclid Path+Shapes.swift
[30/38] Compiling Euclid Mesh+CSG.swift
/host/spi-builder-workspace/Sources/Mesh+CSG.swift:591:17: warning: capture of 'op1' with non-sendable type '() -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
592 |         default: op2()
593 |         }
/host/spi-builder-workspace/Sources/Mesh+CSG.swift:592:18: warning: capture of 'op2' with non-sendable type '() -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
590 |         switch index {
591 |         case 0: op1()
592 |         default: op2()
    |                  |- warning: capture of 'op2' with non-sendable type '() -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
    |                  `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
593 |         }
594 |     }
[31/38] Compiling Euclid Mesh+IO.swift
/host/spi-builder-workspace/Sources/Mesh+CSG.swift:591:17: warning: capture of 'op1' with non-sendable type '() -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
592 |         default: op2()
593 |         }
/host/spi-builder-workspace/Sources/Mesh+CSG.swift:592:18: warning: capture of 'op2' with non-sendable type '() -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
590 |         switch index {
591 |         case 0: op1()
592 |         default: op2()
    |                  |- warning: capture of 'op2' with non-sendable type '() -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
    |                  `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
593 |         }
594 |     }
[32/38] Compiling Euclid Mesh+OBJ.swift
/host/spi-builder-workspace/Sources/Mesh+CSG.swift:591:17: warning: capture of 'op1' with non-sendable type '() -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
592 |         default: op2()
593 |         }
/host/spi-builder-workspace/Sources/Mesh+CSG.swift:592:18: warning: capture of 'op2' with non-sendable type '() -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
590 |         switch index {
591 |         case 0: op1()
592 |         default: op2()
    |                  |- warning: capture of 'op2' with non-sendable type '() -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
    |                  `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
593 |         }
594 |     }
[33/38] Compiling Euclid Mesh+STL.swift
/host/spi-builder-workspace/Sources/Mesh+CSG.swift:591:17: warning: capture of 'op1' with non-sendable type '() -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
592 |         default: op2()
593 |         }
/host/spi-builder-workspace/Sources/Mesh+CSG.swift:592:18: warning: capture of 'op2' with non-sendable type '() -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
590 |         switch index {
591 |         case 0: op1()
592 |         default: op2()
    |                  |- warning: capture of 'op2' with non-sendable type '() -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
    |                  `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
593 |         }
594 |     }
[34/38] Compiling Euclid Euclid+AppKit.swift
[35/38] Compiling Euclid Euclid+CoreGraphics.swift
[36/38] Compiling Euclid Euclid+CoreText.swift
[37/38] Compiling Euclid Euclid+RealityKit.swift
[38/38] Compiling Euclid Euclid+SIMD.swift
Build complete! (7.82s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Euclid",
  "name" : "Euclid",
  "path" : "/host/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",
        "Bounded.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"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:ba854000887cd0c27418c7bc304adc590345237c7003ebd31ba26cc8db085cf3
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.