The Swift Package Index logo.Swift Package Index

Build Information

Failed to build MetalSupport, reference 1.0.6 (74c037), with Swift 6.1 for macOS (SPM) on 3 Oct 2026 17:17:56 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.1.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/schwa/MetalSupport.git
Reference: 1.0.6
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/schwa/MetalSupport
 * tag               1.0.6      -> FETCH_HEAD
HEAD is now at 74c0378 Add MTLDevice capability checks: isParavirtual, supportsMetal4, supportsMeshShaders
Cloned https://github.com/schwa/MetalSupport.git
Revision (git rev-parse @):
74c03788c9428544ccea69bc6781cdc9d2b2da81
SUCCESS checkout https://github.com/schwa/MetalSupport.git at 1.0.6
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/schwa/MetalSupport.git
https://github.com/schwa/MetalSupport.git
{
  "dependencies" : [
    {
      "identity" : "swift-collections",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.3.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-collections.git"
    }
  ],
  "manifest_display_name" : "MetalSupport",
  "name" : "MetalSupport",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "15.0"
    },
    {
      "name" : "ios",
      "version" : "18.0"
    },
    {
      "name" : "visionos",
      "version" : "2.0"
    }
  ],
  "products" : [
    {
      "name" : "MetalSupport",
      "targets" : [
        "MetalSupport"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "MetalSupportTests",
      "module_type" : "SwiftTarget",
      "name" : "MetalSupportTests",
      "path" : "Tests/MetalSupportTests",
      "sources" : [
        "CommandBufferAndQueueTests.swift",
        "DebugGroupTests.swift",
        "DeviceCapabilitiesTests.swift",
        "DrawHelpersAndLabeledTests.swift",
        "MTKMeshExtensionsTests.swift",
        "MetalSupportTests.swift",
        "MetalSwiftUITests.swift",
        "MoreCoverageTests.swift",
        "TextureExtensionsTests.swift",
        "TextureFillTests.swift",
        "UnsafeBytesTests.swift",
        "VertexDescriptorExtensionsTests.swift",
        "VertexDescriptorReflectionTests.swift"
      ],
      "target_dependencies" : [
        "MetalSupport"
      ],
      "type" : "test"
    },
    {
      "c99name" : "MetalSupport",
      "module_type" : "SwiftTarget",
      "name" : "MetalSupport",
      "path" : "Sources/MetalSupport",
      "product_dependencies" : [
        "OrderedCollections"
      ],
      "product_memberships" : [
        "MetalSupport"
      ],
      "sources" : [
        "BaseSupport.swift",
        "DebugGroup.swift",
        "DescriptorInits.swift",
        "DrawHelpers.swift",
        "Labeled.swift",
        "MTKMesh+Extensions.swift",
        "MTLBuffer+Extensions.swift",
        "MTLCommandBuffer+Extensions.swift",
        "MTLCommandBufferDescriptor+Extensions.swift",
        "MTLCommandQueue+Extensions.swift",
        "MTLDevice+Capabilities.swift",
        "MTLDevice+Extensions.swift",
        "MTLFunction+Extensions.swift",
        "MTLGeometry+Extensions.swift",
        "MTLIndexType+Extensions.swift",
        "MTLPixelFormat+Extensions.swift",
        "MTLTexture+Extensions.swift",
        "MTLVertexDescriptor+Extensions.swift",
        "MTLVertexFormat+Extensions.swift",
        "Metal+SwiftUI.swift",
        "MetalSupportError.swift",
        "UnsafeBytes.swift",
        "VertexDescriptor.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
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
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-2F0A5646E1D333AE.txt
[5/23] Compiling InternalCollectionsUtilities Span+Extras.swift
[6/23] Compiling InternalCollectionsUtilities String+Padding.swift
[7/24] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[8/24] Compiling InternalCollectionsUtilities _SortedCollection.swift
[9/24] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[10/24] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[11/24] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[12/24] Compiling InternalCollectionsUtilities Integer rank.swift
[13/24] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[14/24] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[15/24] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[16/24] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[17/24] Compiling InternalCollectionsUtilities Debugging.swift
[18/24] Compiling InternalCollectionsUtilities Descriptions.swift
[19/24] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[20/24] Compiling InternalCollectionsUtilities UInt+reversed.swift
[21/24] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[22/24] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[23/24] Emitting module InternalCollectionsUtilities
[24/24] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[25/82] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[26/82] Compiling OrderedCollections OrderedSet+Descriptions.swift
[27/82] Compiling OrderedCollections OrderedSet+Diffing.swift
[28/82] Compiling OrderedCollections OrderedSet+Equatable.swift
[29/82] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[30/82] Compiling OrderedCollections OrderedSet+Hashable.swift
[31/82] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[32/82] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[33/82] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[34/82] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[35/82] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[36/82] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[37/88] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[38/88] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[39/88] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[40/88] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[41/88] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[42/88] Compiling OrderedCollections OrderedDictionary+Move.swift
[43/88] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[44/88] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[45/88] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[46/88] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[47/88] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[48/88] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[49/88] Compiling OrderedCollections OrderedSet+Sendable.swift
[50/88] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[51/88] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[52/88] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[53/88] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[54/88] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[55/88] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[56/88] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[57/88] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[58/88] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[59/88] Compiling OrderedCollections OrderedDictionary+Values.swift
[60/88] Compiling OrderedCollections OrderedDictionary.swift
[61/88] Compiling OrderedCollections OrderedSet+Codable.swift
[62/88] Compiling OrderedCollections _Hashtable+Header.swift
[63/88] Compiling OrderedCollections OrderedDictionary+Codable.swift
[64/88] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[65/88] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[66/88] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[67/88] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[68/88] Compiling OrderedCollections OrderedDictionary+Elements.swift
[69/88] Compiling OrderedCollections _HashTable+Bucket.swift
[70/88] Compiling OrderedCollections _HashTable+BucketIterator.swift
[71/88] Compiling OrderedCollections _HashTable+Constants.swift
[72/88] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[73/88] Compiling OrderedCollections _HashTable+Testing.swift
[74/88] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[75/88] Compiling OrderedCollections _HashTable.swift
[76/88] Compiling OrderedCollections OrderedSet+Initializers.swift
[77/88] Compiling OrderedCollections OrderedSet+Insertions.swift
[78/88] Compiling OrderedCollections OrderedSet+Invariants.swift
[79/88] Compiling OrderedCollections OrderedSet+Move.swift
[80/88] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[81/88] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[82/88] Compiling OrderedCollections OrderedSet+SubSequence.swift
[83/88] Compiling OrderedCollections OrderedSet+Testing.swift
[84/88] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[85/88] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[86/88] Compiling OrderedCollections OrderedSet.swift
[87/88] Compiling OrderedCollections _UnsafeBitset.swift
[88/88] Emitting module OrderedCollections
error: emit-module command failed with exit code 1 (use -v to see invocation)
[89/110] Emitting module MetalSupport
/Users/admin/builder/spi-builder-workspace/Sources/MetalSupport/MTLDevice+Extensions.swift:15:16: error: static property 'shared' is not concurrency-safe because non-'Sendable' type 'any MTLDevice' may have shared mutable state
 13 | private enum SystemDefaultDevice {
 14 |     // Global `let` initialisation is lazy and run-once, which gives us thread-safe caching for free.
 15 |     static let shared: MTLDevice = {
    |                `- error: static property 'shared' is not concurrency-safe because non-'Sendable' type 'any MTLDevice' may have shared mutable state
 16 |         // swiftlint:disable:next MTLCreateSystemDefaultDevice
 17 |         MTLCreateSystemDefaultDevice().orFatalError(.unexpectedError(.resourceCreationFailure("Could not create system default device.")))
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLDevice.h:434:11: note: protocol 'MTLDevice' does not conform to the 'Sendable' protocol
 432 |  */
 433 | API_AVAILABLE(macos(10.11), ios(8.0))
 434 | @protocol MTLDevice <NSObject>
     |           `- note: protocol 'MTLDevice' does not conform to the 'Sendable' protocol
 435 |
 436 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/MetalSupport/MTLDevice+Extensions.swift:1:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Metal' as warnings
  1 | import Metal
    | `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Metal' as warnings
  2 | import MetalKit
  3 | import simd
    :
 13 | private enum SystemDefaultDevice {
 14 |     // Global `let` initialisation is lazy and run-once, which gives us thread-safe caching for free.
 15 |     static let shared: MTLDevice = {
    |                |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 |         // swiftlint:disable:next MTLCreateSystemDefaultDevice
 17 |         MTLCreateSystemDefaultDevice().orFatalError(.unexpectedError(.resourceCreationFailure("Could not create system default device.")))
[90/112] Compiling MetalSupport UnsafeBytes.swift
[91/112] Compiling MetalSupport VertexDescriptor.swift
[92/112] Compiling MetalSupport BaseSupport.swift
[93/112] Compiling MetalSupport DebugGroup.swift
[94/112] Compiling MetalSupport DescriptorInits.swift
[95/112] Compiling MetalSupport MTLGeometry+Extensions.swift
[96/112] Compiling MetalSupport MTLIndexType+Extensions.swift
[97/112] Compiling MetalSupport Metal+SwiftUI.swift
[98/112] Compiling MetalSupport MetalSupportError.swift
[99/112] Compiling MetalSupport DrawHelpers.swift
[100/112] Compiling MetalSupport Labeled.swift
[101/112] Compiling MetalSupport MTKMesh+Extensions.swift
[102/112] Compiling MetalSupport MTLVertexDescriptor+Extensions.swift
[103/112] Compiling MetalSupport MTLVertexFormat+Extensions.swift
[104/112] Compiling MetalSupport MTLBuffer+Extensions.swift
[105/112] Compiling MetalSupport MTLCommandBuffer+Extensions.swift
[106/112] Compiling MetalSupport MTLCommandBufferDescriptor+Extensions.swift
[107/112] Compiling MetalSupport MTLPixelFormat+Extensions.swift
[108/112] Compiling MetalSupport MTLTexture+Extensions.swift
[109/112] Compiling MetalSupport MTLCommandQueue+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/MetalSupport/MTLDevice+Capabilities.swift:15:36: error: type 'MTLGPUFamily' has no member 'metal4'
13 |     var supportsMetal4: Bool {
14 |         if #available(macOS 26, iOS 26, tvOS 26, visionOS 26, *) {
15 |             return supportsFamily(.metal4)
   |                                    `- error: type 'MTLGPUFamily' has no member 'metal4'
16 |         }
17 |         return false
[110/112] Compiling MetalSupport MTLDevice+Capabilities.swift
/Users/admin/builder/spi-builder-workspace/Sources/MetalSupport/MTLDevice+Capabilities.swift:15:36: error: type 'MTLGPUFamily' has no member 'metal4'
13 |     var supportsMetal4: Bool {
14 |         if #available(macOS 26, iOS 26, tvOS 26, visionOS 26, *) {
15 |             return supportsFamily(.metal4)
   |                                    `- error: type 'MTLGPUFamily' has no member 'metal4'
16 |         }
17 |         return false
[111/112] Compiling MetalSupport MTLDevice+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/MetalSupport/MTLDevice+Extensions.swift:15:16: error: static property 'shared' is not concurrency-safe because non-'Sendable' type 'any MTLDevice' may have shared mutable state
 13 | private enum SystemDefaultDevice {
 14 |     // Global `let` initialisation is lazy and run-once, which gives us thread-safe caching for free.
 15 |     static let shared: MTLDevice = {
    |                `- error: static property 'shared' is not concurrency-safe because non-'Sendable' type 'any MTLDevice' may have shared mutable state
 16 |         // swiftlint:disable:next MTLCreateSystemDefaultDevice
 17 |         MTLCreateSystemDefaultDevice().orFatalError(.unexpectedError(.resourceCreationFailure("Could not create system default device.")))
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLDevice.h:434:11: note: protocol 'MTLDevice' does not conform to the 'Sendable' protocol
 432 |  */
 433 | API_AVAILABLE(macos(10.11), ios(8.0))
 434 | @protocol MTLDevice <NSObject>
     |           `- note: protocol 'MTLDevice' does not conform to the 'Sendable' protocol
 435 |
 436 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/MetalSupport/MTLDevice+Extensions.swift:1:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Metal' as warnings
  1 | import Metal
    | `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Metal' as warnings
  2 | import MetalKit
  3 | import simd
    :
 13 | private enum SystemDefaultDevice {
 14 |     // Global `let` initialisation is lazy and run-once, which gives us thread-safe caching for free.
 15 |     static let shared: MTLDevice = {
    |                |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 |         // swiftlint:disable:next MTLCreateSystemDefaultDevice
 17 |         MTLCreateSystemDefaultDevice().orFatalError(.unexpectedError(.resourceCreationFailure("Could not create system default device.")))
[112/112] Compiling MetalSupport MTLFunction+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/MetalSupport/MTLDevice+Extensions.swift:15:16: error: static property 'shared' is not concurrency-safe because non-'Sendable' type 'any MTLDevice' may have shared mutable state
 13 | private enum SystemDefaultDevice {
 14 |     // Global `let` initialisation is lazy and run-once, which gives us thread-safe caching for free.
 15 |     static let shared: MTLDevice = {
    |                `- error: static property 'shared' is not concurrency-safe because non-'Sendable' type 'any MTLDevice' may have shared mutable state
 16 |         // swiftlint:disable:next MTLCreateSystemDefaultDevice
 17 |         MTLCreateSystemDefaultDevice().orFatalError(.unexpectedError(.resourceCreationFailure("Could not create system default device.")))
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLDevice.h:434:11: note: protocol 'MTLDevice' does not conform to the 'Sendable' protocol
 432 |  */
 433 | API_AVAILABLE(macos(10.11), ios(8.0))
 434 | @protocol MTLDevice <NSObject>
     |           `- note: protocol 'MTLDevice' does not conform to the 'Sendable' protocol
 435 |
 436 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/MetalSupport/MTLDevice+Extensions.swift:1:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Metal' as warnings
  1 | import Metal
    | `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Metal' as warnings
  2 | import MetalKit
  3 | import simd
    :
 13 | private enum SystemDefaultDevice {
 14 |     // Global `let` initialisation is lazy and run-once, which gives us thread-safe caching for free.
 15 |     static let shared: MTLDevice = {
    |                |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 |         // swiftlint:disable:next MTLCreateSystemDefaultDevice
 17 |         MTLCreateSystemDefaultDevice().orFatalError(.unexpectedError(.resourceCreationFailure("Could not create system default device.")))
Fetching https://github.com/apple/swift-collections.git from cache
Fetched https://github.com/apple/swift-collections.git from cache (2.14s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.6.0 (0.60s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.6.0
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/20] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[3/20] Compiling InternalCollectionsUtilities _SortedCollection.swift
[4/20] Compiling InternalCollectionsUtilities Span+Extras.swift
[5/20] Compiling InternalCollectionsUtilities String+Padding.swift
[6/20] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[7/20] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[8/21] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[9/21] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[10/21] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[11/21] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[12/21] Compiling InternalCollectionsUtilities UInt+reversed.swift
[13/21] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[14/21] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[15/21] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[16/21] Compiling InternalCollectionsUtilities Integer rank.swift
[17/21] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[18/21] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[19/21] Emitting module InternalCollectionsUtilities
[20/21] Compiling InternalCollectionsUtilities Debugging.swift
[21/21] Compiling InternalCollectionsUtilities Descriptions.swift
[22/79] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[23/79] Compiling OrderedCollections OrderedSet+Descriptions.swift
[24/79] Compiling OrderedCollections OrderedSet+Diffing.swift
[25/79] Compiling OrderedCollections OrderedSet+Equatable.swift
[26/79] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[27/79] Compiling OrderedCollections OrderedSet+Hashable.swift
[28/85] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[29/85] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[30/85] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[31/85] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[32/85] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[33/85] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[34/85] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[35/85] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[36/85] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[37/85] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[38/85] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[39/85] Compiling OrderedCollections OrderedSet+Sendable.swift
[40/85] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[41/85] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[42/85] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[43/85] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[44/85] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[45/85] Compiling OrderedCollections OrderedDictionary+Move.swift
[46/85] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[47/85] Compiling OrderedCollections _Hashtable+Header.swift
[48/85] Compiling OrderedCollections OrderedDictionary+Codable.swift
[49/85] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[50/85] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[51/85] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[52/85] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[53/85] Compiling OrderedCollections OrderedDictionary+Elements.swift
[54/85] Compiling OrderedCollections OrderedSet+Initializers.swift
[55/85] Compiling OrderedCollections OrderedSet+Insertions.swift
[56/85] Compiling OrderedCollections OrderedSet+Invariants.swift
[57/85] Compiling OrderedCollections OrderedSet+Move.swift
[58/85] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[59/85] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[60/85] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[61/85] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[62/85] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[63/85] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[64/85] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[65/85] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[66/85] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[67/85] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[68/85] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[69/85] Compiling OrderedCollections OrderedDictionary+Values.swift
[70/85] Compiling OrderedCollections OrderedDictionary.swift
[71/85] Compiling OrderedCollections OrderedSet+Codable.swift
[72/85] Compiling OrderedCollections _HashTable+Bucket.swift
[73/85] Compiling OrderedCollections _HashTable+BucketIterator.swift
[74/85] Compiling OrderedCollections _HashTable+Constants.swift
[75/85] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[76/85] Compiling OrderedCollections _HashTable+Testing.swift
[77/85] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[78/85] Compiling OrderedCollections _HashTable.swift
[79/85] Compiling OrderedCollections OrderedSet+SubSequence.swift
[80/85] Compiling OrderedCollections OrderedSet+Testing.swift
[81/85] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[82/85] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[83/85] Compiling OrderedCollections OrderedSet.swift
[84/85] Compiling OrderedCollections _UnsafeBitset.swift
[85/85] Emitting module OrderedCollections
[86/107] Compiling MetalSupport MTLVertexDescriptor+Extensions.swift
[87/107] Compiling MetalSupport MTLVertexFormat+Extensions.swift
[88/107] Compiling MetalSupport MTLCommandQueue+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/MetalSupport/MTLDevice+Capabilities.swift:15:36: error: type 'MTLGPUFamily' has no member 'metal4'
13 |     var supportsMetal4: Bool {
14 |         if #available(macOS 26, iOS 26, tvOS 26, visionOS 26, *) {
15 |             return supportsFamily(.metal4)
   |                                    `- error: type 'MTLGPUFamily' has no member 'metal4'
16 |         }
17 |         return false
[89/107] Compiling MetalSupport MTLDevice+Capabilities.swift
/Users/admin/builder/spi-builder-workspace/Sources/MetalSupport/MTLDevice+Capabilities.swift:15:36: error: type 'MTLGPUFamily' has no member 'metal4'
13 |     var supportsMetal4: Bool {
14 |         if #available(macOS 26, iOS 26, tvOS 26, visionOS 26, *) {
15 |             return supportsFamily(.metal4)
   |                                    `- error: type 'MTLGPUFamily' has no member 'metal4'
16 |         }
17 |         return false
error: emit-module command failed with exit code 1 (use -v to see invocation)
[90/109] Compiling MetalSupport BaseSupport.swift
[91/109] Compiling MetalSupport DebugGroup.swift
[92/109] Compiling MetalSupport DescriptorInits.swift
[93/109] Emitting module MetalSupport
/Users/admin/builder/spi-builder-workspace/Sources/MetalSupport/MTLDevice+Extensions.swift:15:16: error: static property 'shared' is not concurrency-safe because non-'Sendable' type 'any MTLDevice' may have shared mutable state
 13 | private enum SystemDefaultDevice {
 14 |     // Global `let` initialisation is lazy and run-once, which gives us thread-safe caching for free.
 15 |     static let shared: MTLDevice = {
    |                `- error: static property 'shared' is not concurrency-safe because non-'Sendable' type 'any MTLDevice' may have shared mutable state
 16 |         // swiftlint:disable:next MTLCreateSystemDefaultDevice
 17 |         MTLCreateSystemDefaultDevice().orFatalError(.unexpectedError(.resourceCreationFailure("Could not create system default device.")))
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLDevice.h:434:11: note: protocol 'MTLDevice' does not conform to the 'Sendable' protocol
 432 |  */
 433 | API_AVAILABLE(macos(10.11), ios(8.0))
 434 | @protocol MTLDevice <NSObject>
     |           `- note: protocol 'MTLDevice' does not conform to the 'Sendable' protocol
 435 |
 436 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/MetalSupport/MTLDevice+Extensions.swift:1:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Metal' as warnings
  1 | import Metal
    | `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Metal' as warnings
  2 | import MetalKit
  3 | import simd
    :
 13 | private enum SystemDefaultDevice {
 14 |     // Global `let` initialisation is lazy and run-once, which gives us thread-safe caching for free.
 15 |     static let shared: MTLDevice = {
    |                |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 |         // swiftlint:disable:next MTLCreateSystemDefaultDevice
 17 |         MTLCreateSystemDefaultDevice().orFatalError(.unexpectedError(.resourceCreationFailure("Could not create system default device.")))
[94/109] Compiling MetalSupport Metal+SwiftUI.swift
[95/109] Compiling MetalSupport MetalSupportError.swift
[96/109] Compiling MetalSupport MTLGeometry+Extensions.swift
[97/109] Compiling MetalSupport MTLIndexType+Extensions.swift
[98/109] Compiling MetalSupport MTLPixelFormat+Extensions.swift
[99/109] Compiling MetalSupport MTLTexture+Extensions.swift
[100/109] Compiling MetalSupport DrawHelpers.swift
[101/109] Compiling MetalSupport Labeled.swift
[102/109] Compiling MetalSupport MTKMesh+Extensions.swift
[103/109] Compiling MetalSupport MTLBuffer+Extensions.swift
[104/109] Compiling MetalSupport MTLCommandBuffer+Extensions.swift
[105/109] Compiling MetalSupport MTLCommandBufferDescriptor+Extensions.swift
[106/109] Compiling MetalSupport MTLDevice+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/MetalSupport/MTLDevice+Extensions.swift:15:16: error: static property 'shared' is not concurrency-safe because non-'Sendable' type 'any MTLDevice' may have shared mutable state
 13 | private enum SystemDefaultDevice {
 14 |     // Global `let` initialisation is lazy and run-once, which gives us thread-safe caching for free.
 15 |     static let shared: MTLDevice = {
    |                `- error: static property 'shared' is not concurrency-safe because non-'Sendable' type 'any MTLDevice' may have shared mutable state
 16 |         // swiftlint:disable:next MTLCreateSystemDefaultDevice
 17 |         MTLCreateSystemDefaultDevice().orFatalError(.unexpectedError(.resourceCreationFailure("Could not create system default device.")))
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLDevice.h:434:11: note: protocol 'MTLDevice' does not conform to the 'Sendable' protocol
 432 |  */
 433 | API_AVAILABLE(macos(10.11), ios(8.0))
 434 | @protocol MTLDevice <NSObject>
     |           `- note: protocol 'MTLDevice' does not conform to the 'Sendable' protocol
 435 |
 436 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/MetalSupport/MTLDevice+Extensions.swift:1:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Metal' as warnings
  1 | import Metal
    | `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Metal' as warnings
  2 | import MetalKit
  3 | import simd
    :
 13 | private enum SystemDefaultDevice {
 14 |     // Global `let` initialisation is lazy and run-once, which gives us thread-safe caching for free.
 15 |     static let shared: MTLDevice = {
    |                |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 |         // swiftlint:disable:next MTLCreateSystemDefaultDevice
 17 |         MTLCreateSystemDefaultDevice().orFatalError(.unexpectedError(.resourceCreationFailure("Could not create system default device.")))
[107/109] Compiling MetalSupport MTLFunction+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/MetalSupport/MTLDevice+Extensions.swift:15:16: error: static property 'shared' is not concurrency-safe because non-'Sendable' type 'any MTLDevice' may have shared mutable state
 13 | private enum SystemDefaultDevice {
 14 |     // Global `let` initialisation is lazy and run-once, which gives us thread-safe caching for free.
 15 |     static let shared: MTLDevice = {
    |                `- error: static property 'shared' is not concurrency-safe because non-'Sendable' type 'any MTLDevice' may have shared mutable state
 16 |         // swiftlint:disable:next MTLCreateSystemDefaultDevice
 17 |         MTLCreateSystemDefaultDevice().orFatalError(.unexpectedError(.resourceCreationFailure("Could not create system default device.")))
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLDevice.h:434:11: note: protocol 'MTLDevice' does not conform to the 'Sendable' protocol
 432 |  */
 433 | API_AVAILABLE(macos(10.11), ios(8.0))
 434 | @protocol MTLDevice <NSObject>
     |           `- note: protocol 'MTLDevice' does not conform to the 'Sendable' protocol
 435 |
 436 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/MetalSupport/MTLDevice+Extensions.swift:1:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Metal' as warnings
  1 | import Metal
    | `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Metal' as warnings
  2 | import MetalKit
  3 | import simd
    :
 13 | private enum SystemDefaultDevice {
 14 |     // Global `let` initialisation is lazy and run-once, which gives us thread-safe caching for free.
 15 |     static let shared: MTLDevice = {
    |                |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 |         // swiftlint:disable:next MTLCreateSystemDefaultDevice
 17 |         MTLCreateSystemDefaultDevice().orFatalError(.unexpectedError(.resourceCreationFailure("Could not create system default device.")))
[108/109] Compiling MetalSupport UnsafeBytes.swift
[109/109] Compiling MetalSupport VertexDescriptor.swift
BUILD FAILURE 6.1 macosSpm