The Swift Package Index logo.Swift Package Index

Build Information

Successful build of Euclid, reference 0.8.14 (0409ea), with Swift 6.1 for macOS (SPM) on 3 Jan 2026 14:41:25 UTC.

Swift 6 data race errors: 2

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nicklockwood/Euclid.git
Reference: 0.8.14
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/nicklockwood/Euclid
 * tag               0.8.14     -> FETCH_HEAD
HEAD is now at 0409eab Update for 0.8.14 release
Cloned https://github.com/nicklockwood/Euclid.git
Revision (git rev-parse @):
0409eab36ce4e726e5c66f8885500fb97b030994
SUCCESS checkout https://github.com/nicklockwood/Euclid.git at 0.8.14
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/nicklockwood/Euclid.git
https://github.com/nicklockwood/Euclid.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Euclid",
  "name" : "Euclid",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Euclid",
      "targets" : [
        "Euclid"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "EuclidTests",
      "module_type" : "SwiftTarget",
      "name" : "EuclidTests",
      "path" : "Tests",
      "sources" : [
        "AngleTests.swift",
        "BoundsTests.swift",
        "CGPathTests.swift",
        "CodingTests.swift",
        "DebugDescriptionTests.swift",
        "Euclid+Testing.swift",
        "LineSegmentCSGTests.swift",
        "LineSegmentTests.swift",
        "LineTests.swift",
        "MeshCSGTests.swift",
        "MeshExportTests.swift",
        "MeshImportTests.swift",
        "MeshLatheTests.swift",
        "MeshLoftTests.swift",
        "MeshShapeTests.swift",
        "MeshTests.swift",
        "MetadataTests.swift",
        "PathCSGTests.swift",
        "PathShapeTests.swift",
        "PathTests.swift",
        "PlaneTests.swift",
        "PolygonCSGTests.swift",
        "PolygonTests.swift",
        "RealityKitTests.swift",
        "RotationTests.swift",
        "SceneKitTests.swift",
        "StretchableTests.swift",
        "TextTests.swift",
        "TransformTests.swift",
        "UtilityTests.swift",
        "VectorTests.swift",
        "VertexSetTests.swift"
      ],
      "target_dependencies" : [
        "Euclid"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Euclid",
      "module_type" : "SwiftTarget",
      "name" : "Euclid",
      "path" : "Sources",
      "product_memberships" : [
        "Euclid"
      ],
      "sources" : [
        "Angle.swift",
        "ApproximateEquality.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",
        "Interpolatable.swift",
        "Line.swift",
        "LineComparable.swift",
        "LineSegment+CSG.swift",
        "LineSegment.swift",
        "Mesh+CSG.swift",
        "Mesh+IO.swift",
        "Mesh+OBJ.swift",
        "Mesh+OFF.swift",
        "Mesh+STL.swift",
        "Mesh+Shapes.swift",
        "Mesh+Texcoords.swift",
        "Mesh.swift",
        "Path+CSG.swift",
        "Path+Shapes.swift",
        "Path.swift",
        "PathPoint.swift",
        "Plane.swift",
        "PlaneComparable.swift",
        "PointComparable.swift",
        "Polygon+CSG.swift",
        "Polygon.swift",
        "Rotation.swift",
        "Stretchable.swift",
        "Transform.swift",
        "Transformable.swift",
        "Utilities.swift",
        "Vector.swift",
        "Vertex.swift",
        "VertexSet.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/42] Emitting module Euclid
/Users/admin/builder/spi-builder-workspace/Sources/Polygon.swift:147: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
 145 |
 146 |     /// Supported `NSSecureCodable` Material base classes.
 147 |     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
 148 |         #if canImport(AppKit) || canImport(UIKit)
 149 |         return [OSImage.self, OSColor.self] + scnMaterialTypes
/Users/admin/builder/spi-builder-workspace/Sources/Transform.swift:111: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
 34 | /// Working with intermediate transform objects instead of directly updating the vertex positions of a mesh
 35 | /// is more efficient and avoids a buildup of rounding errors.
 36 | public struct Transform: Hashable {
    |               `- note: consider making struct 'Transform' conform to the 'Sendable' protocol
 37 |     /// The size or scale component of the transform.
 38 |     public var scale: Vector {
    :
109 | public extension Transform {
110 |     /// The identity transform (i.e. no transform).
111 |     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
112 |
113 |     /// Creates a translation or position transform.
[4/46] Compiling Euclid Utilities.swift
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:836:22: warning: capture of 'fn' with non-sendable type '([T]) -> [U]' in a '@Sendable' closure
834 |     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]?
835 |     DispatchQueue.concurrentPerform(iterations: parts.count) { index in
836 |         let result = fn(parts[index])
    |                      |- warning: capture of 'fn' with non-sendable type '([T]) -> [U]' in a '@Sendable' closure
    |                      `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
837 |         switch index {
838 |         case 0: a = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:836:25: warning: capture of 'parts' with non-sendable type '[[T]]' in a '@Sendable' closure
816 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
817 |
818 | func batch<T, U>(
    |            `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
819 |     _ elements: [T],
820 |     stride minBatchSize: Int,
    :
834 |     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]?
835 |     DispatchQueue.concurrentPerform(iterations: parts.count) { index in
836 |         let result = fn(parts[index])
    |                         `- warning: capture of 'parts' with non-sendable type '[[T]]' in a '@Sendable' closure
837 |         switch index {
838 |         case 0: a = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:838:17: warning: capture of 'a' with non-sendable type '[U]?' in a '@Sendable' closure
816 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
817 |
818 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
819 |     _ elements: [T],
820 |     stride minBatchSize: Int,
    :
836 |         let result = fn(parts[index])
837 |         switch index {
838 |         case 0: a = result
    |                 `- warning: capture of 'a' with non-sendable type '[U]?' in a '@Sendable' closure
839 |         case 1: b = result
840 |         case 2: c = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:839:17: warning: capture of 'b' with non-sendable type '[U]?' in a '@Sendable' closure
816 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
817 |
818 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
819 |     _ elements: [T],
820 |     stride minBatchSize: Int,
    :
837 |         switch index {
838 |         case 0: a = result
839 |         case 1: b = result
    |                 `- warning: capture of 'b' with non-sendable type '[U]?' in a '@Sendable' closure
840 |         case 2: c = result
841 |         case 3: d = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:840:17: warning: capture of 'c' with non-sendable type '[U]?' in a '@Sendable' closure
816 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
817 |
818 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
819 |     _ elements: [T],
820 |     stride minBatchSize: Int,
    :
838 |         case 0: a = result
839 |         case 1: b = result
840 |         case 2: c = result
    |                 `- warning: capture of 'c' with non-sendable type '[U]?' in a '@Sendable' closure
841 |         case 3: d = result
842 |         case 4: e = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:841:17: warning: capture of 'd' with non-sendable type '[U]?' in a '@Sendable' closure
816 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
817 |
818 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
819 |     _ elements: [T],
820 |     stride minBatchSize: Int,
    :
839 |         case 1: b = result
840 |         case 2: c = result
841 |         case 3: d = result
    |                 `- warning: capture of 'd' with non-sendable type '[U]?' in a '@Sendable' closure
842 |         case 4: e = result
843 |         case 5: f = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:842:17: warning: capture of 'e' with non-sendable type '[U]?' in a '@Sendable' closure
816 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
817 |
818 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
819 |     _ elements: [T],
820 |     stride minBatchSize: Int,
    :
840 |         case 2: c = result
841 |         case 3: d = result
842 |         case 4: e = result
    |                 `- warning: capture of 'e' with non-sendable type '[U]?' in a '@Sendable' closure
843 |         case 5: f = result
844 |         case 6: g = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:843:17: warning: capture of 'f' with non-sendable type '[U]?' in a '@Sendable' closure
816 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
817 |
818 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
819 |     _ elements: [T],
820 |     stride minBatchSize: Int,
    :
841 |         case 3: d = result
842 |         case 4: e = result
843 |         case 5: f = result
    |                 `- warning: capture of 'f' with non-sendable type '[U]?' in a '@Sendable' closure
844 |         case 6: g = result
845 |         case 7: h = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:844:17: warning: capture of 'g' with non-sendable type '[U]?' in a '@Sendable' closure
816 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
817 |
818 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
819 |     _ elements: [T],
820 |     stride minBatchSize: Int,
    :
842 |         case 4: e = result
843 |         case 5: f = result
844 |         case 6: g = result
    |                 `- warning: capture of 'g' with non-sendable type '[U]?' in a '@Sendable' closure
845 |         case 7: h = result
846 |         case 8: i = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:845:17: warning: capture of 'h' with non-sendable type '[U]?' in a '@Sendable' closure
816 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
817 |
818 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
819 |     _ elements: [T],
820 |     stride minBatchSize: Int,
    :
843 |         case 5: f = result
844 |         case 6: g = result
845 |         case 7: h = result
    |                 `- warning: capture of 'h' with non-sendable type '[U]?' in a '@Sendable' closure
846 |         case 8: i = result
847 |         case 9: j = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:846:17: warning: capture of 'i' with non-sendable type '[U]?' in a '@Sendable' closure
816 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
817 |
818 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
819 |     _ elements: [T],
820 |     stride minBatchSize: Int,
    :
844 |         case 6: g = result
845 |         case 7: h = result
846 |         case 8: i = result
    |                 `- warning: capture of 'i' with non-sendable type '[U]?' in a '@Sendable' closure
847 |         case 9: j = result
848 |         case 10: k = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:847:17: warning: capture of 'j' with non-sendable type '[U]?' in a '@Sendable' closure
816 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
817 |
818 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
819 |     _ elements: [T],
820 |     stride minBatchSize: Int,
    :
845 |         case 7: h = result
846 |         case 8: i = result
847 |         case 9: j = result
    |                 `- warning: capture of 'j' with non-sendable type '[U]?' in a '@Sendable' closure
848 |         case 10: k = result
849 |         case 11: l = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:848:18: warning: capture of 'k' with non-sendable type '[U]?' in a '@Sendable' closure
816 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
817 |
818 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
819 |     _ elements: [T],
820 |     stride minBatchSize: Int,
    :
846 |         case 8: i = result
847 |         case 9: j = result
848 |         case 10: k = result
    |                  `- warning: capture of 'k' with non-sendable type '[U]?' in a '@Sendable' closure
849 |         case 11: l = result
850 |         case 12: m = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:849:18: warning: capture of 'l' with non-sendable type '[U]?' in a '@Sendable' closure
816 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
817 |
818 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
819 |     _ elements: [T],
820 |     stride minBatchSize: Int,
    :
847 |         case 9: j = result
848 |         case 10: k = result
849 |         case 11: l = result
    |                  `- warning: capture of 'l' with non-sendable type '[U]?' in a '@Sendable' closure
850 |         case 12: m = result
851 |         case 13: n = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:850:18: warning: capture of 'm' with non-sendable type '[U]?' in a '@Sendable' closure
816 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
817 |
818 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
819 |     _ elements: [T],
820 |     stride minBatchSize: Int,
    :
848 |         case 10: k = result
849 |         case 11: l = result
850 |         case 12: m = result
    |                  `- warning: capture of 'm' with non-sendable type '[U]?' in a '@Sendable' closure
851 |         case 13: n = result
852 |         case 14: o = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:851:18: warning: capture of 'n' with non-sendable type '[U]?' in a '@Sendable' closure
816 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
817 |
818 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
819 |     _ elements: [T],
820 |     stride minBatchSize: Int,
    :
849 |         case 11: l = result
850 |         case 12: m = result
851 |         case 13: n = result
    |                  `- warning: capture of 'n' with non-sendable type '[U]?' in a '@Sendable' closure
852 |         case 14: o = result
853 |         case 15: p = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:852:18: warning: capture of 'o' with non-sendable type '[U]?' in a '@Sendable' closure
816 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
817 |
818 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
819 |     _ elements: [T],
820 |     stride minBatchSize: Int,
    :
850 |         case 12: m = result
851 |         case 13: n = result
852 |         case 14: o = result
    |                  `- warning: capture of 'o' with non-sendable type '[U]?' in a '@Sendable' closure
853 |         case 15: p = result
854 |         case 16: q = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:853:18: warning: capture of 'p' with non-sendable type '[U]?' in a '@Sendable' closure
816 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
817 |
818 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
819 |     _ elements: [T],
820 |     stride minBatchSize: Int,
    :
851 |         case 13: n = result
852 |         case 14: o = result
853 |         case 15: p = result
    |                  `- warning: capture of 'p' with non-sendable type '[U]?' in a '@Sendable' closure
854 |         case 16: q = result
855 |         case 17: r = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:854:18: warning: capture of 'q' with non-sendable type '[U]?' in a '@Sendable' closure
816 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
817 |
818 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
819 |     _ elements: [T],
820 |     stride minBatchSize: Int,
    :
852 |         case 14: o = result
853 |         case 15: p = result
854 |         case 16: q = result
    |                  `- warning: capture of 'q' with non-sendable type '[U]?' in a '@Sendable' closure
855 |         case 17: r = result
856 |         case 18: s = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:855:18: warning: capture of 'r' with non-sendable type '[U]?' in a '@Sendable' closure
816 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
817 |
818 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
819 |     _ elements: [T],
820 |     stride minBatchSize: Int,
    :
853 |         case 15: p = result
854 |         case 16: q = result
855 |         case 17: r = result
    |                  `- warning: capture of 'r' with non-sendable type '[U]?' in a '@Sendable' closure
856 |         case 18: s = result
857 |         case 19: t = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:856:18: warning: capture of 's' with non-sendable type '[U]?' in a '@Sendable' closure
816 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
817 |
818 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
819 |     _ elements: [T],
820 |     stride minBatchSize: Int,
    :
854 |         case 16: q = result
855 |         case 17: r = result
856 |         case 18: s = result
    |                  `- warning: capture of 's' with non-sendable type '[U]?' in a '@Sendable' closure
857 |         case 19: t = result
858 |         case 20: u = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:857:18: warning: capture of 't' with non-sendable type '[U]?' in a '@Sendable' closure
816 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
817 |
818 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
819 |     _ elements: [T],
820 |     stride minBatchSize: Int,
    :
855 |         case 17: r = result
856 |         case 18: s = result
857 |         case 19: t = result
    |                  `- warning: capture of 't' with non-sendable type '[U]?' in a '@Sendable' closure
858 |         case 20: u = result
859 |         case 21: v = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:858:18: warning: capture of 'u' with non-sendable type '[U]?' in a '@Sendable' closure
816 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
817 |
818 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
819 |     _ elements: [T],
820 |     stride minBatchSize: Int,
    :
856 |         case 18: s = result
857 |         case 19: t = result
858 |         case 20: u = result
    |                  `- warning: capture of 'u' with non-sendable type '[U]?' in a '@Sendable' closure
859 |         case 21: v = result
860 |         case 22: w = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:859:18: warning: capture of 'v' with non-sendable type '[U]?' in a '@Sendable' closure
816 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
817 |
818 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
819 |     _ elements: [T],
820 |     stride minBatchSize: Int,
    :
857 |         case 19: t = result
858 |         case 20: u = result
859 |         case 21: v = result
    |                  `- warning: capture of 'v' with non-sendable type '[U]?' in a '@Sendable' closure
860 |         case 22: w = result
861 |         case 23: x = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:860:18: warning: capture of 'w' with non-sendable type '[U]?' in a '@Sendable' closure
816 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
817 |
818 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
819 |     _ elements: [T],
820 |     stride minBatchSize: Int,
    :
858 |         case 20: u = result
859 |         case 21: v = result
860 |         case 22: w = result
    |                  `- warning: capture of 'w' with non-sendable type '[U]?' in a '@Sendable' closure
861 |         case 23: x = result
862 |         default: preconditionFailure()
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:861:18: warning: capture of 'x' with non-sendable type '[U]?' in a '@Sendable' closure
816 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
817 |
818 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
819 |     _ elements: [T],
820 |     stride minBatchSize: Int,
    :
859 |         case 21: v = result
860 |         case 22: w = result
861 |         case 23: x = result
    |                  `- warning: capture of 'x' with non-sendable type '[U]?' in a '@Sendable' closure
862 |         default: preconditionFailure()
863 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:838:17: warning: mutation of captured var 'a' in concurrently-executing code
836 |         let result = fn(parts[index])
837 |         switch index {
838 |         case 0: a = result
    |                 `- warning: mutation of captured var 'a' in concurrently-executing code
839 |         case 1: b = result
840 |         case 2: c = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:839:17: warning: mutation of captured var 'b' in concurrently-executing code
837 |         switch index {
838 |         case 0: a = result
839 |         case 1: b = result
    |                 `- warning: mutation of captured var 'b' in concurrently-executing code
840 |         case 2: c = result
841 |         case 3: d = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:840:17: warning: mutation of captured var 'c' in concurrently-executing code
838 |         case 0: a = result
839 |         case 1: b = result
840 |         case 2: c = result
    |                 `- warning: mutation of captured var 'c' in concurrently-executing code
841 |         case 3: d = result
842 |         case 4: e = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:841:17: warning: mutation of captured var 'd' in concurrently-executing code
839 |         case 1: b = result
840 |         case 2: c = result
841 |         case 3: d = result
    |                 `- warning: mutation of captured var 'd' in concurrently-executing code
842 |         case 4: e = result
843 |         case 5: f = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:842:17: warning: mutation of captured var 'e' in concurrently-executing code
840 |         case 2: c = result
841 |         case 3: d = result
842 |         case 4: e = result
    |                 `- warning: mutation of captured var 'e' in concurrently-executing code
843 |         case 5: f = result
844 |         case 6: g = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:843:17: warning: mutation of captured var 'f' in concurrently-executing code
841 |         case 3: d = result
842 |         case 4: e = result
843 |         case 5: f = result
    |                 `- warning: mutation of captured var 'f' in concurrently-executing code
844 |         case 6: g = result
845 |         case 7: h = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:844:17: warning: mutation of captured var 'g' in concurrently-executing code
842 |         case 4: e = result
843 |         case 5: f = result
844 |         case 6: g = result
    |                 `- warning: mutation of captured var 'g' in concurrently-executing code
845 |         case 7: h = result
846 |         case 8: i = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:845:17: warning: mutation of captured var 'h' in concurrently-executing code
843 |         case 5: f = result
844 |         case 6: g = result
845 |         case 7: h = result
    |                 `- warning: mutation of captured var 'h' in concurrently-executing code
846 |         case 8: i = result
847 |         case 9: j = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:846:17: warning: mutation of captured var 'i' in concurrently-executing code
844 |         case 6: g = result
845 |         case 7: h = result
846 |         case 8: i = result
    |                 `- warning: mutation of captured var 'i' in concurrently-executing code
847 |         case 9: j = result
848 |         case 10: k = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:847:17: warning: mutation of captured var 'j' in concurrently-executing code
845 |         case 7: h = result
846 |         case 8: i = result
847 |         case 9: j = result
    |                 `- warning: mutation of captured var 'j' in concurrently-executing code
848 |         case 10: k = result
849 |         case 11: l = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:848:18: warning: mutation of captured var 'k' in concurrently-executing code
846 |         case 8: i = result
847 |         case 9: j = result
848 |         case 10: k = result
    |                  `- warning: mutation of captured var 'k' in concurrently-executing code
849 |         case 11: l = result
850 |         case 12: m = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:849:18: warning: mutation of captured var 'l' in concurrently-executing code
847 |         case 9: j = result
848 |         case 10: k = result
849 |         case 11: l = result
    |                  `- warning: mutation of captured var 'l' in concurrently-executing code
850 |         case 12: m = result
851 |         case 13: n = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:850:18: warning: mutation of captured var 'm' in concurrently-executing code
848 |         case 10: k = result
849 |         case 11: l = result
850 |         case 12: m = result
    |                  `- warning: mutation of captured var 'm' in concurrently-executing code
851 |         case 13: n = result
852 |         case 14: o = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:851:18: warning: mutation of captured var 'n' in concurrently-executing code
849 |         case 11: l = result
850 |         case 12: m = result
851 |         case 13: n = result
    |                  `- warning: mutation of captured var 'n' in concurrently-executing code
852 |         case 14: o = result
853 |         case 15: p = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:852:18: warning: mutation of captured var 'o' in concurrently-executing code
850 |         case 12: m = result
851 |         case 13: n = result
852 |         case 14: o = result
    |                  `- warning: mutation of captured var 'o' in concurrently-executing code
853 |         case 15: p = result
854 |         case 16: q = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:853:18: warning: mutation of captured var 'p' in concurrently-executing code
851 |         case 13: n = result
852 |         case 14: o = result
853 |         case 15: p = result
    |                  `- warning: mutation of captured var 'p' in concurrently-executing code
854 |         case 16: q = result
855 |         case 17: r = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:854:18: warning: mutation of captured var 'q' in concurrently-executing code
852 |         case 14: o = result
853 |         case 15: p = result
854 |         case 16: q = result
    |                  `- warning: mutation of captured var 'q' in concurrently-executing code
855 |         case 17: r = result
856 |         case 18: s = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:855:18: warning: mutation of captured var 'r' in concurrently-executing code
853 |         case 15: p = result
854 |         case 16: q = result
855 |         case 17: r = result
    |                  `- warning: mutation of captured var 'r' in concurrently-executing code
856 |         case 18: s = result
857 |         case 19: t = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:856:18: warning: mutation of captured var 's' in concurrently-executing code
854 |         case 16: q = result
855 |         case 17: r = result
856 |         case 18: s = result
    |                  `- warning: mutation of captured var 's' in concurrently-executing code
857 |         case 19: t = result
858 |         case 20: u = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:857:18: warning: mutation of captured var 't' in concurrently-executing code
855 |         case 17: r = result
856 |         case 18: s = result
857 |         case 19: t = result
    |                  `- warning: mutation of captured var 't' in concurrently-executing code
858 |         case 20: u = result
859 |         case 21: v = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:858:18: warning: mutation of captured var 'u' in concurrently-executing code
856 |         case 18: s = result
857 |         case 19: t = result
858 |         case 20: u = result
    |                  `- warning: mutation of captured var 'u' in concurrently-executing code
859 |         case 21: v = result
860 |         case 22: w = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:859:18: warning: mutation of captured var 'v' in concurrently-executing code
857 |         case 19: t = result
858 |         case 20: u = result
859 |         case 21: v = result
    |                  `- warning: mutation of captured var 'v' in concurrently-executing code
860 |         case 22: w = result
861 |         case 23: x = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:860:18: warning: mutation of captured var 'w' in concurrently-executing code
858 |         case 20: u = result
859 |         case 21: v = result
860 |         case 22: w = result
    |                  `- warning: mutation of captured var 'w' in concurrently-executing code
861 |         case 23: x = result
862 |         default: preconditionFailure()
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:861:18: warning: mutation of captured var 'x' in concurrently-executing code
859 |         case 21: v = result
860 |         case 22: w = result
861 |         case 23: x = result
    |                  `- warning: mutation of captured var 'x' in concurrently-executing code
862 |         default: preconditionFailure()
863 |         }
[5/46] Compiling Euclid Vector.swift
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:836:22: warning: capture of 'fn' with non-sendable type '([T]) -> [U]' in a '@Sendable' closure
834 |     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]?
835 |     DispatchQueue.concurrentPerform(iterations: parts.count) { index in
836 |         let result = fn(parts[index])
    |                      |- warning: capture of 'fn' with non-sendable type '([T]) -> [U]' in a '@Sendable' closure
    |                      `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
837 |         switch index {
838 |         case 0: a = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:836:25: warning: capture of 'parts' with non-sendable type '[[T]]' in a '@Sendable' closure
816 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
817 |
818 | func batch<T, U>(
    |            `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
819 |     _ elements: [T],
820 |     stride minBatchSize: Int,
    :
834 |     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]?
835 |     DispatchQueue.concurrentPerform(iterations: parts.count) { index in
836 |         let result = fn(parts[index])
    |                         `- warning: capture of 'parts' with non-sendable type '[[T]]' in a '@Sendable' closure
837 |         switch index {
838 |         case 0: a = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:838:17: warning: capture of 'a' with non-sendable type '[U]?' in a '@Sendable' closure
816 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
817 |
818 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
819 |     _ elements: [T],
820 |     stride minBatchSize: Int,
    :
836 |         let result = fn(parts[index])
837 |         switch index {
838 |         case 0: a = result
    |                 `- warning: capture of 'a' with non-sendable type '[U]?' in a '@Sendable' closure
839 |         case 1: b = result
840 |         case 2: c = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:839:17: warning: capture of 'b' with non-sendable type '[U]?' in a '@Sendable' closure
816 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
817 |
818 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
819 |     _ elements: [T],
820 |     stride minBatchSize: Int,
    :
837 |         switch index {
838 |         case 0: a = result
839 |         case 1: b = result
    |                 `- warning: capture of 'b' with non-sendable type '[U]?' in a '@Sendable' closure
840 |         case 2: c = result
841 |         case 3: d = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:840:17: warning: capture of 'c' with non-sendable type '[U]?' in a '@Sendable' closure
816 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
817 |
818 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
819 |     _ elements: [T],
820 |     stride minBatchSize: Int,
    :
838 |         case 0: a = result
839 |         case 1: b = result
840 |         case 2: c = result
    |                 `- warning: capture of 'c' with non-sendable type '[U]?' in a '@Sendable' closure
841 |         case 3: d = result
842 |         case 4: e = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:841:17: warning: capture of 'd' with non-sendable type '[U]?' in a '@Sendable' closure
816 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
817 |
818 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
819 |     _ elements: [T],
820 |     stride minBatchSize: Int,
    :
839 |         case 1: b = result
840 |         case 2: c = result
841 |         case 3: d = result
    |                 `- warning: capture of 'd' with non-sendable type '[U]?' in a '@Sendable' closure
842 |         case 4: e = result
843 |         case 5: f = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:842:17: warning: capture of 'e' with non-sendable type '[U]?' in a '@Sendable' closure
816 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
817 |
818 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
819 |     _ elements: [T],
820 |     stride minBatchSize: Int,
    :
840 |         case 2: c = result
841 |         case 3: d = result
842 |         case 4: e = result
    |                 `- warning: capture of 'e' with non-sendable type '[U]?' in a '@Sendable' closure
843 |         case 5: f = result
844 |         case 6: g = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:843:17: warning: capture of 'f' with non-sendable type '[U]?' in a '@Sendable' closure
816 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
817 |
818 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
819 |     _ elements: [T],
820 |     stride minBatchSize: Int,
    :
841 |         case 3: d = result
842 |         case 4: e = result
843 |         case 5: f = result
    |                 `- warning: capture of 'f' with non-sendable type '[U]?' in a '@Sendable' closure
844 |         case 6: g = result
845 |         case 7: h = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:844:17: warning: capture of 'g' with non-sendable type '[U]?' in a '@Sendable' closure
816 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
817 |
818 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
819 |     _ elements: [T],
820 |     stride minBatchSize: Int,
    :
842 |         case 4: e = result
843 |         case 5: f = result
844 |         case 6: g = result
    |                 `- warning: capture of 'g' with non-sendable type '[U]?' in a '@Sendable' closure
845 |         case 7: h = result
846 |         case 8: i = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:845:17: warning: capture of 'h' with non-sendable type '[U]?' in a '@Sendable' closure
816 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
817 |
818 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
819 |     _ elements: [T],
820 |     stride minBatchSize: Int,
    :
843 |         case 5: f = result
844 |         case 6: g = result
845 |         case 7: h = result
    |                 `- warning: capture of 'h' with non-sendable type '[U]?' in a '@Sendable' closure
846 |         case 8: i = result
847 |         case 9: j = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:846:17: warning: capture of 'i' with non-sendable type '[U]?' in a '@Sendable' closure
816 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
817 |
818 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
819 |     _ elements: [T],
820 |     stride minBatchSize: Int,
    :
844 |         case 6: g = result
845 |         case 7: h = result
846 |         case 8: i = result
    |                 `- warning: capture of 'i' with non-sendable type '[U]?' in a '@Sendable' closure
847 |         case 9: j = result
848 |         case 10: k = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:847:17: warning: capture of 'j' with non-sendable type '[U]?' in a '@Sendable' closure
816 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
817 |
818 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
819 |     _ elements: [T],
820 |     stride minBatchSize: Int,
    :
845 |         case 7: h = result
846 |         case 8: i = result
847 |         case 9: j = result
    |                 `- warning: capture of 'j' with non-sendable type '[U]?' in a '@Sendable' closure
848 |         case 10: k = result
849 |         case 11: l = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:848:18: warning: capture of 'k' with non-sendable type '[U]?' in a '@Sendable' closure
816 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
817 |
818 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
819 |     _ elements: [T],
820 |     stride minBatchSize: Int,
    :
846 |         case 8: i = result
847 |         case 9: j = result
848 |         case 10: k = result
    |                  `- warning: capture of 'k' with non-sendable type '[U]?' in a '@Sendable' closure
849 |         case 11: l = result
850 |         case 12: m = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:849:18: warning: capture of 'l' with non-sendable type '[U]?' in a '@Sendable' closure
816 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
817 |
818 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
819 |     _ elements: [T],
820 |     stride minBatchSize: Int,
    :
847 |         case 9: j = result
848 |         case 10: k = result
849 |         case 11: l = result
    |                  `- warning: capture of 'l' with non-sendable type '[U]?' in a '@Sendable' closure
850 |         case 12: m = result
851 |         case 13: n = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:850:18: warning: capture of 'm' with non-sendable type '[U]?' in a '@Sendable' closure
816 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
817 |
818 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
819 |     _ elements: [T],
820 |     stride minBatchSize: Int,
    :
848 |         case 10: k = result
849 |         case 11: l = result
850 |         case 12: m = result
    |                  `- warning: capture of 'm' with non-sendable type '[U]?' in a '@Sendable' closure
851 |         case 13: n = result
852 |         case 14: o = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:851:18: warning: capture of 'n' with non-sendable type '[U]?' in a '@Sendable' closure
816 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
817 |
818 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
819 |     _ elements: [T],
820 |     stride minBatchSize: Int,
    :
849 |         case 11: l = result
850 |         case 12: m = result
851 |         case 13: n = result
    |                  `- warning: capture of 'n' with non-sendable type '[U]?' in a '@Sendable' closure
852 |         case 14: o = result
853 |         case 15: p = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:852:18: warning: capture of 'o' with non-sendable type '[U]?' in a '@Sendable' closure
816 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
817 |
818 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
819 |     _ elements: [T],
820 |     stride minBatchSize: Int,
    :
850 |         case 12: m = result
851 |         case 13: n = result
852 |         case 14: o = result
    |                  `- warning: capture of 'o' with non-sendable type '[U]?' in a '@Sendable' closure
853 |         case 15: p = result
854 |         case 16: q = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:853:18: warning: capture of 'p' with non-sendable type '[U]?' in a '@Sendable' closure
816 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
817 |
818 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
819 |     _ elements: [T],
820 |     stride minBatchSize: Int,
    :
851 |         case 13: n = result
852 |         case 14: o = result
853 |         case 15: p = result
    |                  `- warning: capture of 'p' with non-sendable type '[U]?' in a '@Sendable' closure
854 |         case 16: q = result
855 |         case 17: r = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:854:18: warning: capture of 'q' with non-sendable type '[U]?' in a '@Sendable' closure
816 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
817 |
818 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
819 |     _ elements: [T],
820 |     stride minBatchSize: Int,
    :
852 |         case 14: o = result
853 |         case 15: p = result
854 |         case 16: q = result
    |                  `- warning: capture of 'q' with non-sendable type '[U]?' in a '@Sendable' closure
855 |         case 17: r = result
856 |         case 18: s = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:855:18: warning: capture of 'r' with non-sendable type '[U]?' in a '@Sendable' closure
816 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
817 |
818 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
819 |     _ elements: [T],
820 |     stride minBatchSize: Int,
    :
853 |         case 15: p = result
854 |         case 16: q = result
855 |         case 17: r = result
    |                  `- warning: capture of 'r' with non-sendable type '[U]?' in a '@Sendable' closure
856 |         case 18: s = result
857 |         case 19: t = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:856:18: warning: capture of 's' with non-sendable type '[U]?' in a '@Sendable' closure
816 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
817 |
818 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
819 |     _ elements: [T],
820 |     stride minBatchSize: Int,
    :
854 |         case 16: q = result
855 |         case 17: r = result
856 |         case 18: s = result
    |                  `- warning: capture of 's' with non-sendable type '[U]?' in a '@Sendable' closure
857 |         case 19: t = result
858 |         case 20: u = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:857:18: warning: capture of 't' with non-sendable type '[U]?' in a '@Sendable' closure
816 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
817 |
818 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
819 |     _ elements: [T],
820 |     stride minBatchSize: Int,
    :
855 |         case 17: r = result
856 |         case 18: s = result
857 |         case 19: t = result
    |                  `- warning: capture of 't' with non-sendable type '[U]?' in a '@Sendable' closure
858 |         case 20: u = result
859 |         case 21: v = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:858:18: warning: capture of 'u' with non-sendable type '[U]?' in a '@Sendable' closure
816 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
817 |
818 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
819 |     _ elements: [T],
820 |     stride minBatchSize: Int,
    :
856 |         case 18: s = result
857 |         case 19: t = result
858 |         case 20: u = result
    |                  `- warning: capture of 'u' with non-sendable type '[U]?' in a '@Sendable' closure
859 |         case 21: v = result
860 |         case 22: w = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:859:18: warning: capture of 'v' with non-sendable type '[U]?' in a '@Sendable' closure
816 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
817 |
818 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
819 |     _ elements: [T],
820 |     stride minBatchSize: Int,
    :
857 |         case 19: t = result
858 |         case 20: u = result
859 |         case 21: v = result
    |                  `- warning: capture of 'v' with non-sendable type '[U]?' in a '@Sendable' closure
860 |         case 22: w = result
861 |         case 23: x = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:860:18: warning: capture of 'w' with non-sendable type '[U]?' in a '@Sendable' closure
816 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
817 |
818 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
819 |     _ elements: [T],
820 |     stride minBatchSize: Int,
    :
858 |         case 20: u = result
859 |         case 21: v = result
860 |         case 22: w = result
    |                  `- warning: capture of 'w' with non-sendable type '[U]?' in a '@Sendable' closure
861 |         case 23: x = result
862 |         default: preconditionFailure()
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:861:18: warning: capture of 'x' with non-sendable type '[U]?' in a '@Sendable' closure
816 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
817 |
818 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
819 |     _ elements: [T],
820 |     stride minBatchSize: Int,
    :
859 |         case 21: v = result
860 |         case 22: w = result
861 |         case 23: x = result
    |                  `- warning: capture of 'x' with non-sendable type '[U]?' in a '@Sendable' closure
862 |         default: preconditionFailure()
863 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:838:17: warning: mutation of captured var 'a' in concurrently-executing code
836 |         let result = fn(parts[index])
837 |         switch index {
838 |         case 0: a = result
    |                 `- warning: mutation of captured var 'a' in concurrently-executing code
839 |         case 1: b = result
840 |         case 2: c = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:839:17: warning: mutation of captured var 'b' in concurrently-executing code
837 |         switch index {
838 |         case 0: a = result
839 |         case 1: b = result
    |                 `- warning: mutation of captured var 'b' in concurrently-executing code
840 |         case 2: c = result
841 |         case 3: d = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:840:17: warning: mutation of captured var 'c' in concurrently-executing code
838 |         case 0: a = result
839 |         case 1: b = result
840 |         case 2: c = result
    |                 `- warning: mutation of captured var 'c' in concurrently-executing code
841 |         case 3: d = result
842 |         case 4: e = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:841:17: warning: mutation of captured var 'd' in concurrently-executing code
839 |         case 1: b = result
840 |         case 2: c = result
841 |         case 3: d = result
    |                 `- warning: mutation of captured var 'd' in concurrently-executing code
842 |         case 4: e = result
843 |         case 5: f = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:842:17: warning: mutation of captured var 'e' in concurrently-executing code
840 |         case 2: c = result
841 |         case 3: d = result
842 |         case 4: e = result
    |                 `- warning: mutation of captured var 'e' in concurrently-executing code
843 |         case 5: f = result
844 |         case 6: g = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:843:17: warning: mutation of captured var 'f' in concurrently-executing code
841 |         case 3: d = result
842 |         case 4: e = result
843 |         case 5: f = result
    |                 `- warning: mutation of captured var 'f' in concurrently-executing code
844 |         case 6: g = result
845 |         case 7: h = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:844:17: warning: mutation of captured var 'g' in concurrently-executing code
842 |         case 4: e = result
843 |         case 5: f = result
844 |         case 6: g = result
    |                 `- warning: mutation of captured var 'g' in concurrently-executing code
845 |         case 7: h = result
846 |         case 8: i = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:845:17: warning: mutation of captured var 'h' in concurrently-executing code
843 |         case 5: f = result
844 |         case 6: g = result
845 |         case 7: h = result
    |                 `- warning: mutation of captured var 'h' in concurrently-executing code
846 |         case 8: i = result
847 |         case 9: j = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:846:17: warning: mutation of captured var 'i' in concurrently-executing code
844 |         case 6: g = result
845 |         case 7: h = result
846 |         case 8: i = result
    |                 `- warning: mutation of captured var 'i' in concurrently-executing code
847 |         case 9: j = result
848 |         case 10: k = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:847:17: warning: mutation of captured var 'j' in concurrently-executing code
845 |         case 7: h = result
846 |         case 8: i = result
847 |         case 9: j = result
    |                 `- warning: mutation of captured var 'j' in concurrently-executing code
848 |         case 10: k = result
849 |         case 11: l = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:848:18: warning: mutation of captured var 'k' in concurrently-executing code
846 |         case 8: i = result
847 |         case 9: j = result
848 |         case 10: k = result
    |                  `- warning: mutation of captured var 'k' in concurrently-executing code
849 |         case 11: l = result
850 |         case 12: m = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:849:18: warning: mutation of captured var 'l' in concurrently-executing code
847 |         case 9: j = result
848 |         case 10: k = result
849 |         case 11: l = result
    |                  `- warning: mutation of captured var 'l' in concurrently-executing code
850 |         case 12: m = result
851 |         case 13: n = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:850:18: warning: mutation of captured var 'm' in concurrently-executing code
848 |         case 10: k = result
849 |         case 11: l = result
850 |         case 12: m = result
    |                  `- warning: mutation of captured var 'm' in concurrently-executing code
851 |         case 13: n = result
852 |         case 14: o = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:851:18: warning: mutation of captured var 'n' in concurrently-executing code
849 |         case 11: l = result
850 |         case 12: m = result
851 |         case 13: n = result
    |                  `- warning: mutation of captured var 'n' in concurrently-executing code
852 |         case 14: o = result
853 |         case 15: p = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:852:18: warning: mutation of captured var 'o' in concurrently-executing code
850 |         case 12: m = result
851 |         case 13: n = result
852 |         case 14: o = result
    |                  `- warning: mutation of captured var 'o' in concurrently-executing code
853 |         case 15: p = result
854 |         case 16: q = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:853:18: warning: mutation of captured var 'p' in concurrently-executing code
851 |         case 13: n = result
852 |         case 14: o = result
853 |         case 15: p = result
    |                  `- warning: mutation of captured var 'p' in concurrently-executing code
854 |         case 16: q = result
855 |         case 17: r = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:854:18: warning: mutation of captured var 'q' in concurrently-executing code
852 |         case 14: o = result
853 |         case 15: p = result
854 |         case 16: q = result
    |                  `- warning: mutation of captured var 'q' in concurrently-executing code
855 |         case 17: r = result
856 |         case 18: s = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:855:18: warning: mutation of captured var 'r' in concurrently-executing code
853 |         case 15: p = result
854 |         case 16: q = result
855 |         case 17: r = result
    |                  `- warning: mutation of captured var 'r' in concurrently-executing code
856 |         case 18: s = result
857 |         case 19: t = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:856:18: warning: mutation of captured var 's' in concurrently-executing code
854 |         case 16: q = result
855 |         case 17: r = result
856 |         case 18: s = result
    |                  `- warning: mutation of captured var 's' in concurrently-executing code
857 |         case 19: t = result
858 |         case 20: u = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:857:18: warning: mutation of captured var 't' in concurrently-executing code
855 |         case 17: r = result
856 |         case 18: s = result
857 |         case 19: t = result
    |                  `- warning: mutation of captured var 't' in concurrently-executing code
858 |         case 20: u = result
859 |         case 21: v = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:858:18: warning: mutation of captured var 'u' in concurrently-executing code
856 |         case 18: s = result
857 |         case 19: t = result
858 |         case 20: u = result
    |                  `- warning: mutation of captured var 'u' in concurrently-executing code
859 |         case 21: v = result
860 |         case 22: w = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:859:18: warning: mutation of captured var 'v' in concurrently-executing code
857 |         case 19: t = result
858 |         case 20: u = result
859 |         case 21: v = result
    |                  `- warning: mutation of captured var 'v' in concurrently-executing code
860 |         case 22: w = result
861 |         case 23: x = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:860:18: warning: mutation of captured var 'w' in concurrently-executing code
858 |         case 20: u = result
859 |         case 21: v = result
860 |         case 22: w = result
    |                  `- warning: mutation of captured var 'w' in concurrently-executing code
861 |         case 23: x = result
862 |         default: preconditionFailure()
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:861:18: warning: mutation of captured var 'x' in concurrently-executing code
859 |         case 21: v = result
860 |         case 22: w = result
861 |         case 23: x = result
    |                  `- warning: mutation of captured var 'x' in concurrently-executing code
862 |         default: preconditionFailure()
863 |         }
[6/46] Compiling Euclid Vertex.swift
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:836:22: warning: capture of 'fn' with non-sendable type '([T]) -> [U]' in a '@Sendable' closure
834 |     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]?
835 |     DispatchQueue.concurrentPerform(iterations: parts.count) { index in
836 |         let result = fn(parts[index])
    |                      |- warning: capture of 'fn' with non-sendable type '([T]) -> [U]' in a '@Sendable' closure
    |                      `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
837 |         switch index {
838 |         case 0: a = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:836:25: warning: capture of 'parts' with non-sendable type '[[T]]' in a '@Sendable' closure
816 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
817 |
818 | func batch<T, U>(
    |            `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
819 |     _ elements: [T],
820 |     stride minBatchSize: Int,
    :
834 |     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]?
835 |     DispatchQueue.concurrentPerform(iterations: parts.count) { index in
836 |         let result = fn(parts[index])
    |                         `- warning: capture of 'parts' with non-sendable type '[[T]]' in a '@Sendable' closure
837 |         switch index {
838 |         case 0: a = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:838:17: warning: capture of 'a' with non-sendable type '[U]?' in a '@Sendable' closure
816 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
817 |
818 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
819 |     _ elements: [T],
820 |     stride minBatchSize: Int,
    :
836 |         let result = fn(parts[index])
837 |         switch index {
838 |         case 0: a = result
    |                 `- warning: capture of 'a' with non-sendable type '[U]?' in a '@Sendable' closure
839 |         case 1: b = result
840 |         case 2: c = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:839:17: warning: capture of 'b' with non-sendable type '[U]?' in a '@Sendable' closure
816 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
817 |
818 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
819 |     _ elements: [T],
820 |     stride minBatchSize: Int,
    :
837 |         switch index {
838 |         case 0: a = result
839 |         case 1: b = result
    |                 `- warning: capture of 'b' with non-sendable type '[U]?' in a '@Sendable' closure
840 |         case 2: c = result
841 |         case 3: d = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:840:17: warning: capture of 'c' with non-sendable type '[U]?' in a '@Sendable' closure
816 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
817 |
818 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
819 |     _ elements: [T],
820 |     stride minBatchSize: Int,
    :
838 |         case 0: a = result
839 |         case 1: b = result
840 |         case 2: c = result
    |                 `- warning: capture of 'c' with non-sendable type '[U]?' in a '@Sendable' closure
841 |         case 3: d = result
842 |         case 4: e = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:841:17: warning: capture of 'd' with non-sendable type '[U]?' in a '@Sendable' closure
816 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
817 |
818 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
819 |     _ elements: [T],
820 |     stride minBatchSize: Int,
    :
839 |         case 1: b = result
840 |         case 2: c = result
841 |         case 3: d = result
    |                 `- warning: capture of 'd' with non-sendable type '[U]?' in a '@Sendable' closure
842 |         case 4: e = result
843 |         case 5: f = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:842:17: warning: capture of 'e' with non-sendable type '[U]?' in a '@Sendable' closure
816 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
817 |
818 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
819 |     _ elements: [T],
820 |     stride minBatchSize: Int,
    :
840 |         case 2: c = result
841 |         case 3: d = result
842 |         case 4: e = result
    |                 `- warning: capture of 'e' with non-sendable type '[U]?' in a '@Sendable' closure
843 |         case 5: f = result
844 |         case 6: g = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:843:17: warning: capture of 'f' with non-sendable type '[U]?' in a '@Sendable' closure
816 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
817 |
818 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
819 |     _ elements: [T],
820 |     stride minBatchSize: Int,
    :
841 |         case 3: d = result
842 |         case 4: e = result
843 |         case 5: f = result
    |                 `- warning: capture of 'f' with non-sendable type '[U]?' in a '@Sendable' closure
844 |         case 6: g = result
845 |         case 7: h = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:844:17: warning: capture of 'g' with non-sendable type '[U]?' in a '@Sendable' closure
816 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
817 |
818 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
819 |     _ elements: [T],
820 |     stride minBatchSize: Int,
    :
842 |         case 4: e = result
843 |         case 5: f = result
844 |         case 6: g = result
    |                 `- warning: capture of 'g' with non-sendable type '[U]?' in a '@Sendable' closure
845 |         case 7: h = result
846 |         case 8: i = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:845:17: warning: capture of 'h' with non-sendable type '[U]?' in a '@Sendable' closure
816 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
817 |
818 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
819 |     _ elements: [T],
820 |     stride minBatchSize: Int,
    :
843 |         case 5: f = result
844 |         case 6: g = result
845 |         case 7: h = result
    |                 `- warning: capture of 'h' with non-sendable type '[U]?' in a '@Sendable' closure
846 |         case 8: i = result
847 |         case 9: j = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:846:17: warning: capture of 'i' with non-sendable type '[U]?' in a '@Sendable' closure
816 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
817 |
818 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
819 |     _ elements: [T],
820 |     stride minBatchSize: Int,
    :
844 |         case 6: g = result
845 |         case 7: h = result
846 |         case 8: i = result
    |                 `- warning: capture of 'i' with non-sendable type '[U]?' in a '@Sendable' closure
847 |         case 9: j = result
848 |         case 10: k = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:847:17: warning: capture of 'j' with non-sendable type '[U]?' in a '@Sendable' closure
816 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
817 |
818 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
819 |     _ elements: [T],
820 |     stride minBatchSize: Int,
    :
845 |         case 7: h = result
846 |         case 8: i = result
847 |         case 9: j = result
    |                 `- warning: capture of 'j' with non-sendable type '[U]?' in a '@Sendable' closure
848 |         case 10: k = result
849 |         case 11: l = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:848:18: warning: capture of 'k' with non-sendable type '[U]?' in a '@Sendable' closure
816 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
817 |
818 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
819 |     _ elements: [T],
820 |     stride minBatchSize: Int,
    :
846 |         case 8: i = result
847 |         case 9: j = result
848 |         case 10: k = result
    |                  `- warning: capture of 'k' with non-sendable type '[U]?' in a '@Sendable' closure
849 |         case 11: l = result
850 |         case 12: m = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:849:18: warning: capture of 'l' with non-sendable type '[U]?' in a '@Sendable' closure
816 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
817 |
818 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
819 |     _ elements: [T],
820 |     stride minBatchSize: Int,
    :
847 |         case 9: j = result
848 |         case 10: k = result
849 |         case 11: l = result
    |                  `- warning: capture of 'l' with non-sendable type '[U]?' in a '@Sendable' closure
850 |         case 12: m = result
851 |         case 13: n = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:850:18: warning: capture of 'm' with non-sendable type '[U]?' in a '@Sendable' closure
816 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
817 |
818 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
819 |     _ elements: [T],
820 |     stride minBatchSize: Int,
    :
848 |         case 10: k = result
849 |         case 11: l = result
850 |         case 12: m = result
    |                  `- warning: capture of 'm' with non-sendable type '[U]?' in a '@Sendable' closure
851 |         case 13: n = result
852 |         case 14: o = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:851:18: warning: capture of 'n' with non-sendable type '[U]?' in a '@Sendable' closure
816 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
817 |
818 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
819 |     _ elements: [T],
820 |     stride minBatchSize: Int,
    :
849 |         case 11: l = result
850 |         case 12: m = result
851 |         case 13: n = result
    |                  `- warning: capture of 'n' with non-sendable type '[U]?' in a '@Sendable' closure
852 |         case 14: o = result
853 |         case 15: p = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:852:18: warning: capture of 'o' with non-sendable type '[U]?' in a '@Sendable' closure
816 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
817 |
818 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
819 |     _ elements: [T],
820 |     stride minBatchSize: Int,
    :
850 |         case 12: m = result
851 |         case 13: n = result
852 |         case 14: o = result
    |                  `- warning: capture of 'o' with non-sendable type '[U]?' in a '@Sendable' closure
853 |         case 15: p = result
854 |         case 16: q = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:853:18: warning: capture of 'p' with non-sendable type '[U]?' in a '@Sendable' closure
816 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
817 |
818 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
819 |     _ elements: [T],
820 |     stride minBatchSize: Int,
    :
851 |         case 13: n = result
852 |         case 14: o = result
853 |         case 15: p = result
    |                  `- warning: capture of 'p' with non-sendable type '[U]?' in a '@Sendable' closure
854 |         case 16: q = result
855 |         case 17: r = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:854:18: warning: capture of 'q' with non-sendable type '[U]?' in a '@Sendable' closure
816 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
817 |
818 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
819 |     _ elements: [T],
820 |     stride minBatchSize: Int,
    :
852 |         case 14: o = result
853 |         case 15: p = result
854 |         case 16: q = result
    |                  `- warning: capture of 'q' with non-sendable type '[U]?' in a '@Sendable' closure
855 |         case 17: r = result
856 |         case 18: s = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:855:18: warning: capture of 'r' with non-sendable type '[U]?' in a '@Sendable' closure
816 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
817 |
818 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
819 |     _ elements: [T],
820 |     stride minBatchSize: Int,
    :
853 |         case 15: p = result
854 |         case 16: q = result
855 |         case 17: r = result
    |                  `- warning: capture of 'r' with non-sendable type '[U]?' in a '@Sendable' closure
856 |         case 18: s = result
857 |         case 19: t = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:856:18: warning: capture of 's' with non-sendable type '[U]?' in a '@Sendable' closure
816 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
817 |
818 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
819 |     _ elements: [T],
820 |     stride minBatchSize: Int,
    :
854 |         case 16: q = result
855 |         case 17: r = result
856 |         case 18: s = result
    |                  `- warning: capture of 's' with non-sendable type '[U]?' in a '@Sendable' closure
857 |         case 19: t = result
858 |         case 20: u = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:857:18: warning: capture of 't' with non-sendable type '[U]?' in a '@Sendable' closure
816 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
817 |
818 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
819 |     _ elements: [T],
820 |     stride minBatchSize: Int,
    :
855 |         case 17: r = result
856 |         case 18: s = result
857 |         case 19: t = result
    |                  `- warning: capture of 't' with non-sendable type '[U]?' in a '@Sendable' closure
858 |         case 20: u = result
859 |         case 21: v = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:858:18: warning: capture of 'u' with non-sendable type '[U]?' in a '@Sendable' closure
816 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
817 |
818 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
819 |     _ elements: [T],
820 |     stride minBatchSize: Int,
    :
856 |         case 18: s = result
857 |         case 19: t = result
858 |         case 20: u = result
    |                  `- warning: capture of 'u' with non-sendable type '[U]?' in a '@Sendable' closure
859 |         case 21: v = result
860 |         case 22: w = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:859:18: warning: capture of 'v' with non-sendable type '[U]?' in a '@Sendable' closure
816 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
817 |
818 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
819 |     _ elements: [T],
820 |     stride minBatchSize: Int,
    :
857 |         case 19: t = result
858 |         case 20: u = result
859 |         case 21: v = result
    |                  `- warning: capture of 'v' with non-sendable type '[U]?' in a '@Sendable' closure
860 |         case 22: w = result
861 |         case 23: x = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:860:18: warning: capture of 'w' with non-sendable type '[U]?' in a '@Sendable' closure
816 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
817 |
818 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
819 |     _ elements: [T],
820 |     stride minBatchSize: Int,
    :
858 |         case 20: u = result
859 |         case 21: v = result
860 |         case 22: w = result
    |                  `- warning: capture of 'w' with non-sendable type '[U]?' in a '@Sendable' closure
861 |         case 23: x = result
862 |         default: preconditionFailure()
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:861:18: warning: capture of 'x' with non-sendable type '[U]?' in a '@Sendable' closure
816 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
817 |
818 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
819 |     _ elements: [T],
820 |     stride minBatchSize: Int,
    :
859 |         case 21: v = result
860 |         case 22: w = result
861 |         case 23: x = result
    |                  `- warning: capture of 'x' with non-sendable type '[U]?' in a '@Sendable' closure
862 |         default: preconditionFailure()
863 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:838:17: warning: mutation of captured var 'a' in concurrently-executing code
836 |         let result = fn(parts[index])
837 |         switch index {
838 |         case 0: a = result
    |                 `- warning: mutation of captured var 'a' in concurrently-executing code
839 |         case 1: b = result
840 |         case 2: c = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:839:17: warning: mutation of captured var 'b' in concurrently-executing code
837 |         switch index {
838 |         case 0: a = result
839 |         case 1: b = result
    |                 `- warning: mutation of captured var 'b' in concurrently-executing code
840 |         case 2: c = result
841 |         case 3: d = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:840:17: warning: mutation of captured var 'c' in concurrently-executing code
838 |         case 0: a = result
839 |         case 1: b = result
840 |         case 2: c = result
    |                 `- warning: mutation of captured var 'c' in concurrently-executing code
841 |         case 3: d = result
842 |         case 4: e = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:841:17: warning: mutation of captured var 'd' in concurrently-executing code
839 |         case 1: b = result
840 |         case 2: c = result
841 |         case 3: d = result
    |                 `- warning: mutation of captured var 'd' in concurrently-executing code
842 |         case 4: e = result
843 |         case 5: f = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:842:17: warning: mutation of captured var 'e' in concurrently-executing code
840 |         case 2: c = result
841 |         case 3: d = result
842 |         case 4: e = result
    |                 `- warning: mutation of captured var 'e' in concurrently-executing code
843 |         case 5: f = result
844 |         case 6: g = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:843:17: warning: mutation of captured var 'f' in concurrently-executing code
841 |         case 3: d = result
842 |         case 4: e = result
843 |         case 5: f = result
    |                 `- warning: mutation of captured var 'f' in concurrently-executing code
844 |         case 6: g = result
845 |         case 7: h = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:844:17: warning: mutation of captured var 'g' in concurrently-executing code
842 |         case 4: e = result
843 |         case 5: f = result
844 |         case 6: g = result
    |                 `- warning: mutation of captured var 'g' in concurrently-executing code
845 |         case 7: h = result
846 |         case 8: i = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:845:17: warning: mutation of captured var 'h' in concurrently-executing code
843 |         case 5: f = result
844 |         case 6: g = result
845 |         case 7: h = result
    |                 `- warning: mutation of captured var 'h' in concurrently-executing code
846 |         case 8: i = result
847 |         case 9: j = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:846:17: warning: mutation of captured var 'i' in concurrently-executing code
844 |         case 6: g = result
845 |         case 7: h = result
846 |         case 8: i = result
    |                 `- warning: mutation of captured var 'i' in concurrently-executing code
847 |         case 9: j = result
848 |         case 10: k = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:847:17: warning: mutation of captured var 'j' in concurrently-executing code
845 |         case 7: h = result
846 |         case 8: i = result
847 |         case 9: j = result
    |                 `- warning: mutation of captured var 'j' in concurrently-executing code
848 |         case 10: k = result
849 |         case 11: l = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:848:18: warning: mutation of captured var 'k' in concurrently-executing code
846 |         case 8: i = result
847 |         case 9: j = result
848 |         case 10: k = result
    |                  `- warning: mutation of captured var 'k' in concurrently-executing code
849 |         case 11: l = result
850 |         case 12: m = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:849:18: warning: mutation of captured var 'l' in concurrently-executing code
847 |         case 9: j = result
848 |         case 10: k = result
849 |         case 11: l = result
    |                  `- warning: mutation of captured var 'l' in concurrently-executing code
850 |         case 12: m = result
851 |         case 13: n = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:850:18: warning: mutation of captured var 'm' in concurrently-executing code
848 |         case 10: k = result
849 |         case 11: l = result
850 |         case 12: m = result
    |                  `- warning: mutation of captured var 'm' in concurrently-executing code
851 |         case 13: n = result
852 |         case 14: o = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:851:18: warning: mutation of captured var 'n' in concurrently-executing code
849 |         case 11: l = result
850 |         case 12: m = result
851 |         case 13: n = result
    |                  `- warning: mutation of captured var 'n' in concurrently-executing code
852 |         case 14: o = result
853 |         case 15: p = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:852:18: warning: mutation of captured var 'o' in concurrently-executing code
850 |         case 12: m = result
851 |         case 13: n = result
852 |         case 14: o = result
    |                  `- warning: mutation of captured var 'o' in concurrently-executing code
853 |         case 15: p = result
854 |         case 16: q = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:853:18: warning: mutation of captured var 'p' in concurrently-executing code
851 |         case 13: n = result
852 |         case 14: o = result
853 |         case 15: p = result
    |                  `- warning: mutation of captured var 'p' in concurrently-executing code
854 |         case 16: q = result
855 |         case 17: r = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:854:18: warning: mutation of captured var 'q' in concurrently-executing code
852 |         case 14: o = result
853 |         case 15: p = result
854 |         case 16: q = result
    |                  `- warning: mutation of captured var 'q' in concurrently-executing code
855 |         case 17: r = result
856 |         case 18: s = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:855:18: warning: mutation of captured var 'r' in concurrently-executing code
853 |         case 15: p = result
854 |         case 16: q = result
855 |         case 17: r = result
    |                  `- warning: mutation of captured var 'r' in concurrently-executing code
856 |         case 18: s = result
857 |         case 19: t = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:856:18: warning: mutation of captured var 's' in concurrently-executing code
854 |         case 16: q = result
855 |         case 17: r = result
856 |         case 18: s = result
    |                  `- warning: mutation of captured var 's' in concurrently-executing code
857 |         case 19: t = result
858 |         case 20: u = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:857:18: warning: mutation of captured var 't' in concurrently-executing code
855 |         case 17: r = result
856 |         case 18: s = result
857 |         case 19: t = result
    |                  `- warning: mutation of captured var 't' in concurrently-executing code
858 |         case 20: u = result
859 |         case 21: v = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:858:18: warning: mutation of captured var 'u' in concurrently-executing code
856 |         case 18: s = result
857 |         case 19: t = result
858 |         case 20: u = result
    |                  `- warning: mutation of captured var 'u' in concurrently-executing code
859 |         case 21: v = result
860 |         case 22: w = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:859:18: warning: mutation of captured var 'v' in concurrently-executing code
857 |         case 19: t = result
858 |         case 20: u = result
859 |         case 21: v = result
    |                  `- warning: mutation of captured var 'v' in concurrently-executing code
860 |         case 22: w = result
861 |         case 23: x = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:860:18: warning: mutation of captured var 'w' in concurrently-executing code
858 |         case 20: u = result
859 |         case 21: v = result
860 |         case 22: w = result
    |                  `- warning: mutation of captured var 'w' in concurrently-executing code
861 |         case 23: x = result
862 |         default: preconditionFailure()
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:861:18: warning: mutation of captured var 'x' in concurrently-executing code
859 |         case 21: v = result
860 |         case 22: w = result
861 |         case 23: x = result
    |                  `- warning: mutation of captured var 'x' in concurrently-executing code
862 |         default: preconditionFailure()
863 |         }
[7/46] Compiling Euclid VertexSet.swift
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:836:22: warning: capture of 'fn' with non-sendable type '([T]) -> [U]' in a '@Sendable' closure
834 |     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]?
835 |     DispatchQueue.concurrentPerform(iterations: parts.count) { index in
836 |         let result = fn(parts[index])
    |                      |- warning: capture of 'fn' with non-sendable type '([T]) -> [U]' in a '@Sendable' closure
    |                      `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
837 |         switch index {
838 |         case 0: a = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:836:25: warning: capture of 'parts' with non-sendable type '[[T]]' in a '@Sendable' closure
816 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
817 |
818 | func batch<T, U>(
    |            `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
819 |     _ elements: [T],
820 |     stride minBatchSize: Int,
    :
834 |     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]?
835 |     DispatchQueue.concurrentPerform(iterations: parts.count) { index in
836 |         let result = fn(parts[index])
    |                         `- warning: capture of 'parts' with non-sendable type '[[T]]' in a '@Sendable' closure
837 |         switch index {
838 |         case 0: a = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:838:17: warning: capture of 'a' with non-sendable type '[U]?' in a '@Sendable' closure
816 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
817 |
818 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
819 |     _ elements: [T],
820 |     stride minBatchSize: Int,
    :
836 |         let result = fn(parts[index])
837 |         switch index {
838 |         case 0: a = result
    |                 `- warning: capture of 'a' with non-sendable type '[U]?' in a '@Sendable' closure
839 |         case 1: b = result
840 |         case 2: c = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:839:17: warning: capture of 'b' with non-sendable type '[U]?' in a '@Sendable' closure
816 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
817 |
818 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
819 |     _ elements: [T],
820 |     stride minBatchSize: Int,
    :
837 |         switch index {
838 |         case 0: a = result
839 |         case 1: b = result
    |                 `- warning: capture of 'b' with non-sendable type '[U]?' in a '@Sendable' closure
840 |         case 2: c = result
841 |         case 3: d = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:840:17: warning: capture of 'c' with non-sendable type '[U]?' in a '@Sendable' closure
816 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
817 |
818 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
819 |     _ elements: [T],
820 |     stride minBatchSize: Int,
    :
838 |         case 0: a = result
839 |         case 1: b = result
840 |         case 2: c = result
    |                 `- warning: capture of 'c' with non-sendable type '[U]?' in a '@Sendable' closure
841 |         case 3: d = result
842 |         case 4: e = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:841:17: warning: capture of 'd' with non-sendable type '[U]?' in a '@Sendable' closure
816 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
817 |
818 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
819 |     _ elements: [T],
820 |     stride minBatchSize: Int,
    :
839 |         case 1: b = result
840 |         case 2: c = result
841 |         case 3: d = result
    |                 `- warning: capture of 'd' with non-sendable type '[U]?' in a '@Sendable' closure
842 |         case 4: e = result
843 |         case 5: f = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:842:17: warning: capture of 'e' with non-sendable type '[U]?' in a '@Sendable' closure
816 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
817 |
818 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
819 |     _ elements: [T],
820 |     stride minBatchSize: Int,
    :
840 |         case 2: c = result
841 |         case 3: d = result
842 |         case 4: e = result
    |                 `- warning: capture of 'e' with non-sendable type '[U]?' in a '@Sendable' closure
843 |         case 5: f = result
844 |         case 6: g = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:843:17: warning: capture of 'f' with non-sendable type '[U]?' in a '@Sendable' closure
816 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
817 |
818 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
819 |     _ elements: [T],
820 |     stride minBatchSize: Int,
    :
841 |         case 3: d = result
842 |         case 4: e = result
843 |         case 5: f = result
    |                 `- warning: capture of 'f' with non-sendable type '[U]?' in a '@Sendable' closure
844 |         case 6: g = result
845 |         case 7: h = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:844:17: warning: capture of 'g' with non-sendable type '[U]?' in a '@Sendable' closure
816 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
817 |
818 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
819 |     _ elements: [T],
820 |     stride minBatchSize: Int,
    :
842 |         case 4: e = result
843 |         case 5: f = result
844 |         case 6: g = result
    |                 `- warning: capture of 'g' with non-sendable type '[U]?' in a '@Sendable' closure
845 |         case 7: h = result
846 |         case 8: i = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:845:17: warning: capture of 'h' with non-sendable type '[U]?' in a '@Sendable' closure
816 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
817 |
818 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
819 |     _ elements: [T],
820 |     stride minBatchSize: Int,
    :
843 |         case 5: f = result
844 |         case 6: g = result
845 |         case 7: h = result
    |                 `- warning: capture of 'h' with non-sendable type '[U]?' in a '@Sendable' closure
846 |         case 8: i = result
847 |         case 9: j = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:846:17: warning: capture of 'i' with non-sendable type '[U]?' in a '@Sendable' closure
816 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
817 |
818 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
819 |     _ elements: [T],
820 |     stride minBatchSize: Int,
    :
844 |         case 6: g = result
845 |         case 7: h = result
846 |         case 8: i = result
    |                 `- warning: capture of 'i' with non-sendable type '[U]?' in a '@Sendable' closure
847 |         case 9: j = result
848 |         case 10: k = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:847:17: warning: capture of 'j' with non-sendable type '[U]?' in a '@Sendable' closure
816 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
817 |
818 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
819 |     _ elements: [T],
820 |     stride minBatchSize: Int,
    :
845 |         case 7: h = result
846 |         case 8: i = result
847 |         case 9: j = result
    |                 `- warning: capture of 'j' with non-sendable type '[U]?' in a '@Sendable' closure
848 |         case 10: k = result
849 |         case 11: l = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:848:18: warning: capture of 'k' with non-sendable type '[U]?' in a '@Sendable' closure
816 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
817 |
818 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
819 |     _ elements: [T],
820 |     stride minBatchSize: Int,
    :
846 |         case 8: i = result
847 |         case 9: j = result
848 |         case 10: k = result
    |                  `- warning: capture of 'k' with non-sendable type '[U]?' in a '@Sendable' closure
849 |         case 11: l = result
850 |         case 12: m = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:849:18: warning: capture of 'l' with non-sendable type '[U]?' in a '@Sendable' closure
816 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
817 |
818 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
819 |     _ elements: [T],
820 |     stride minBatchSize: Int,
    :
847 |         case 9: j = result
848 |         case 10: k = result
849 |         case 11: l = result
    |                  `- warning: capture of 'l' with non-sendable type '[U]?' in a '@Sendable' closure
850 |         case 12: m = result
851 |         case 13: n = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:850:18: warning: capture of 'm' with non-sendable type '[U]?' in a '@Sendable' closure
816 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
817 |
818 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
819 |     _ elements: [T],
820 |     stride minBatchSize: Int,
    :
848 |         case 10: k = result
849 |         case 11: l = result
850 |         case 12: m = result
    |                  `- warning: capture of 'm' with non-sendable type '[U]?' in a '@Sendable' closure
851 |         case 13: n = result
852 |         case 14: o = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:851:18: warning: capture of 'n' with non-sendable type '[U]?' in a '@Sendable' closure
816 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
817 |
818 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
819 |     _ elements: [T],
820 |     stride minBatchSize: Int,
    :
849 |         case 11: l = result
850 |         case 12: m = result
851 |         case 13: n = result
    |                  `- warning: capture of 'n' with non-sendable type '[U]?' in a '@Sendable' closure
852 |         case 14: o = result
853 |         case 15: p = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:852:18: warning: capture of 'o' with non-sendable type '[U]?' in a '@Sendable' closure
816 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
817 |
818 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
819 |     _ elements: [T],
820 |     stride minBatchSize: Int,
    :
850 |         case 12: m = result
851 |         case 13: n = result
852 |         case 14: o = result
    |                  `- warning: capture of 'o' with non-sendable type '[U]?' in a '@Sendable' closure
853 |         case 15: p = result
854 |         case 16: q = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:853:18: warning: capture of 'p' with non-sendable type '[U]?' in a '@Sendable' closure
816 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
817 |
818 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
819 |     _ elements: [T],
820 |     stride minBatchSize: Int,
    :
851 |         case 13: n = result
852 |         case 14: o = result
853 |         case 15: p = result
    |                  `- warning: capture of 'p' with non-sendable type '[U]?' in a '@Sendable' closure
854 |         case 16: q = result
855 |         case 17: r = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:854:18: warning: capture of 'q' with non-sendable type '[U]?' in a '@Sendable' closure
816 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
817 |
818 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
819 |     _ elements: [T],
820 |     stride minBatchSize: Int,
    :
852 |         case 14: o = result
853 |         case 15: p = result
854 |         case 16: q = result
    |                  `- warning: capture of 'q' with non-sendable type '[U]?' in a '@Sendable' closure
855 |         case 17: r = result
856 |         case 18: s = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:855:18: warning: capture of 'r' with non-sendable type '[U]?' in a '@Sendable' closure
816 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
817 |
818 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
819 |     _ elements: [T],
820 |     stride minBatchSize: Int,
    :
853 |         case 15: p = result
854 |         case 16: q = result
855 |         case 17: r = result
    |                  `- warning: capture of 'r' with non-sendable type '[U]?' in a '@Sendable' closure
856 |         case 18: s = result
857 |         case 19: t = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:856:18: warning: capture of 's' with non-sendable type '[U]?' in a '@Sendable' closure
816 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
817 |
818 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
819 |     _ elements: [T],
820 |     stride minBatchSize: Int,
    :
854 |         case 16: q = result
855 |         case 17: r = result
856 |         case 18: s = result
    |                  `- warning: capture of 's' with non-sendable type '[U]?' in a '@Sendable' closure
857 |         case 19: t = result
858 |         case 20: u = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:857:18: warning: capture of 't' with non-sendable type '[U]?' in a '@Sendable' closure
816 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
817 |
818 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
819 |     _ elements: [T],
820 |     stride minBatchSize: Int,
    :
855 |         case 17: r = result
856 |         case 18: s = result
857 |         case 19: t = result
    |                  `- warning: capture of 't' with non-sendable type '[U]?' in a '@Sendable' closure
858 |         case 20: u = result
859 |         case 21: v = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:858:18: warning: capture of 'u' with non-sendable type '[U]?' in a '@Sendable' closure
816 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
817 |
818 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
819 |     _ elements: [T],
820 |     stride minBatchSize: Int,
    :
856 |         case 18: s = result
857 |         case 19: t = result
858 |         case 20: u = result
    |                  `- warning: capture of 'u' with non-sendable type '[U]?' in a '@Sendable' closure
859 |         case 21: v = result
860 |         case 22: w = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:859:18: warning: capture of 'v' with non-sendable type '[U]?' in a '@Sendable' closure
816 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
817 |
818 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
819 |     _ elements: [T],
820 |     stride minBatchSize: Int,
    :
857 |         case 19: t = result
858 |         case 20: u = result
859 |         case 21: v = result
    |                  `- warning: capture of 'v' with non-sendable type '[U]?' in a '@Sendable' closure
860 |         case 22: w = result
861 |         case 23: x = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:860:18: warning: capture of 'w' with non-sendable type '[U]?' in a '@Sendable' closure
816 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
817 |
818 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
819 |     _ elements: [T],
820 |     stride minBatchSize: Int,
    :
858 |         case 20: u = result
859 |         case 21: v = result
860 |         case 22: w = result
    |                  `- warning: capture of 'w' with non-sendable type '[U]?' in a '@Sendable' closure
861 |         case 23: x = result
862 |         default: preconditionFailure()
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:861:18: warning: capture of 'x' with non-sendable type '[U]?' in a '@Sendable' closure
816 | private let cpuCores = ProcessInfo.processInfo.activeProcessorCount
817 |
818 | func batch<T, U>(
    |               `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
819 |     _ elements: [T],
820 |     stride minBatchSize: Int,
    :
859 |         case 21: v = result
860 |         case 22: w = result
861 |         case 23: x = result
    |                  `- warning: capture of 'x' with non-sendable type '[U]?' in a '@Sendable' closure
862 |         default: preconditionFailure()
863 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:838:17: warning: mutation of captured var 'a' in concurrently-executing code
836 |         let result = fn(parts[index])
837 |         switch index {
838 |         case 0: a = result
    |                 `- warning: mutation of captured var 'a' in concurrently-executing code
839 |         case 1: b = result
840 |         case 2: c = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:839:17: warning: mutation of captured var 'b' in concurrently-executing code
837 |         switch index {
838 |         case 0: a = result
839 |         case 1: b = result
    |                 `- warning: mutation of captured var 'b' in concurrently-executing code
840 |         case 2: c = result
841 |         case 3: d = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:840:17: warning: mutation of captured var 'c' in concurrently-executing code
838 |         case 0: a = result
839 |         case 1: b = result
840 |         case 2: c = result
    |                 `- warning: mutation of captured var 'c' in concurrently-executing code
841 |         case 3: d = result
842 |         case 4: e = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:841:17: warning: mutation of captured var 'd' in concurrently-executing code
839 |         case 1: b = result
840 |         case 2: c = result
841 |         case 3: d = result
    |                 `- warning: mutation of captured var 'd' in concurrently-executing code
842 |         case 4: e = result
843 |         case 5: f = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:842:17: warning: mutation of captured var 'e' in concurrently-executing code
840 |         case 2: c = result
841 |         case 3: d = result
842 |         case 4: e = result
    |                 `- warning: mutation of captured var 'e' in concurrently-executing code
843 |         case 5: f = result
844 |         case 6: g = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:843:17: warning: mutation of captured var 'f' in concurrently-executing code
841 |         case 3: d = result
842 |         case 4: e = result
843 |         case 5: f = result
    |                 `- warning: mutation of captured var 'f' in concurrently-executing code
844 |         case 6: g = result
845 |         case 7: h = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:844:17: warning: mutation of captured var 'g' in concurrently-executing code
842 |         case 4: e = result
843 |         case 5: f = result
844 |         case 6: g = result
    |                 `- warning: mutation of captured var 'g' in concurrently-executing code
845 |         case 7: h = result
846 |         case 8: i = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:845:17: warning: mutation of captured var 'h' in concurrently-executing code
843 |         case 5: f = result
844 |         case 6: g = result
845 |         case 7: h = result
    |                 `- warning: mutation of captured var 'h' in concurrently-executing code
846 |         case 8: i = result
847 |         case 9: j = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:846:17: warning: mutation of captured var 'i' in concurrently-executing code
844 |         case 6: g = result
845 |         case 7: h = result
846 |         case 8: i = result
    |                 `- warning: mutation of captured var 'i' in concurrently-executing code
847 |         case 9: j = result
848 |         case 10: k = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:847:17: warning: mutation of captured var 'j' in concurrently-executing code
845 |         case 7: h = result
846 |         case 8: i = result
847 |         case 9: j = result
    |                 `- warning: mutation of captured var 'j' in concurrently-executing code
848 |         case 10: k = result
849 |         case 11: l = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:848:18: warning: mutation of captured var 'k' in concurrently-executing code
846 |         case 8: i = result
847 |         case 9: j = result
848 |         case 10: k = result
    |                  `- warning: mutation of captured var 'k' in concurrently-executing code
849 |         case 11: l = result
850 |         case 12: m = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:849:18: warning: mutation of captured var 'l' in concurrently-executing code
847 |         case 9: j = result
848 |         case 10: k = result
849 |         case 11: l = result
    |                  `- warning: mutation of captured var 'l' in concurrently-executing code
850 |         case 12: m = result
851 |         case 13: n = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:850:18: warning: mutation of captured var 'm' in concurrently-executing code
848 |         case 10: k = result
849 |         case 11: l = result
850 |         case 12: m = result
    |                  `- warning: mutation of captured var 'm' in concurrently-executing code
851 |         case 13: n = result
852 |         case 14: o = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:851:18: warning: mutation of captured var 'n' in concurrently-executing code
849 |         case 11: l = result
850 |         case 12: m = result
851 |         case 13: n = result
    |                  `- warning: mutation of captured var 'n' in concurrently-executing code
852 |         case 14: o = result
853 |         case 15: p = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:852:18: warning: mutation of captured var 'o' in concurrently-executing code
850 |         case 12: m = result
851 |         case 13: n = result
852 |         case 14: o = result
    |                  `- warning: mutation of captured var 'o' in concurrently-executing code
853 |         case 15: p = result
854 |         case 16: q = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:853:18: warning: mutation of captured var 'p' in concurrently-executing code
851 |         case 13: n = result
852 |         case 14: o = result
853 |         case 15: p = result
    |                  `- warning: mutation of captured var 'p' in concurrently-executing code
854 |         case 16: q = result
855 |         case 17: r = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:854:18: warning: mutation of captured var 'q' in concurrently-executing code
852 |         case 14: o = result
853 |         case 15: p = result
854 |         case 16: q = result
    |                  `- warning: mutation of captured var 'q' in concurrently-executing code
855 |         case 17: r = result
856 |         case 18: s = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:855:18: warning: mutation of captured var 'r' in concurrently-executing code
853 |         case 15: p = result
854 |         case 16: q = result
855 |         case 17: r = result
    |                  `- warning: mutation of captured var 'r' in concurrently-executing code
856 |         case 18: s = result
857 |         case 19: t = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:856:18: warning: mutation of captured var 's' in concurrently-executing code
854 |         case 16: q = result
855 |         case 17: r = result
856 |         case 18: s = result
    |                  `- warning: mutation of captured var 's' in concurrently-executing code
857 |         case 19: t = result
858 |         case 20: u = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:857:18: warning: mutation of captured var 't' in concurrently-executing code
855 |         case 17: r = result
856 |         case 18: s = result
857 |         case 19: t = result
    |                  `- warning: mutation of captured var 't' in concurrently-executing code
858 |         case 20: u = result
859 |         case 21: v = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:858:18: warning: mutation of captured var 'u' in concurrently-executing code
856 |         case 18: s = result
857 |         case 19: t = result
858 |         case 20: u = result
    |                  `- warning: mutation of captured var 'u' in concurrently-executing code
859 |         case 21: v = result
860 |         case 22: w = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:859:18: warning: mutation of captured var 'v' in concurrently-executing code
857 |         case 19: t = result
858 |         case 20: u = result
859 |         case 21: v = result
    |                  `- warning: mutation of captured var 'v' in concurrently-executing code
860 |         case 22: w = result
861 |         case 23: x = result
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:860:18: warning: mutation of captured var 'w' in concurrently-executing code
858 |         case 20: u = result
859 |         case 21: v = result
860 |         case 22: w = result
    |                  `- warning: mutation of captured var 'w' in concurrently-executing code
861 |         case 23: x = result
862 |         default: preconditionFailure()
/Users/admin/builder/spi-builder-workspace/Sources/Utilities.swift:861:18: warning: mutation of captured var 'x' in concurrently-executing code
859 |         case 21: v = result
860 |         case 22: w = result
861 |         case 23: x = result
    |                  `- warning: mutation of captured var 'x' in concurrently-executing code
862 |         default: preconditionFailure()
863 |         }
[8/46] Compiling Euclid Angle.swift
[9/46] Compiling Euclid ApproximateEquality.swift
[10/46] Compiling Euclid BSP.swift
[11/46] Compiling Euclid Bounded.swift
[12/46] Compiling Euclid Bounds.swift
[13/46] Compiling Euclid LineComparable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Mesh+CSG.swift:1141:17: warning: capture of 'op1' with non-sendable type '() -> Void' in a '@Sendable' closure
1139 |     DispatchQueue.concurrentPerform(iterations: 2) { index in
1140 |         switch index {
1141 |         case 0: op1()
     |                 |- warning: capture of 'op1' with non-sendable type '() -> Void' in a '@Sendable' closure
     |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
1142 |         default: op2()
1143 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Mesh+CSG.swift:1142:18: warning: capture of 'op2' with non-sendable type '() -> Void' in a '@Sendable' closure
1140 |         switch index {
1141 |         case 0: op1()
1142 |         default: op2()
     |                  |- warning: capture of 'op2' with non-sendable type '() -> Void' in a '@Sendable' closure
     |                  `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
1143 |         }
1144 |     }
[14/46] Compiling Euclid LineSegment+CSG.swift
/Users/admin/builder/spi-builder-workspace/Sources/Mesh+CSG.swift:1141:17: warning: capture of 'op1' with non-sendable type '() -> Void' in a '@Sendable' closure
1139 |     DispatchQueue.concurrentPerform(iterations: 2) { index in
1140 |         switch index {
1141 |         case 0: op1()
     |                 |- warning: capture of 'op1' with non-sendable type '() -> Void' in a '@Sendable' closure
     |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
1142 |         default: op2()
1143 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Mesh+CSG.swift:1142:18: warning: capture of 'op2' with non-sendable type '() -> Void' in a '@Sendable' closure
1140 |         switch index {
1141 |         case 0: op1()
1142 |         default: op2()
     |                  |- warning: capture of 'op2' with non-sendable type '() -> Void' in a '@Sendable' closure
     |                  `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
1143 |         }
1144 |     }
[15/46] Compiling Euclid LineSegment.swift
/Users/admin/builder/spi-builder-workspace/Sources/Mesh+CSG.swift:1141:17: warning: capture of 'op1' with non-sendable type '() -> Void' in a '@Sendable' closure
1139 |     DispatchQueue.concurrentPerform(iterations: 2) { index in
1140 |         switch index {
1141 |         case 0: op1()
     |                 |- warning: capture of 'op1' with non-sendable type '() -> Void' in a '@Sendable' closure
     |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
1142 |         default: op2()
1143 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Mesh+CSG.swift:1142:18: warning: capture of 'op2' with non-sendable type '() -> Void' in a '@Sendable' closure
1140 |         switch index {
1141 |         case 0: op1()
1142 |         default: op2()
     |                  |- warning: capture of 'op2' with non-sendable type '() -> Void' in a '@Sendable' closure
     |                  `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
1143 |         }
1144 |     }
[16/46] Compiling Euclid Mesh+CSG.swift
/Users/admin/builder/spi-builder-workspace/Sources/Mesh+CSG.swift:1141:17: warning: capture of 'op1' with non-sendable type '() -> Void' in a '@Sendable' closure
1139 |     DispatchQueue.concurrentPerform(iterations: 2) { index in
1140 |         switch index {
1141 |         case 0: op1()
     |                 |- warning: capture of 'op1' with non-sendable type '() -> Void' in a '@Sendable' closure
     |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
1142 |         default: op2()
1143 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Mesh+CSG.swift:1142:18: warning: capture of 'op2' with non-sendable type '() -> Void' in a '@Sendable' closure
1140 |         switch index {
1141 |         case 0: op1()
1142 |         default: op2()
     |                  |- warning: capture of 'op2' with non-sendable type '() -> Void' in a '@Sendable' closure
     |                  `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
1143 |         }
1144 |     }
[17/46] Compiling Euclid Path+Shapes.swift
[18/46] Compiling Euclid Path.swift
[19/46] Compiling Euclid PathPoint.swift
[20/46] Compiling Euclid Plane.swift
[21/46] Compiling Euclid PlaneComparable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Polygon.swift:147: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
 145 |
 146 |     /// Supported `NSSecureCodable` Material base classes.
 147 |     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
 148 |         #if canImport(AppKit) || canImport(UIKit)
 149 |         return [OSImage.self, OSColor.self] + scnMaterialTypes
[22/46] Compiling Euclid PointComparable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Polygon.swift:147: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
 145 |
 146 |     /// Supported `NSSecureCodable` Material base classes.
 147 |     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
 148 |         #if canImport(AppKit) || canImport(UIKit)
 149 |         return [OSImage.self, OSColor.self] + scnMaterialTypes
[23/46] Compiling Euclid Polygon+CSG.swift
/Users/admin/builder/spi-builder-workspace/Sources/Polygon.swift:147: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
 145 |
 146 |     /// Supported `NSSecureCodable` Material base classes.
 147 |     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
 148 |         #if canImport(AppKit) || canImport(UIKit)
 149 |         return [OSImage.self, OSColor.self] + scnMaterialTypes
[24/46] Compiling Euclid Polygon.swift
/Users/admin/builder/spi-builder-workspace/Sources/Polygon.swift:147: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
 145 |
 146 |     /// Supported `NSSecureCodable` Material base classes.
 147 |     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
 148 |         #if canImport(AppKit) || canImport(UIKit)
 149 |         return [OSImage.self, OSColor.self] + scnMaterialTypes
[25/46] Compiling Euclid Rotation.swift
/Users/admin/builder/spi-builder-workspace/Sources/Transform.swift:111: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
 34 | /// Working with intermediate transform objects instead of directly updating the vertex positions of a mesh
 35 | /// is more efficient and avoids a buildup of rounding errors.
 36 | public struct Transform: Hashable {
    |               `- note: consider making struct 'Transform' conform to the 'Sendable' protocol
 37 |     /// The size or scale component of the transform.
 38 |     public var scale: Vector {
    :
109 | public extension Transform {
110 |     /// The identity transform (i.e. no transform).
111 |     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
112 |
113 |     /// Creates a translation or position transform.
[26/46] Compiling Euclid Stretchable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Transform.swift:111: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
 34 | /// Working with intermediate transform objects instead of directly updating the vertex positions of a mesh
 35 | /// is more efficient and avoids a buildup of rounding errors.
 36 | public struct Transform: Hashable {
    |               `- note: consider making struct 'Transform' conform to the 'Sendable' protocol
 37 |     /// The size or scale component of the transform.
 38 |     public var scale: Vector {
    :
109 | public extension Transform {
110 |     /// The identity transform (i.e. no transform).
111 |     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
112 |
113 |     /// Creates a translation or position transform.
[27/46] Compiling Euclid Transform.swift
/Users/admin/builder/spi-builder-workspace/Sources/Transform.swift:111: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
 34 | /// Working with intermediate transform objects instead of directly updating the vertex positions of a mesh
 35 | /// is more efficient and avoids a buildup of rounding errors.
 36 | public struct Transform: Hashable {
    |               `- note: consider making struct 'Transform' conform to the 'Sendable' protocol
 37 |     /// The size or scale component of the transform.
 38 |     public var scale: Vector {
    :
109 | public extension Transform {
110 |     /// The identity transform (i.e. no transform).
111 |     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
112 |
113 |     /// Creates a translation or position transform.
[28/46] Compiling Euclid Transformable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Transform.swift:111: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
 34 | /// Working with intermediate transform objects instead of directly updating the vertex positions of a mesh
 35 | /// is more efficient and avoids a buildup of rounding errors.
 36 | public struct Transform: Hashable {
    |               `- note: consider making struct 'Transform' conform to the 'Sendable' protocol
 37 |     /// The size or scale component of the transform.
 38 |     public var scale: Vector {
    :
109 | public extension Transform {
110 |     /// The identity transform (i.e. no transform).
111 |     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
112 |
113 |     /// Creates a translation or position transform.
[29/46] Compiling Euclid Mesh+Shapes.swift
[30/46] Compiling Euclid Mesh+Texcoords.swift
[31/46] Compiling Euclid Mesh.swift
[32/46] Compiling Euclid Path+CSG.swift
[33/46] Compiling Euclid Mesh+IO.swift
[34/46] Compiling Euclid Mesh+OBJ.swift
[35/46] Compiling Euclid Mesh+OFF.swift
[36/46] Compiling Euclid Mesh+STL.swift
[37/46] Compiling Euclid Color.swift
/Users/admin/builder/spi-builder-workspace/Sources/Euclid+RealityKit.swift:82:44: warning: call to main actor-isolated static method 'generate(from:withName:options:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 61 |
 62 | @available(macOS 12.0, iOS 15.0, tvOS 26.0, *)
 63 | private func defaultMaterialLookup(_ material: Polygon.Material?) -> RealityKit.Material? {
    |              `- note: add '@MainActor' to make global function 'defaultMaterialLookup' part of global actor 'MainActor'
 64 |     switch material {
 65 |     case let wrapper as MaterialWrapper:
    :
 80 |         let texture = try? TextureResource(image: image, options: options)
 81 |         #else
 82 |         let texture = try? TextureResource.generate(from: image, options: options)
    |                                            `- warning: call to main actor-isolated static method 'generate(from:withName:options:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 83 |         #endif
 84 |         guard let texture else { return nil }
RealityFoundation.TextureResource.generate:6:49: note: calls to static method 'generate(from:withName:options:)' from outside of its actor context are implicitly asynchronous
4 |   @available(macCatalyst, introduced: 15.0, deprecated: 18.0, renamed: "init(image:withName:options:)")
5 |   @available(visionOS, introduced: 1.0, deprecated: 2.0, renamed: "init(image:withName:options:)")
6 |   @MainActor @preconcurrency public static func generate(from cgImage: CGImage, withName resourceName: String? = nil, options: TextureResource.CreateOptions) throws -> TextureResource}
  |                                                 `- note: calls to static method 'generate(from:withName:options:)' from outside of its actor context are implicitly asynchronous
7 |
/Users/admin/builder/spi-builder-workspace/Sources/Euclid+RealityKit.swift:431:43: warning: main actor-isolated property 'contents' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
429 |     init(_ meshResource: MeshResource, materials: [Polygon.Material?] = []) {
430 |         var models = [String: Mesh]()
431 |         self.init(submeshes: meshResource.contents.instances.compactMap {
    |                                           `- warning: main actor-isolated property 'contents' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
432 |             var mesh = models[$0.model]
433 |             if mesh == nil, let model = meshResource.contents.models[$0.model] {
RealityFoundation.MeshResource.contents:2:39: note: property declared here
1 | class MeshResource {
2 | @MainActor @preconcurrency public var contents: MeshResource.Contents { get }}
  |                                       `- note: property declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Euclid+RealityKit.swift:433:54: warning: main actor-isolated property 'contents' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
431 |         self.init(submeshes: meshResource.contents.instances.compactMap {
432 |             var mesh = models[$0.model]
433 |             if mesh == nil, let model = meshResource.contents.models[$0.model] {
    |                                                      `- warning: main actor-isolated property 'contents' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
434 |                 let modelMesh = Mesh(model, materials: materials)
435 |                 models[$0.model] = modelMesh
RealityFoundation.MeshResource.contents:2:39: note: property declared here
1 | class MeshResource {
2 | @MainActor @preconcurrency public var contents: MeshResource.Contents { get }}
  |                                       `- note: property declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Euclid+RealityKit.swift:469:39: warning: main actor-isolated property 'model' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
467 |     ///   - materialLookup: An optional closure to map the RealityKit materials to Euclid materials.
468 |     init(_ modelEntity: ModelEntity, materialLookup: RealityKitMaterialProvider? = nil) {
469 |         guard let model = modelEntity.model else {
    |                                       `- warning: main actor-isolated property 'model' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
470 |             self = .empty
471 |             return
RealityFoundation.HasModel.model:2:39: note: property declared here
1 | protocol HasModel {
2 | @MainActor @preconcurrency public var model: ModelComponent? { get set }}
  |                                       `- note: property declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Euclid+RealityKit.swift:474:41: warning: main actor-isolated property 'transform' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
472 |         }
473 |         self.init(model, materialLookup: materialLookup)
474 |         transform(by: .init(modelEntity.transform))
    |                                         `- warning: main actor-isolated property 'transform' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
475 |     }
476 |
RealityFoundation.HasTransform.transform:2:39: note: property declared here
1 | protocol HasTransform {
2 | @MainActor @preconcurrency public var transform: Transform { get set }}
  |                                       `- note: property declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Euclid+RealityKit.swift:520:52: warning: main actor-isolated property 'avPlayer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
518 |                 return MaterialWrapper(material)
519 |             case let videoMaterial as VideoMaterial:
520 |                 guard let avPlayer = videoMaterial.avPlayer else { return nil }
    |                                                    `- warning: main actor-isolated property 'avPlayer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
521 |                 var material = VideoMaterial(avPlayer: avPlayer)
522 |                 #if compiler(>=6)
RealityFoundation.VideoMaterial.avPlayer:2:39: note: property declared here
1 | struct VideoMaterial {
2 | @MainActor @preconcurrency public var avPlayer: AVPlayer? { get set }}
  |                                       `- note: property declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Euclid+RealityKit.swift:521:32: warning: call to main actor-isolated initializer 'init(avPlayer:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
519 |             case let videoMaterial as VideoMaterial:
520 |                 guard let avPlayer = videoMaterial.avPlayer else { return nil }
521 |                 var material = VideoMaterial(avPlayer: avPlayer)
    |                                `- warning: call to main actor-isolated initializer 'init(avPlayer:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
522 |                 #if compiler(>=6)
523 |                 if #available(visionOS 1.0, macOS 15.0, iOS 18.0, *) {
RealityFoundation.VideoMaterial.init:2:35: note: calls to initializer 'init(avPlayer:)' from outside of its actor context are implicitly asynchronous
1 | struct VideoMaterial {
2 | @MainActor @preconcurrency public init(avPlayer: AVPlayer)}
  |                                   `- note: calls to initializer 'init(avPlayer:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Euclid+RealityKit.swift:524:41: warning: main actor-isolated property 'preferredViewingMode' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
522 |                 #if compiler(>=6)
523 |                 if #available(visionOS 1.0, macOS 15.0, iOS 18.0, *) {
524 |                     material.controller.preferredViewingMode = videoMaterial.controller.preferredViewingMode
    |                                         `- warning: main actor-isolated property 'preferredViewingMode' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
525 |                     material.triangleFillMode = videoMaterial.triangleFillMode
526 |                     if #available(visionOS 2.0, *) {
RealityFoundation.VideoPlaybackController.preferredViewingMode:2:39: note: mutation of this property is only permitted within the actor
1 | class VideoPlaybackController {
2 | @MainActor @preconcurrency public var preferredViewingMode: VideoPlaybackController.ViewingMode { get set }}
  |                                       `- note: mutation of this property is only permitted within the actor
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Euclid+RealityKit.swift:524:89: warning: main actor-isolated property 'preferredViewingMode' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
522 |                 #if compiler(>=6)
523 |                 if #available(visionOS 1.0, macOS 15.0, iOS 18.0, *) {
524 |                     material.controller.preferredViewingMode = videoMaterial.controller.preferredViewingMode
    |                                                                                         `- warning: main actor-isolated property 'preferredViewingMode' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
525 |                     material.triangleFillMode = videoMaterial.triangleFillMode
526 |                     if #available(visionOS 2.0, *) {
RealityFoundation.VideoPlaybackController.preferredViewingMode:2:39: note: property declared here
1 | class VideoPlaybackController {
2 | @MainActor @preconcurrency public var preferredViewingMode: VideoPlaybackController.ViewingMode { get set }}
  |                                       `- note: property declared here
3 |
[38/46] Compiling Euclid Euclid+AppKit.swift
/Users/admin/builder/spi-builder-workspace/Sources/Euclid+RealityKit.swift:82:44: warning: call to main actor-isolated static method 'generate(from:withName:options:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 61 |
 62 | @available(macOS 12.0, iOS 15.0, tvOS 26.0, *)
 63 | private func defaultMaterialLookup(_ material: Polygon.Material?) -> RealityKit.Material? {
    |              `- note: add '@MainActor' to make global function 'defaultMaterialLookup' part of global actor 'MainActor'
 64 |     switch material {
 65 |     case let wrapper as MaterialWrapper:
    :
 80 |         let texture = try? TextureResource(image: image, options: options)
 81 |         #else
 82 |         let texture = try? TextureResource.generate(from: image, options: options)
    |                                            `- warning: call to main actor-isolated static method 'generate(from:withName:options:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 83 |         #endif
 84 |         guard let texture else { return nil }
RealityFoundation.TextureResource.generate:6:49: note: calls to static method 'generate(from:withName:options:)' from outside of its actor context are implicitly asynchronous
4 |   @available(macCatalyst, introduced: 15.0, deprecated: 18.0, renamed: "init(image:withName:options:)")
5 |   @available(visionOS, introduced: 1.0, deprecated: 2.0, renamed: "init(image:withName:options:)")
6 |   @MainActor @preconcurrency public static func generate(from cgImage: CGImage, withName resourceName: String? = nil, options: TextureResource.CreateOptions) throws -> TextureResource}
  |                                                 `- note: calls to static method 'generate(from:withName:options:)' from outside of its actor context are implicitly asynchronous
7 |
/Users/admin/builder/spi-builder-workspace/Sources/Euclid+RealityKit.swift:431:43: warning: main actor-isolated property 'contents' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
429 |     init(_ meshResource: MeshResource, materials: [Polygon.Material?] = []) {
430 |         var models = [String: Mesh]()
431 |         self.init(submeshes: meshResource.contents.instances.compactMap {
    |                                           `- warning: main actor-isolated property 'contents' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
432 |             var mesh = models[$0.model]
433 |             if mesh == nil, let model = meshResource.contents.models[$0.model] {
RealityFoundation.MeshResource.contents:2:39: note: property declared here
1 | class MeshResource {
2 | @MainActor @preconcurrency public var contents: MeshResource.Contents { get }}
  |                                       `- note: property declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Euclid+RealityKit.swift:433:54: warning: main actor-isolated property 'contents' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
431 |         self.init(submeshes: meshResource.contents.instances.compactMap {
432 |             var mesh = models[$0.model]
433 |             if mesh == nil, let model = meshResource.contents.models[$0.model] {
    |                                                      `- warning: main actor-isolated property 'contents' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
434 |                 let modelMesh = Mesh(model, materials: materials)
435 |                 models[$0.model] = modelMesh
RealityFoundation.MeshResource.contents:2:39: note: property declared here
1 | class MeshResource {
2 | @MainActor @preconcurrency public var contents: MeshResource.Contents { get }}
  |                                       `- note: property declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Euclid+RealityKit.swift:469:39: warning: main actor-isolated property 'model' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
467 |     ///   - materialLookup: An optional closure to map the RealityKit materials to Euclid materials.
468 |     init(_ modelEntity: ModelEntity, materialLookup: RealityKitMaterialProvider? = nil) {
469 |         guard let model = modelEntity.model else {
    |                                       `- warning: main actor-isolated property 'model' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
470 |             self = .empty
471 |             return
RealityFoundation.HasModel.model:2:39: note: property declared here
1 | protocol HasModel {
2 | @MainActor @preconcurrency public var model: ModelComponent? { get set }}
  |                                       `- note: property declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Euclid+RealityKit.swift:474:41: warning: main actor-isolated property 'transform' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
472 |         }
473 |         self.init(model, materialLookup: materialLookup)
474 |         transform(by: .init(modelEntity.transform))
    |                                         `- warning: main actor-isolated property 'transform' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
475 |     }
476 |
RealityFoundation.HasTransform.transform:2:39: note: property declared here
1 | protocol HasTransform {
2 | @MainActor @preconcurrency public var transform: Transform { get set }}
  |                                       `- note: property declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Euclid+RealityKit.swift:520:52: warning: main actor-isolated property 'avPlayer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
518 |                 return MaterialWrapper(material)
519 |             case let videoMaterial as VideoMaterial:
520 |                 guard let avPlayer = videoMaterial.avPlayer else { return nil }
    |                                                    `- warning: main actor-isolated property 'avPlayer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
521 |                 var material = VideoMaterial(avPlayer: avPlayer)
522 |                 #if compiler(>=6)
RealityFoundation.VideoMaterial.avPlayer:2:39: note: property declared here
1 | struct VideoMaterial {
2 | @MainActor @preconcurrency public var avPlayer: AVPlayer? { get set }}
  |                                       `- note: property declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Euclid+RealityKit.swift:521:32: warning: call to main actor-isolated initializer 'init(avPlayer:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
519 |             case let videoMaterial as VideoMaterial:
520 |                 guard let avPlayer = videoMaterial.avPlayer else { return nil }
521 |                 var material = VideoMaterial(avPlayer: avPlayer)
    |                                `- warning: call to main actor-isolated initializer 'init(avPlayer:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
522 |                 #if compiler(>=6)
523 |                 if #available(visionOS 1.0, macOS 15.0, iOS 18.0, *) {
RealityFoundation.VideoMaterial.init:2:35: note: calls to initializer 'init(avPlayer:)' from outside of its actor context are implicitly asynchronous
1 | struct VideoMaterial {
2 | @MainActor @preconcurrency public init(avPlayer: AVPlayer)}
  |                                   `- note: calls to initializer 'init(avPlayer:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Euclid+RealityKit.swift:524:41: warning: main actor-isolated property 'preferredViewingMode' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
522 |                 #if compiler(>=6)
523 |                 if #available(visionOS 1.0, macOS 15.0, iOS 18.0, *) {
524 |                     material.controller.preferredViewingMode = videoMaterial.controller.preferredViewingMode
    |                                         `- warning: main actor-isolated property 'preferredViewingMode' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
525 |                     material.triangleFillMode = videoMaterial.triangleFillMode
526 |                     if #available(visionOS 2.0, *) {
RealityFoundation.VideoPlaybackController.preferredViewingMode:2:39: note: mutation of this property is only permitted within the actor
1 | class VideoPlaybackController {
2 | @MainActor @preconcurrency public var preferredViewingMode: VideoPlaybackController.ViewingMode { get set }}
  |                                       `- note: mutation of this property is only permitted within the actor
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Euclid+RealityKit.swift:524:89: warning: main actor-isolated property 'preferredViewingMode' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
522 |                 #if compiler(>=6)
523 |                 if #available(visionOS 1.0, macOS 15.0, iOS 18.0, *) {
524 |                     material.controller.preferredViewingMode = videoMaterial.controller.preferredViewingMode
    |                                                                                         `- warning: main actor-isolated property 'preferredViewingMode' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
525 |                     material.triangleFillMode = videoMaterial.triangleFillMode
526 |                     if #available(visionOS 2.0, *) {
RealityFoundation.VideoPlaybackController.preferredViewingMode:2:39: note: property declared here
1 | class VideoPlaybackController {
2 | @MainActor @preconcurrency public var preferredViewingMode: VideoPlaybackController.ViewingMode { get set }}
  |                                       `- note: property declared here
3 |
[39/46] Compiling Euclid Euclid+CoreGraphics.swift
/Users/admin/builder/spi-builder-workspace/Sources/Euclid+RealityKit.swift:82:44: warning: call to main actor-isolated static method 'generate(from:withName:options:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 61 |
 62 | @available(macOS 12.0, iOS 15.0, tvOS 26.0, *)
 63 | private func defaultMaterialLookup(_ material: Polygon.Material?) -> RealityKit.Material? {
    |              `- note: add '@MainActor' to make global function 'defaultMaterialLookup' part of global actor 'MainActor'
 64 |     switch material {
 65 |     case let wrapper as MaterialWrapper:
    :
 80 |         let texture = try? TextureResource(image: image, options: options)
 81 |         #else
 82 |         let texture = try? TextureResource.generate(from: image, options: options)
    |                                            `- warning: call to main actor-isolated static method 'generate(from:withName:options:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 83 |         #endif
 84 |         guard let texture else { return nil }
RealityFoundation.TextureResource.generate:6:49: note: calls to static method 'generate(from:withName:options:)' from outside of its actor context are implicitly asynchronous
4 |   @available(macCatalyst, introduced: 15.0, deprecated: 18.0, renamed: "init(image:withName:options:)")
5 |   @available(visionOS, introduced: 1.0, deprecated: 2.0, renamed: "init(image:withName:options:)")
6 |   @MainActor @preconcurrency public static func generate(from cgImage: CGImage, withName resourceName: String? = nil, options: TextureResource.CreateOptions) throws -> TextureResource}
  |                                                 `- note: calls to static method 'generate(from:withName:options:)' from outside of its actor context are implicitly asynchronous
7 |
/Users/admin/builder/spi-builder-workspace/Sources/Euclid+RealityKit.swift:431:43: warning: main actor-isolated property 'contents' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
429 |     init(_ meshResource: MeshResource, materials: [Polygon.Material?] = []) {
430 |         var models = [String: Mesh]()
431 |         self.init(submeshes: meshResource.contents.instances.compactMap {
    |                                           `- warning: main actor-isolated property 'contents' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
432 |             var mesh = models[$0.model]
433 |             if mesh == nil, let model = meshResource.contents.models[$0.model] {
RealityFoundation.MeshResource.contents:2:39: note: property declared here
1 | class MeshResource {
2 | @MainActor @preconcurrency public var contents: MeshResource.Contents { get }}
  |                                       `- note: property declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Euclid+RealityKit.swift:433:54: warning: main actor-isolated property 'contents' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
431 |         self.init(submeshes: meshResource.contents.instances.compactMap {
432 |             var mesh = models[$0.model]
433 |             if mesh == nil, let model = meshResource.contents.models[$0.model] {
    |                                                      `- warning: main actor-isolated property 'contents' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
434 |                 let modelMesh = Mesh(model, materials: materials)
435 |                 models[$0.model] = modelMesh
RealityFoundation.MeshResource.contents:2:39: note: property declared here
1 | class MeshResource {
2 | @MainActor @preconcurrency public var contents: MeshResource.Contents { get }}
  |                                       `- note: property declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Euclid+RealityKit.swift:469:39: warning: main actor-isolated property 'model' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
467 |     ///   - materialLookup: An optional closure to map the RealityKit materials to Euclid materials.
468 |     init(_ modelEntity: ModelEntity, materialLookup: RealityKitMaterialProvider? = nil) {
469 |         guard let model = modelEntity.model else {
    |                                       `- warning: main actor-isolated property 'model' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
470 |             self = .empty
471 |             return
RealityFoundation.HasModel.model:2:39: note: property declared here
1 | protocol HasModel {
2 | @MainActor @preconcurrency public var model: ModelComponent? { get set }}
  |                                       `- note: property declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Euclid+RealityKit.swift:474:41: warning: main actor-isolated property 'transform' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
472 |         }
473 |         self.init(model, materialLookup: materialLookup)
474 |         transform(by: .init(modelEntity.transform))
    |                                         `- warning: main actor-isolated property 'transform' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
475 |     }
476 |
RealityFoundation.HasTransform.transform:2:39: note: property declared here
1 | protocol HasTransform {
2 | @MainActor @preconcurrency public var transform: Transform { get set }}
  |                                       `- note: property declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Euclid+RealityKit.swift:520:52: warning: main actor-isolated property 'avPlayer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
518 |                 return MaterialWrapper(material)
519 |             case let videoMaterial as VideoMaterial:
520 |                 guard let avPlayer = videoMaterial.avPlayer else { return nil }
    |                                                    `- warning: main actor-isolated property 'avPlayer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
521 |                 var material = VideoMaterial(avPlayer: avPlayer)
522 |                 #if compiler(>=6)
RealityFoundation.VideoMaterial.avPlayer:2:39: note: property declared here
1 | struct VideoMaterial {
2 | @MainActor @preconcurrency public var avPlayer: AVPlayer? { get set }}
  |                                       `- note: property declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Euclid+RealityKit.swift:521:32: warning: call to main actor-isolated initializer 'init(avPlayer:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
519 |             case let videoMaterial as VideoMaterial:
520 |                 guard let avPlayer = videoMaterial.avPlayer else { return nil }
521 |                 var material = VideoMaterial(avPlayer: avPlayer)
    |                                `- warning: call to main actor-isolated initializer 'init(avPlayer:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
522 |                 #if compiler(>=6)
523 |                 if #available(visionOS 1.0, macOS 15.0, iOS 18.0, *) {
RealityFoundation.VideoMaterial.init:2:35: note: calls to initializer 'init(avPlayer:)' from outside of its actor context are implicitly asynchronous
1 | struct VideoMaterial {
2 | @MainActor @preconcurrency public init(avPlayer: AVPlayer)}
  |                                   `- note: calls to initializer 'init(avPlayer:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Euclid+RealityKit.swift:524:41: warning: main actor-isolated property 'preferredViewingMode' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
522 |                 #if compiler(>=6)
523 |                 if #available(visionOS 1.0, macOS 15.0, iOS 18.0, *) {
524 |                     material.controller.preferredViewingMode = videoMaterial.controller.preferredViewingMode
    |                                         `- warning: main actor-isolated property 'preferredViewingMode' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
525 |                     material.triangleFillMode = videoMaterial.triangleFillMode
526 |                     if #available(visionOS 2.0, *) {
RealityFoundation.VideoPlaybackController.preferredViewingMode:2:39: note: mutation of this property is only permitted within the actor
1 | class VideoPlaybackController {
2 | @MainActor @preconcurrency public var preferredViewingMode: VideoPlaybackController.ViewingMode { get set }}
  |                                       `- note: mutation of this property is only permitted within the actor
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Euclid+RealityKit.swift:524:89: warning: main actor-isolated property 'preferredViewingMode' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
522 |                 #if compiler(>=6)
523 |                 if #available(visionOS 1.0, macOS 15.0, iOS 18.0, *) {
524 |                     material.controller.preferredViewingMode = videoMaterial.controller.preferredViewingMode
    |                                                                                         `- warning: main actor-isolated property 'preferredViewingMode' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
525 |                     material.triangleFillMode = videoMaterial.triangleFillMode
526 |                     if #available(visionOS 2.0, *) {
RealityFoundation.VideoPlaybackController.preferredViewingMode:2:39: note: property declared here
1 | class VideoPlaybackController {
2 | @MainActor @preconcurrency public var preferredViewingMode: VideoPlaybackController.ViewingMode { get set }}
  |                                       `- note: property declared here
3 |
[40/46] Compiling Euclid Euclid+CoreText.swift
/Users/admin/builder/spi-builder-workspace/Sources/Euclid+RealityKit.swift:82:44: warning: call to main actor-isolated static method 'generate(from:withName:options:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 61 |
 62 | @available(macOS 12.0, iOS 15.0, tvOS 26.0, *)
 63 | private func defaultMaterialLookup(_ material: Polygon.Material?) -> RealityKit.Material? {
    |              `- note: add '@MainActor' to make global function 'defaultMaterialLookup' part of global actor 'MainActor'
 64 |     switch material {
 65 |     case let wrapper as MaterialWrapper:
    :
 80 |         let texture = try? TextureResource(image: image, options: options)
 81 |         #else
 82 |         let texture = try? TextureResource.generate(from: image, options: options)
    |                                            `- warning: call to main actor-isolated static method 'generate(from:withName:options:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 83 |         #endif
 84 |         guard let texture else { return nil }
RealityFoundation.TextureResource.generate:6:49: note: calls to static method 'generate(from:withName:options:)' from outside of its actor context are implicitly asynchronous
4 |   @available(macCatalyst, introduced: 15.0, deprecated: 18.0, renamed: "init(image:withName:options:)")
5 |   @available(visionOS, introduced: 1.0, deprecated: 2.0, renamed: "init(image:withName:options:)")
6 |   @MainActor @preconcurrency public static func generate(from cgImage: CGImage, withName resourceName: String? = nil, options: TextureResource.CreateOptions) throws -> TextureResource}
  |                                                 `- note: calls to static method 'generate(from:withName:options:)' from outside of its actor context are implicitly asynchronous
7 |
/Users/admin/builder/spi-builder-workspace/Sources/Euclid+RealityKit.swift:431:43: warning: main actor-isolated property 'contents' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
429 |     init(_ meshResource: MeshResource, materials: [Polygon.Material?] = []) {
430 |         var models = [String: Mesh]()
431 |         self.init(submeshes: meshResource.contents.instances.compactMap {
    |                                           `- warning: main actor-isolated property 'contents' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
432 |             var mesh = models[$0.model]
433 |             if mesh == nil, let model = meshResource.contents.models[$0.model] {
RealityFoundation.MeshResource.contents:2:39: note: property declared here
1 | class MeshResource {
2 | @MainActor @preconcurrency public var contents: MeshResource.Contents { get }}
  |                                       `- note: property declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Euclid+RealityKit.swift:433:54: warning: main actor-isolated property 'contents' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
431 |         self.init(submeshes: meshResource.contents.instances.compactMap {
432 |             var mesh = models[$0.model]
433 |             if mesh == nil, let model = meshResource.contents.models[$0.model] {
    |                                                      `- warning: main actor-isolated property 'contents' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
434 |                 let modelMesh = Mesh(model, materials: materials)
435 |                 models[$0.model] = modelMesh
RealityFoundation.MeshResource.contents:2:39: note: property declared here
1 | class MeshResource {
2 | @MainActor @preconcurrency public var contents: MeshResource.Contents { get }}
  |                                       `- note: property declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Euclid+RealityKit.swift:469:39: warning: main actor-isolated property 'model' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
467 |     ///   - materialLookup: An optional closure to map the RealityKit materials to Euclid materials.
468 |     init(_ modelEntity: ModelEntity, materialLookup: RealityKitMaterialProvider? = nil) {
469 |         guard let model = modelEntity.model else {
    |                                       `- warning: main actor-isolated property 'model' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
470 |             self = .empty
471 |             return
RealityFoundation.HasModel.model:2:39: note: property declared here
1 | protocol HasModel {
2 | @MainActor @preconcurrency public var model: ModelComponent? { get set }}
  |                                       `- note: property declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Euclid+RealityKit.swift:474:41: warning: main actor-isolated property 'transform' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
472 |         }
473 |         self.init(model, materialLookup: materialLookup)
474 |         transform(by: .init(modelEntity.transform))
    |                                         `- warning: main actor-isolated property 'transform' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
475 |     }
476 |
RealityFoundation.HasTransform.transform:2:39: note: property declared here
1 | protocol HasTransform {
2 | @MainActor @preconcurrency public var transform: Transform { get set }}
  |                                       `- note: property declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Euclid+RealityKit.swift:520:52: warning: main actor-isolated property 'avPlayer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
518 |                 return MaterialWrapper(material)
519 |             case let videoMaterial as VideoMaterial:
520 |                 guard let avPlayer = videoMaterial.avPlayer else { return nil }
    |                                                    `- warning: main actor-isolated property 'avPlayer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
521 |                 var material = VideoMaterial(avPlayer: avPlayer)
522 |                 #if compiler(>=6)
RealityFoundation.VideoMaterial.avPlayer:2:39: note: property declared here
1 | struct VideoMaterial {
2 | @MainActor @preconcurrency public var avPlayer: AVPlayer? { get set }}
  |                                       `- note: property declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Euclid+RealityKit.swift:521:32: warning: call to main actor-isolated initializer 'init(avPlayer:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
519 |             case let videoMaterial as VideoMaterial:
520 |                 guard let avPlayer = videoMaterial.avPlayer else { return nil }
521 |                 var material = VideoMaterial(avPlayer: avPlayer)
    |                                `- warning: call to main actor-isolated initializer 'init(avPlayer:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
522 |                 #if compiler(>=6)
523 |                 if #available(visionOS 1.0, macOS 15.0, iOS 18.0, *) {
RealityFoundation.VideoMaterial.init:2:35: note: calls to initializer 'init(avPlayer:)' from outside of its actor context are implicitly asynchronous
1 | struct VideoMaterial {
2 | @MainActor @preconcurrency public init(avPlayer: AVPlayer)}
  |                                   `- note: calls to initializer 'init(avPlayer:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Euclid+RealityKit.swift:524:41: warning: main actor-isolated property 'preferredViewingMode' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
522 |                 #if compiler(>=6)
523 |                 if #available(visionOS 1.0, macOS 15.0, iOS 18.0, *) {
524 |                     material.controller.preferredViewingMode = videoMaterial.controller.preferredViewingMode
    |                                         `- warning: main actor-isolated property 'preferredViewingMode' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
525 |                     material.triangleFillMode = videoMaterial.triangleFillMode
526 |                     if #available(visionOS 2.0, *) {
RealityFoundation.VideoPlaybackController.preferredViewingMode:2:39: note: mutation of this property is only permitted within the actor
1 | class VideoPlaybackController {
2 | @MainActor @preconcurrency public var preferredViewingMode: VideoPlaybackController.ViewingMode { get set }}
  |                                       `- note: mutation of this property is only permitted within the actor
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Euclid+RealityKit.swift:524:89: warning: main actor-isolated property 'preferredViewingMode' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
522 |                 #if compiler(>=6)
523 |                 if #available(visionOS 1.0, macOS 15.0, iOS 18.0, *) {
524 |                     material.controller.preferredViewingMode = videoMaterial.controller.preferredViewingMode
    |                                                                                         `- warning: main actor-isolated property 'preferredViewingMode' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
525 |                     material.triangleFillMode = videoMaterial.triangleFillMode
526 |                     if #available(visionOS 2.0, *) {
RealityFoundation.VideoPlaybackController.preferredViewingMode:2:39: note: property declared here
1 | class VideoPlaybackController {
2 | @MainActor @preconcurrency public var preferredViewingMode: VideoPlaybackController.ViewingMode { get set }}
  |                                       `- note: property declared here
3 |
[41/46] Compiling Euclid Euclid+RealityKit.swift
/Users/admin/builder/spi-builder-workspace/Sources/Euclid+RealityKit.swift:82:44: warning: call to main actor-isolated static method 'generate(from:withName:options:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 61 |
 62 | @available(macOS 12.0, iOS 15.0, tvOS 26.0, *)
 63 | private func defaultMaterialLookup(_ material: Polygon.Material?) -> RealityKit.Material? {
    |              `- note: add '@MainActor' to make global function 'defaultMaterialLookup' part of global actor 'MainActor'
 64 |     switch material {
 65 |     case let wrapper as MaterialWrapper:
    :
 80 |         let texture = try? TextureResource(image: image, options: options)
 81 |         #else
 82 |         let texture = try? TextureResource.generate(from: image, options: options)
    |                                            `- warning: call to main actor-isolated static method 'generate(from:withName:options:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 83 |         #endif
 84 |         guard let texture else { return nil }
RealityFoundation.TextureResource.generate:6:49: note: calls to static method 'generate(from:withName:options:)' from outside of its actor context are implicitly asynchronous
4 |   @available(macCatalyst, introduced: 15.0, deprecated: 18.0, renamed: "init(image:withName:options:)")
5 |   @available(visionOS, introduced: 1.0, deprecated: 2.0, renamed: "init(image:withName:options:)")
6 |   @MainActor @preconcurrency public static func generate(from cgImage: CGImage, withName resourceName: String? = nil, options: TextureResource.CreateOptions) throws -> TextureResource}
  |                                                 `- note: calls to static method 'generate(from:withName:options:)' from outside of its actor context are implicitly asynchronous
7 |
/Users/admin/builder/spi-builder-workspace/Sources/Euclid+RealityKit.swift:431:43: warning: main actor-isolated property 'contents' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
429 |     init(_ meshResource: MeshResource, materials: [Polygon.Material?] = []) {
430 |         var models = [String: Mesh]()
431 |         self.init(submeshes: meshResource.contents.instances.compactMap {
    |                                           `- warning: main actor-isolated property 'contents' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
432 |             var mesh = models[$0.model]
433 |             if mesh == nil, let model = meshResource.contents.models[$0.model] {
RealityFoundation.MeshResource.contents:2:39: note: property declared here
1 | class MeshResource {
2 | @MainActor @preconcurrency public var contents: MeshResource.Contents { get }}
  |                                       `- note: property declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Euclid+RealityKit.swift:433:54: warning: main actor-isolated property 'contents' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
431 |         self.init(submeshes: meshResource.contents.instances.compactMap {
432 |             var mesh = models[$0.model]
433 |             if mesh == nil, let model = meshResource.contents.models[$0.model] {
    |                                                      `- warning: main actor-isolated property 'contents' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
434 |                 let modelMesh = Mesh(model, materials: materials)
435 |                 models[$0.model] = modelMesh
RealityFoundation.MeshResource.contents:2:39: note: property declared here
1 | class MeshResource {
2 | @MainActor @preconcurrency public var contents: MeshResource.Contents { get }}
  |                                       `- note: property declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Euclid+RealityKit.swift:469:39: warning: main actor-isolated property 'model' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
467 |     ///   - materialLookup: An optional closure to map the RealityKit materials to Euclid materials.
468 |     init(_ modelEntity: ModelEntity, materialLookup: RealityKitMaterialProvider? = nil) {
469 |         guard let model = modelEntity.model else {
    |                                       `- warning: main actor-isolated property 'model' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
470 |             self = .empty
471 |             return
RealityFoundation.HasModel.model:2:39: note: property declared here
1 | protocol HasModel {
2 | @MainActor @preconcurrency public var model: ModelComponent? { get set }}
  |                                       `- note: property declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Euclid+RealityKit.swift:474:41: warning: main actor-isolated property 'transform' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
472 |         }
473 |         self.init(model, materialLookup: materialLookup)
474 |         transform(by: .init(modelEntity.transform))
    |                                         `- warning: main actor-isolated property 'transform' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
475 |     }
476 |
RealityFoundation.HasTransform.transform:2:39: note: property declared here
1 | protocol HasTransform {
2 | @MainActor @preconcurrency public var transform: Transform { get set }}
  |                                       `- note: property declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Euclid+RealityKit.swift:520:52: warning: main actor-isolated property 'avPlayer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
518 |                 return MaterialWrapper(material)
519 |             case let videoMaterial as VideoMaterial:
520 |                 guard let avPlayer = videoMaterial.avPlayer else { return nil }
    |                                                    `- warning: main actor-isolated property 'avPlayer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
521 |                 var material = VideoMaterial(avPlayer: avPlayer)
522 |                 #if compiler(>=6)
RealityFoundation.VideoMaterial.avPlayer:2:39: note: property declared here
1 | struct VideoMaterial {
2 | @MainActor @preconcurrency public var avPlayer: AVPlayer? { get set }}
  |                                       `- note: property declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Euclid+RealityKit.swift:521:32: warning: call to main actor-isolated initializer 'init(avPlayer:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
519 |             case let videoMaterial as VideoMaterial:
520 |                 guard let avPlayer = videoMaterial.avPlayer else { return nil }
521 |                 var material = VideoMaterial(avPlayer: avPlayer)
    |                                `- warning: call to main actor-isolated initializer 'init(avPlayer:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
522 |                 #if compiler(>=6)
523 |                 if #available(visionOS 1.0, macOS 15.0, iOS 18.0, *) {
RealityFoundation.VideoMaterial.init:2:35: note: calls to initializer 'init(avPlayer:)' from outside of its actor context are implicitly asynchronous
1 | struct VideoMaterial {
2 | @MainActor @preconcurrency public init(avPlayer: AVPlayer)}
  |                                   `- note: calls to initializer 'init(avPlayer:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Euclid+RealityKit.swift:524:41: warning: main actor-isolated property 'preferredViewingMode' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
522 |                 #if compiler(>=6)
523 |                 if #available(visionOS 1.0, macOS 15.0, iOS 18.0, *) {
524 |                     material.controller.preferredViewingMode = videoMaterial.controller.preferredViewingMode
    |                                         `- warning: main actor-isolated property 'preferredViewingMode' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
525 |                     material.triangleFillMode = videoMaterial.triangleFillMode
526 |                     if #available(visionOS 2.0, *) {
RealityFoundation.VideoPlaybackController.preferredViewingMode:2:39: note: mutation of this property is only permitted within the actor
1 | class VideoPlaybackController {
2 | @MainActor @preconcurrency public var preferredViewingMode: VideoPlaybackController.ViewingMode { get set }}
  |                                       `- note: mutation of this property is only permitted within the actor
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Euclid+RealityKit.swift:524:89: warning: main actor-isolated property 'preferredViewingMode' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
522 |                 #if compiler(>=6)
523 |                 if #available(visionOS 1.0, macOS 15.0, iOS 18.0, *) {
524 |                     material.controller.preferredViewingMode = videoMaterial.controller.preferredViewingMode
    |                                                                                         `- warning: main actor-isolated property 'preferredViewingMode' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
525 |                     material.triangleFillMode = videoMaterial.triangleFillMode
526 |                     if #available(visionOS 2.0, *) {
RealityFoundation.VideoPlaybackController.preferredViewingMode:2:39: note: property declared here
1 | class VideoPlaybackController {
2 | @MainActor @preconcurrency public var preferredViewingMode: VideoPlaybackController.ViewingMode { get set }}
  |                                       `- note: property declared here
3 |
[42/46] Compiling Euclid Euclid+SIMD.swift
[43/46] Compiling Euclid Euclid+SceneKit.swift
[44/46] Compiling Euclid Euclid+UIKit.swift
[45/46] Compiling Euclid Interpolatable.swift
[46/46] Compiling Euclid Line.swift
Build complete! (10.87s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Euclid",
  "name" : "Euclid",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Euclid",
      "targets" : [
        "Euclid"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "EuclidTests",
      "module_type" : "SwiftTarget",
      "name" : "EuclidTests",
      "path" : "Tests",
      "sources" : [
        "AngleTests.swift",
        "BoundsTests.swift",
        "CGPathTests.swift",
        "CodingTests.swift",
        "DebugDescriptionTests.swift",
        "Euclid+Testing.swift",
        "LineSegmentCSGTests.swift",
        "LineSegmentTests.swift",
        "LineTests.swift",
        "MeshCSGTests.swift",
        "MeshExportTests.swift",
        "MeshImportTests.swift",
        "MeshLatheTests.swift",
        "MeshLoftTests.swift",
        "MeshShapeTests.swift",
        "MeshTests.swift",
        "MetadataTests.swift",
        "PathCSGTests.swift",
        "PathShapeTests.swift",
        "PathTests.swift",
        "PlaneTests.swift",
        "PolygonCSGTests.swift",
        "PolygonTests.swift",
        "RealityKitTests.swift",
        "RotationTests.swift",
        "SceneKitTests.swift",
        "StretchableTests.swift",
        "TextTests.swift",
        "TransformTests.swift",
        "UtilityTests.swift",
        "VectorTests.swift",
        "VertexSetTests.swift"
      ],
      "target_dependencies" : [
        "Euclid"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Euclid",
      "module_type" : "SwiftTarget",
      "name" : "Euclid",
      "path" : "Sources",
      "product_memberships" : [
        "Euclid"
      ],
      "sources" : [
        "Angle.swift",
        "ApproximateEquality.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",
        "Interpolatable.swift",
        "Line.swift",
        "LineComparable.swift",
        "LineSegment+CSG.swift",
        "LineSegment.swift",
        "Mesh+CSG.swift",
        "Mesh+IO.swift",
        "Mesh+OBJ.swift",
        "Mesh+OFF.swift",
        "Mesh+STL.swift",
        "Mesh+Shapes.swift",
        "Mesh+Texcoords.swift",
        "Mesh.swift",
        "Path+CSG.swift",
        "Path+Shapes.swift",
        "Path.swift",
        "PathPoint.swift",
        "Plane.swift",
        "PlaneComparable.swift",
        "PointComparable.swift",
        "Polygon+CSG.swift",
        "Polygon.swift",
        "Rotation.swift",
        "Stretchable.swift",
        "Transform.swift",
        "Transformable.swift",
        "Utilities.swift",
        "Vector.swift",
        "Vertex.swift",
        "VertexSet.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Done.