Build Information
Failed to build MetalSupport, reference main (0727bc), with Swift 6.1 for macOS (SPM) on 10 Oct 2026 05:25:40 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 5.1.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/schwa/MetalSupport.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/schwa/MetalSupport
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 0727bc4 issues: create #MetalSupport#13 - MetalSupport does not compile for the iOS Simulator
Cloned https://github.com/schwa/MetalSupport.git
Revision (git rev-parse @):
0727bc4796aa5b75fdcee55c6d8026f5f1653112
SUCCESS checkout https://github.com/schwa/MetalSupport.git at main
========================================
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 UnsafeRawBufferPointer+Extras.swift
[6/23] Compiling InternalCollectionsUtilities _SortedCollection.swift
[7/23] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[8/23] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[9/24] Compiling InternalCollectionsUtilities Span+Extras.swift
[10/24] Compiling InternalCollectionsUtilities String+Padding.swift
[11/24] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[12/24] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[13/24] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[14/24] Compiling InternalCollectionsUtilities UInt+reversed.swift
[15/24] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[16/24] Compiling InternalCollectionsUtilities Integer rank.swift
[17/24] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[18/24] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[19/24] Emitting module InternalCollectionsUtilities
[20/24] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[21/24] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[22/24] Compiling InternalCollectionsUtilities Debugging.swift
[23/24] Compiling InternalCollectionsUtilities Descriptions.swift
[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/88] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[32/88] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[33/88] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[34/88] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[35/88] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[36/88] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[37/88] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[38/88] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[39/88] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[40/88] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[41/88] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[42/88] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[43/88] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[44/88] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[45/88] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[46/88] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[47/88] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[48/88] Compiling OrderedCollections OrderedDictionary+Move.swift
[49/88] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[50/88] Compiling OrderedCollections _HashTable+Bucket.swift
[51/88] Compiling OrderedCollections _HashTable+BucketIterator.swift
[52/88] Compiling OrderedCollections _HashTable+Constants.swift
[53/88] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[54/88] Compiling OrderedCollections _HashTable+Testing.swift
[55/88] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[56/88] Compiling OrderedCollections _HashTable.swift
[57/88] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[58/88] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[59/88] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[60/88] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[61/88] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[62/88] Compiling OrderedCollections OrderedSet+Sendable.swift
[63/88] Compiling OrderedCollections OrderedSet+Initializers.swift
[64/88] Compiling OrderedCollections OrderedSet+Insertions.swift
[65/88] Compiling OrderedCollections OrderedSet+Invariants.swift
[66/88] Compiling OrderedCollections OrderedSet+Move.swift
[67/88] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[68/88] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[69/88] Compiling OrderedCollections _Hashtable+Header.swift
[70/88] Compiling OrderedCollections OrderedDictionary+Codable.swift
[71/88] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[72/88] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[73/88] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[74/88] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[75/88] Compiling OrderedCollections OrderedDictionary+Elements.swift
[76/88] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[77/88] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[78/88] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[79/88] Compiling OrderedCollections OrderedDictionary+Values.swift
[80/88] Compiling OrderedCollections OrderedDictionary.swift
[81/88] Compiling OrderedCollections OrderedSet+Codable.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 DrawHelpers.swift
[96/112] Compiling MetalSupport Labeled.swift
[97/112] Compiling MetalSupport MTKMesh+Extensions.swift
[98/112] Compiling MetalSupport MTLVertexDescriptor+Extensions.swift
[99/112] Compiling MetalSupport MTLVertexFormat+Extensions.swift
[100/112] Compiling MetalSupport Metal+SwiftUI.swift
[101/112] Compiling MetalSupport MetalSupportError.swift
[102/112] Compiling MetalSupport MTLPixelFormat+Extensions.swift
[103/112] Compiling MetalSupport MTLTexture+Extensions.swift
[104/112] Compiling MetalSupport MTLGeometry+Extensions.swift
[105/112] Compiling MetalSupport MTLIndexType+Extensions.swift
[106/112] Compiling MetalSupport MTLBuffer+Extensions.swift
[107/112] Compiling MetalSupport MTLCommandBuffer+Extensions.swift
[108/112] Compiling MetalSupport MTLCommandBufferDescriptor+Extensions.swift
[109/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.")))
[110/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.")))
[111/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
[112/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
Fetching https://github.com/apple/swift-collections.git from cache
Fetched https://github.com/apple/swift-collections.git from cache (2.17s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.6.0 (0.62s)
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 UInt+first and last set bit.swift
[5/20] Compiling InternalCollectionsUtilities UInt+reversed.swift
[6/20] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[7/20] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[8/20] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[9/20] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[10/20] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[11/20] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[12/20] Compiling InternalCollectionsUtilities Span+Extras.swift
[13/20] Compiling InternalCollectionsUtilities String+Padding.swift
[14/20] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[15/20] Compiling InternalCollectionsUtilities Integer rank.swift
[16/20] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[17/20] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[18/21] Compiling InternalCollectionsUtilities Debugging.swift
[19/21] Compiling InternalCollectionsUtilities Descriptions.swift
[20/21] Emitting module InternalCollectionsUtilities
[21/21] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[22/79] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[23/79] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[24/79] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[25/79] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[26/79] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[27/79] Compiling OrderedCollections OrderedSet+Sendable.swift
[28/85] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[29/85] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[30/85] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[31/85] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[32/85] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[33/85] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[34/85] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[35/85] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[36/85] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[37/85] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[38/85] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[39/85] Compiling OrderedCollections OrderedDictionary+Move.swift
[40/85] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[41/85] Compiling OrderedCollections _Hashtable+Header.swift
[42/85] Compiling OrderedCollections OrderedDictionary+Codable.swift
[43/85] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[44/85] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[45/85] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[46/85] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[47/85] Compiling OrderedCollections OrderedDictionary+Elements.swift
[48/85] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[49/85] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[50/85] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[51/85] Compiling OrderedCollections OrderedDictionary+Values.swift
[52/85] Compiling OrderedCollections OrderedDictionary.swift
[53/85] Compiling OrderedCollections OrderedSet+Codable.swift
[54/85] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[55/85] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[56/85] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[57/85] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[58/85] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[59/85] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[60/85] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[61/85] Compiling OrderedCollections OrderedSet+Descriptions.swift
[62/85] Compiling OrderedCollections OrderedSet+Diffing.swift
[63/85] Compiling OrderedCollections OrderedSet+Equatable.swift
[64/85] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[65/85] Compiling OrderedCollections OrderedSet+Hashable.swift
[66/85] Compiling OrderedCollections OrderedSet+Initializers.swift
[67/85] Compiling OrderedCollections OrderedSet+Insertions.swift
[68/85] Compiling OrderedCollections OrderedSet+Invariants.swift
[69/85] Compiling OrderedCollections OrderedSet+Move.swift
[70/85] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[71/85] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.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 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
[87/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
[88/109] Compiling MetalSupport BaseSupport.swift
[89/109] Compiling MetalSupport DebugGroup.swift
[90/109] Compiling MetalSupport DescriptorInits.swift
[91/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.")))
[92/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.")))
error: emit-module command failed with exit code 1 (use -v to see invocation)
[93/109] Compiling MetalSupport Metal+SwiftUI.swift
[94/109] Compiling MetalSupport MetalSupportError.swift
[95/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.")))
[96/109] Compiling MetalSupport MTLVertexDescriptor+Extensions.swift
[97/109] Compiling MetalSupport MTLVertexFormat+Extensions.swift
[98/109] Compiling MetalSupport MTLGeometry+Extensions.swift
[99/109] Compiling MetalSupport MTLIndexType+Extensions.swift
[100/109] Compiling MetalSupport MTLBuffer+Extensions.swift
[101/109] Compiling MetalSupport MTLCommandBuffer+Extensions.swift
[102/109] Compiling MetalSupport MTLCommandBufferDescriptor+Extensions.swift
[103/109] Compiling MetalSupport DrawHelpers.swift
[104/109] Compiling MetalSupport Labeled.swift
[105/109] Compiling MetalSupport MTKMesh+Extensions.swift
[106/109] Compiling MetalSupport MTLPixelFormat+Extensions.swift
[107/109] Compiling MetalSupport MTLTexture+Extensions.swift
[108/109] Compiling MetalSupport UnsafeBytes.swift
[109/109] Compiling MetalSupport VertexDescriptor.swift
BUILD FAILURE 6.1 macosSpm