Build Information
Successful build of Alloy, reference master (d0d317
), with Swift 6.1 for macOS (SPM) on 27 Apr 2025 08:16:03 UTC.
Swift 6 data race errors: 3
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.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/s1ddok/Alloy.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/s1ddok/Alloy
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at d0d3172 fix maxX, maxY and maxZ implementations
Cloned https://github.com/s1ddok/Alloy.git
Revision (git rev-parse @):
d0d3172e946bfabaf01883d4f84cb804c5d43fd6
SUCCESS checkout https://github.com/s1ddok/Alloy.git at master
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "alloy",
"name": "Alloy",
"url": "https://github.com/s1ddok/Alloy.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Alloy",
"dependencies": [
]
}
]
}
Fetching https://github.com/s1ddok/Alloy.git
[1/4470] Fetching alloy
Fetched https://github.com/s1ddok/Alloy.git from cache (1.26s)
Creating working copy for https://github.com/s1ddok/Alloy.git
Working copy of https://github.com/s1ddok/Alloy.git resolved at master (d0d3172)
warning: '.resolve-product-dependencies': dependency 'alloy' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/s1ddok/Alloy.git
https://github.com/s1ddok/Alloy.git
{
"dependencies" : [
],
"manifest_display_name" : "Alloy",
"name" : "Alloy",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "11.0"
},
{
"name" : "macos",
"version" : "10.13"
}
],
"products" : [
{
"name" : "Alloy",
"targets" : [
"Alloy",
"AlloyShadersSharedTypes"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "AlloyTestsResources",
"module_type" : "SwiftTarget",
"name" : "AlloyTestsResources",
"path" : "Tests/AlloyTestsResources",
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/AlloyTestsResources/Shared",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/AlloyTestsResources/TextureCopy",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"Extensions/Foundation/Bundle+AlloyTestsResources.swift"
],
"type" : "library"
},
{
"c99name" : "AlloyTests",
"module_type" : "SwiftTarget",
"name" : "AlloyTests",
"path" : "Tests/AlloyTests",
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/AlloyTests/Shaders/Shaders.metal",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"BitonicSortTests.swift",
"Encoders/SwitchDataFormatEncoder.swift",
"EuclideanDistanceTests.swift",
"Extensions/CoreGraphics/CGImage+Extensions.swift",
"Extensions/Metal/MTLPixelFormat+Extensions.swift",
"IdealSizeTests.swift",
"PerformanceTests.swift",
"TextureCachingTests.swift",
"TextureCopyTests.swift"
],
"target_dependencies" : [
"Alloy",
"AlloyTestsResources"
],
"type" : "test"
},
{
"c99name" : "AlloyShadersSharedTypes",
"module_type" : "ClangTarget",
"name" : "AlloyShadersSharedTypes",
"path" : "Sources/AlloyShadersSharedTypes",
"product_memberships" : [
"Alloy"
],
"sources" : [
"AlloyShadersSharedTypes.c"
],
"type" : "library"
},
{
"c99name" : "Alloy",
"module_type" : "SwiftTarget",
"name" : "Alloy",
"path" : "Sources/Alloy",
"product_memberships" : [
"Alloy"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Shaders/Shaders.metal",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"Core/ComputeCommand.swift",
"Core/Extensions/Alloy/MTLContext+Device.swift",
"Core/Extensions/CoreVideo/CVPixelBuffer+MTLTexture.swift",
"Core/Extensions/Foundation/Bundle+Module.swift",
"Core/Extensions/Foundation/Sequence+Utils.swift",
"Core/Extensions/Metal/MTL+Codable.swift",
"Core/Extensions/Metal/MTLBlitCommandEncoder+Extensions.swift",
"Core/Extensions/Metal/MTLBuffer+Extensions.swift",
"Core/Extensions/Metal/MTLClearColor+Extensions.swift",
"Core/Extensions/Metal/MTLCommandBuffer+Extensions.swift",
"Core/Extensions/Metal/MTLCommandQueue+Extensions.swift",
"Core/Extensions/Metal/MTLComputeCommandEncoder+Extensions.swift",
"Core/Extensions/Metal/MTLComputePipelineState+Threads.swift",
"Core/Extensions/Metal/MTLContext+CommandQueue.swift",
"Core/Extensions/Metal/MTLDevice+Extensions.swift",
"Core/Extensions/Metal/MTLDevice+Features.swift",
"Core/Extensions/Metal/MTLFunctionConstantValues+Extensions.swift",
"Core/Extensions/Metal/MTLLibrary+Extensions.swift",
"Core/Extensions/Metal/MTLOrigin+Extensions.swift",
"Core/Extensions/Metal/MTLPixelFormat+CVPixelFormat.swift",
"Core/Extensions/Metal/MTLPixelFormat+Extensions.swift",
"Core/Extensions/Metal/MTLRegion+Extensions.swift",
"Core/Extensions/Metal/MTLRenderCommandEncoder+Extensions.swift",
"Core/Extensions/Metal/MTLRenderPassColorAttachmentDescriptor+LoadAction.swift",
"Core/Extensions/Metal/MTLRenderPipelineColorAttachmentDescriptor+Extensions.swift",
"Core/Extensions/Metal/MTLResource+Extensions.swift",
"Core/Extensions/Metal/MTLSize+Extensions.swift",
"Core/Extensions/Metal/MTLSizeAndAlign+Extensions.swift",
"Core/Extensions/Metal/MTLTexture+Extensions.swift",
"Core/Extensions/Metal/MTLTexture+Serialization.swift",
"Core/Extensions/Metal/MTLTextureDescriptor+Extensions.swift",
"Core/Extensions/Metal/MTLTextureDescriptor+Serialization.swift",
"Core/Extensions/MetalPerformanceShaders/MPS+Functors.swift",
"Core/Extensions/MetalPerformanceShaders/MPSImage+Extensions.swift",
"Core/Float16.swift",
"Core/MTLContext.swift",
"Core/MTLIndexBuffer.swift",
"Core/MTLOffscreenRenderer.swift",
"Core/Metal.swift",
"Core/MetalError.swift",
"Encoders/BitonicSort/BitonicSort.swift",
"Encoders/BitonicSort/BitonicSortFinalPass.swift",
"Encoders/BitonicSort/BitonicSortFirstPass.swift",
"Encoders/BitonicSort/BitonicSortGeneralPass.swift",
"Encoders/BlockSize.swift",
"Encoders/EuclideanDistance.swift",
"Encoders/LookUpTable.swift",
"Encoders/MPSUnaryImageKernels.swift",
"Encoders/MaskGuidedBlur.swift",
"Encoders/Normalization.swift",
"Encoders/RGBAToYCbCr.swift",
"Encoders/StdMeanNormalization.swift",
"Encoders/TextureAddConstant.swift",
"Encoders/TextureAffineCrop.swift",
"Encoders/TextureCopy.swift",
"Encoders/TextureDifferenceHighlight.swift",
"Encoders/TextureDivideByConstant.swift",
"Encoders/TextureInterpolation.swift",
"Encoders/TextureMask.swift",
"Encoders/TextureMaskedMix.swift",
"Encoders/TextureMax.swift",
"Encoders/TextureMean.swift",
"Encoders/TextureMin.swift",
"Encoders/TextureMultiplyAdd.swift",
"Encoders/TextureNormalization.swift",
"Encoders/TextureResize.swift",
"Encoders/TextureWeightedMix.swift",
"Encoders/YCbCrToRGBA.swift",
"ML/GlobalPoolPadding.swift",
"ML/ONNXConvolutionPadding.swift",
"ML/PyTorchPoolPadding.swift",
"Renderers/BoundingBoxesRenderer.swift",
"Renderers/LinesRenderer.swift",
"Renderers/MaskRenderer.swift",
"Renderers/PointsRenderer.swift",
"Renderers/RectangleRenderer.swift",
"Renderers/SimpleGeometryRenderer.swift"
],
"target_dependencies" : [
"AlloyShadersSharedTypes"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
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/7] Write sources
[1/7] Copying Shaders.metal
[3/7] Copying Shared
[4/7] Copying TextureCopy
[5/7] Compiling AlloyShadersSharedTypes AlloyShadersSharedTypes.c
[6/7] Write swift-version-2F0A5646E1D333AE.txt
[8/82] Compiling AlloyTestsResources resource_bundle_accessor.swift
[9/82] Compiling AlloyTestsResources Bundle+AlloyTestsResources.swift
[10/82] Emitting module AlloyTestsResources
[11/82] Emitting module Alloy
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLTextureDescriptor+Serialization.swift:19:1: warning: extension declares a conformance of imported type 'MTLTextureDescriptor' to imported protocol 'Encodable'; this will not behave correctly if the owners of 'Metal' introduce this conformance in the future
17 | }
18 |
19 | extension MTLTextureDescriptor: Encodable {
| |- warning: extension declares a conformance of imported type 'MTLTextureDescriptor' to imported protocol 'Encodable'; this will not behave correctly if the owners of 'Metal' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
20 |
21 | internal enum CodingKeys: String, CodingKey {
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Metal.swift:8:23: warning: static property 'device' is not concurrency-safe because non-'Sendable' type '(any MTLDevice)?' may have shared mutable state; this is an error in the Swift 6 language mode
6 | public final class Metal {
7 |
8 | public static let device: MTLDevice! = MTLCreateSystemDefaultDevice()
| `- warning: static property 'device' is not concurrency-safe because non-'Sendable' type '(any MTLDevice)?' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | #if os(macOS) || targetEnvironment(macCatalyst)
/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/Alloy/Core/Metal.swift:2:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Metal'
1 | @_exported import Foundation
2 | @_exported import Metal
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Metal'
3 | @_exported import MetalKit
4 | @_exported import MetalPerformanceShaders
:
6 | public final class Metal {
7 |
8 | public static let device: MTLDevice! = MTLCreateSystemDefaultDevice()
| |- note: add '@MainActor' to make static property 'device' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | #if os(macOS) || targetEnvironment(macCatalyst)
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Metal.swift:12:23: warning: static property 'lowPowerDevice' is not concurrency-safe because non-'Sendable' type '(any MTLDevice)?' may have shared mutable state; this is an error in the Swift 6 language mode
10 | #if os(macOS) || targetEnvironment(macCatalyst)
11 | @available(macCatalyst 13.0, *)
12 | public static let lowPowerDevice: MTLDevice? = {
| |- warning: static property 'lowPowerDevice' is not concurrency-safe because non-'Sendable' type '(any MTLDevice)?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'lowPowerDevice' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | return MTLCopyAllDevices().first { $0.isLowPower }
14 | }()
/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/Alloy/ML/ONNXConvolutionPadding.swift:103:23: warning: static property 'supportsSecureCoding' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
101 | }
102 |
103 | public static var supportsSecureCoding: Bool = true
| |- warning: static property 'supportsSecureCoding' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'supportsSecureCoding' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'supportsSecureCoding' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
104 | }
105 |
[12/89] Compiling Alloy TextureDivideByConstant.swift
[13/89] Compiling Alloy TextureInterpolation.swift
[14/89] Compiling Alloy TextureMask.swift
[15/89] Compiling Alloy TextureMaskedMix.swift
[16/89] Compiling Alloy TextureMax.swift
[17/89] Compiling Alloy TextureMean.swift
[18/89] Compiling Alloy TextureMin.swift
[19/89] Compiling Alloy TextureMultiplyAdd.swift
[20/89] Compiling Alloy BitonicSort.swift
[21/89] Compiling Alloy BitonicSortFinalPass.swift
[22/89] Compiling Alloy BitonicSortFirstPass.swift
[23/89] Compiling Alloy BitonicSortGeneralPass.swift
[24/89] Compiling Alloy BlockSize.swift
[25/89] Compiling Alloy EuclideanDistance.swift
[26/89] Compiling Alloy LookUpTable.swift
[27/89] Compiling Alloy MPSUnaryImageKernels.swift
[28/89] Compiling Alloy TextureNormalization.swift
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/ML/ONNXConvolutionPadding.swift:103:23: warning: static property 'supportsSecureCoding' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
101 | }
102 |
103 | public static var supportsSecureCoding: Bool = true
| |- warning: static property 'supportsSecureCoding' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'supportsSecureCoding' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'supportsSecureCoding' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
104 | }
105 |
[29/89] Compiling Alloy TextureResize.swift
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/ML/ONNXConvolutionPadding.swift:103:23: warning: static property 'supportsSecureCoding' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
101 | }
102 |
103 | public static var supportsSecureCoding: Bool = true
| |- warning: static property 'supportsSecureCoding' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'supportsSecureCoding' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'supportsSecureCoding' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
104 | }
105 |
[30/89] Compiling Alloy TextureWeightedMix.swift
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/ML/ONNXConvolutionPadding.swift:103:23: warning: static property 'supportsSecureCoding' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
101 | }
102 |
103 | public static var supportsSecureCoding: Bool = true
| |- warning: static property 'supportsSecureCoding' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'supportsSecureCoding' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'supportsSecureCoding' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
104 | }
105 |
[31/89] Compiling Alloy YCbCrToRGBA.swift
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/ML/ONNXConvolutionPadding.swift:103:23: warning: static property 'supportsSecureCoding' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
101 | }
102 |
103 | public static var supportsSecureCoding: Bool = true
| |- warning: static property 'supportsSecureCoding' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'supportsSecureCoding' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'supportsSecureCoding' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
104 | }
105 |
[32/89] Compiling Alloy GlobalPoolPadding.swift
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/ML/ONNXConvolutionPadding.swift:103:23: warning: static property 'supportsSecureCoding' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
101 | }
102 |
103 | public static var supportsSecureCoding: Bool = true
| |- warning: static property 'supportsSecureCoding' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'supportsSecureCoding' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'supportsSecureCoding' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
104 | }
105 |
[33/89] Compiling Alloy ONNXConvolutionPadding.swift
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/ML/ONNXConvolutionPadding.swift:103:23: warning: static property 'supportsSecureCoding' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
101 | }
102 |
103 | public static var supportsSecureCoding: Bool = true
| |- warning: static property 'supportsSecureCoding' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'supportsSecureCoding' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'supportsSecureCoding' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
104 | }
105 |
[34/89] Compiling Alloy PyTorchPoolPadding.swift
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/ML/ONNXConvolutionPadding.swift:103:23: warning: static property 'supportsSecureCoding' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
101 | }
102 |
103 | public static var supportsSecureCoding: Bool = true
| |- warning: static property 'supportsSecureCoding' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'supportsSecureCoding' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'supportsSecureCoding' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
104 | }
105 |
[35/89] Compiling Alloy MTLClearColor+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLComputeCommandEncoder+Extensions.swift:7:23: warning: forming 'UnsafeRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
5 | func setValue<T>(_ value: T, at index: Int) {
6 | var t = value
7 | self.setBytes(&t, length: MemoryLayout<T>.stride, index: index)
| `- warning: forming 'UnsafeRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
8 | }
9 |
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLComputeCommandEncoder+Extensions.swift:12:23: warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
10 | func setValue<T>(_ value: [T], at index: Int) {
11 | var t = value
12 | self.setBytes(&t, length: MemoryLayout<T>.stride * value.count, index: index)
| `- warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
13 | }
14 |
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLDevice+Extensions.swift:62:51: warning: forming 'UnsafeRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
60 | options: MTLResourceOptions) throws -> MTLBuffer {
61 | var value = value
62 | guard let buffer = self.makeBuffer(bytes: &value,
| `- warning: forming 'UnsafeRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
63 | length: MemoryLayout<T>.stride,
64 | options: options)
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLDevice+Extensions.swift:71:51: warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
69 | func buffer<T>(with values: [T],
70 | options: MTLResourceOptions) throws -> MTLBuffer {
71 | guard let buffer = self.makeBuffer(bytes: values,
| `- warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
72 | length: MemoryLayout<T>.stride * values.count,
73 | options: options)
[36/89] Compiling Alloy MTLCommandBuffer+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLComputeCommandEncoder+Extensions.swift:7:23: warning: forming 'UnsafeRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
5 | func setValue<T>(_ value: T, at index: Int) {
6 | var t = value
7 | self.setBytes(&t, length: MemoryLayout<T>.stride, index: index)
| `- warning: forming 'UnsafeRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
8 | }
9 |
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLComputeCommandEncoder+Extensions.swift:12:23: warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
10 | func setValue<T>(_ value: [T], at index: Int) {
11 | var t = value
12 | self.setBytes(&t, length: MemoryLayout<T>.stride * value.count, index: index)
| `- warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
13 | }
14 |
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLDevice+Extensions.swift:62:51: warning: forming 'UnsafeRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
60 | options: MTLResourceOptions) throws -> MTLBuffer {
61 | var value = value
62 | guard let buffer = self.makeBuffer(bytes: &value,
| `- warning: forming 'UnsafeRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
63 | length: MemoryLayout<T>.stride,
64 | options: options)
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLDevice+Extensions.swift:71:51: warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
69 | func buffer<T>(with values: [T],
70 | options: MTLResourceOptions) throws -> MTLBuffer {
71 | guard let buffer = self.makeBuffer(bytes: values,
| `- warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
72 | length: MemoryLayout<T>.stride * values.count,
73 | options: options)
[37/89] Compiling Alloy MTLCommandQueue+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLComputeCommandEncoder+Extensions.swift:7:23: warning: forming 'UnsafeRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
5 | func setValue<T>(_ value: T, at index: Int) {
6 | var t = value
7 | self.setBytes(&t, length: MemoryLayout<T>.stride, index: index)
| `- warning: forming 'UnsafeRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
8 | }
9 |
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLComputeCommandEncoder+Extensions.swift:12:23: warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
10 | func setValue<T>(_ value: [T], at index: Int) {
11 | var t = value
12 | self.setBytes(&t, length: MemoryLayout<T>.stride * value.count, index: index)
| `- warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
13 | }
14 |
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLDevice+Extensions.swift:62:51: warning: forming 'UnsafeRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
60 | options: MTLResourceOptions) throws -> MTLBuffer {
61 | var value = value
62 | guard let buffer = self.makeBuffer(bytes: &value,
| `- warning: forming 'UnsafeRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
63 | length: MemoryLayout<T>.stride,
64 | options: options)
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLDevice+Extensions.swift:71:51: warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
69 | func buffer<T>(with values: [T],
70 | options: MTLResourceOptions) throws -> MTLBuffer {
71 | guard let buffer = self.makeBuffer(bytes: values,
| `- warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
72 | length: MemoryLayout<T>.stride * values.count,
73 | options: options)
[38/89] Compiling Alloy MTLComputeCommandEncoder+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLComputeCommandEncoder+Extensions.swift:7:23: warning: forming 'UnsafeRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
5 | func setValue<T>(_ value: T, at index: Int) {
6 | var t = value
7 | self.setBytes(&t, length: MemoryLayout<T>.stride, index: index)
| `- warning: forming 'UnsafeRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
8 | }
9 |
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLComputeCommandEncoder+Extensions.swift:12:23: warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
10 | func setValue<T>(_ value: [T], at index: Int) {
11 | var t = value
12 | self.setBytes(&t, length: MemoryLayout<T>.stride * value.count, index: index)
| `- warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
13 | }
14 |
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLDevice+Extensions.swift:62:51: warning: forming 'UnsafeRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
60 | options: MTLResourceOptions) throws -> MTLBuffer {
61 | var value = value
62 | guard let buffer = self.makeBuffer(bytes: &value,
| `- warning: forming 'UnsafeRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
63 | length: MemoryLayout<T>.stride,
64 | options: options)
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLDevice+Extensions.swift:71:51: warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
69 | func buffer<T>(with values: [T],
70 | options: MTLResourceOptions) throws -> MTLBuffer {
71 | guard let buffer = self.makeBuffer(bytes: values,
| `- warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
72 | length: MemoryLayout<T>.stride * values.count,
73 | options: options)
[39/89] Compiling Alloy MTLComputePipelineState+Threads.swift
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLComputeCommandEncoder+Extensions.swift:7:23: warning: forming 'UnsafeRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
5 | func setValue<T>(_ value: T, at index: Int) {
6 | var t = value
7 | self.setBytes(&t, length: MemoryLayout<T>.stride, index: index)
| `- warning: forming 'UnsafeRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
8 | }
9 |
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLComputeCommandEncoder+Extensions.swift:12:23: warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
10 | func setValue<T>(_ value: [T], at index: Int) {
11 | var t = value
12 | self.setBytes(&t, length: MemoryLayout<T>.stride * value.count, index: index)
| `- warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
13 | }
14 |
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLDevice+Extensions.swift:62:51: warning: forming 'UnsafeRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
60 | options: MTLResourceOptions) throws -> MTLBuffer {
61 | var value = value
62 | guard let buffer = self.makeBuffer(bytes: &value,
| `- warning: forming 'UnsafeRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
63 | length: MemoryLayout<T>.stride,
64 | options: options)
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLDevice+Extensions.swift:71:51: warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
69 | func buffer<T>(with values: [T],
70 | options: MTLResourceOptions) throws -> MTLBuffer {
71 | guard let buffer = self.makeBuffer(bytes: values,
| `- warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
72 | length: MemoryLayout<T>.stride * values.count,
73 | options: options)
[40/89] Compiling Alloy MTLContext+CommandQueue.swift
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLComputeCommandEncoder+Extensions.swift:7:23: warning: forming 'UnsafeRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
5 | func setValue<T>(_ value: T, at index: Int) {
6 | var t = value
7 | self.setBytes(&t, length: MemoryLayout<T>.stride, index: index)
| `- warning: forming 'UnsafeRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
8 | }
9 |
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLComputeCommandEncoder+Extensions.swift:12:23: warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
10 | func setValue<T>(_ value: [T], at index: Int) {
11 | var t = value
12 | self.setBytes(&t, length: MemoryLayout<T>.stride * value.count, index: index)
| `- warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
13 | }
14 |
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLDevice+Extensions.swift:62:51: warning: forming 'UnsafeRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
60 | options: MTLResourceOptions) throws -> MTLBuffer {
61 | var value = value
62 | guard let buffer = self.makeBuffer(bytes: &value,
| `- warning: forming 'UnsafeRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
63 | length: MemoryLayout<T>.stride,
64 | options: options)
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLDevice+Extensions.swift:71:51: warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
69 | func buffer<T>(with values: [T],
70 | options: MTLResourceOptions) throws -> MTLBuffer {
71 | guard let buffer = self.makeBuffer(bytes: values,
| `- warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
72 | length: MemoryLayout<T>.stride * values.count,
73 | options: options)
[41/89] Compiling Alloy MTLDevice+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLComputeCommandEncoder+Extensions.swift:7:23: warning: forming 'UnsafeRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
5 | func setValue<T>(_ value: T, at index: Int) {
6 | var t = value
7 | self.setBytes(&t, length: MemoryLayout<T>.stride, index: index)
| `- warning: forming 'UnsafeRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
8 | }
9 |
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLComputeCommandEncoder+Extensions.swift:12:23: warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
10 | func setValue<T>(_ value: [T], at index: Int) {
11 | var t = value
12 | self.setBytes(&t, length: MemoryLayout<T>.stride * value.count, index: index)
| `- warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
13 | }
14 |
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLDevice+Extensions.swift:62:51: warning: forming 'UnsafeRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
60 | options: MTLResourceOptions) throws -> MTLBuffer {
61 | var value = value
62 | guard let buffer = self.makeBuffer(bytes: &value,
| `- warning: forming 'UnsafeRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
63 | length: MemoryLayout<T>.stride,
64 | options: options)
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLDevice+Extensions.swift:71:51: warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
69 | func buffer<T>(with values: [T],
70 | options: MTLResourceOptions) throws -> MTLBuffer {
71 | guard let buffer = self.makeBuffer(bytes: values,
| `- warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
72 | length: MemoryLayout<T>.stride * values.count,
73 | options: options)
[42/89] Compiling Alloy MTLDevice+Features.swift
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLComputeCommandEncoder+Extensions.swift:7:23: warning: forming 'UnsafeRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
5 | func setValue<T>(_ value: T, at index: Int) {
6 | var t = value
7 | self.setBytes(&t, length: MemoryLayout<T>.stride, index: index)
| `- warning: forming 'UnsafeRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
8 | }
9 |
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLComputeCommandEncoder+Extensions.swift:12:23: warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
10 | func setValue<T>(_ value: [T], at index: Int) {
11 | var t = value
12 | self.setBytes(&t, length: MemoryLayout<T>.stride * value.count, index: index)
| `- warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
13 | }
14 |
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLDevice+Extensions.swift:62:51: warning: forming 'UnsafeRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
60 | options: MTLResourceOptions) throws -> MTLBuffer {
61 | var value = value
62 | guard let buffer = self.makeBuffer(bytes: &value,
| `- warning: forming 'UnsafeRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
63 | length: MemoryLayout<T>.stride,
64 | options: options)
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLDevice+Extensions.swift:71:51: warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
69 | func buffer<T>(with values: [T],
70 | options: MTLResourceOptions) throws -> MTLBuffer {
71 | guard let buffer = self.makeBuffer(bytes: values,
| `- warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
72 | length: MemoryLayout<T>.stride * values.count,
73 | options: options)
[43/89] Compiling Alloy MaskGuidedBlur.swift
[44/89] Compiling Alloy Normalization.swift
[45/89] Compiling Alloy RGBAToYCbCr.swift
[46/89] Compiling Alloy StdMeanNormalization.swift
[47/89] Compiling Alloy TextureAddConstant.swift
[48/89] Compiling Alloy TextureAffineCrop.swift
[49/89] Compiling Alloy TextureCopy.swift
[50/89] Compiling Alloy TextureDifferenceHighlight.swift
[51/89] Compiling Alloy ComputeCommand.swift
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLBuffer+Extensions.swift:67:16: warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
65 |
66 | memcpy(self.contents() + offset,
67 | &values,
| `- warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
68 | dataLength)
69 | }
[52/89] Compiling Alloy MTLContext+Device.swift
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLBuffer+Extensions.swift:67:16: warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
65 |
66 | memcpy(self.contents() + offset,
67 | &values,
| `- warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
68 | dataLength)
69 | }
[53/89] Compiling Alloy CVPixelBuffer+MTLTexture.swift
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLBuffer+Extensions.swift:67:16: warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
65 |
66 | memcpy(self.contents() + offset,
67 | &values,
| `- warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
68 | dataLength)
69 | }
[54/89] Compiling Alloy Bundle+Module.swift
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLBuffer+Extensions.swift:67:16: warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
65 |
66 | memcpy(self.contents() + offset,
67 | &values,
| `- warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
68 | dataLength)
69 | }
[55/89] Compiling Alloy Sequence+Utils.swift
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLBuffer+Extensions.swift:67:16: warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
65 |
66 | memcpy(self.contents() + offset,
67 | &values,
| `- warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
68 | dataLength)
69 | }
[56/89] Compiling Alloy MTL+Codable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLBuffer+Extensions.swift:67:16: warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
65 |
66 | memcpy(self.contents() + offset,
67 | &values,
| `- warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
68 | dataLength)
69 | }
[57/89] Compiling Alloy MTLBlitCommandEncoder+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLBuffer+Extensions.swift:67:16: warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
65 |
66 | memcpy(self.contents() + offset,
67 | &values,
| `- warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
68 | dataLength)
69 | }
[58/89] Compiling Alloy MTLBuffer+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLBuffer+Extensions.swift:67:16: warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
65 |
66 | memcpy(self.contents() + offset,
67 | &values,
| `- warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
68 | dataLength)
69 | }
[59/89] Compiling Alloy MTLFunctionConstantValues+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLFunctionConstantValues+Extensions.swift:11:31: warning: forming 'UnsafeRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
9 | at index: Int) {
10 | var t = value
11 | self.setConstantValue(&t,
| `- warning: forming 'UnsafeRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
12 | type: type,
13 | index: index)
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLFunctionConstantValues+Extensions.swift:19:32: warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
17 | type: MTLDataType,
18 | startingAt startIndex: Int = 0) {
19 | self.setConstantValues(values,
| `- warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
20 | type: type,
21 | range: startIndex ..< (startIndex + values.count))
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLRenderCommandEncoder+Extensions.swift:7:29: warning: forming 'UnsafeRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
5 | func setVertexValue<T>(_ value: T, at index: Int) {
6 | var t = value
7 | self.setVertexBytes(&t, length: MemoryLayout<T>.stride, index: index)
| `- warning: forming 'UnsafeRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
8 | }
9 |
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLRenderCommandEncoder+Extensions.swift:12:29: warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
10 | func setVertexValue<T>(_ value: [T], at index: Int) {
11 | var t = value
12 | self.setVertexBytes(&t, length: MemoryLayout<T>.stride * value.count, index: index)
| `- warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
13 | }
14 |
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLRenderCommandEncoder+Extensions.swift:17:31: warning: forming 'UnsafeRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
15 | func setFragmentValue<T>(_ value: T, at index: Int) {
16 | var t = value
17 | self.setFragmentBytes(&t, length: MemoryLayout<T>.stride, index: index)
| `- warning: forming 'UnsafeRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLRenderCommandEncoder+Extensions.swift:22:31: warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
20 | func setFragmentValue<T>(_ value: [T], at index: Int) {
21 | var t = value
22 | self.setFragmentBytes(&t, length: MemoryLayout<T>.stride * value.count, index: index)
| `- warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
23 | }
24 |
[60/89] Compiling Alloy MTLLibrary+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLFunctionConstantValues+Extensions.swift:11:31: warning: forming 'UnsafeRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
9 | at index: Int) {
10 | var t = value
11 | self.setConstantValue(&t,
| `- warning: forming 'UnsafeRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
12 | type: type,
13 | index: index)
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLFunctionConstantValues+Extensions.swift:19:32: warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
17 | type: MTLDataType,
18 | startingAt startIndex: Int = 0) {
19 | self.setConstantValues(values,
| `- warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
20 | type: type,
21 | range: startIndex ..< (startIndex + values.count))
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLRenderCommandEncoder+Extensions.swift:7:29: warning: forming 'UnsafeRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
5 | func setVertexValue<T>(_ value: T, at index: Int) {
6 | var t = value
7 | self.setVertexBytes(&t, length: MemoryLayout<T>.stride, index: index)
| `- warning: forming 'UnsafeRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
8 | }
9 |
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLRenderCommandEncoder+Extensions.swift:12:29: warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
10 | func setVertexValue<T>(_ value: [T], at index: Int) {
11 | var t = value
12 | self.setVertexBytes(&t, length: MemoryLayout<T>.stride * value.count, index: index)
| `- warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
13 | }
14 |
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLRenderCommandEncoder+Extensions.swift:17:31: warning: forming 'UnsafeRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
15 | func setFragmentValue<T>(_ value: T, at index: Int) {
16 | var t = value
17 | self.setFragmentBytes(&t, length: MemoryLayout<T>.stride, index: index)
| `- warning: forming 'UnsafeRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLRenderCommandEncoder+Extensions.swift:22:31: warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
20 | func setFragmentValue<T>(_ value: [T], at index: Int) {
21 | var t = value
22 | self.setFragmentBytes(&t, length: MemoryLayout<T>.stride * value.count, index: index)
| `- warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
23 | }
24 |
[61/89] Compiling Alloy MTLOrigin+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLFunctionConstantValues+Extensions.swift:11:31: warning: forming 'UnsafeRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
9 | at index: Int) {
10 | var t = value
11 | self.setConstantValue(&t,
| `- warning: forming 'UnsafeRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
12 | type: type,
13 | index: index)
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLFunctionConstantValues+Extensions.swift:19:32: warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
17 | type: MTLDataType,
18 | startingAt startIndex: Int = 0) {
19 | self.setConstantValues(values,
| `- warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
20 | type: type,
21 | range: startIndex ..< (startIndex + values.count))
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLRenderCommandEncoder+Extensions.swift:7:29: warning: forming 'UnsafeRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
5 | func setVertexValue<T>(_ value: T, at index: Int) {
6 | var t = value
7 | self.setVertexBytes(&t, length: MemoryLayout<T>.stride, index: index)
| `- warning: forming 'UnsafeRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
8 | }
9 |
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLRenderCommandEncoder+Extensions.swift:12:29: warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
10 | func setVertexValue<T>(_ value: [T], at index: Int) {
11 | var t = value
12 | self.setVertexBytes(&t, length: MemoryLayout<T>.stride * value.count, index: index)
| `- warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
13 | }
14 |
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLRenderCommandEncoder+Extensions.swift:17:31: warning: forming 'UnsafeRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
15 | func setFragmentValue<T>(_ value: T, at index: Int) {
16 | var t = value
17 | self.setFragmentBytes(&t, length: MemoryLayout<T>.stride, index: index)
| `- warning: forming 'UnsafeRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLRenderCommandEncoder+Extensions.swift:22:31: warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
20 | func setFragmentValue<T>(_ value: [T], at index: Int) {
21 | var t = value
22 | self.setFragmentBytes(&t, length: MemoryLayout<T>.stride * value.count, index: index)
| `- warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
23 | }
24 |
[62/89] Compiling Alloy MTLPixelFormat+CVPixelFormat.swift
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLFunctionConstantValues+Extensions.swift:11:31: warning: forming 'UnsafeRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
9 | at index: Int) {
10 | var t = value
11 | self.setConstantValue(&t,
| `- warning: forming 'UnsafeRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
12 | type: type,
13 | index: index)
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLFunctionConstantValues+Extensions.swift:19:32: warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
17 | type: MTLDataType,
18 | startingAt startIndex: Int = 0) {
19 | self.setConstantValues(values,
| `- warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
20 | type: type,
21 | range: startIndex ..< (startIndex + values.count))
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLRenderCommandEncoder+Extensions.swift:7:29: warning: forming 'UnsafeRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
5 | func setVertexValue<T>(_ value: T, at index: Int) {
6 | var t = value
7 | self.setVertexBytes(&t, length: MemoryLayout<T>.stride, index: index)
| `- warning: forming 'UnsafeRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
8 | }
9 |
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLRenderCommandEncoder+Extensions.swift:12:29: warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
10 | func setVertexValue<T>(_ value: [T], at index: Int) {
11 | var t = value
12 | self.setVertexBytes(&t, length: MemoryLayout<T>.stride * value.count, index: index)
| `- warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
13 | }
14 |
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLRenderCommandEncoder+Extensions.swift:17:31: warning: forming 'UnsafeRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
15 | func setFragmentValue<T>(_ value: T, at index: Int) {
16 | var t = value
17 | self.setFragmentBytes(&t, length: MemoryLayout<T>.stride, index: index)
| `- warning: forming 'UnsafeRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLRenderCommandEncoder+Extensions.swift:22:31: warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
20 | func setFragmentValue<T>(_ value: [T], at index: Int) {
21 | var t = value
22 | self.setFragmentBytes(&t, length: MemoryLayout<T>.stride * value.count, index: index)
| `- warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
23 | }
24 |
[63/89] Compiling Alloy MTLPixelFormat+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLFunctionConstantValues+Extensions.swift:11:31: warning: forming 'UnsafeRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
9 | at index: Int) {
10 | var t = value
11 | self.setConstantValue(&t,
| `- warning: forming 'UnsafeRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
12 | type: type,
13 | index: index)
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLFunctionConstantValues+Extensions.swift:19:32: warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
17 | type: MTLDataType,
18 | startingAt startIndex: Int = 0) {
19 | self.setConstantValues(values,
| `- warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
20 | type: type,
21 | range: startIndex ..< (startIndex + values.count))
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLRenderCommandEncoder+Extensions.swift:7:29: warning: forming 'UnsafeRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
5 | func setVertexValue<T>(_ value: T, at index: Int) {
6 | var t = value
7 | self.setVertexBytes(&t, length: MemoryLayout<T>.stride, index: index)
| `- warning: forming 'UnsafeRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
8 | }
9 |
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLRenderCommandEncoder+Extensions.swift:12:29: warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
10 | func setVertexValue<T>(_ value: [T], at index: Int) {
11 | var t = value
12 | self.setVertexBytes(&t, length: MemoryLayout<T>.stride * value.count, index: index)
| `- warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
13 | }
14 |
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLRenderCommandEncoder+Extensions.swift:17:31: warning: forming 'UnsafeRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
15 | func setFragmentValue<T>(_ value: T, at index: Int) {
16 | var t = value
17 | self.setFragmentBytes(&t, length: MemoryLayout<T>.stride, index: index)
| `- warning: forming 'UnsafeRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLRenderCommandEncoder+Extensions.swift:22:31: warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
20 | func setFragmentValue<T>(_ value: [T], at index: Int) {
21 | var t = value
22 | self.setFragmentBytes(&t, length: MemoryLayout<T>.stride * value.count, index: index)
| `- warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
23 | }
24 |
[64/89] Compiling Alloy MTLRegion+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLFunctionConstantValues+Extensions.swift:11:31: warning: forming 'UnsafeRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
9 | at index: Int) {
10 | var t = value
11 | self.setConstantValue(&t,
| `- warning: forming 'UnsafeRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
12 | type: type,
13 | index: index)
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLFunctionConstantValues+Extensions.swift:19:32: warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
17 | type: MTLDataType,
18 | startingAt startIndex: Int = 0) {
19 | self.setConstantValues(values,
| `- warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
20 | type: type,
21 | range: startIndex ..< (startIndex + values.count))
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLRenderCommandEncoder+Extensions.swift:7:29: warning: forming 'UnsafeRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
5 | func setVertexValue<T>(_ value: T, at index: Int) {
6 | var t = value
7 | self.setVertexBytes(&t, length: MemoryLayout<T>.stride, index: index)
| `- warning: forming 'UnsafeRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
8 | }
9 |
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLRenderCommandEncoder+Extensions.swift:12:29: warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
10 | func setVertexValue<T>(_ value: [T], at index: Int) {
11 | var t = value
12 | self.setVertexBytes(&t, length: MemoryLayout<T>.stride * value.count, index: index)
| `- warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
13 | }
14 |
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLRenderCommandEncoder+Extensions.swift:17:31: warning: forming 'UnsafeRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
15 | func setFragmentValue<T>(_ value: T, at index: Int) {
16 | var t = value
17 | self.setFragmentBytes(&t, length: MemoryLayout<T>.stride, index: index)
| `- warning: forming 'UnsafeRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLRenderCommandEncoder+Extensions.swift:22:31: warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
20 | func setFragmentValue<T>(_ value: [T], at index: Int) {
21 | var t = value
22 | self.setFragmentBytes(&t, length: MemoryLayout<T>.stride * value.count, index: index)
| `- warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
23 | }
24 |
[65/89] Compiling Alloy MTLRenderCommandEncoder+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLFunctionConstantValues+Extensions.swift:11:31: warning: forming 'UnsafeRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
9 | at index: Int) {
10 | var t = value
11 | self.setConstantValue(&t,
| `- warning: forming 'UnsafeRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
12 | type: type,
13 | index: index)
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLFunctionConstantValues+Extensions.swift:19:32: warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
17 | type: MTLDataType,
18 | startingAt startIndex: Int = 0) {
19 | self.setConstantValues(values,
| `- warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
20 | type: type,
21 | range: startIndex ..< (startIndex + values.count))
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLRenderCommandEncoder+Extensions.swift:7:29: warning: forming 'UnsafeRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
5 | func setVertexValue<T>(_ value: T, at index: Int) {
6 | var t = value
7 | self.setVertexBytes(&t, length: MemoryLayout<T>.stride, index: index)
| `- warning: forming 'UnsafeRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
8 | }
9 |
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLRenderCommandEncoder+Extensions.swift:12:29: warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
10 | func setVertexValue<T>(_ value: [T], at index: Int) {
11 | var t = value
12 | self.setVertexBytes(&t, length: MemoryLayout<T>.stride * value.count, index: index)
| `- warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
13 | }
14 |
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLRenderCommandEncoder+Extensions.swift:17:31: warning: forming 'UnsafeRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
15 | func setFragmentValue<T>(_ value: T, at index: Int) {
16 | var t = value
17 | self.setFragmentBytes(&t, length: MemoryLayout<T>.stride, index: index)
| `- warning: forming 'UnsafeRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLRenderCommandEncoder+Extensions.swift:22:31: warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
20 | func setFragmentValue<T>(_ value: [T], at index: Int) {
21 | var t = value
22 | self.setFragmentBytes(&t, length: MemoryLayout<T>.stride * value.count, index: index)
| `- warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
23 | }
24 |
[66/89] Compiling Alloy MTLRenderPassColorAttachmentDescriptor+LoadAction.swift
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLFunctionConstantValues+Extensions.swift:11:31: warning: forming 'UnsafeRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
9 | at index: Int) {
10 | var t = value
11 | self.setConstantValue(&t,
| `- warning: forming 'UnsafeRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
12 | type: type,
13 | index: index)
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLFunctionConstantValues+Extensions.swift:19:32: warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
17 | type: MTLDataType,
18 | startingAt startIndex: Int = 0) {
19 | self.setConstantValues(values,
| `- warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
20 | type: type,
21 | range: startIndex ..< (startIndex + values.count))
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLRenderCommandEncoder+Extensions.swift:7:29: warning: forming 'UnsafeRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
5 | func setVertexValue<T>(_ value: T, at index: Int) {
6 | var t = value
7 | self.setVertexBytes(&t, length: MemoryLayout<T>.stride, index: index)
| `- warning: forming 'UnsafeRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
8 | }
9 |
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLRenderCommandEncoder+Extensions.swift:12:29: warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
10 | func setVertexValue<T>(_ value: [T], at index: Int) {
11 | var t = value
12 | self.setVertexBytes(&t, length: MemoryLayout<T>.stride * value.count, index: index)
| `- warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
13 | }
14 |
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLRenderCommandEncoder+Extensions.swift:17:31: warning: forming 'UnsafeRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
15 | func setFragmentValue<T>(_ value: T, at index: Int) {
16 | var t = value
17 | self.setFragmentBytes(&t, length: MemoryLayout<T>.stride, index: index)
| `- warning: forming 'UnsafeRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLRenderCommandEncoder+Extensions.swift:22:31: warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
20 | func setFragmentValue<T>(_ value: [T], at index: Int) {
21 | var t = value
22 | self.setFragmentBytes(&t, length: MemoryLayout<T>.stride * value.count, index: index)
| `- warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
23 | }
24 |
[67/89] Compiling Alloy MTLRenderPipelineColorAttachmentDescriptor+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLTextureDescriptor+Serialization.swift:19:1: warning: extension declares a conformance of imported type 'MTLTextureDescriptor' to imported protocol 'Encodable'; this will not behave correctly if the owners of 'Metal' introduce this conformance in the future
17 | }
18 |
19 | extension MTLTextureDescriptor: Encodable {
| |- warning: extension declares a conformance of imported type 'MTLTextureDescriptor' to imported protocol 'Encodable'; this will not behave correctly if the owners of 'Metal' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
20 |
21 | internal enum CodingKeys: String, CodingKey {
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLTexture+Extensions.swift:326:23: warning: forming 'UnsafeMutableRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
324 | * featureChannels
325 | * MemoryLayout<T>.stride
326 | self.getBytes(&bytes,
| `- warning: forming 'UnsafeMutableRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
327 | bytesPerRow: bytesPerRow,
328 | from: .init(origin: .zero,
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLTexture+Extensions.swift:349:71: warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
347 | var bytes = [T](repeating: value, count: self.sampleCount * targetRegion.size.width * targetRegion.size.height)
348 |
349 | self.replace(region: targetRegion, mipmapLevel: 0, withBytes: &bytes, bytesPerRow: bytesPerRow)
| `- warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
350 | }
351 | }
[68/89] Compiling Alloy MTLResource+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLTextureDescriptor+Serialization.swift:19:1: warning: extension declares a conformance of imported type 'MTLTextureDescriptor' to imported protocol 'Encodable'; this will not behave correctly if the owners of 'Metal' introduce this conformance in the future
17 | }
18 |
19 | extension MTLTextureDescriptor: Encodable {
| |- warning: extension declares a conformance of imported type 'MTLTextureDescriptor' to imported protocol 'Encodable'; this will not behave correctly if the owners of 'Metal' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
20 |
21 | internal enum CodingKeys: String, CodingKey {
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLTexture+Extensions.swift:326:23: warning: forming 'UnsafeMutableRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
324 | * featureChannels
325 | * MemoryLayout<T>.stride
326 | self.getBytes(&bytes,
| `- warning: forming 'UnsafeMutableRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
327 | bytesPerRow: bytesPerRow,
328 | from: .init(origin: .zero,
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLTexture+Extensions.swift:349:71: warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
347 | var bytes = [T](repeating: value, count: self.sampleCount * targetRegion.size.width * targetRegion.size.height)
348 |
349 | self.replace(region: targetRegion, mipmapLevel: 0, withBytes: &bytes, bytesPerRow: bytesPerRow)
| `- warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
350 | }
351 | }
[69/89] Compiling Alloy MTLSize+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLTextureDescriptor+Serialization.swift:19:1: warning: extension declares a conformance of imported type 'MTLTextureDescriptor' to imported protocol 'Encodable'; this will not behave correctly if the owners of 'Metal' introduce this conformance in the future
17 | }
18 |
19 | extension MTLTextureDescriptor: Encodable {
| |- warning: extension declares a conformance of imported type 'MTLTextureDescriptor' to imported protocol 'Encodable'; this will not behave correctly if the owners of 'Metal' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
20 |
21 | internal enum CodingKeys: String, CodingKey {
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLTexture+Extensions.swift:326:23: warning: forming 'UnsafeMutableRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
324 | * featureChannels
325 | * MemoryLayout<T>.stride
326 | self.getBytes(&bytes,
| `- warning: forming 'UnsafeMutableRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
327 | bytesPerRow: bytesPerRow,
328 | from: .init(origin: .zero,
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLTexture+Extensions.swift:349:71: warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
347 | var bytes = [T](repeating: value, count: self.sampleCount * targetRegion.size.width * targetRegion.size.height)
348 |
349 | self.replace(region: targetRegion, mipmapLevel: 0, withBytes: &bytes, bytesPerRow: bytesPerRow)
| `- warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
350 | }
351 | }
[70/89] Compiling Alloy MTLSizeAndAlign+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLTextureDescriptor+Serialization.swift:19:1: warning: extension declares a conformance of imported type 'MTLTextureDescriptor' to imported protocol 'Encodable'; this will not behave correctly if the owners of 'Metal' introduce this conformance in the future
17 | }
18 |
19 | extension MTLTextureDescriptor: Encodable {
| |- warning: extension declares a conformance of imported type 'MTLTextureDescriptor' to imported protocol 'Encodable'; this will not behave correctly if the owners of 'Metal' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
20 |
21 | internal enum CodingKeys: String, CodingKey {
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLTexture+Extensions.swift:326:23: warning: forming 'UnsafeMutableRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
324 | * featureChannels
325 | * MemoryLayout<T>.stride
326 | self.getBytes(&bytes,
| `- warning: forming 'UnsafeMutableRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
327 | bytesPerRow: bytesPerRow,
328 | from: .init(origin: .zero,
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLTexture+Extensions.swift:349:71: warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
347 | var bytes = [T](repeating: value, count: self.sampleCount * targetRegion.size.width * targetRegion.size.height)
348 |
349 | self.replace(region: targetRegion, mipmapLevel: 0, withBytes: &bytes, bytesPerRow: bytesPerRow)
| `- warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
350 | }
351 | }
[71/89] Compiling Alloy MTLTexture+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLTextureDescriptor+Serialization.swift:19:1: warning: extension declares a conformance of imported type 'MTLTextureDescriptor' to imported protocol 'Encodable'; this will not behave correctly if the owners of 'Metal' introduce this conformance in the future
17 | }
18 |
19 | extension MTLTextureDescriptor: Encodable {
| |- warning: extension declares a conformance of imported type 'MTLTextureDescriptor' to imported protocol 'Encodable'; this will not behave correctly if the owners of 'Metal' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
20 |
21 | internal enum CodingKeys: String, CodingKey {
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLTexture+Extensions.swift:326:23: warning: forming 'UnsafeMutableRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
324 | * featureChannels
325 | * MemoryLayout<T>.stride
326 | self.getBytes(&bytes,
| `- warning: forming 'UnsafeMutableRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
327 | bytesPerRow: bytesPerRow,
328 | from: .init(origin: .zero,
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLTexture+Extensions.swift:349:71: warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
347 | var bytes = [T](repeating: value, count: self.sampleCount * targetRegion.size.width * targetRegion.size.height)
348 |
349 | self.replace(region: targetRegion, mipmapLevel: 0, withBytes: &bytes, bytesPerRow: bytesPerRow)
| `- warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
350 | }
351 | }
[72/89] Compiling Alloy MTLTexture+Serialization.swift
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLTextureDescriptor+Serialization.swift:19:1: warning: extension declares a conformance of imported type 'MTLTextureDescriptor' to imported protocol 'Encodable'; this will not behave correctly if the owners of 'Metal' introduce this conformance in the future
17 | }
18 |
19 | extension MTLTextureDescriptor: Encodable {
| |- warning: extension declares a conformance of imported type 'MTLTextureDescriptor' to imported protocol 'Encodable'; this will not behave correctly if the owners of 'Metal' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
20 |
21 | internal enum CodingKeys: String, CodingKey {
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLTexture+Extensions.swift:326:23: warning: forming 'UnsafeMutableRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
324 | * featureChannels
325 | * MemoryLayout<T>.stride
326 | self.getBytes(&bytes,
| `- warning: forming 'UnsafeMutableRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
327 | bytesPerRow: bytesPerRow,
328 | from: .init(origin: .zero,
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLTexture+Extensions.swift:349:71: warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
347 | var bytes = [T](repeating: value, count: self.sampleCount * targetRegion.size.width * targetRegion.size.height)
348 |
349 | self.replace(region: targetRegion, mipmapLevel: 0, withBytes: &bytes, bytesPerRow: bytesPerRow)
| `- warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
350 | }
351 | }
[73/89] Compiling Alloy MTLTextureDescriptor+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLTextureDescriptor+Serialization.swift:19:1: warning: extension declares a conformance of imported type 'MTLTextureDescriptor' to imported protocol 'Encodable'; this will not behave correctly if the owners of 'Metal' introduce this conformance in the future
17 | }
18 |
19 | extension MTLTextureDescriptor: Encodable {
| |- warning: extension declares a conformance of imported type 'MTLTextureDescriptor' to imported protocol 'Encodable'; this will not behave correctly if the owners of 'Metal' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
20 |
21 | internal enum CodingKeys: String, CodingKey {
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLTexture+Extensions.swift:326:23: warning: forming 'UnsafeMutableRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
324 | * featureChannels
325 | * MemoryLayout<T>.stride
326 | self.getBytes(&bytes,
| `- warning: forming 'UnsafeMutableRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
327 | bytesPerRow: bytesPerRow,
328 | from: .init(origin: .zero,
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLTexture+Extensions.swift:349:71: warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
347 | var bytes = [T](repeating: value, count: self.sampleCount * targetRegion.size.width * targetRegion.size.height)
348 |
349 | self.replace(region: targetRegion, mipmapLevel: 0, withBytes: &bytes, bytesPerRow: bytesPerRow)
| `- warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
350 | }
351 | }
[74/89] Compiling Alloy MTLTextureDescriptor+Serialization.swift
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLTextureDescriptor+Serialization.swift:19:1: warning: extension declares a conformance of imported type 'MTLTextureDescriptor' to imported protocol 'Encodable'; this will not behave correctly if the owners of 'Metal' introduce this conformance in the future
17 | }
18 |
19 | extension MTLTextureDescriptor: Encodable {
| |- warning: extension declares a conformance of imported type 'MTLTextureDescriptor' to imported protocol 'Encodable'; this will not behave correctly if the owners of 'Metal' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
20 |
21 | internal enum CodingKeys: String, CodingKey {
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLTexture+Extensions.swift:326:23: warning: forming 'UnsafeMutableRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
324 | * featureChannels
325 | * MemoryLayout<T>.stride
326 | self.getBytes(&bytes,
| `- warning: forming 'UnsafeMutableRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
327 | bytesPerRow: bytesPerRow,
328 | from: .init(origin: .zero,
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Extensions/Metal/MTLTexture+Extensions.swift:349:71: warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
347 | var bytes = [T](repeating: value, count: self.sampleCount * targetRegion.size.width * targetRegion.size.height)
348 |
349 | self.replace(region: targetRegion, mipmapLevel: 0, withBytes: &bytes, bytesPerRow: bytesPerRow)
| `- warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
350 | }
351 | }
[75/89] Compiling Alloy BoundingBoxesRenderer.swift
[76/89] Compiling Alloy LinesRenderer.swift
[77/89] Compiling Alloy MaskRenderer.swift
[78/89] Compiling Alloy PointsRenderer.swift
[79/89] Compiling Alloy RectangleRenderer.swift
[80/89] Compiling Alloy SimpleGeometryRenderer.swift
[81/89] Compiling Alloy resource_bundle_accessor.swift
[82/89] Compiling Alloy MPS+Functors.swift
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Metal.swift:8:23: warning: static property 'device' is not concurrency-safe because non-'Sendable' type '(any MTLDevice)?' may have shared mutable state; this is an error in the Swift 6 language mode
6 | public final class Metal {
7 |
8 | public static let device: MTLDevice! = MTLCreateSystemDefaultDevice()
| `- warning: static property 'device' is not concurrency-safe because non-'Sendable' type '(any MTLDevice)?' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | #if os(macOS) || targetEnvironment(macCatalyst)
/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/Alloy/Core/Metal.swift:2:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Metal'
1 | @_exported import Foundation
2 | @_exported import Metal
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Metal'
3 | @_exported import MetalKit
4 | @_exported import MetalPerformanceShaders
:
6 | public final class Metal {
7 |
8 | public static let device: MTLDevice! = MTLCreateSystemDefaultDevice()
| |- note: add '@MainActor' to make static property 'device' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | #if os(macOS) || targetEnvironment(macCatalyst)
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Metal.swift:12:23: warning: static property 'lowPowerDevice' is not concurrency-safe because non-'Sendable' type '(any MTLDevice)?' may have shared mutable state; this is an error in the Swift 6 language mode
10 | #if os(macOS) || targetEnvironment(macCatalyst)
11 | @available(macCatalyst 13.0, *)
12 | public static let lowPowerDevice: MTLDevice? = {
| |- warning: static property 'lowPowerDevice' is not concurrency-safe because non-'Sendable' type '(any MTLDevice)?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'lowPowerDevice' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | return MTLCopyAllDevices().first { $0.isLowPower }
14 | }()
/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/Alloy/Core/Extensions/MetalPerformanceShaders/MPSImage+Extensions.swift:53:35: warning: forming 'UnsafeMutableRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
51 |
52 | for i in 0 ..< numSlices * self.numberOfImages {
53 | self.texture.getBytes(&(output[self.width * self.height * numComponents * i]),
| `- warning: forming 'UnsafeMutableRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
54 | bytesPerRow: self.width * numComponents * MemoryLayout<T>.self.size,
55 | bytesPerImage: 0,
[83/89] Compiling Alloy MPSImage+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Metal.swift:8:23: warning: static property 'device' is not concurrency-safe because non-'Sendable' type '(any MTLDevice)?' may have shared mutable state; this is an error in the Swift 6 language mode
6 | public final class Metal {
7 |
8 | public static let device: MTLDevice! = MTLCreateSystemDefaultDevice()
| `- warning: static property 'device' is not concurrency-safe because non-'Sendable' type '(any MTLDevice)?' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | #if os(macOS) || targetEnvironment(macCatalyst)
/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/Alloy/Core/Metal.swift:2:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Metal'
1 | @_exported import Foundation
2 | @_exported import Metal
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Metal'
3 | @_exported import MetalKit
4 | @_exported import MetalPerformanceShaders
:
6 | public final class Metal {
7 |
8 | public static let device: MTLDevice! = MTLCreateSystemDefaultDevice()
| |- note: add '@MainActor' to make static property 'device' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | #if os(macOS) || targetEnvironment(macCatalyst)
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Metal.swift:12:23: warning: static property 'lowPowerDevice' is not concurrency-safe because non-'Sendable' type '(any MTLDevice)?' may have shared mutable state; this is an error in the Swift 6 language mode
10 | #if os(macOS) || targetEnvironment(macCatalyst)
11 | @available(macCatalyst 13.0, *)
12 | public static let lowPowerDevice: MTLDevice? = {
| |- warning: static property 'lowPowerDevice' is not concurrency-safe because non-'Sendable' type '(any MTLDevice)?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'lowPowerDevice' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | return MTLCopyAllDevices().first { $0.isLowPower }
14 | }()
/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/Alloy/Core/Extensions/MetalPerformanceShaders/MPSImage+Extensions.swift:53:35: warning: forming 'UnsafeMutableRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
51 |
52 | for i in 0 ..< numSlices * self.numberOfImages {
53 | self.texture.getBytes(&(output[self.width * self.height * numComponents * i]),
| `- warning: forming 'UnsafeMutableRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
54 | bytesPerRow: self.width * numComponents * MemoryLayout<T>.self.size,
55 | bytesPerImage: 0,
[84/89] Compiling Alloy Float16.swift
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Metal.swift:8:23: warning: static property 'device' is not concurrency-safe because non-'Sendable' type '(any MTLDevice)?' may have shared mutable state; this is an error in the Swift 6 language mode
6 | public final class Metal {
7 |
8 | public static let device: MTLDevice! = MTLCreateSystemDefaultDevice()
| `- warning: static property 'device' is not concurrency-safe because non-'Sendable' type '(any MTLDevice)?' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | #if os(macOS) || targetEnvironment(macCatalyst)
/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/Alloy/Core/Metal.swift:2:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Metal'
1 | @_exported import Foundation
2 | @_exported import Metal
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Metal'
3 | @_exported import MetalKit
4 | @_exported import MetalPerformanceShaders
:
6 | public final class Metal {
7 |
8 | public static let device: MTLDevice! = MTLCreateSystemDefaultDevice()
| |- note: add '@MainActor' to make static property 'device' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | #if os(macOS) || targetEnvironment(macCatalyst)
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Metal.swift:12:23: warning: static property 'lowPowerDevice' is not concurrency-safe because non-'Sendable' type '(any MTLDevice)?' may have shared mutable state; this is an error in the Swift 6 language mode
10 | #if os(macOS) || targetEnvironment(macCatalyst)
11 | @available(macCatalyst 13.0, *)
12 | public static let lowPowerDevice: MTLDevice? = {
| |- warning: static property 'lowPowerDevice' is not concurrency-safe because non-'Sendable' type '(any MTLDevice)?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'lowPowerDevice' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | return MTLCopyAllDevices().first { $0.isLowPower }
14 | }()
/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/Alloy/Core/Extensions/MetalPerformanceShaders/MPSImage+Extensions.swift:53:35: warning: forming 'UnsafeMutableRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
51 |
52 | for i in 0 ..< numSlices * self.numberOfImages {
53 | self.texture.getBytes(&(output[self.width * self.height * numComponents * i]),
| `- warning: forming 'UnsafeMutableRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
54 | bytesPerRow: self.width * numComponents * MemoryLayout<T>.self.size,
55 | bytesPerImage: 0,
[85/89] Compiling Alloy MTLContext.swift
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Metal.swift:8:23: warning: static property 'device' is not concurrency-safe because non-'Sendable' type '(any MTLDevice)?' may have shared mutable state; this is an error in the Swift 6 language mode
6 | public final class Metal {
7 |
8 | public static let device: MTLDevice! = MTLCreateSystemDefaultDevice()
| `- warning: static property 'device' is not concurrency-safe because non-'Sendable' type '(any MTLDevice)?' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | #if os(macOS) || targetEnvironment(macCatalyst)
/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/Alloy/Core/Metal.swift:2:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Metal'
1 | @_exported import Foundation
2 | @_exported import Metal
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Metal'
3 | @_exported import MetalKit
4 | @_exported import MetalPerformanceShaders
:
6 | public final class Metal {
7 |
8 | public static let device: MTLDevice! = MTLCreateSystemDefaultDevice()
| |- note: add '@MainActor' to make static property 'device' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | #if os(macOS) || targetEnvironment(macCatalyst)
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Metal.swift:12:23: warning: static property 'lowPowerDevice' is not concurrency-safe because non-'Sendable' type '(any MTLDevice)?' may have shared mutable state; this is an error in the Swift 6 language mode
10 | #if os(macOS) || targetEnvironment(macCatalyst)
11 | @available(macCatalyst 13.0, *)
12 | public static let lowPowerDevice: MTLDevice? = {
| |- warning: static property 'lowPowerDevice' is not concurrency-safe because non-'Sendable' type '(any MTLDevice)?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'lowPowerDevice' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | return MTLCopyAllDevices().first { $0.isLowPower }
14 | }()
/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/Alloy/Core/Extensions/MetalPerformanceShaders/MPSImage+Extensions.swift:53:35: warning: forming 'UnsafeMutableRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
51 |
52 | for i in 0 ..< numSlices * self.numberOfImages {
53 | self.texture.getBytes(&(output[self.width * self.height * numComponents * i]),
| `- warning: forming 'UnsafeMutableRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
54 | bytesPerRow: self.width * numComponents * MemoryLayout<T>.self.size,
55 | bytesPerImage: 0,
[86/89] Compiling Alloy MTLIndexBuffer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Metal.swift:8:23: warning: static property 'device' is not concurrency-safe because non-'Sendable' type '(any MTLDevice)?' may have shared mutable state; this is an error in the Swift 6 language mode
6 | public final class Metal {
7 |
8 | public static let device: MTLDevice! = MTLCreateSystemDefaultDevice()
| `- warning: static property 'device' is not concurrency-safe because non-'Sendable' type '(any MTLDevice)?' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | #if os(macOS) || targetEnvironment(macCatalyst)
/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/Alloy/Core/Metal.swift:2:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Metal'
1 | @_exported import Foundation
2 | @_exported import Metal
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Metal'
3 | @_exported import MetalKit
4 | @_exported import MetalPerformanceShaders
:
6 | public final class Metal {
7 |
8 | public static let device: MTLDevice! = MTLCreateSystemDefaultDevice()
| |- note: add '@MainActor' to make static property 'device' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | #if os(macOS) || targetEnvironment(macCatalyst)
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Metal.swift:12:23: warning: static property 'lowPowerDevice' is not concurrency-safe because non-'Sendable' type '(any MTLDevice)?' may have shared mutable state; this is an error in the Swift 6 language mode
10 | #if os(macOS) || targetEnvironment(macCatalyst)
11 | @available(macCatalyst 13.0, *)
12 | public static let lowPowerDevice: MTLDevice? = {
| |- warning: static property 'lowPowerDevice' is not concurrency-safe because non-'Sendable' type '(any MTLDevice)?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'lowPowerDevice' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | return MTLCopyAllDevices().first { $0.isLowPower }
14 | }()
/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/Alloy/Core/Extensions/MetalPerformanceShaders/MPSImage+Extensions.swift:53:35: warning: forming 'UnsafeMutableRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
51 |
52 | for i in 0 ..< numSlices * self.numberOfImages {
53 | self.texture.getBytes(&(output[self.width * self.height * numComponents * i]),
| `- warning: forming 'UnsafeMutableRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
54 | bytesPerRow: self.width * numComponents * MemoryLayout<T>.self.size,
55 | bytesPerImage: 0,
[87/89] Compiling Alloy MTLOffscreenRenderer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Metal.swift:8:23: warning: static property 'device' is not concurrency-safe because non-'Sendable' type '(any MTLDevice)?' may have shared mutable state; this is an error in the Swift 6 language mode
6 | public final class Metal {
7 |
8 | public static let device: MTLDevice! = MTLCreateSystemDefaultDevice()
| `- warning: static property 'device' is not concurrency-safe because non-'Sendable' type '(any MTLDevice)?' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | #if os(macOS) || targetEnvironment(macCatalyst)
/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/Alloy/Core/Metal.swift:2:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Metal'
1 | @_exported import Foundation
2 | @_exported import Metal
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Metal'
3 | @_exported import MetalKit
4 | @_exported import MetalPerformanceShaders
:
6 | public final class Metal {
7 |
8 | public static let device: MTLDevice! = MTLCreateSystemDefaultDevice()
| |- note: add '@MainActor' to make static property 'device' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | #if os(macOS) || targetEnvironment(macCatalyst)
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Metal.swift:12:23: warning: static property 'lowPowerDevice' is not concurrency-safe because non-'Sendable' type '(any MTLDevice)?' may have shared mutable state; this is an error in the Swift 6 language mode
10 | #if os(macOS) || targetEnvironment(macCatalyst)
11 | @available(macCatalyst 13.0, *)
12 | public static let lowPowerDevice: MTLDevice? = {
| |- warning: static property 'lowPowerDevice' is not concurrency-safe because non-'Sendable' type '(any MTLDevice)?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'lowPowerDevice' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | return MTLCopyAllDevices().first { $0.isLowPower }
14 | }()
/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/Alloy/Core/Extensions/MetalPerformanceShaders/MPSImage+Extensions.swift:53:35: warning: forming 'UnsafeMutableRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
51 |
52 | for i in 0 ..< numSlices * self.numberOfImages {
53 | self.texture.getBytes(&(output[self.width * self.height * numComponents * i]),
| `- warning: forming 'UnsafeMutableRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
54 | bytesPerRow: self.width * numComponents * MemoryLayout<T>.self.size,
55 | bytesPerImage: 0,
[88/89] Compiling Alloy Metal.swift
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Metal.swift:8:23: warning: static property 'device' is not concurrency-safe because non-'Sendable' type '(any MTLDevice)?' may have shared mutable state; this is an error in the Swift 6 language mode
6 | public final class Metal {
7 |
8 | public static let device: MTLDevice! = MTLCreateSystemDefaultDevice()
| `- warning: static property 'device' is not concurrency-safe because non-'Sendable' type '(any MTLDevice)?' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | #if os(macOS) || targetEnvironment(macCatalyst)
/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/Alloy/Core/Metal.swift:2:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Metal'
1 | @_exported import Foundation
2 | @_exported import Metal
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Metal'
3 | @_exported import MetalKit
4 | @_exported import MetalPerformanceShaders
:
6 | public final class Metal {
7 |
8 | public static let device: MTLDevice! = MTLCreateSystemDefaultDevice()
| |- note: add '@MainActor' to make static property 'device' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | #if os(macOS) || targetEnvironment(macCatalyst)
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Metal.swift:12:23: warning: static property 'lowPowerDevice' is not concurrency-safe because non-'Sendable' type '(any MTLDevice)?' may have shared mutable state; this is an error in the Swift 6 language mode
10 | #if os(macOS) || targetEnvironment(macCatalyst)
11 | @available(macCatalyst 13.0, *)
12 | public static let lowPowerDevice: MTLDevice? = {
| |- warning: static property 'lowPowerDevice' is not concurrency-safe because non-'Sendable' type '(any MTLDevice)?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'lowPowerDevice' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | return MTLCopyAllDevices().first { $0.isLowPower }
14 | }()
/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/Alloy/Core/Extensions/MetalPerformanceShaders/MPSImage+Extensions.swift:53:35: warning: forming 'UnsafeMutableRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
51 |
52 | for i in 0 ..< numSlices * self.numberOfImages {
53 | self.texture.getBytes(&(output[self.width * self.height * numComponents * i]),
| `- warning: forming 'UnsafeMutableRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
54 | bytesPerRow: self.width * numComponents * MemoryLayout<T>.self.size,
55 | bytesPerImage: 0,
[89/89] Compiling Alloy MetalError.swift
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Metal.swift:8:23: warning: static property 'device' is not concurrency-safe because non-'Sendable' type '(any MTLDevice)?' may have shared mutable state; this is an error in the Swift 6 language mode
6 | public final class Metal {
7 |
8 | public static let device: MTLDevice! = MTLCreateSystemDefaultDevice()
| `- warning: static property 'device' is not concurrency-safe because non-'Sendable' type '(any MTLDevice)?' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | #if os(macOS) || targetEnvironment(macCatalyst)
/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/Alloy/Core/Metal.swift:2:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Metal'
1 | @_exported import Foundation
2 | @_exported import Metal
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Metal'
3 | @_exported import MetalKit
4 | @_exported import MetalPerformanceShaders
:
6 | public final class Metal {
7 |
8 | public static let device: MTLDevice! = MTLCreateSystemDefaultDevice()
| |- note: add '@MainActor' to make static property 'device' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | #if os(macOS) || targetEnvironment(macCatalyst)
/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Core/Metal.swift:12:23: warning: static property 'lowPowerDevice' is not concurrency-safe because non-'Sendable' type '(any MTLDevice)?' may have shared mutable state; this is an error in the Swift 6 language mode
10 | #if os(macOS) || targetEnvironment(macCatalyst)
11 | @available(macCatalyst 13.0, *)
12 | public static let lowPowerDevice: MTLDevice? = {
| |- warning: static property 'lowPowerDevice' is not concurrency-safe because non-'Sendable' type '(any MTLDevice)?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'lowPowerDevice' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | return MTLCopyAllDevices().first { $0.isLowPower }
14 | }()
/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/Alloy/Core/Extensions/MetalPerformanceShaders/MPSImage+Extensions.swift:53:35: warning: forming 'UnsafeMutableRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
51 |
52 | for i in 0 ..< numSlices * self.numberOfImages {
53 | self.texture.getBytes(&(output[self.width * self.height * numComponents * i]),
| `- warning: forming 'UnsafeMutableRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
54 | bytesPerRow: self.width * numComponents * MemoryLayout<T>.self.size,
55 | bytesPerImage: 0,
Build complete! (8.53s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Alloy",
"name" : "Alloy",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "11.0"
},
{
"name" : "macos",
"version" : "10.13"
}
],
"products" : [
{
"name" : "Alloy",
"targets" : [
"Alloy",
"AlloyShadersSharedTypes"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "AlloyTestsResources",
"module_type" : "SwiftTarget",
"name" : "AlloyTestsResources",
"path" : "Tests/AlloyTestsResources",
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/AlloyTestsResources/Shared",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/AlloyTestsResources/TextureCopy",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"Extensions/Foundation/Bundle+AlloyTestsResources.swift"
],
"type" : "library"
},
{
"c99name" : "AlloyTests",
"module_type" : "SwiftTarget",
"name" : "AlloyTests",
"path" : "Tests/AlloyTests",
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/AlloyTests/Shaders/Shaders.metal",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"BitonicSortTests.swift",
"Encoders/SwitchDataFormatEncoder.swift",
"EuclideanDistanceTests.swift",
"Extensions/CoreGraphics/CGImage+Extensions.swift",
"Extensions/Metal/MTLPixelFormat+Extensions.swift",
"IdealSizeTests.swift",
"PerformanceTests.swift",
"TextureCachingTests.swift",
"TextureCopyTests.swift"
],
"target_dependencies" : [
"Alloy",
"AlloyTestsResources"
],
"type" : "test"
},
{
"c99name" : "AlloyShadersSharedTypes",
"module_type" : "ClangTarget",
"name" : "AlloyShadersSharedTypes",
"path" : "Sources/AlloyShadersSharedTypes",
"product_memberships" : [
"Alloy"
],
"sources" : [
"AlloyShadersSharedTypes.c"
],
"type" : "library"
},
{
"c99name" : "Alloy",
"module_type" : "SwiftTarget",
"name" : "Alloy",
"path" : "Sources/Alloy",
"product_memberships" : [
"Alloy"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/Alloy/Shaders/Shaders.metal",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"Core/ComputeCommand.swift",
"Core/Extensions/Alloy/MTLContext+Device.swift",
"Core/Extensions/CoreVideo/CVPixelBuffer+MTLTexture.swift",
"Core/Extensions/Foundation/Bundle+Module.swift",
"Core/Extensions/Foundation/Sequence+Utils.swift",
"Core/Extensions/Metal/MTL+Codable.swift",
"Core/Extensions/Metal/MTLBlitCommandEncoder+Extensions.swift",
"Core/Extensions/Metal/MTLBuffer+Extensions.swift",
"Core/Extensions/Metal/MTLClearColor+Extensions.swift",
"Core/Extensions/Metal/MTLCommandBuffer+Extensions.swift",
"Core/Extensions/Metal/MTLCommandQueue+Extensions.swift",
"Core/Extensions/Metal/MTLComputeCommandEncoder+Extensions.swift",
"Core/Extensions/Metal/MTLComputePipelineState+Threads.swift",
"Core/Extensions/Metal/MTLContext+CommandQueue.swift",
"Core/Extensions/Metal/MTLDevice+Extensions.swift",
"Core/Extensions/Metal/MTLDevice+Features.swift",
"Core/Extensions/Metal/MTLFunctionConstantValues+Extensions.swift",
"Core/Extensions/Metal/MTLLibrary+Extensions.swift",
"Core/Extensions/Metal/MTLOrigin+Extensions.swift",
"Core/Extensions/Metal/MTLPixelFormat+CVPixelFormat.swift",
"Core/Extensions/Metal/MTLPixelFormat+Extensions.swift",
"Core/Extensions/Metal/MTLRegion+Extensions.swift",
"Core/Extensions/Metal/MTLRenderCommandEncoder+Extensions.swift",
"Core/Extensions/Metal/MTLRenderPassColorAttachmentDescriptor+LoadAction.swift",
"Core/Extensions/Metal/MTLRenderPipelineColorAttachmentDescriptor+Extensions.swift",
"Core/Extensions/Metal/MTLResource+Extensions.swift",
"Core/Extensions/Metal/MTLSize+Extensions.swift",
"Core/Extensions/Metal/MTLSizeAndAlign+Extensions.swift",
"Core/Extensions/Metal/MTLTexture+Extensions.swift",
"Core/Extensions/Metal/MTLTexture+Serialization.swift",
"Core/Extensions/Metal/MTLTextureDescriptor+Extensions.swift",
"Core/Extensions/Metal/MTLTextureDescriptor+Serialization.swift",
"Core/Extensions/MetalPerformanceShaders/MPS+Functors.swift",
"Core/Extensions/MetalPerformanceShaders/MPSImage+Extensions.swift",
"Core/Float16.swift",
"Core/MTLContext.swift",
"Core/MTLIndexBuffer.swift",
"Core/MTLOffscreenRenderer.swift",
"Core/Metal.swift",
"Core/MetalError.swift",
"Encoders/BitonicSort/BitonicSort.swift",
"Encoders/BitonicSort/BitonicSortFinalPass.swift",
"Encoders/BitonicSort/BitonicSortFirstPass.swift",
"Encoders/BitonicSort/BitonicSortGeneralPass.swift",
"Encoders/BlockSize.swift",
"Encoders/EuclideanDistance.swift",
"Encoders/LookUpTable.swift",
"Encoders/MPSUnaryImageKernels.swift",
"Encoders/MaskGuidedBlur.swift",
"Encoders/Normalization.swift",
"Encoders/RGBAToYCbCr.swift",
"Encoders/StdMeanNormalization.swift",
"Encoders/TextureAddConstant.swift",
"Encoders/TextureAffineCrop.swift",
"Encoders/TextureCopy.swift",
"Encoders/TextureDifferenceHighlight.swift",
"Encoders/TextureDivideByConstant.swift",
"Encoders/TextureInterpolation.swift",
"Encoders/TextureMask.swift",
"Encoders/TextureMaskedMix.swift",
"Encoders/TextureMax.swift",
"Encoders/TextureMean.swift",
"Encoders/TextureMin.swift",
"Encoders/TextureMultiplyAdd.swift",
"Encoders/TextureNormalization.swift",
"Encoders/TextureResize.swift",
"Encoders/TextureWeightedMix.swift",
"Encoders/YCbCrToRGBA.swift",
"ML/GlobalPoolPadding.swift",
"ML/ONNXConvolutionPadding.swift",
"ML/PyTorchPoolPadding.swift",
"Renderers/BoundingBoxesRenderer.swift",
"Renderers/LinesRenderer.swift",
"Renderers/MaskRenderer.swift",
"Renderers/PointsRenderer.swift",
"Renderers/RectangleRenderer.swift",
"Renderers/SimpleGeometryRenderer.swift"
],
"target_dependencies" : [
"AlloyShadersSharedTypes"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Done.