Build Information
Successful build of SwiftyCreatives, reference v2.3.2 (0604a1
), with Swift 6.1 for macOS (SPM) on 29 Apr 2025 08:31:22 UTC.
Swift 6 data race errors: 28
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
12 | static let default_true = ShaderCore.device.makeBuffer(bytes: [true], length: Bool.memorySize)
13 | static let default_f2 = ShaderCore.device.makeBuffer(bytes: [f2.zero], length: f2.memorySize)
| |- warning: static property 'default_f2' is not concurrency-safe because non-'Sendable' type '(any MTLBuffer)?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default_f2' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | static let default_f3 = ShaderCore.device.makeBuffer(bytes: [f3.zero], length: f3.memorySize)
15 | static let default_f4 = ShaderCore.device.makeBuffer(bytes: [f4.zero], length: f4.memorySize)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLBuffer.h:32:11: note: protocol 'MTLBuffer' does not conform to the 'Sendable' protocol
30 | */
31 | API_AVAILABLE(macos(10.11), ios(8.0))
32 | @protocol MTLBuffer <MTLResource>
| `- note: protocol 'MTLBuffer' does not conform to the 'Sendable' protocol
33 |
34 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/Utils/DefaultBuffers.swift:14:16: warning: static property 'default_f3' is not concurrency-safe because non-'Sendable' type '(any MTLBuffer)?' may have shared mutable state; this is an error in the Swift 6 language mode
12 | static let default_true = ShaderCore.device.makeBuffer(bytes: [true], length: Bool.memorySize)
13 | static let default_f2 = ShaderCore.device.makeBuffer(bytes: [f2.zero], length: f2.memorySize)
14 | static let default_f3 = ShaderCore.device.makeBuffer(bytes: [f3.zero], length: f3.memorySize)
| |- warning: static property 'default_f3' is not concurrency-safe because non-'Sendable' type '(any MTLBuffer)?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default_f3' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | static let default_f4 = ShaderCore.device.makeBuffer(bytes: [f4.zero], length: f4.memorySize)
16 | static let default_f4x4 = ShaderCore.device.makeBuffer(bytes: [f4x4.createIdentity()], length: f4x4.memorySize)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLBuffer.h:32:11: note: protocol 'MTLBuffer' does not conform to the 'Sendable' protocol
30 | */
31 | API_AVAILABLE(macos(10.11), ios(8.0))
32 | @protocol MTLBuffer <MTLResource>
| `- note: protocol 'MTLBuffer' does not conform to the 'Sendable' protocol
33 |
34 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/Utils/DefaultBuffers.swift:15:16: warning: static property 'default_f4' is not concurrency-safe because non-'Sendable' type '(any MTLBuffer)?' may have shared mutable state; this is an error in the Swift 6 language mode
13 | static let default_f2 = ShaderCore.device.makeBuffer(bytes: [f2.zero], length: f2.memorySize)
14 | static let default_f3 = ShaderCore.device.makeBuffer(bytes: [f3.zero], length: f3.memorySize)
15 | static let default_f4 = ShaderCore.device.makeBuffer(bytes: [f4.zero], length: f4.memorySize)
| |- warning: static property 'default_f4' is not concurrency-safe because non-'Sendable' type '(any MTLBuffer)?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default_f4' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | static let default_f4x4 = ShaderCore.device.makeBuffer(bytes: [f4x4.createIdentity()], length: f4x4.memorySize)
17 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLBuffer.h:32:11: note: protocol 'MTLBuffer' does not conform to the 'Sendable' protocol
30 | */
31 | API_AVAILABLE(macos(10.11), ios(8.0))
32 | @protocol MTLBuffer <MTLResource>
| `- note: protocol 'MTLBuffer' does not conform to the 'Sendable' protocol
33 |
34 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/Utils/DefaultBuffers.swift:16:16: warning: static property 'default_f4x4' is not concurrency-safe because non-'Sendable' type '(any MTLBuffer)?' may have shared mutable state; this is an error in the Swift 6 language mode
14 | static let default_f3 = ShaderCore.device.makeBuffer(bytes: [f3.zero], length: f3.memorySize)
15 | static let default_f4 = ShaderCore.device.makeBuffer(bytes: [f4.zero], length: f4.memorySize)
16 | static let default_f4x4 = ShaderCore.device.makeBuffer(bytes: [f4x4.createIdentity()], length: f4x4.memorySize)
| |- warning: static property 'default_f4x4' is not concurrency-safe because non-'Sendable' type '(any MTLBuffer)?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default_f4x4' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | }
18 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLBuffer.h:32:11: note: protocol 'MTLBuffer' does not conform to the 'Sendable' protocol
30 | */
31 | API_AVAILABLE(macos(10.11), ios(8.0))
32 | @protocol MTLBuffer <MTLResource>
| `- note: protocol 'MTLBuffer' does not conform to the 'Sendable' protocol
33 |
34 | /*!
[442/482] Emitting module SwiftyCreatives
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/Extensions/CGSize+.swift:10:1: warning: extension declares a conformance of imported type 'CGSize' to imported protocol 'AdditiveArithmetic'; this will not behave correctly if the owners of 'CoreFoundation' introduce this conformance in the future
8 | import CoreGraphics
9 |
10 | extension CGSize: AdditiveArithmetic {
| |- warning: extension declares a conformance of imported type 'CGSize' to imported protocol 'AdditiveArithmetic'; this will not behave correctly if the owners of 'CoreFoundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
11 | public static func + (lhs: Self, rhs: Self) -> Self {
12 | return Self.init(width: lhs.width + rhs.width, height: lhs.height + rhs.height)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/Primitives/PrimitiveUtils/Info/CircleInfo.swift:48:23: warning: static property 'uvs' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
46 | ]}
47 |
48 | public static var uvs: [f2] = [
| |- warning: static property 'uvs' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'uvs' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'uvs' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | f2.zero, f2.zero, f2.zero, f2.zero, f2.zero,
50 | f2.zero, f2.zero, f2.zero, f2.zero, f2.zero,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/Primitives/PrimitiveUtils/Info/CircleInfo.swift:57:23: warning: static property 'normals' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
55 | ]
56 |
57 | public static var normals: [f3] = [
| |- warning: static property 'normals' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'normals' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'normals' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 | f3(0, 0, 1), f3(0, 0, 1), f3(0, 0, 1), f3(0, 0, 1), f3(0, 0, 1),
59 | f3(0, 0, 1), f3(0, 0, 1), f3(0, 0, 1), f3(0, 0, 1), f3(0, 0, 1),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/Primitives/PrimitiveUtils/Info/CircleInfo.swift:67:23: warning: static property 'indexBuffer' is not concurrency-safe because non-'Sendable' type 'any MTLBuffer' may have shared mutable state; this is an error in the Swift 6 language mode
65 | public static let primitiveType: MTLPrimitiveType = .triangle
66 |
67 | public static let indexBuffer: MTLBuffer = ShaderCore.device.makeBuffer(bytes: Array<UInt16>([
| `- warning: static property 'indexBuffer' is not concurrency-safe because non-'Sendable' type 'any MTLBuffer' may have shared mutable state; this is an error in the Swift 6 language mode
68 | 0, 1, 2,
69 | 0, 2, 3,
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLBuffer.h:32:11: note: protocol 'MTLBuffer' does not conform to the 'Sendable' protocol
30 | */
31 | API_AVAILABLE(macos(10.11), ios(8.0))
32 | @protocol MTLBuffer <MTLResource>
| `- note: protocol 'MTLBuffer' does not conform to the 'Sendable' protocol
33 |
34 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/Primitives/PrimitiveUtils/Info/CircleInfo.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Metal'
6 | //
7 |
8 | import Metal
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Metal'
9 |
10 | public struct CircleInfo: PrimitiveInfo {
:
65 | public static let primitiveType: MTLPrimitiveType = .triangle
66 |
67 | public static let indexBuffer: MTLBuffer = ShaderCore.device.makeBuffer(bytes: Array<UInt16>([
| |- note: add '@MainActor' to make static property 'indexBuffer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
68 | 0, 1, 2,
69 | 0, 2, 3,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/Primitives/PrimitiveUtils/Info/ModelObjectInfo.swift:11:23: warning: static property 'vertices' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | public struct ModelObjectInfo: PrimitiveInfo {
11 | public static var vertices: [f3] = []
| |- warning: static property 'vertices' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'vertices' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'vertices' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | public static var uvs: [f2] = []
13 | public static var normals: [f3] = []
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/Primitives/PrimitiveUtils/Info/ModelObjectInfo.swift:12:23: warning: static property 'uvs' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | public struct ModelObjectInfo: PrimitiveInfo {
11 | public static var vertices: [f3] = []
12 | public static var uvs: [f2] = []
| |- warning: static property 'uvs' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'uvs' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'uvs' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | public static var normals: [f3] = []
14 | public static let vertexCount: Int = 0
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/Primitives/PrimitiveUtils/Info/ModelObjectInfo.swift:13:23: warning: static property 'normals' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | public static var vertices: [f3] = []
12 | public static var uvs: [f2] = []
13 | public static var normals: [f3] = []
| |- warning: static property 'normals' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'normals' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'normals' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | public static let vertexCount: Int = 0
15 | public static let primitiveType: MTLPrimitiveType = .triangleStrip
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/Primitives/PrimitiveUtils/Info/RectShapeInfo.swift:11:23: warning: static property 'vertices' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | public struct RectShapeInfo: PrimitiveInfo {
11 | public static var vertices: [f3] = [
| |- warning: static property 'vertices' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'vertices' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'vertices' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | Self.VertexPoint.A,
13 | Self.VertexPoint.B,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/Primitives/PrimitiveUtils/Info/RectShapeInfo.swift:18:23: warning: static property 'uvs' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 | ]
17 |
18 | public static var uvs: [f2] = [
| |- warning: static property 'uvs' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'uvs' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'uvs' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | f2(0, 0),
20 | f2(0, 1),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/Primitives/PrimitiveUtils/Info/RectShapeInfo.swift:25:23: warning: static property 'normals' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 | ]
24 |
25 | public static var normals: [f3] = [
| |- warning: static property 'normals' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'normals' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'normals' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | f3(0, 0, 1),
27 | f3(0, 0, 1),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/Primitives/PrimitiveUtils/Info/TriangleInfo.swift:18:23: warning: static property 'vertices' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 | public static let primitiveType: MTLPrimitiveType = .triangle
17 |
18 | public static var vertices: [f3] = [
| |- warning: static property 'vertices' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'vertices' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'vertices' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | Self.VertexPoint.A,
20 | Self.VertexPoint.B,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/Primitives/PrimitiveUtils/Info/TriangleInfo.swift:24:23: warning: static property 'uvs' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 | ]
23 |
24 | public static var uvs: [f2] = [
| |- warning: static property 'uvs' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'uvs' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'uvs' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | f2(0, 0),
26 | f2(0, 0),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/Primitives/PrimitiveUtils/Info/TriangleInfo.swift:30:23: warning: static property 'normals' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
28 | ]
29 |
30 | public static var normals: [f3] = [
| |- warning: static property 'normals' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'normals' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'normals' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | f3(0, 0, 1),
32 | f3(0, 0, 1),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/ShaderUtils/ShaderCore.swift:11: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
9 |
10 | public enum ShaderCore {
11 | 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
12 | public static let library: MTLLibrary = try! ShaderCore.device.makeDefaultLibrary(bundle: Bundle.module)
13 | public static let mainLibrary: MTLLibrary? = try? ShaderCore.device.makeDefaultLibrary(bundle: Bundle.main)
/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/SwiftyCreatives/ShaderUtils/ShaderCore.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Metal'
6 | //
7 |
8 | import MetalKit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Metal'
9 |
10 | public enum ShaderCore {
11 | 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
12 | public static let library: MTLLibrary = try! ShaderCore.device.makeDefaultLibrary(bundle: Bundle.module)
13 | public static let mainLibrary: MTLLibrary? = try? ShaderCore.device.makeDefaultLibrary(bundle: Bundle.main)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/ShaderUtils/ShaderCore.swift:12:23: warning: static property 'library' is not concurrency-safe because non-'Sendable' type 'any MTLLibrary' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public enum ShaderCore {
11 | public static let device: MTLDevice = MTLCreateSystemDefaultDevice()!
12 | public static let library: MTLLibrary = try! ShaderCore.device.makeDefaultLibrary(bundle: Bundle.module)
| |- warning: static property 'library' is not concurrency-safe because non-'Sendable' type 'any MTLLibrary' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'library' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | public static let mainLibrary: MTLLibrary? = try? ShaderCore.device.makeDefaultLibrary(bundle: Bundle.main)
14 | public static let commandQueue: MTLCommandQueue = ShaderCore.device.makeCommandQueue()!
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLLibrary.h:396:11: note: protocol 'MTLLibrary' does not conform to the 'Sendable' protocol
394 |
395 | API_AVAILABLE(macos(10.11), ios(8.0))
396 | @protocol MTLLibrary <NSObject>
| `- note: protocol 'MTLLibrary' does not conform to the 'Sendable' protocol
397 |
398 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/ShaderUtils/ShaderCore.swift:13:23: warning: static property 'mainLibrary' is not concurrency-safe because non-'Sendable' type '(any MTLLibrary)?' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public static let device: MTLDevice = MTLCreateSystemDefaultDevice()!
12 | public static let library: MTLLibrary = try! ShaderCore.device.makeDefaultLibrary(bundle: Bundle.module)
13 | public static let mainLibrary: MTLLibrary? = try? ShaderCore.device.makeDefaultLibrary(bundle: Bundle.main)
| |- warning: static property 'mainLibrary' is not concurrency-safe because non-'Sendable' type '(any MTLLibrary)?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'mainLibrary' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | public static let commandQueue: MTLCommandQueue = ShaderCore.device.makeCommandQueue()!
15 | public static let context: CIContext = CIContext(mtlCommandQueue: commandQueue)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLLibrary.h:396:11: note: protocol 'MTLLibrary' does not conform to the 'Sendable' protocol
394 |
395 | API_AVAILABLE(macos(10.11), ios(8.0))
396 | @protocol MTLLibrary <NSObject>
| `- note: protocol 'MTLLibrary' does not conform to the 'Sendable' protocol
397 |
398 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/ShaderUtils/ShaderCore.swift:14:23: warning: static property 'commandQueue' is not concurrency-safe because non-'Sendable' type 'any MTLCommandQueue' may have shared mutable state; this is an error in the Swift 6 language mode
12 | public static let library: MTLLibrary = try! ShaderCore.device.makeDefaultLibrary(bundle: Bundle.module)
13 | public static let mainLibrary: MTLLibrary? = try? ShaderCore.device.makeDefaultLibrary(bundle: Bundle.main)
14 | public static let commandQueue: MTLCommandQueue = ShaderCore.device.makeCommandQueue()!
| |- warning: static property 'commandQueue' is not concurrency-safe because non-'Sendable' type 'any MTLCommandQueue' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'commandQueue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | public static let context: CIContext = CIContext(mtlCommandQueue: commandQueue)
16 | public static let textureLoader: MTKTextureLoader = MTKTextureLoader(device: ShaderCore.device)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLCommandQueue.h:21:11: note: protocol 'MTLCommandQueue' does not conform to the 'Sendable' protocol
19 | */
20 | API_AVAILABLE(macos(10.11), ios(8.0))
21 | @protocol MTLCommandQueue <NSObject>
| `- note: protocol 'MTLCommandQueue' does not conform to the 'Sendable' protocol
22 |
23 | /*! @brief A string to help identify this object */
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/ShaderUtils/ShaderCore.swift:15:23: warning: static property 'context' is not concurrency-safe because non-'Sendable' type 'CIContext' may have shared mutable state; this is an error in the Swift 6 language mode
13 | public static let mainLibrary: MTLLibrary? = try? ShaderCore.device.makeDefaultLibrary(bundle: Bundle.main)
14 | public static let commandQueue: MTLCommandQueue = ShaderCore.device.makeCommandQueue()!
15 | public static let context: CIContext = CIContext(mtlCommandQueue: commandQueue)
| |- warning: static property 'context' is not concurrency-safe because non-'Sendable' type 'CIContext' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'context' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | public static let textureLoader: MTKTextureLoader = MTKTextureLoader(device: ShaderCore.device)
17 | public static let defaultTextureLoaderOptions: [MTKTextureLoader.Option: Any] = [
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIContext.h:36:12: note: class 'CIContext' does not conform to the 'Sendable' protocol
34 |
35 | NS_CLASS_AVAILABLE(10_4, 5_0)
36 | @interface CIContext : NSObject
| `- note: class 'CIContext' does not conform to the 'Sendable' protocol
37 | {
38 | void *_priv;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/ShaderUtils/ShaderCore.swift:16:23: warning: static property 'textureLoader' is not concurrency-safe because non-'Sendable' type 'MTKTextureLoader' may have shared mutable state; this is an error in the Swift 6 language mode
14 | public static let commandQueue: MTLCommandQueue = ShaderCore.device.makeCommandQueue()!
15 | public static let context: CIContext = CIContext(mtlCommandQueue: commandQueue)
16 | public static let textureLoader: MTKTextureLoader = MTKTextureLoader(device: ShaderCore.device)
| |- warning: static property 'textureLoader' is not concurrency-safe because non-'Sendable' type 'MTKTextureLoader' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'textureLoader' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | public static let defaultTextureLoaderOptions: [MTKTextureLoader.Option: Any] = [
18 | .textureUsage: NSNumber(
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/MetalKit.framework/Headers/MTKTextureLoader.h:146:12: note: class 'MTKTextureLoader' does not conform to the 'Sendable' protocol
144 | */
145 | NS_CLASS_AVAILABLE(10_11, 9_0)
146 | @interface MTKTextureLoader : NSObject
| `- note: class 'MTKTextureLoader' does not conform to the 'Sendable' protocol
147 |
148 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/ShaderUtils/ShaderCore.swift:17:23: warning: static property 'defaultTextureLoaderOptions' is not concurrency-safe because non-'Sendable' type '[MTKTextureLoader.Option : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
15 | public static let context: CIContext = CIContext(mtlCommandQueue: commandQueue)
16 | public static let textureLoader: MTKTextureLoader = MTKTextureLoader(device: ShaderCore.device)
17 | public static let defaultTextureLoaderOptions: [MTKTextureLoader.Option: Any] = [
| |- warning: static property 'defaultTextureLoaderOptions' is not concurrency-safe because non-'Sendable' type '[MTKTextureLoader.Option : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultTextureLoaderOptions' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | .textureUsage: NSNumber(
19 | value: MTLTextureUsage.shaderRead.rawValue |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/Utils/AssetUtil.swift:11:24: warning: static property 'defaultMTLTextureDescriptor' is not concurrency-safe because non-'Sendable' type 'MTLTextureDescriptor' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | class AssetUtil {
11 | private static let defaultMTLTextureDescriptor: MTLTextureDescriptor = MTLTextureDescriptor.texture2DDescriptor(
| `- warning: static property 'defaultMTLTextureDescriptor' is not concurrency-safe because non-'Sendable' type 'MTLTextureDescriptor' may have shared mutable state; this is an error in the Swift 6 language mode
12 | pixelFormat: MTLPixelFormat.bgra8Unorm,
13 | width: 1,
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLTexture.h:114:12: note: class 'MTLTextureDescriptor' does not conform to the 'Sendable' protocol
112 |
113 | MTL_EXPORT API_AVAILABLE(macos(10.11), ios(8.0))
114 | @interface MTLTextureDescriptor : NSObject <NSCopying>
| `- note: class 'MTLTextureDescriptor' does not conform to the 'Sendable' protocol
115 |
116 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/Utils/AssetUtil.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Metal'
6 | //
7 |
8 | import MetalKit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Metal'
9 |
10 | class AssetUtil {
11 | private static let defaultMTLTextureDescriptor: MTLTextureDescriptor = MTLTextureDescriptor.texture2DDescriptor(
| |- note: add '@MainActor' to make static property 'defaultMTLTextureDescriptor' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | pixelFormat: MTLPixelFormat.bgra8Unorm,
13 | width: 1,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/Utils/AssetUtil.swift:17:16: warning: static property 'defaultMTLTexture' is not concurrency-safe because non-'Sendable' type 'any MTLTexture' may have shared mutable state; this is an error in the Swift 6 language mode
15 | mipmapped: false
16 | )
17 | static let defaultMTLTexture: MTLTexture = ShaderCore.device.makeTexture(
| |- warning: static property 'defaultMTLTexture' is not concurrency-safe because non-'Sendable' type 'any MTLTexture' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultMTLTexture' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | descriptor: defaultMTLTextureDescriptor
19 | )!
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLTexture.h:265:11: note: protocol 'MTLTexture' does not conform to the 'Sendable' protocol
263 | */
264 | API_AVAILABLE(macos(10.11), ios(8.0))
265 | @protocol MTLTexture <MTLResource>
| `- note: protocol 'MTLTexture' does not conform to the 'Sendable' protocol
266 |
267 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/Utils/DefaultBuffers.swift:11:16: warning: static property 'default_false' is not concurrency-safe because non-'Sendable' type '(any MTLBuffer)?' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | enum DefaultBuffers {
11 | static let default_false = ShaderCore.device.makeBuffer(bytes: [false], length: Bool.memorySize)
| `- warning: static property 'default_false' is not concurrency-safe because non-'Sendable' type '(any MTLBuffer)?' may have shared mutable state; this is an error in the Swift 6 language mode
12 | static let default_true = ShaderCore.device.makeBuffer(bytes: [true], length: Bool.memorySize)
13 | static let default_f2 = ShaderCore.device.makeBuffer(bytes: [f2.zero], length: f2.memorySize)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLBuffer.h:32:11: note: protocol 'MTLBuffer' does not conform to the 'Sendable' protocol
30 | */
31 | API_AVAILABLE(macos(10.11), ios(8.0))
32 | @protocol MTLBuffer <MTLResource>
| `- note: protocol 'MTLBuffer' does not conform to the 'Sendable' protocol
33 |
34 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/Utils/DefaultBuffers.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Metal'
6 | //
7 |
8 | import Metal
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Metal'
9 |
10 | enum DefaultBuffers {
11 | static let default_false = ShaderCore.device.makeBuffer(bytes: [false], length: Bool.memorySize)
| |- note: add '@MainActor' to make static property 'default_false' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | static let default_true = ShaderCore.device.makeBuffer(bytes: [true], length: Bool.memorySize)
13 | static let default_f2 = ShaderCore.device.makeBuffer(bytes: [f2.zero], length: f2.memorySize)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/Utils/DefaultBuffers.swift:12:16: warning: static property 'default_true' is not concurrency-safe because non-'Sendable' type '(any MTLBuffer)?' may have shared mutable state; this is an error in the Swift 6 language mode
10 | enum DefaultBuffers {
11 | static let default_false = ShaderCore.device.makeBuffer(bytes: [false], length: Bool.memorySize)
12 | static let default_true = ShaderCore.device.makeBuffer(bytes: [true], length: Bool.memorySize)
| |- warning: static property 'default_true' is not concurrency-safe because non-'Sendable' type '(any MTLBuffer)?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default_true' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | static let default_f2 = ShaderCore.device.makeBuffer(bytes: [f2.zero], length: f2.memorySize)
14 | static let default_f3 = ShaderCore.device.makeBuffer(bytes: [f3.zero], length: f3.memorySize)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLBuffer.h:32:11: note: protocol 'MTLBuffer' does not conform to the 'Sendable' protocol
30 | */
31 | API_AVAILABLE(macos(10.11), ios(8.0))
32 | @protocol MTLBuffer <MTLResource>
| `- note: protocol 'MTLBuffer' does not conform to the 'Sendable' protocol
33 |
34 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/Utils/DefaultBuffers.swift:13:16: warning: static property 'default_f2' is not concurrency-safe because non-'Sendable' type '(any MTLBuffer)?' may have shared mutable state; this is an error in the Swift 6 language mode
11 | static let default_false = ShaderCore.device.makeBuffer(bytes: [false], length: Bool.memorySize)
12 | static let default_true = ShaderCore.device.makeBuffer(bytes: [true], length: Bool.memorySize)
13 | static let default_f2 = ShaderCore.device.makeBuffer(bytes: [f2.zero], length: f2.memorySize)
| |- warning: static property 'default_f2' is not concurrency-safe because non-'Sendable' type '(any MTLBuffer)?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default_f2' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | static let default_f3 = ShaderCore.device.makeBuffer(bytes: [f3.zero], length: f3.memorySize)
15 | static let default_f4 = ShaderCore.device.makeBuffer(bytes: [f4.zero], length: f4.memorySize)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLBuffer.h:32:11: note: protocol 'MTLBuffer' does not conform to the 'Sendable' protocol
30 | */
31 | API_AVAILABLE(macos(10.11), ios(8.0))
32 | @protocol MTLBuffer <MTLResource>
| `- note: protocol 'MTLBuffer' does not conform to the 'Sendable' protocol
33 |
34 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/Utils/DefaultBuffers.swift:14:16: warning: static property 'default_f3' is not concurrency-safe because non-'Sendable' type '(any MTLBuffer)?' may have shared mutable state; this is an error in the Swift 6 language mode
12 | static let default_true = ShaderCore.device.makeBuffer(bytes: [true], length: Bool.memorySize)
13 | static let default_f2 = ShaderCore.device.makeBuffer(bytes: [f2.zero], length: f2.memorySize)
14 | static let default_f3 = ShaderCore.device.makeBuffer(bytes: [f3.zero], length: f3.memorySize)
| |- warning: static property 'default_f3' is not concurrency-safe because non-'Sendable' type '(any MTLBuffer)?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default_f3' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | static let default_f4 = ShaderCore.device.makeBuffer(bytes: [f4.zero], length: f4.memorySize)
16 | static let default_f4x4 = ShaderCore.device.makeBuffer(bytes: [f4x4.createIdentity()], length: f4x4.memorySize)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLBuffer.h:32:11: note: protocol 'MTLBuffer' does not conform to the 'Sendable' protocol
30 | */
31 | API_AVAILABLE(macos(10.11), ios(8.0))
32 | @protocol MTLBuffer <MTLResource>
| `- note: protocol 'MTLBuffer' does not conform to the 'Sendable' protocol
33 |
34 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/Utils/DefaultBuffers.swift:15:16: warning: static property 'default_f4' is not concurrency-safe because non-'Sendable' type '(any MTLBuffer)?' may have shared mutable state; this is an error in the Swift 6 language mode
13 | static let default_f2 = ShaderCore.device.makeBuffer(bytes: [f2.zero], length: f2.memorySize)
14 | static let default_f3 = ShaderCore.device.makeBuffer(bytes: [f3.zero], length: f3.memorySize)
15 | static let default_f4 = ShaderCore.device.makeBuffer(bytes: [f4.zero], length: f4.memorySize)
| |- warning: static property 'default_f4' is not concurrency-safe because non-'Sendable' type '(any MTLBuffer)?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default_f4' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | static let default_f4x4 = ShaderCore.device.makeBuffer(bytes: [f4x4.createIdentity()], length: f4x4.memorySize)
17 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLBuffer.h:32:11: note: protocol 'MTLBuffer' does not conform to the 'Sendable' protocol
30 | */
31 | API_AVAILABLE(macos(10.11), ios(8.0))
32 | @protocol MTLBuffer <MTLResource>
| `- note: protocol 'MTLBuffer' does not conform to the 'Sendable' protocol
33 |
34 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/Utils/DefaultBuffers.swift:16:16: warning: static property 'default_f4x4' is not concurrency-safe because non-'Sendable' type '(any MTLBuffer)?' may have shared mutable state; this is an error in the Swift 6 language mode
14 | static let default_f3 = ShaderCore.device.makeBuffer(bytes: [f3.zero], length: f3.memorySize)
15 | static let default_f4 = ShaderCore.device.makeBuffer(bytes: [f4.zero], length: f4.memorySize)
16 | static let default_f4x4 = ShaderCore.device.makeBuffer(bytes: [f4x4.createIdentity()], length: f4x4.memorySize)
| |- warning: static property 'default_f4x4' is not concurrency-safe because non-'Sendable' type '(any MTLBuffer)?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default_f4x4' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | }
18 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLBuffer.h:32:11: note: protocol 'MTLBuffer' does not conform to the 'Sendable' protocol
30 | */
31 | API_AVAILABLE(macos(10.11), ios(8.0))
32 | @protocol MTLBuffer <MTLResource>
| `- note: protocol 'MTLBuffer' does not conform to the 'Sendable' protocol
33 |
34 | /*!
[443/482] Compiling SwiftyCreatives RendererBase+Functions.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/Renderers/TransparentRenderer.swift:58:107: warning: 'argumentInfo' was deprecated in macOS 13.0: renamed to 'MTLPipelineOption.bindingInfo'
56 | tileDesc.colorAttachments[0].pixelFormat = .bgra8Unorm
57 | tileDesc.threadgroupSizeMatchesTileSize = true
58 | resolveState = try! ShaderCore.device.makeRenderPipelineState(tileDescriptor: tileDesc, options: .argumentInfo, reflection: nil) // FIXME: argumentinfo?
| |- warning: 'argumentInfo' was deprecated in macOS 13.0: renamed to 'MTLPipelineOption.bindingInfo'
| `- note: use 'MTLPipelineOption.bindingInfo' instead
59 |
60 | tileDesc.tileFunction = clearFunction
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/Renderers/TransparentRenderer.swift:61:109: warning: 'argumentInfo' was deprecated in macOS 13.0: renamed to 'MTLPipelineOption.bindingInfo'
59 |
60 | tileDesc.tileFunction = clearFunction
61 | clearTileState = try! ShaderCore.device.makeRenderPipelineState(tileDescriptor: tileDesc, options: .argumentInfo, reflection: nil) // FIXME: argumentinfo?
| |- warning: 'argumentInfo' was deprecated in macOS 13.0: renamed to 'MTLPipelineOption.bindingInfo'
| `- note: use 'MTLPipelineOption.bindingInfo' instead
62 |
63 | // MARK: - Depth Descriptor
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/ShaderUtils/ShaderCore.swift:11: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
9 |
10 | public enum ShaderCore {
11 | 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
12 | public static let library: MTLLibrary = try! ShaderCore.device.makeDefaultLibrary(bundle: Bundle.module)
13 | public static let mainLibrary: MTLLibrary? = try? ShaderCore.device.makeDefaultLibrary(bundle: Bundle.main)
/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/SwiftyCreatives/ShaderUtils/ShaderCore.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Metal'
6 | //
7 |
8 | import MetalKit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Metal'
9 |
10 | public enum ShaderCore {
11 | 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
12 | public static let library: MTLLibrary = try! ShaderCore.device.makeDefaultLibrary(bundle: Bundle.module)
13 | public static let mainLibrary: MTLLibrary? = try? ShaderCore.device.makeDefaultLibrary(bundle: Bundle.main)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/ShaderUtils/ShaderCore.swift:12:23: warning: static property 'library' is not concurrency-safe because non-'Sendable' type 'any MTLLibrary' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public enum ShaderCore {
11 | public static let device: MTLDevice = MTLCreateSystemDefaultDevice()!
12 | public static let library: MTLLibrary = try! ShaderCore.device.makeDefaultLibrary(bundle: Bundle.module)
| |- warning: static property 'library' is not concurrency-safe because non-'Sendable' type 'any MTLLibrary' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'library' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | public static let mainLibrary: MTLLibrary? = try? ShaderCore.device.makeDefaultLibrary(bundle: Bundle.main)
14 | public static let commandQueue: MTLCommandQueue = ShaderCore.device.makeCommandQueue()!
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLLibrary.h:396:11: note: protocol 'MTLLibrary' does not conform to the 'Sendable' protocol
394 |
395 | API_AVAILABLE(macos(10.11), ios(8.0))
396 | @protocol MTLLibrary <NSObject>
| `- note: protocol 'MTLLibrary' does not conform to the 'Sendable' protocol
397 |
398 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/ShaderUtils/ShaderCore.swift:13:23: warning: static property 'mainLibrary' is not concurrency-safe because non-'Sendable' type '(any MTLLibrary)?' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public static let device: MTLDevice = MTLCreateSystemDefaultDevice()!
12 | public static let library: MTLLibrary = try! ShaderCore.device.makeDefaultLibrary(bundle: Bundle.module)
13 | public static let mainLibrary: MTLLibrary? = try? ShaderCore.device.makeDefaultLibrary(bundle: Bundle.main)
| |- warning: static property 'mainLibrary' is not concurrency-safe because non-'Sendable' type '(any MTLLibrary)?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'mainLibrary' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | public static let commandQueue: MTLCommandQueue = ShaderCore.device.makeCommandQueue()!
15 | public static let context: CIContext = CIContext(mtlCommandQueue: commandQueue)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLLibrary.h:396:11: note: protocol 'MTLLibrary' does not conform to the 'Sendable' protocol
394 |
395 | API_AVAILABLE(macos(10.11), ios(8.0))
396 | @protocol MTLLibrary <NSObject>
| `- note: protocol 'MTLLibrary' does not conform to the 'Sendable' protocol
397 |
398 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/ShaderUtils/ShaderCore.swift:14:23: warning: static property 'commandQueue' is not concurrency-safe because non-'Sendable' type 'any MTLCommandQueue' may have shared mutable state; this is an error in the Swift 6 language mode
12 | public static let library: MTLLibrary = try! ShaderCore.device.makeDefaultLibrary(bundle: Bundle.module)
13 | public static let mainLibrary: MTLLibrary? = try? ShaderCore.device.makeDefaultLibrary(bundle: Bundle.main)
14 | public static let commandQueue: MTLCommandQueue = ShaderCore.device.makeCommandQueue()!
| |- warning: static property 'commandQueue' is not concurrency-safe because non-'Sendable' type 'any MTLCommandQueue' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'commandQueue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | public static let context: CIContext = CIContext(mtlCommandQueue: commandQueue)
16 | public static let textureLoader: MTKTextureLoader = MTKTextureLoader(device: ShaderCore.device)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLCommandQueue.h:21:11: note: protocol 'MTLCommandQueue' does not conform to the 'Sendable' protocol
19 | */
20 | API_AVAILABLE(macos(10.11), ios(8.0))
21 | @protocol MTLCommandQueue <NSObject>
| `- note: protocol 'MTLCommandQueue' does not conform to the 'Sendable' protocol
22 |
23 | /*! @brief A string to help identify this object */
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/ShaderUtils/ShaderCore.swift:15:23: warning: static property 'context' is not concurrency-safe because non-'Sendable' type 'CIContext' may have shared mutable state; this is an error in the Swift 6 language mode
13 | public static let mainLibrary: MTLLibrary? = try? ShaderCore.device.makeDefaultLibrary(bundle: Bundle.main)
14 | public static let commandQueue: MTLCommandQueue = ShaderCore.device.makeCommandQueue()!
15 | public static let context: CIContext = CIContext(mtlCommandQueue: commandQueue)
| |- warning: static property 'context' is not concurrency-safe because non-'Sendable' type 'CIContext' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'context' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | public static let textureLoader: MTKTextureLoader = MTKTextureLoader(device: ShaderCore.device)
17 | public static let defaultTextureLoaderOptions: [MTKTextureLoader.Option: Any] = [
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIContext.h:36:12: note: class 'CIContext' does not conform to the 'Sendable' protocol
34 |
35 | NS_CLASS_AVAILABLE(10_4, 5_0)
36 | @interface CIContext : NSObject
| `- note: class 'CIContext' does not conform to the 'Sendable' protocol
37 | {
38 | void *_priv;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/ShaderUtils/ShaderCore.swift:16:23: warning: static property 'textureLoader' is not concurrency-safe because non-'Sendable' type 'MTKTextureLoader' may have shared mutable state; this is an error in the Swift 6 language mode
14 | public static let commandQueue: MTLCommandQueue = ShaderCore.device.makeCommandQueue()!
15 | public static let context: CIContext = CIContext(mtlCommandQueue: commandQueue)
16 | public static let textureLoader: MTKTextureLoader = MTKTextureLoader(device: ShaderCore.device)
| |- warning: static property 'textureLoader' is not concurrency-safe because non-'Sendable' type 'MTKTextureLoader' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'textureLoader' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | public static let defaultTextureLoaderOptions: [MTKTextureLoader.Option: Any] = [
18 | .textureUsage: NSNumber(
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/MetalKit.framework/Headers/MTKTextureLoader.h:146:12: note: class 'MTKTextureLoader' does not conform to the 'Sendable' protocol
144 | */
145 | NS_CLASS_AVAILABLE(10_11, 9_0)
146 | @interface MTKTextureLoader : NSObject
| `- note: class 'MTKTextureLoader' does not conform to the 'Sendable' protocol
147 |
148 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/ShaderUtils/ShaderCore.swift:17:23: warning: static property 'defaultTextureLoaderOptions' is not concurrency-safe because non-'Sendable' type '[MTKTextureLoader.Option : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
15 | public static let context: CIContext = CIContext(mtlCommandQueue: commandQueue)
16 | public static let textureLoader: MTKTextureLoader = MTKTextureLoader(device: ShaderCore.device)
17 | public static let defaultTextureLoaderOptions: [MTKTextureLoader.Option: Any] = [
| |- warning: static property 'defaultTextureLoaderOptions' is not concurrency-safe because non-'Sendable' type '[MTKTextureLoader.Option : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultTextureLoaderOptions' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | .textureUsage: NSNumber(
19 | value: MTLTextureUsage.shaderRead.rawValue |
[444/482] Compiling SwiftyCreatives RendererBase+StaticFunctions.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/Renderers/TransparentRenderer.swift:58:107: warning: 'argumentInfo' was deprecated in macOS 13.0: renamed to 'MTLPipelineOption.bindingInfo'
56 | tileDesc.colorAttachments[0].pixelFormat = .bgra8Unorm
57 | tileDesc.threadgroupSizeMatchesTileSize = true
58 | resolveState = try! ShaderCore.device.makeRenderPipelineState(tileDescriptor: tileDesc, options: .argumentInfo, reflection: nil) // FIXME: argumentinfo?
| |- warning: 'argumentInfo' was deprecated in macOS 13.0: renamed to 'MTLPipelineOption.bindingInfo'
| `- note: use 'MTLPipelineOption.bindingInfo' instead
59 |
60 | tileDesc.tileFunction = clearFunction
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/Renderers/TransparentRenderer.swift:61:109: warning: 'argumentInfo' was deprecated in macOS 13.0: renamed to 'MTLPipelineOption.bindingInfo'
59 |
60 | tileDesc.tileFunction = clearFunction
61 | clearTileState = try! ShaderCore.device.makeRenderPipelineState(tileDescriptor: tileDesc, options: .argumentInfo, reflection: nil) // FIXME: argumentinfo?
| |- warning: 'argumentInfo' was deprecated in macOS 13.0: renamed to 'MTLPipelineOption.bindingInfo'
| `- note: use 'MTLPipelineOption.bindingInfo' instead
62 |
63 | // MARK: - Depth Descriptor
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/ShaderUtils/ShaderCore.swift:11: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
9 |
10 | public enum ShaderCore {
11 | 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
12 | public static let library: MTLLibrary = try! ShaderCore.device.makeDefaultLibrary(bundle: Bundle.module)
13 | public static let mainLibrary: MTLLibrary? = try? ShaderCore.device.makeDefaultLibrary(bundle: Bundle.main)
/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/SwiftyCreatives/ShaderUtils/ShaderCore.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Metal'
6 | //
7 |
8 | import MetalKit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Metal'
9 |
10 | public enum ShaderCore {
11 | 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
12 | public static let library: MTLLibrary = try! ShaderCore.device.makeDefaultLibrary(bundle: Bundle.module)
13 | public static let mainLibrary: MTLLibrary? = try? ShaderCore.device.makeDefaultLibrary(bundle: Bundle.main)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/ShaderUtils/ShaderCore.swift:12:23: warning: static property 'library' is not concurrency-safe because non-'Sendable' type 'any MTLLibrary' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public enum ShaderCore {
11 | public static let device: MTLDevice = MTLCreateSystemDefaultDevice()!
12 | public static let library: MTLLibrary = try! ShaderCore.device.makeDefaultLibrary(bundle: Bundle.module)
| |- warning: static property 'library' is not concurrency-safe because non-'Sendable' type 'any MTLLibrary' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'library' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | public static let mainLibrary: MTLLibrary? = try? ShaderCore.device.makeDefaultLibrary(bundle: Bundle.main)
14 | public static let commandQueue: MTLCommandQueue = ShaderCore.device.makeCommandQueue()!
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLLibrary.h:396:11: note: protocol 'MTLLibrary' does not conform to the 'Sendable' protocol
394 |
395 | API_AVAILABLE(macos(10.11), ios(8.0))
396 | @protocol MTLLibrary <NSObject>
| `- note: protocol 'MTLLibrary' does not conform to the 'Sendable' protocol
397 |
398 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/ShaderUtils/ShaderCore.swift:13:23: warning: static property 'mainLibrary' is not concurrency-safe because non-'Sendable' type '(any MTLLibrary)?' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public static let device: MTLDevice = MTLCreateSystemDefaultDevice()!
12 | public static let library: MTLLibrary = try! ShaderCore.device.makeDefaultLibrary(bundle: Bundle.module)
13 | public static let mainLibrary: MTLLibrary? = try? ShaderCore.device.makeDefaultLibrary(bundle: Bundle.main)
| |- warning: static property 'mainLibrary' is not concurrency-safe because non-'Sendable' type '(any MTLLibrary)?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'mainLibrary' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | public static let commandQueue: MTLCommandQueue = ShaderCore.device.makeCommandQueue()!
15 | public static let context: CIContext = CIContext(mtlCommandQueue: commandQueue)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLLibrary.h:396:11: note: protocol 'MTLLibrary' does not conform to the 'Sendable' protocol
394 |
395 | API_AVAILABLE(macos(10.11), ios(8.0))
396 | @protocol MTLLibrary <NSObject>
| `- note: protocol 'MTLLibrary' does not conform to the 'Sendable' protocol
397 |
398 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/ShaderUtils/ShaderCore.swift:14:23: warning: static property 'commandQueue' is not concurrency-safe because non-'Sendable' type 'any MTLCommandQueue' may have shared mutable state; this is an error in the Swift 6 language mode
12 | public static let library: MTLLibrary = try! ShaderCore.device.makeDefaultLibrary(bundle: Bundle.module)
13 | public static let mainLibrary: MTLLibrary? = try? ShaderCore.device.makeDefaultLibrary(bundle: Bundle.main)
14 | public static let commandQueue: MTLCommandQueue = ShaderCore.device.makeCommandQueue()!
| |- warning: static property 'commandQueue' is not concurrency-safe because non-'Sendable' type 'any MTLCommandQueue' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'commandQueue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | public static let context: CIContext = CIContext(mtlCommandQueue: commandQueue)
16 | public static let textureLoader: MTKTextureLoader = MTKTextureLoader(device: ShaderCore.device)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLCommandQueue.h:21:11: note: protocol 'MTLCommandQueue' does not conform to the 'Sendable' protocol
19 | */
20 | API_AVAILABLE(macos(10.11), ios(8.0))
21 | @protocol MTLCommandQueue <NSObject>
| `- note: protocol 'MTLCommandQueue' does not conform to the 'Sendable' protocol
22 |
23 | /*! @brief A string to help identify this object */
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/ShaderUtils/ShaderCore.swift:15:23: warning: static property 'context' is not concurrency-safe because non-'Sendable' type 'CIContext' may have shared mutable state; this is an error in the Swift 6 language mode
13 | public static let mainLibrary: MTLLibrary? = try? ShaderCore.device.makeDefaultLibrary(bundle: Bundle.main)
14 | public static let commandQueue: MTLCommandQueue = ShaderCore.device.makeCommandQueue()!
15 | public static let context: CIContext = CIContext(mtlCommandQueue: commandQueue)
| |- warning: static property 'context' is not concurrency-safe because non-'Sendable' type 'CIContext' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'context' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | public static let textureLoader: MTKTextureLoader = MTKTextureLoader(device: ShaderCore.device)
17 | public static let defaultTextureLoaderOptions: [MTKTextureLoader.Option: Any] = [
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIContext.h:36:12: note: class 'CIContext' does not conform to the 'Sendable' protocol
34 |
35 | NS_CLASS_AVAILABLE(10_4, 5_0)
36 | @interface CIContext : NSObject
| `- note: class 'CIContext' does not conform to the 'Sendable' protocol
37 | {
38 | void *_priv;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/ShaderUtils/ShaderCore.swift:16:23: warning: static property 'textureLoader' is not concurrency-safe because non-'Sendable' type 'MTKTextureLoader' may have shared mutable state; this is an error in the Swift 6 language mode
14 | public static let commandQueue: MTLCommandQueue = ShaderCore.device.makeCommandQueue()!
15 | public static let context: CIContext = CIContext(mtlCommandQueue: commandQueue)
16 | public static let textureLoader: MTKTextureLoader = MTKTextureLoader(device: ShaderCore.device)
| |- warning: static property 'textureLoader' is not concurrency-safe because non-'Sendable' type 'MTKTextureLoader' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'textureLoader' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | public static let defaultTextureLoaderOptions: [MTKTextureLoader.Option: Any] = [
18 | .textureUsage: NSNumber(
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/MetalKit.framework/Headers/MTKTextureLoader.h:146:12: note: class 'MTKTextureLoader' does not conform to the 'Sendable' protocol
144 | */
145 | NS_CLASS_AVAILABLE(10_11, 9_0)
146 | @interface MTKTextureLoader : NSObject
| `- note: class 'MTKTextureLoader' does not conform to the 'Sendable' protocol
147 |
148 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/ShaderUtils/ShaderCore.swift:17:23: warning: static property 'defaultTextureLoaderOptions' is not concurrency-safe because non-'Sendable' type '[MTKTextureLoader.Option : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
15 | public static let context: CIContext = CIContext(mtlCommandQueue: commandQueue)
16 | public static let textureLoader: MTKTextureLoader = MTKTextureLoader(device: ShaderCore.device)
17 | public static let defaultTextureLoaderOptions: [MTKTextureLoader.Option: Any] = [
| |- warning: static property 'defaultTextureLoaderOptions' is not concurrency-safe because non-'Sendable' type '[MTKTextureLoader.Option : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultTextureLoaderOptions' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | .textureUsage: NSNumber(
19 | value: MTLTextureUsage.shaderRead.rawValue |
[445/482] Compiling SwiftyCreatives RendererBase.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/Renderers/TransparentRenderer.swift:58:107: warning: 'argumentInfo' was deprecated in macOS 13.0: renamed to 'MTLPipelineOption.bindingInfo'
56 | tileDesc.colorAttachments[0].pixelFormat = .bgra8Unorm
57 | tileDesc.threadgroupSizeMatchesTileSize = true
58 | resolveState = try! ShaderCore.device.makeRenderPipelineState(tileDescriptor: tileDesc, options: .argumentInfo, reflection: nil) // FIXME: argumentinfo?
| |- warning: 'argumentInfo' was deprecated in macOS 13.0: renamed to 'MTLPipelineOption.bindingInfo'
| `- note: use 'MTLPipelineOption.bindingInfo' instead
59 |
60 | tileDesc.tileFunction = clearFunction
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/Renderers/TransparentRenderer.swift:61:109: warning: 'argumentInfo' was deprecated in macOS 13.0: renamed to 'MTLPipelineOption.bindingInfo'
59 |
60 | tileDesc.tileFunction = clearFunction
61 | clearTileState = try! ShaderCore.device.makeRenderPipelineState(tileDescriptor: tileDesc, options: .argumentInfo, reflection: nil) // FIXME: argumentinfo?
| |- warning: 'argumentInfo' was deprecated in macOS 13.0: renamed to 'MTLPipelineOption.bindingInfo'
| `- note: use 'MTLPipelineOption.bindingInfo' instead
62 |
63 | // MARK: - Depth Descriptor
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/ShaderUtils/ShaderCore.swift:11: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
9 |
10 | public enum ShaderCore {
11 | 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
12 | public static let library: MTLLibrary = try! ShaderCore.device.makeDefaultLibrary(bundle: Bundle.module)
13 | public static let mainLibrary: MTLLibrary? = try? ShaderCore.device.makeDefaultLibrary(bundle: Bundle.main)
/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/SwiftyCreatives/ShaderUtils/ShaderCore.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Metal'
6 | //
7 |
8 | import MetalKit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Metal'
9 |
10 | public enum ShaderCore {
11 | 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
12 | public static let library: MTLLibrary = try! ShaderCore.device.makeDefaultLibrary(bundle: Bundle.module)
13 | public static let mainLibrary: MTLLibrary? = try? ShaderCore.device.makeDefaultLibrary(bundle: Bundle.main)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/ShaderUtils/ShaderCore.swift:12:23: warning: static property 'library' is not concurrency-safe because non-'Sendable' type 'any MTLLibrary' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public enum ShaderCore {
11 | public static let device: MTLDevice = MTLCreateSystemDefaultDevice()!
12 | public static let library: MTLLibrary = try! ShaderCore.device.makeDefaultLibrary(bundle: Bundle.module)
| |- warning: static property 'library' is not concurrency-safe because non-'Sendable' type 'any MTLLibrary' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'library' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | public static let mainLibrary: MTLLibrary? = try? ShaderCore.device.makeDefaultLibrary(bundle: Bundle.main)
14 | public static let commandQueue: MTLCommandQueue = ShaderCore.device.makeCommandQueue()!
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLLibrary.h:396:11: note: protocol 'MTLLibrary' does not conform to the 'Sendable' protocol
394 |
395 | API_AVAILABLE(macos(10.11), ios(8.0))
396 | @protocol MTLLibrary <NSObject>
| `- note: protocol 'MTLLibrary' does not conform to the 'Sendable' protocol
397 |
398 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/ShaderUtils/ShaderCore.swift:13:23: warning: static property 'mainLibrary' is not concurrency-safe because non-'Sendable' type '(any MTLLibrary)?' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public static let device: MTLDevice = MTLCreateSystemDefaultDevice()!
12 | public static let library: MTLLibrary = try! ShaderCore.device.makeDefaultLibrary(bundle: Bundle.module)
13 | public static let mainLibrary: MTLLibrary? = try? ShaderCore.device.makeDefaultLibrary(bundle: Bundle.main)
| |- warning: static property 'mainLibrary' is not concurrency-safe because non-'Sendable' type '(any MTLLibrary)?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'mainLibrary' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | public static let commandQueue: MTLCommandQueue = ShaderCore.device.makeCommandQueue()!
15 | public static let context: CIContext = CIContext(mtlCommandQueue: commandQueue)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLLibrary.h:396:11: note: protocol 'MTLLibrary' does not conform to the 'Sendable' protocol
394 |
395 | API_AVAILABLE(macos(10.11), ios(8.0))
396 | @protocol MTLLibrary <NSObject>
| `- note: protocol 'MTLLibrary' does not conform to the 'Sendable' protocol
397 |
398 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/ShaderUtils/ShaderCore.swift:14:23: warning: static property 'commandQueue' is not concurrency-safe because non-'Sendable' type 'any MTLCommandQueue' may have shared mutable state; this is an error in the Swift 6 language mode
12 | public static let library: MTLLibrary = try! ShaderCore.device.makeDefaultLibrary(bundle: Bundle.module)
13 | public static let mainLibrary: MTLLibrary? = try? ShaderCore.device.makeDefaultLibrary(bundle: Bundle.main)
14 | public static let commandQueue: MTLCommandQueue = ShaderCore.device.makeCommandQueue()!
| |- warning: static property 'commandQueue' is not concurrency-safe because non-'Sendable' type 'any MTLCommandQueue' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'commandQueue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | public static let context: CIContext = CIContext(mtlCommandQueue: commandQueue)
16 | public static let textureLoader: MTKTextureLoader = MTKTextureLoader(device: ShaderCore.device)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLCommandQueue.h:21:11: note: protocol 'MTLCommandQueue' does not conform to the 'Sendable' protocol
19 | */
20 | API_AVAILABLE(macos(10.11), ios(8.0))
21 | @protocol MTLCommandQueue <NSObject>
| `- note: protocol 'MTLCommandQueue' does not conform to the 'Sendable' protocol
22 |
23 | /*! @brief A string to help identify this object */
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/ShaderUtils/ShaderCore.swift:15:23: warning: static property 'context' is not concurrency-safe because non-'Sendable' type 'CIContext' may have shared mutable state; this is an error in the Swift 6 language mode
13 | public static let mainLibrary: MTLLibrary? = try? ShaderCore.device.makeDefaultLibrary(bundle: Bundle.main)
14 | public static let commandQueue: MTLCommandQueue = ShaderCore.device.makeCommandQueue()!
15 | public static let context: CIContext = CIContext(mtlCommandQueue: commandQueue)
| |- warning: static property 'context' is not concurrency-safe because non-'Sendable' type 'CIContext' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'context' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | public static let textureLoader: MTKTextureLoader = MTKTextureLoader(device: ShaderCore.device)
17 | public static let defaultTextureLoaderOptions: [MTKTextureLoader.Option: Any] = [
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIContext.h:36:12: note: class 'CIContext' does not conform to the 'Sendable' protocol
34 |
35 | NS_CLASS_AVAILABLE(10_4, 5_0)
36 | @interface CIContext : NSObject
| `- note: class 'CIContext' does not conform to the 'Sendable' protocol
37 | {
38 | void *_priv;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/ShaderUtils/ShaderCore.swift:16:23: warning: static property 'textureLoader' is not concurrency-safe because non-'Sendable' type 'MTKTextureLoader' may have shared mutable state; this is an error in the Swift 6 language mode
14 | public static let commandQueue: MTLCommandQueue = ShaderCore.device.makeCommandQueue()!
15 | public static let context: CIContext = CIContext(mtlCommandQueue: commandQueue)
16 | public static let textureLoader: MTKTextureLoader = MTKTextureLoader(device: ShaderCore.device)
| |- warning: static property 'textureLoader' is not concurrency-safe because non-'Sendable' type 'MTKTextureLoader' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'textureLoader' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | public static let defaultTextureLoaderOptions: [MTKTextureLoader.Option: Any] = [
18 | .textureUsage: NSNumber(
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/MetalKit.framework/Headers/MTKTextureLoader.h:146:12: note: class 'MTKTextureLoader' does not conform to the 'Sendable' protocol
144 | */
145 | NS_CLASS_AVAILABLE(10_11, 9_0)
146 | @interface MTKTextureLoader : NSObject
| `- note: class 'MTKTextureLoader' does not conform to the 'Sendable' protocol
147 |
148 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/ShaderUtils/ShaderCore.swift:17:23: warning: static property 'defaultTextureLoaderOptions' is not concurrency-safe because non-'Sendable' type '[MTKTextureLoader.Option : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
15 | public static let context: CIContext = CIContext(mtlCommandQueue: commandQueue)
16 | public static let textureLoader: MTKTextureLoader = MTKTextureLoader(device: ShaderCore.device)
17 | public static let defaultTextureLoaderOptions: [MTKTextureLoader.Option: Any] = [
| |- warning: static property 'defaultTextureLoaderOptions' is not concurrency-safe because non-'Sendable' type '[MTKTextureLoader.Option : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultTextureLoaderOptions' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | .textureUsage: NSNumber(
19 | value: MTLTextureUsage.shaderRead.rawValue |
[446/482] Compiling SwiftyCreatives NormalBlendRenderer.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/Renderers/TransparentRenderer.swift:58:107: warning: 'argumentInfo' was deprecated in macOS 13.0: renamed to 'MTLPipelineOption.bindingInfo'
56 | tileDesc.colorAttachments[0].pixelFormat = .bgra8Unorm
57 | tileDesc.threadgroupSizeMatchesTileSize = true
58 | resolveState = try! ShaderCore.device.makeRenderPipelineState(tileDescriptor: tileDesc, options: .argumentInfo, reflection: nil) // FIXME: argumentinfo?
| |- warning: 'argumentInfo' was deprecated in macOS 13.0: renamed to 'MTLPipelineOption.bindingInfo'
| `- note: use 'MTLPipelineOption.bindingInfo' instead
59 |
60 | tileDesc.tileFunction = clearFunction
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/Renderers/TransparentRenderer.swift:61:109: warning: 'argumentInfo' was deprecated in macOS 13.0: renamed to 'MTLPipelineOption.bindingInfo'
59 |
60 | tileDesc.tileFunction = clearFunction
61 | clearTileState = try! ShaderCore.device.makeRenderPipelineState(tileDescriptor: tileDesc, options: .argumentInfo, reflection: nil) // FIXME: argumentinfo?
| |- warning: 'argumentInfo' was deprecated in macOS 13.0: renamed to 'MTLPipelineOption.bindingInfo'
| `- note: use 'MTLPipelineOption.bindingInfo' instead
62 |
63 | // MARK: - Depth Descriptor
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/ShaderUtils/ShaderCore.swift:11: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
9 |
10 | public enum ShaderCore {
11 | 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
12 | public static let library: MTLLibrary = try! ShaderCore.device.makeDefaultLibrary(bundle: Bundle.module)
13 | public static let mainLibrary: MTLLibrary? = try? ShaderCore.device.makeDefaultLibrary(bundle: Bundle.main)
/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/SwiftyCreatives/ShaderUtils/ShaderCore.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Metal'
6 | //
7 |
8 | import MetalKit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Metal'
9 |
10 | public enum ShaderCore {
11 | 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
12 | public static let library: MTLLibrary = try! ShaderCore.device.makeDefaultLibrary(bundle: Bundle.module)
13 | public static let mainLibrary: MTLLibrary? = try? ShaderCore.device.makeDefaultLibrary(bundle: Bundle.main)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/ShaderUtils/ShaderCore.swift:12:23: warning: static property 'library' is not concurrency-safe because non-'Sendable' type 'any MTLLibrary' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public enum ShaderCore {
11 | public static let device: MTLDevice = MTLCreateSystemDefaultDevice()!
12 | public static let library: MTLLibrary = try! ShaderCore.device.makeDefaultLibrary(bundle: Bundle.module)
| |- warning: static property 'library' is not concurrency-safe because non-'Sendable' type 'any MTLLibrary' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'library' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | public static let mainLibrary: MTLLibrary? = try? ShaderCore.device.makeDefaultLibrary(bundle: Bundle.main)
14 | public static let commandQueue: MTLCommandQueue = ShaderCore.device.makeCommandQueue()!
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLLibrary.h:396:11: note: protocol 'MTLLibrary' does not conform to the 'Sendable' protocol
394 |
395 | API_AVAILABLE(macos(10.11), ios(8.0))
396 | @protocol MTLLibrary <NSObject>
| `- note: protocol 'MTLLibrary' does not conform to the 'Sendable' protocol
397 |
398 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/ShaderUtils/ShaderCore.swift:13:23: warning: static property 'mainLibrary' is not concurrency-safe because non-'Sendable' type '(any MTLLibrary)?' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public static let device: MTLDevice = MTLCreateSystemDefaultDevice()!
12 | public static let library: MTLLibrary = try! ShaderCore.device.makeDefaultLibrary(bundle: Bundle.module)
13 | public static let mainLibrary: MTLLibrary? = try? ShaderCore.device.makeDefaultLibrary(bundle: Bundle.main)
| |- warning: static property 'mainLibrary' is not concurrency-safe because non-'Sendable' type '(any MTLLibrary)?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'mainLibrary' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | public static let commandQueue: MTLCommandQueue = ShaderCore.device.makeCommandQueue()!
15 | public static let context: CIContext = CIContext(mtlCommandQueue: commandQueue)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLLibrary.h:396:11: note: protocol 'MTLLibrary' does not conform to the 'Sendable' protocol
394 |
395 | API_AVAILABLE(macos(10.11), ios(8.0))
396 | @protocol MTLLibrary <NSObject>
| `- note: protocol 'MTLLibrary' does not conform to the 'Sendable' protocol
397 |
398 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/ShaderUtils/ShaderCore.swift:14:23: warning: static property 'commandQueue' is not concurrency-safe because non-'Sendable' type 'any MTLCommandQueue' may have shared mutable state; this is an error in the Swift 6 language mode
12 | public static let library: MTLLibrary = try! ShaderCore.device.makeDefaultLibrary(bundle: Bundle.module)
13 | public static let mainLibrary: MTLLibrary? = try? ShaderCore.device.makeDefaultLibrary(bundle: Bundle.main)
14 | public static let commandQueue: MTLCommandQueue = ShaderCore.device.makeCommandQueue()!
| |- warning: static property 'commandQueue' is not concurrency-safe because non-'Sendable' type 'any MTLCommandQueue' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'commandQueue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | public static let context: CIContext = CIContext(mtlCommandQueue: commandQueue)
16 | public static let textureLoader: MTKTextureLoader = MTKTextureLoader(device: ShaderCore.device)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLCommandQueue.h:21:11: note: protocol 'MTLCommandQueue' does not conform to the 'Sendable' protocol
19 | */
20 | API_AVAILABLE(macos(10.11), ios(8.0))
21 | @protocol MTLCommandQueue <NSObject>
| `- note: protocol 'MTLCommandQueue' does not conform to the 'Sendable' protocol
22 |
23 | /*! @brief A string to help identify this object */
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/ShaderUtils/ShaderCore.swift:15:23: warning: static property 'context' is not concurrency-safe because non-'Sendable' type 'CIContext' may have shared mutable state; this is an error in the Swift 6 language mode
13 | public static let mainLibrary: MTLLibrary? = try? ShaderCore.device.makeDefaultLibrary(bundle: Bundle.main)
14 | public static let commandQueue: MTLCommandQueue = ShaderCore.device.makeCommandQueue()!
15 | public static let context: CIContext = CIContext(mtlCommandQueue: commandQueue)
| |- warning: static property 'context' is not concurrency-safe because non-'Sendable' type 'CIContext' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'context' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | public static let textureLoader: MTKTextureLoader = MTKTextureLoader(device: ShaderCore.device)
17 | public static let defaultTextureLoaderOptions: [MTKTextureLoader.Option: Any] = [
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIContext.h:36:12: note: class 'CIContext' does not conform to the 'Sendable' protocol
34 |
35 | NS_CLASS_AVAILABLE(10_4, 5_0)
36 | @interface CIContext : NSObject
| `- note: class 'CIContext' does not conform to the 'Sendable' protocol
37 | {
38 | void *_priv;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/ShaderUtils/ShaderCore.swift:16:23: warning: static property 'textureLoader' is not concurrency-safe because non-'Sendable' type 'MTKTextureLoader' may have shared mutable state; this is an error in the Swift 6 language mode
14 | public static let commandQueue: MTLCommandQueue = ShaderCore.device.makeCommandQueue()!
15 | public static let context: CIContext = CIContext(mtlCommandQueue: commandQueue)
16 | public static let textureLoader: MTKTextureLoader = MTKTextureLoader(device: ShaderCore.device)
| |- warning: static property 'textureLoader' is not concurrency-safe because non-'Sendable' type 'MTKTextureLoader' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'textureLoader' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | public static let defaultTextureLoaderOptions: [MTKTextureLoader.Option: Any] = [
18 | .textureUsage: NSNumber(
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/MetalKit.framework/Headers/MTKTextureLoader.h:146:12: note: class 'MTKTextureLoader' does not conform to the 'Sendable' protocol
144 | */
145 | NS_CLASS_AVAILABLE(10_11, 9_0)
146 | @interface MTKTextureLoader : NSObject
| `- note: class 'MTKTextureLoader' does not conform to the 'Sendable' protocol
147 |
148 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/ShaderUtils/ShaderCore.swift:17:23: warning: static property 'defaultTextureLoaderOptions' is not concurrency-safe because non-'Sendable' type '[MTKTextureLoader.Option : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
15 | public static let context: CIContext = CIContext(mtlCommandQueue: commandQueue)
16 | public static let textureLoader: MTKTextureLoader = MTKTextureLoader(device: ShaderCore.device)
17 | public static let defaultTextureLoaderOptions: [MTKTextureLoader.Option: Any] = [
| |- warning: static property 'defaultTextureLoaderOptions' is not concurrency-safe because non-'Sendable' type '[MTKTextureLoader.Option : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultTextureLoaderOptions' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | .textureUsage: NSNumber(
19 | value: MTLTextureUsage.shaderRead.rawValue |
[447/482] Compiling SwiftyCreatives TransparentRenderer.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/Renderers/TransparentRenderer.swift:58:107: warning: 'argumentInfo' was deprecated in macOS 13.0: renamed to 'MTLPipelineOption.bindingInfo'
56 | tileDesc.colorAttachments[0].pixelFormat = .bgra8Unorm
57 | tileDesc.threadgroupSizeMatchesTileSize = true
58 | resolveState = try! ShaderCore.device.makeRenderPipelineState(tileDescriptor: tileDesc, options: .argumentInfo, reflection: nil) // FIXME: argumentinfo?
| |- warning: 'argumentInfo' was deprecated in macOS 13.0: renamed to 'MTLPipelineOption.bindingInfo'
| `- note: use 'MTLPipelineOption.bindingInfo' instead
59 |
60 | tileDesc.tileFunction = clearFunction
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/Renderers/TransparentRenderer.swift:61:109: warning: 'argumentInfo' was deprecated in macOS 13.0: renamed to 'MTLPipelineOption.bindingInfo'
59 |
60 | tileDesc.tileFunction = clearFunction
61 | clearTileState = try! ShaderCore.device.makeRenderPipelineState(tileDescriptor: tileDesc, options: .argumentInfo, reflection: nil) // FIXME: argumentinfo?
| |- warning: 'argumentInfo' was deprecated in macOS 13.0: renamed to 'MTLPipelineOption.bindingInfo'
| `- note: use 'MTLPipelineOption.bindingInfo' instead
62 |
63 | // MARK: - Depth Descriptor
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/ShaderUtils/ShaderCore.swift:11: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
9 |
10 | public enum ShaderCore {
11 | 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
12 | public static let library: MTLLibrary = try! ShaderCore.device.makeDefaultLibrary(bundle: Bundle.module)
13 | public static let mainLibrary: MTLLibrary? = try? ShaderCore.device.makeDefaultLibrary(bundle: Bundle.main)
/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/SwiftyCreatives/ShaderUtils/ShaderCore.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Metal'
6 | //
7 |
8 | import MetalKit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Metal'
9 |
10 | public enum ShaderCore {
11 | 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
12 | public static let library: MTLLibrary = try! ShaderCore.device.makeDefaultLibrary(bundle: Bundle.module)
13 | public static let mainLibrary: MTLLibrary? = try? ShaderCore.device.makeDefaultLibrary(bundle: Bundle.main)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/ShaderUtils/ShaderCore.swift:12:23: warning: static property 'library' is not concurrency-safe because non-'Sendable' type 'any MTLLibrary' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public enum ShaderCore {
11 | public static let device: MTLDevice = MTLCreateSystemDefaultDevice()!
12 | public static let library: MTLLibrary = try! ShaderCore.device.makeDefaultLibrary(bundle: Bundle.module)
| |- warning: static property 'library' is not concurrency-safe because non-'Sendable' type 'any MTLLibrary' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'library' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | public static let mainLibrary: MTLLibrary? = try? ShaderCore.device.makeDefaultLibrary(bundle: Bundle.main)
14 | public static let commandQueue: MTLCommandQueue = ShaderCore.device.makeCommandQueue()!
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLLibrary.h:396:11: note: protocol 'MTLLibrary' does not conform to the 'Sendable' protocol
394 |
395 | API_AVAILABLE(macos(10.11), ios(8.0))
396 | @protocol MTLLibrary <NSObject>
| `- note: protocol 'MTLLibrary' does not conform to the 'Sendable' protocol
397 |
398 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/ShaderUtils/ShaderCore.swift:13:23: warning: static property 'mainLibrary' is not concurrency-safe because non-'Sendable' type '(any MTLLibrary)?' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public static let device: MTLDevice = MTLCreateSystemDefaultDevice()!
12 | public static let library: MTLLibrary = try! ShaderCore.device.makeDefaultLibrary(bundle: Bundle.module)
13 | public static let mainLibrary: MTLLibrary? = try? ShaderCore.device.makeDefaultLibrary(bundle: Bundle.main)
| |- warning: static property 'mainLibrary' is not concurrency-safe because non-'Sendable' type '(any MTLLibrary)?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'mainLibrary' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | public static let commandQueue: MTLCommandQueue = ShaderCore.device.makeCommandQueue()!
15 | public static let context: CIContext = CIContext(mtlCommandQueue: commandQueue)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLLibrary.h:396:11: note: protocol 'MTLLibrary' does not conform to the 'Sendable' protocol
394 |
395 | API_AVAILABLE(macos(10.11), ios(8.0))
396 | @protocol MTLLibrary <NSObject>
| `- note: protocol 'MTLLibrary' does not conform to the 'Sendable' protocol
397 |
398 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/ShaderUtils/ShaderCore.swift:14:23: warning: static property 'commandQueue' is not concurrency-safe because non-'Sendable' type 'any MTLCommandQueue' may have shared mutable state; this is an error in the Swift 6 language mode
12 | public static let library: MTLLibrary = try! ShaderCore.device.makeDefaultLibrary(bundle: Bundle.module)
13 | public static let mainLibrary: MTLLibrary? = try? ShaderCore.device.makeDefaultLibrary(bundle: Bundle.main)
14 | public static let commandQueue: MTLCommandQueue = ShaderCore.device.makeCommandQueue()!
| |- warning: static property 'commandQueue' is not concurrency-safe because non-'Sendable' type 'any MTLCommandQueue' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'commandQueue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | public static let context: CIContext = CIContext(mtlCommandQueue: commandQueue)
16 | public static let textureLoader: MTKTextureLoader = MTKTextureLoader(device: ShaderCore.device)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLCommandQueue.h:21:11: note: protocol 'MTLCommandQueue' does not conform to the 'Sendable' protocol
19 | */
20 | API_AVAILABLE(macos(10.11), ios(8.0))
21 | @protocol MTLCommandQueue <NSObject>
| `- note: protocol 'MTLCommandQueue' does not conform to the 'Sendable' protocol
22 |
23 | /*! @brief A string to help identify this object */
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/ShaderUtils/ShaderCore.swift:15:23: warning: static property 'context' is not concurrency-safe because non-'Sendable' type 'CIContext' may have shared mutable state; this is an error in the Swift 6 language mode
13 | public static let mainLibrary: MTLLibrary? = try? ShaderCore.device.makeDefaultLibrary(bundle: Bundle.main)
14 | public static let commandQueue: MTLCommandQueue = ShaderCore.device.makeCommandQueue()!
15 | public static let context: CIContext = CIContext(mtlCommandQueue: commandQueue)
| |- warning: static property 'context' is not concurrency-safe because non-'Sendable' type 'CIContext' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'context' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | public static let textureLoader: MTKTextureLoader = MTKTextureLoader(device: ShaderCore.device)
17 | public static let defaultTextureLoaderOptions: [MTKTextureLoader.Option: Any] = [
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIContext.h:36:12: note: class 'CIContext' does not conform to the 'Sendable' protocol
34 |
35 | NS_CLASS_AVAILABLE(10_4, 5_0)
36 | @interface CIContext : NSObject
| `- note: class 'CIContext' does not conform to the 'Sendable' protocol
37 | {
38 | void *_priv;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/ShaderUtils/ShaderCore.swift:16:23: warning: static property 'textureLoader' is not concurrency-safe because non-'Sendable' type 'MTKTextureLoader' may have shared mutable state; this is an error in the Swift 6 language mode
14 | public static let commandQueue: MTLCommandQueue = ShaderCore.device.makeCommandQueue()!
15 | public static let context: CIContext = CIContext(mtlCommandQueue: commandQueue)
16 | public static let textureLoader: MTKTextureLoader = MTKTextureLoader(device: ShaderCore.device)
| |- warning: static property 'textureLoader' is not concurrency-safe because non-'Sendable' type 'MTKTextureLoader' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'textureLoader' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | public static let defaultTextureLoaderOptions: [MTKTextureLoader.Option: Any] = [
18 | .textureUsage: NSNumber(
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/MetalKit.framework/Headers/MTKTextureLoader.h:146:12: note: class 'MTKTextureLoader' does not conform to the 'Sendable' protocol
144 | */
145 | NS_CLASS_AVAILABLE(10_11, 9_0)
146 | @interface MTKTextureLoader : NSObject
| `- note: class 'MTKTextureLoader' does not conform to the 'Sendable' protocol
147 |
148 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/ShaderUtils/ShaderCore.swift:17:23: warning: static property 'defaultTextureLoaderOptions' is not concurrency-safe because non-'Sendable' type '[MTKTextureLoader.Option : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
15 | public static let context: CIContext = CIContext(mtlCommandQueue: commandQueue)
16 | public static let textureLoader: MTKTextureLoader = MTKTextureLoader(device: ShaderCore.device)
17 | public static let defaultTextureLoaderOptions: [MTKTextureLoader.Option: Any] = [
| |- warning: static property 'defaultTextureLoaderOptions' is not concurrency-safe because non-'Sendable' type '[MTKTextureLoader.Option : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultTextureLoaderOptions' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | .textureUsage: NSNumber(
19 | value: MTLTextureUsage.shaderRead.rawValue |
[448/482] Compiling SwiftyCreatives AddBlendRendererVision.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/Renderers/TransparentRenderer.swift:58:107: warning: 'argumentInfo' was deprecated in macOS 13.0: renamed to 'MTLPipelineOption.bindingInfo'
56 | tileDesc.colorAttachments[0].pixelFormat = .bgra8Unorm
57 | tileDesc.threadgroupSizeMatchesTileSize = true
58 | resolveState = try! ShaderCore.device.makeRenderPipelineState(tileDescriptor: tileDesc, options: .argumentInfo, reflection: nil) // FIXME: argumentinfo?
| |- warning: 'argumentInfo' was deprecated in macOS 13.0: renamed to 'MTLPipelineOption.bindingInfo'
| `- note: use 'MTLPipelineOption.bindingInfo' instead
59 |
60 | tileDesc.tileFunction = clearFunction
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/Renderers/TransparentRenderer.swift:61:109: warning: 'argumentInfo' was deprecated in macOS 13.0: renamed to 'MTLPipelineOption.bindingInfo'
59 |
60 | tileDesc.tileFunction = clearFunction
61 | clearTileState = try! ShaderCore.device.makeRenderPipelineState(tileDescriptor: tileDesc, options: .argumentInfo, reflection: nil) // FIXME: argumentinfo?
| |- warning: 'argumentInfo' was deprecated in macOS 13.0: renamed to 'MTLPipelineOption.bindingInfo'
| `- note: use 'MTLPipelineOption.bindingInfo' instead
62 |
63 | // MARK: - Depth Descriptor
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/ShaderUtils/ShaderCore.swift:11: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
9 |
10 | public enum ShaderCore {
11 | 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
12 | public static let library: MTLLibrary = try! ShaderCore.device.makeDefaultLibrary(bundle: Bundle.module)
13 | public static let mainLibrary: MTLLibrary? = try? ShaderCore.device.makeDefaultLibrary(bundle: Bundle.main)
/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/SwiftyCreatives/ShaderUtils/ShaderCore.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Metal'
6 | //
7 |
8 | import MetalKit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Metal'
9 |
10 | public enum ShaderCore {
11 | 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
12 | public static let library: MTLLibrary = try! ShaderCore.device.makeDefaultLibrary(bundle: Bundle.module)
13 | public static let mainLibrary: MTLLibrary? = try? ShaderCore.device.makeDefaultLibrary(bundle: Bundle.main)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/ShaderUtils/ShaderCore.swift:12:23: warning: static property 'library' is not concurrency-safe because non-'Sendable' type 'any MTLLibrary' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public enum ShaderCore {
11 | public static let device: MTLDevice = MTLCreateSystemDefaultDevice()!
12 | public static let library: MTLLibrary = try! ShaderCore.device.makeDefaultLibrary(bundle: Bundle.module)
| |- warning: static property 'library' is not concurrency-safe because non-'Sendable' type 'any MTLLibrary' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'library' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | public static let mainLibrary: MTLLibrary? = try? ShaderCore.device.makeDefaultLibrary(bundle: Bundle.main)
14 | public static let commandQueue: MTLCommandQueue = ShaderCore.device.makeCommandQueue()!
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLLibrary.h:396:11: note: protocol 'MTLLibrary' does not conform to the 'Sendable' protocol
394 |
395 | API_AVAILABLE(macos(10.11), ios(8.0))
396 | @protocol MTLLibrary <NSObject>
| `- note: protocol 'MTLLibrary' does not conform to the 'Sendable' protocol
397 |
398 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/ShaderUtils/ShaderCore.swift:13:23: warning: static property 'mainLibrary' is not concurrency-safe because non-'Sendable' type '(any MTLLibrary)?' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public static let device: MTLDevice = MTLCreateSystemDefaultDevice()!
12 | public static let library: MTLLibrary = try! ShaderCore.device.makeDefaultLibrary(bundle: Bundle.module)
13 | public static let mainLibrary: MTLLibrary? = try? ShaderCore.device.makeDefaultLibrary(bundle: Bundle.main)
| |- warning: static property 'mainLibrary' is not concurrency-safe because non-'Sendable' type '(any MTLLibrary)?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'mainLibrary' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | public static let commandQueue: MTLCommandQueue = ShaderCore.device.makeCommandQueue()!
15 | public static let context: CIContext = CIContext(mtlCommandQueue: commandQueue)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLLibrary.h:396:11: note: protocol 'MTLLibrary' does not conform to the 'Sendable' protocol
394 |
395 | API_AVAILABLE(macos(10.11), ios(8.0))
396 | @protocol MTLLibrary <NSObject>
| `- note: protocol 'MTLLibrary' does not conform to the 'Sendable' protocol
397 |
398 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/ShaderUtils/ShaderCore.swift:14:23: warning: static property 'commandQueue' is not concurrency-safe because non-'Sendable' type 'any MTLCommandQueue' may have shared mutable state; this is an error in the Swift 6 language mode
12 | public static let library: MTLLibrary = try! ShaderCore.device.makeDefaultLibrary(bundle: Bundle.module)
13 | public static let mainLibrary: MTLLibrary? = try? ShaderCore.device.makeDefaultLibrary(bundle: Bundle.main)
14 | public static let commandQueue: MTLCommandQueue = ShaderCore.device.makeCommandQueue()!
| |- warning: static property 'commandQueue' is not concurrency-safe because non-'Sendable' type 'any MTLCommandQueue' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'commandQueue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | public static let context: CIContext = CIContext(mtlCommandQueue: commandQueue)
16 | public static let textureLoader: MTKTextureLoader = MTKTextureLoader(device: ShaderCore.device)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLCommandQueue.h:21:11: note: protocol 'MTLCommandQueue' does not conform to the 'Sendable' protocol
19 | */
20 | API_AVAILABLE(macos(10.11), ios(8.0))
21 | @protocol MTLCommandQueue <NSObject>
| `- note: protocol 'MTLCommandQueue' does not conform to the 'Sendable' protocol
22 |
23 | /*! @brief A string to help identify this object */
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/ShaderUtils/ShaderCore.swift:15:23: warning: static property 'context' is not concurrency-safe because non-'Sendable' type 'CIContext' may have shared mutable state; this is an error in the Swift 6 language mode
13 | public static let mainLibrary: MTLLibrary? = try? ShaderCore.device.makeDefaultLibrary(bundle: Bundle.main)
14 | public static let commandQueue: MTLCommandQueue = ShaderCore.device.makeCommandQueue()!
15 | public static let context: CIContext = CIContext(mtlCommandQueue: commandQueue)
| |- warning: static property 'context' is not concurrency-safe because non-'Sendable' type 'CIContext' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'context' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | public static let textureLoader: MTKTextureLoader = MTKTextureLoader(device: ShaderCore.device)
17 | public static let defaultTextureLoaderOptions: [MTKTextureLoader.Option: Any] = [
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIContext.h:36:12: note: class 'CIContext' does not conform to the 'Sendable' protocol
34 |
35 | NS_CLASS_AVAILABLE(10_4, 5_0)
36 | @interface CIContext : NSObject
| `- note: class 'CIContext' does not conform to the 'Sendable' protocol
37 | {
38 | void *_priv;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/ShaderUtils/ShaderCore.swift:16:23: warning: static property 'textureLoader' is not concurrency-safe because non-'Sendable' type 'MTKTextureLoader' may have shared mutable state; this is an error in the Swift 6 language mode
14 | public static let commandQueue: MTLCommandQueue = ShaderCore.device.makeCommandQueue()!
15 | public static let context: CIContext = CIContext(mtlCommandQueue: commandQueue)
16 | public static let textureLoader: MTKTextureLoader = MTKTextureLoader(device: ShaderCore.device)
| |- warning: static property 'textureLoader' is not concurrency-safe because non-'Sendable' type 'MTKTextureLoader' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'textureLoader' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | public static let defaultTextureLoaderOptions: [MTKTextureLoader.Option: Any] = [
18 | .textureUsage: NSNumber(
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/MetalKit.framework/Headers/MTKTextureLoader.h:146:12: note: class 'MTKTextureLoader' does not conform to the 'Sendable' protocol
144 | */
145 | NS_CLASS_AVAILABLE(10_11, 9_0)
146 | @interface MTKTextureLoader : NSObject
| `- note: class 'MTKTextureLoader' does not conform to the 'Sendable' protocol
147 |
148 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/ShaderUtils/ShaderCore.swift:17:23: warning: static property 'defaultTextureLoaderOptions' is not concurrency-safe because non-'Sendable' type '[MTKTextureLoader.Option : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
15 | public static let context: CIContext = CIContext(mtlCommandQueue: commandQueue)
16 | public static let textureLoader: MTKTextureLoader = MTKTextureLoader(device: ShaderCore.device)
17 | public static let defaultTextureLoaderOptions: [MTKTextureLoader.Option: Any] = [
| |- warning: static property 'defaultTextureLoaderOptions' is not concurrency-safe because non-'Sendable' type '[MTKTextureLoader.Option : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultTextureLoaderOptions' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | .textureUsage: NSNumber(
19 | value: MTLTextureUsage.shaderRead.rawValue |
[449/482] Compiling SwiftyCreatives NormalBlendRendererVision.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/Renderers/TransparentRenderer.swift:58:107: warning: 'argumentInfo' was deprecated in macOS 13.0: renamed to 'MTLPipelineOption.bindingInfo'
56 | tileDesc.colorAttachments[0].pixelFormat = .bgra8Unorm
57 | tileDesc.threadgroupSizeMatchesTileSize = true
58 | resolveState = try! ShaderCore.device.makeRenderPipelineState(tileDescriptor: tileDesc, options: .argumentInfo, reflection: nil) // FIXME: argumentinfo?
| |- warning: 'argumentInfo' was deprecated in macOS 13.0: renamed to 'MTLPipelineOption.bindingInfo'
| `- note: use 'MTLPipelineOption.bindingInfo' instead
59 |
60 | tileDesc.tileFunction = clearFunction
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/Renderers/TransparentRenderer.swift:61:109: warning: 'argumentInfo' was deprecated in macOS 13.0: renamed to 'MTLPipelineOption.bindingInfo'
59 |
60 | tileDesc.tileFunction = clearFunction
61 | clearTileState = try! ShaderCore.device.makeRenderPipelineState(tileDescriptor: tileDesc, options: .argumentInfo, reflection: nil) // FIXME: argumentinfo?
| |- warning: 'argumentInfo' was deprecated in macOS 13.0: renamed to 'MTLPipelineOption.bindingInfo'
| `- note: use 'MTLPipelineOption.bindingInfo' instead
62 |
63 | // MARK: - Depth Descriptor
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/ShaderUtils/ShaderCore.swift:11: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
9 |
10 | public enum ShaderCore {
11 | 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
12 | public static let library: MTLLibrary = try! ShaderCore.device.makeDefaultLibrary(bundle: Bundle.module)
13 | public static let mainLibrary: MTLLibrary? = try? ShaderCore.device.makeDefaultLibrary(bundle: Bundle.main)
/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/SwiftyCreatives/ShaderUtils/ShaderCore.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Metal'
6 | //
7 |
8 | import MetalKit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Metal'
9 |
10 | public enum ShaderCore {
11 | 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
12 | public static let library: MTLLibrary = try! ShaderCore.device.makeDefaultLibrary(bundle: Bundle.module)
13 | public static let mainLibrary: MTLLibrary? = try? ShaderCore.device.makeDefaultLibrary(bundle: Bundle.main)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/ShaderUtils/ShaderCore.swift:12:23: warning: static property 'library' is not concurrency-safe because non-'Sendable' type 'any MTLLibrary' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public enum ShaderCore {
11 | public static let device: MTLDevice = MTLCreateSystemDefaultDevice()!
12 | public static let library: MTLLibrary = try! ShaderCore.device.makeDefaultLibrary(bundle: Bundle.module)
| |- warning: static property 'library' is not concurrency-safe because non-'Sendable' type 'any MTLLibrary' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'library' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | public static let mainLibrary: MTLLibrary? = try? ShaderCore.device.makeDefaultLibrary(bundle: Bundle.main)
14 | public static let commandQueue: MTLCommandQueue = ShaderCore.device.makeCommandQueue()!
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLLibrary.h:396:11: note: protocol 'MTLLibrary' does not conform to the 'Sendable' protocol
394 |
395 | API_AVAILABLE(macos(10.11), ios(8.0))
396 | @protocol MTLLibrary <NSObject>
| `- note: protocol 'MTLLibrary' does not conform to the 'Sendable' protocol
397 |
398 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/ShaderUtils/ShaderCore.swift:13:23: warning: static property 'mainLibrary' is not concurrency-safe because non-'Sendable' type '(any MTLLibrary)?' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public static let device: MTLDevice = MTLCreateSystemDefaultDevice()!
12 | public static let library: MTLLibrary = try! ShaderCore.device.makeDefaultLibrary(bundle: Bundle.module)
13 | public static let mainLibrary: MTLLibrary? = try? ShaderCore.device.makeDefaultLibrary(bundle: Bundle.main)
| |- warning: static property 'mainLibrary' is not concurrency-safe because non-'Sendable' type '(any MTLLibrary)?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'mainLibrary' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | public static let commandQueue: MTLCommandQueue = ShaderCore.device.makeCommandQueue()!
15 | public static let context: CIContext = CIContext(mtlCommandQueue: commandQueue)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLLibrary.h:396:11: note: protocol 'MTLLibrary' does not conform to the 'Sendable' protocol
394 |
395 | API_AVAILABLE(macos(10.11), ios(8.0))
396 | @protocol MTLLibrary <NSObject>
| `- note: protocol 'MTLLibrary' does not conform to the 'Sendable' protocol
397 |
398 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/ShaderUtils/ShaderCore.swift:14:23: warning: static property 'commandQueue' is not concurrency-safe because non-'Sendable' type 'any MTLCommandQueue' may have shared mutable state; this is an error in the Swift 6 language mode
12 | public static let library: MTLLibrary = try! ShaderCore.device.makeDefaultLibrary(bundle: Bundle.module)
13 | public static let mainLibrary: MTLLibrary? = try? ShaderCore.device.makeDefaultLibrary(bundle: Bundle.main)
14 | public static let commandQueue: MTLCommandQueue = ShaderCore.device.makeCommandQueue()!
| |- warning: static property 'commandQueue' is not concurrency-safe because non-'Sendable' type 'any MTLCommandQueue' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'commandQueue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | public static let context: CIContext = CIContext(mtlCommandQueue: commandQueue)
16 | public static let textureLoader: MTKTextureLoader = MTKTextureLoader(device: ShaderCore.device)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLCommandQueue.h:21:11: note: protocol 'MTLCommandQueue' does not conform to the 'Sendable' protocol
19 | */
20 | API_AVAILABLE(macos(10.11), ios(8.0))
21 | @protocol MTLCommandQueue <NSObject>
| `- note: protocol 'MTLCommandQueue' does not conform to the 'Sendable' protocol
22 |
23 | /*! @brief A string to help identify this object */
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/ShaderUtils/ShaderCore.swift:15:23: warning: static property 'context' is not concurrency-safe because non-'Sendable' type 'CIContext' may have shared mutable state; this is an error in the Swift 6 language mode
13 | public static let mainLibrary: MTLLibrary? = try? ShaderCore.device.makeDefaultLibrary(bundle: Bundle.main)
14 | public static let commandQueue: MTLCommandQueue = ShaderCore.device.makeCommandQueue()!
15 | public static let context: CIContext = CIContext(mtlCommandQueue: commandQueue)
| |- warning: static property 'context' is not concurrency-safe because non-'Sendable' type 'CIContext' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'context' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | public static let textureLoader: MTKTextureLoader = MTKTextureLoader(device: ShaderCore.device)
17 | public static let defaultTextureLoaderOptions: [MTKTextureLoader.Option: Any] = [
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIContext.h:36:12: note: class 'CIContext' does not conform to the 'Sendable' protocol
34 |
35 | NS_CLASS_AVAILABLE(10_4, 5_0)
36 | @interface CIContext : NSObject
| `- note: class 'CIContext' does not conform to the 'Sendable' protocol
37 | {
38 | void *_priv;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/ShaderUtils/ShaderCore.swift:16:23: warning: static property 'textureLoader' is not concurrency-safe because non-'Sendable' type 'MTKTextureLoader' may have shared mutable state; this is an error in the Swift 6 language mode
14 | public static let commandQueue: MTLCommandQueue = ShaderCore.device.makeCommandQueue()!
15 | public static let context: CIContext = CIContext(mtlCommandQueue: commandQueue)
16 | public static let textureLoader: MTKTextureLoader = MTKTextureLoader(device: ShaderCore.device)
| |- warning: static property 'textureLoader' is not concurrency-safe because non-'Sendable' type 'MTKTextureLoader' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'textureLoader' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | public static let defaultTextureLoaderOptions: [MTKTextureLoader.Option: Any] = [
18 | .textureUsage: NSNumber(
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/MetalKit.framework/Headers/MTKTextureLoader.h:146:12: note: class 'MTKTextureLoader' does not conform to the 'Sendable' protocol
144 | */
145 | NS_CLASS_AVAILABLE(10_11, 9_0)
146 | @interface MTKTextureLoader : NSObject
| `- note: class 'MTKTextureLoader' does not conform to the 'Sendable' protocol
147 |
148 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/ShaderUtils/ShaderCore.swift:17:23: warning: static property 'defaultTextureLoaderOptions' is not concurrency-safe because non-'Sendable' type '[MTKTextureLoader.Option : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
15 | public static let context: CIContext = CIContext(mtlCommandQueue: commandQueue)
16 | public static let textureLoader: MTKTextureLoader = MTKTextureLoader(device: ShaderCore.device)
17 | public static let defaultTextureLoaderOptions: [MTKTextureLoader.Option: Any] = [
| |- warning: static property 'defaultTextureLoaderOptions' is not concurrency-safe because non-'Sendable' type '[MTKTextureLoader.Option : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultTextureLoaderOptions' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | .textureUsage: NSNumber(
19 | value: MTLTextureUsage.shaderRead.rawValue |
[450/482] Compiling SwiftyCreatives TransparentRendererVision.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/Renderers/TransparentRenderer.swift:58:107: warning: 'argumentInfo' was deprecated in macOS 13.0: renamed to 'MTLPipelineOption.bindingInfo'
56 | tileDesc.colorAttachments[0].pixelFormat = .bgra8Unorm
57 | tileDesc.threadgroupSizeMatchesTileSize = true
58 | resolveState = try! ShaderCore.device.makeRenderPipelineState(tileDescriptor: tileDesc, options: .argumentInfo, reflection: nil) // FIXME: argumentinfo?
| |- warning: 'argumentInfo' was deprecated in macOS 13.0: renamed to 'MTLPipelineOption.bindingInfo'
| `- note: use 'MTLPipelineOption.bindingInfo' instead
59 |
60 | tileDesc.tileFunction = clearFunction
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/Renderers/TransparentRenderer.swift:61:109: warning: 'argumentInfo' was deprecated in macOS 13.0: renamed to 'MTLPipelineOption.bindingInfo'
59 |
60 | tileDesc.tileFunction = clearFunction
61 | clearTileState = try! ShaderCore.device.makeRenderPipelineState(tileDescriptor: tileDesc, options: .argumentInfo, reflection: nil) // FIXME: argumentinfo?
| |- warning: 'argumentInfo' was deprecated in macOS 13.0: renamed to 'MTLPipelineOption.bindingInfo'
| `- note: use 'MTLPipelineOption.bindingInfo' instead
62 |
63 | // MARK: - Depth Descriptor
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/ShaderUtils/ShaderCore.swift:11: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
9 |
10 | public enum ShaderCore {
11 | 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
12 | public static let library: MTLLibrary = try! ShaderCore.device.makeDefaultLibrary(bundle: Bundle.module)
13 | public static let mainLibrary: MTLLibrary? = try? ShaderCore.device.makeDefaultLibrary(bundle: Bundle.main)
/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/SwiftyCreatives/ShaderUtils/ShaderCore.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Metal'
6 | //
7 |
8 | import MetalKit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Metal'
9 |
10 | public enum ShaderCore {
11 | 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
12 | public static let library: MTLLibrary = try! ShaderCore.device.makeDefaultLibrary(bundle: Bundle.module)
13 | public static let mainLibrary: MTLLibrary? = try? ShaderCore.device.makeDefaultLibrary(bundle: Bundle.main)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/ShaderUtils/ShaderCore.swift:12:23: warning: static property 'library' is not concurrency-safe because non-'Sendable' type 'any MTLLibrary' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public enum ShaderCore {
11 | public static let device: MTLDevice = MTLCreateSystemDefaultDevice()!
12 | public static let library: MTLLibrary = try! ShaderCore.device.makeDefaultLibrary(bundle: Bundle.module)
| |- warning: static property 'library' is not concurrency-safe because non-'Sendable' type 'any MTLLibrary' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'library' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | public static let mainLibrary: MTLLibrary? = try? ShaderCore.device.makeDefaultLibrary(bundle: Bundle.main)
14 | public static let commandQueue: MTLCommandQueue = ShaderCore.device.makeCommandQueue()!
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLLibrary.h:396:11: note: protocol 'MTLLibrary' does not conform to the 'Sendable' protocol
394 |
395 | API_AVAILABLE(macos(10.11), ios(8.0))
396 | @protocol MTLLibrary <NSObject>
| `- note: protocol 'MTLLibrary' does not conform to the 'Sendable' protocol
397 |
398 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/ShaderUtils/ShaderCore.swift:13:23: warning: static property 'mainLibrary' is not concurrency-safe because non-'Sendable' type '(any MTLLibrary)?' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public static let device: MTLDevice = MTLCreateSystemDefaultDevice()!
12 | public static let library: MTLLibrary = try! ShaderCore.device.makeDefaultLibrary(bundle: Bundle.module)
13 | public static let mainLibrary: MTLLibrary? = try? ShaderCore.device.makeDefaultLibrary(bundle: Bundle.main)
| |- warning: static property 'mainLibrary' is not concurrency-safe because non-'Sendable' type '(any MTLLibrary)?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'mainLibrary' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | public static let commandQueue: MTLCommandQueue = ShaderCore.device.makeCommandQueue()!
15 | public static let context: CIContext = CIContext(mtlCommandQueue: commandQueue)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLLibrary.h:396:11: note: protocol 'MTLLibrary' does not conform to the 'Sendable' protocol
394 |
395 | API_AVAILABLE(macos(10.11), ios(8.0))
396 | @protocol MTLLibrary <NSObject>
| `- note: protocol 'MTLLibrary' does not conform to the 'Sendable' protocol
397 |
398 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/ShaderUtils/ShaderCore.swift:14:23: warning: static property 'commandQueue' is not concurrency-safe because non-'Sendable' type 'any MTLCommandQueue' may have shared mutable state; this is an error in the Swift 6 language mode
12 | public static let library: MTLLibrary = try! ShaderCore.device.makeDefaultLibrary(bundle: Bundle.module)
13 | public static let mainLibrary: MTLLibrary? = try? ShaderCore.device.makeDefaultLibrary(bundle: Bundle.main)
14 | public static let commandQueue: MTLCommandQueue = ShaderCore.device.makeCommandQueue()!
| |- warning: static property 'commandQueue' is not concurrency-safe because non-'Sendable' type 'any MTLCommandQueue' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'commandQueue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | public static let context: CIContext = CIContext(mtlCommandQueue: commandQueue)
16 | public static let textureLoader: MTKTextureLoader = MTKTextureLoader(device: ShaderCore.device)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLCommandQueue.h:21:11: note: protocol 'MTLCommandQueue' does not conform to the 'Sendable' protocol
19 | */
20 | API_AVAILABLE(macos(10.11), ios(8.0))
21 | @protocol MTLCommandQueue <NSObject>
| `- note: protocol 'MTLCommandQueue' does not conform to the 'Sendable' protocol
22 |
23 | /*! @brief A string to help identify this object */
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/ShaderUtils/ShaderCore.swift:15:23: warning: static property 'context' is not concurrency-safe because non-'Sendable' type 'CIContext' may have shared mutable state; this is an error in the Swift 6 language mode
13 | public static let mainLibrary: MTLLibrary? = try? ShaderCore.device.makeDefaultLibrary(bundle: Bundle.main)
14 | public static let commandQueue: MTLCommandQueue = ShaderCore.device.makeCommandQueue()!
15 | public static let context: CIContext = CIContext(mtlCommandQueue: commandQueue)
| |- warning: static property 'context' is not concurrency-safe because non-'Sendable' type 'CIContext' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'context' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | public static let textureLoader: MTKTextureLoader = MTKTextureLoader(device: ShaderCore.device)
17 | public static let defaultTextureLoaderOptions: [MTKTextureLoader.Option: Any] = [
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIContext.h:36:12: note: class 'CIContext' does not conform to the 'Sendable' protocol
34 |
35 | NS_CLASS_AVAILABLE(10_4, 5_0)
36 | @interface CIContext : NSObject
| `- note: class 'CIContext' does not conform to the 'Sendable' protocol
37 | {
38 | void *_priv;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/ShaderUtils/ShaderCore.swift:16:23: warning: static property 'textureLoader' is not concurrency-safe because non-'Sendable' type 'MTKTextureLoader' may have shared mutable state; this is an error in the Swift 6 language mode
14 | public static let commandQueue: MTLCommandQueue = ShaderCore.device.makeCommandQueue()!
15 | public static let context: CIContext = CIContext(mtlCommandQueue: commandQueue)
16 | public static let textureLoader: MTKTextureLoader = MTKTextureLoader(device: ShaderCore.device)
| |- warning: static property 'textureLoader' is not concurrency-safe because non-'Sendable' type 'MTKTextureLoader' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'textureLoader' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | public static let defaultTextureLoaderOptions: [MTKTextureLoader.Option: Any] = [
18 | .textureUsage: NSNumber(
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/MetalKit.framework/Headers/MTKTextureLoader.h:146:12: note: class 'MTKTextureLoader' does not conform to the 'Sendable' protocol
144 | */
145 | NS_CLASS_AVAILABLE(10_11, 9_0)
146 | @interface MTKTextureLoader : NSObject
| `- note: class 'MTKTextureLoader' does not conform to the 'Sendable' protocol
147 |
148 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/ShaderUtils/ShaderCore.swift:17:23: warning: static property 'defaultTextureLoaderOptions' is not concurrency-safe because non-'Sendable' type '[MTKTextureLoader.Option : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
15 | public static let context: CIContext = CIContext(mtlCommandQueue: commandQueue)
16 | public static let textureLoader: MTKTextureLoader = MTKTextureLoader(device: ShaderCore.device)
17 | public static let defaultTextureLoaderOptions: [MTKTextureLoader.Option: Any] = [
| |- warning: static property 'defaultTextureLoaderOptions' is not concurrency-safe because non-'Sendable' type '[MTKTextureLoader.Option : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultTextureLoaderOptions' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | .textureUsage: NSNumber(
19 | value: MTLTextureUsage.shaderRead.rawValue |
[451/482] Compiling SwiftyCreatives visionOSSettings.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/Renderers/TransparentRenderer.swift:58:107: warning: 'argumentInfo' was deprecated in macOS 13.0: renamed to 'MTLPipelineOption.bindingInfo'
56 | tileDesc.colorAttachments[0].pixelFormat = .bgra8Unorm
57 | tileDesc.threadgroupSizeMatchesTileSize = true
58 | resolveState = try! ShaderCore.device.makeRenderPipelineState(tileDescriptor: tileDesc, options: .argumentInfo, reflection: nil) // FIXME: argumentinfo?
| |- warning: 'argumentInfo' was deprecated in macOS 13.0: renamed to 'MTLPipelineOption.bindingInfo'
| `- note: use 'MTLPipelineOption.bindingInfo' instead
59 |
60 | tileDesc.tileFunction = clearFunction
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/Renderers/TransparentRenderer.swift:61:109: warning: 'argumentInfo' was deprecated in macOS 13.0: renamed to 'MTLPipelineOption.bindingInfo'
59 |
60 | tileDesc.tileFunction = clearFunction
61 | clearTileState = try! ShaderCore.device.makeRenderPipelineState(tileDescriptor: tileDesc, options: .argumentInfo, reflection: nil) // FIXME: argumentinfo?
| |- warning: 'argumentInfo' was deprecated in macOS 13.0: renamed to 'MTLPipelineOption.bindingInfo'
| `- note: use 'MTLPipelineOption.bindingInfo' instead
62 |
63 | // MARK: - Depth Descriptor
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/ShaderUtils/ShaderCore.swift:11: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
9 |
10 | public enum ShaderCore {
11 | 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
12 | public static let library: MTLLibrary = try! ShaderCore.device.makeDefaultLibrary(bundle: Bundle.module)
13 | public static let mainLibrary: MTLLibrary? = try? ShaderCore.device.makeDefaultLibrary(bundle: Bundle.main)
/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/SwiftyCreatives/ShaderUtils/ShaderCore.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Metal'
6 | //
7 |
8 | import MetalKit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Metal'
9 |
10 | public enum ShaderCore {
11 | 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
12 | public static let library: MTLLibrary = try! ShaderCore.device.makeDefaultLibrary(bundle: Bundle.module)
13 | public static let mainLibrary: MTLLibrary? = try? ShaderCore.device.makeDefaultLibrary(bundle: Bundle.main)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/ShaderUtils/ShaderCore.swift:12:23: warning: static property 'library' is not concurrency-safe because non-'Sendable' type 'any MTLLibrary' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public enum ShaderCore {
11 | public static let device: MTLDevice = MTLCreateSystemDefaultDevice()!
12 | public static let library: MTLLibrary = try! ShaderCore.device.makeDefaultLibrary(bundle: Bundle.module)
| |- warning: static property 'library' is not concurrency-safe because non-'Sendable' type 'any MTLLibrary' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'library' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | public static let mainLibrary: MTLLibrary? = try? ShaderCore.device.makeDefaultLibrary(bundle: Bundle.main)
14 | public static let commandQueue: MTLCommandQueue = ShaderCore.device.makeCommandQueue()!
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLLibrary.h:396:11: note: protocol 'MTLLibrary' does not conform to the 'Sendable' protocol
394 |
395 | API_AVAILABLE(macos(10.11), ios(8.0))
396 | @protocol MTLLibrary <NSObject>
| `- note: protocol 'MTLLibrary' does not conform to the 'Sendable' protocol
397 |
398 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/ShaderUtils/ShaderCore.swift:13:23: warning: static property 'mainLibrary' is not concurrency-safe because non-'Sendable' type '(any MTLLibrary)?' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public static let device: MTLDevice = MTLCreateSystemDefaultDevice()!
12 | public static let library: MTLLibrary = try! ShaderCore.device.makeDefaultLibrary(bundle: Bundle.module)
13 | public static let mainLibrary: MTLLibrary? = try? ShaderCore.device.makeDefaultLibrary(bundle: Bundle.main)
| |- warning: static property 'mainLibrary' is not concurrency-safe because non-'Sendable' type '(any MTLLibrary)?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'mainLibrary' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | public static let commandQueue: MTLCommandQueue = ShaderCore.device.makeCommandQueue()!
15 | public static let context: CIContext = CIContext(mtlCommandQueue: commandQueue)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLLibrary.h:396:11: note: protocol 'MTLLibrary' does not conform to the 'Sendable' protocol
394 |
395 | API_AVAILABLE(macos(10.11), ios(8.0))
396 | @protocol MTLLibrary <NSObject>
| `- note: protocol 'MTLLibrary' does not conform to the 'Sendable' protocol
397 |
398 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/ShaderUtils/ShaderCore.swift:14:23: warning: static property 'commandQueue' is not concurrency-safe because non-'Sendable' type 'any MTLCommandQueue' may have shared mutable state; this is an error in the Swift 6 language mode
12 | public static let library: MTLLibrary = try! ShaderCore.device.makeDefaultLibrary(bundle: Bundle.module)
13 | public static let mainLibrary: MTLLibrary? = try? ShaderCore.device.makeDefaultLibrary(bundle: Bundle.main)
14 | public static let commandQueue: MTLCommandQueue = ShaderCore.device.makeCommandQueue()!
| |- warning: static property 'commandQueue' is not concurrency-safe because non-'Sendable' type 'any MTLCommandQueue' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'commandQueue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | public static let context: CIContext = CIContext(mtlCommandQueue: commandQueue)
16 | public static let textureLoader: MTKTextureLoader = MTKTextureLoader(device: ShaderCore.device)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLCommandQueue.h:21:11: note: protocol 'MTLCommandQueue' does not conform to the 'Sendable' protocol
19 | */
20 | API_AVAILABLE(macos(10.11), ios(8.0))
21 | @protocol MTLCommandQueue <NSObject>
| `- note: protocol 'MTLCommandQueue' does not conform to the 'Sendable' protocol
22 |
23 | /*! @brief A string to help identify this object */
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/ShaderUtils/ShaderCore.swift:15:23: warning: static property 'context' is not concurrency-safe because non-'Sendable' type 'CIContext' may have shared mutable state; this is an error in the Swift 6 language mode
13 | public static let mainLibrary: MTLLibrary? = try? ShaderCore.device.makeDefaultLibrary(bundle: Bundle.main)
14 | public static let commandQueue: MTLCommandQueue = ShaderCore.device.makeCommandQueue()!
15 | public static let context: CIContext = CIContext(mtlCommandQueue: commandQueue)
| |- warning: static property 'context' is not concurrency-safe because non-'Sendable' type 'CIContext' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'context' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | public static let textureLoader: MTKTextureLoader = MTKTextureLoader(device: ShaderCore.device)
17 | public static let defaultTextureLoaderOptions: [MTKTextureLoader.Option: Any] = [
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIContext.h:36:12: note: class 'CIContext' does not conform to the 'Sendable' protocol
34 |
35 | NS_CLASS_AVAILABLE(10_4, 5_0)
36 | @interface CIContext : NSObject
| `- note: class 'CIContext' does not conform to the 'Sendable' protocol
37 | {
38 | void *_priv;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/ShaderUtils/ShaderCore.swift:16:23: warning: static property 'textureLoader' is not concurrency-safe because non-'Sendable' type 'MTKTextureLoader' may have shared mutable state; this is an error in the Swift 6 language mode
14 | public static let commandQueue: MTLCommandQueue = ShaderCore.device.makeCommandQueue()!
15 | public static let context: CIContext = CIContext(mtlCommandQueue: commandQueue)
16 | public static let textureLoader: MTKTextureLoader = MTKTextureLoader(device: ShaderCore.device)
| |- warning: static property 'textureLoader' is not concurrency-safe because non-'Sendable' type 'MTKTextureLoader' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'textureLoader' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | public static let defaultTextureLoaderOptions: [MTKTextureLoader.Option: Any] = [
18 | .textureUsage: NSNumber(
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/MetalKit.framework/Headers/MTKTextureLoader.h:146:12: note: class 'MTKTextureLoader' does not conform to the 'Sendable' protocol
144 | */
145 | NS_CLASS_AVAILABLE(10_11, 9_0)
146 | @interface MTKTextureLoader : NSObject
| `- note: class 'MTKTextureLoader' does not conform to the 'Sendable' protocol
147 |
148 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/ShaderUtils/ShaderCore.swift:17:23: warning: static property 'defaultTextureLoaderOptions' is not concurrency-safe because non-'Sendable' type '[MTKTextureLoader.Option : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
15 | public static let context: CIContext = CIContext(mtlCommandQueue: commandQueue)
16 | public static let textureLoader: MTKTextureLoader = MTKTextureLoader(device: ShaderCore.device)
17 | public static let defaultTextureLoaderOptions: [MTKTextureLoader.Option: Any] = [
| |- warning: static property 'defaultTextureLoaderOptions' is not concurrency-safe because non-'Sendable' type '[MTKTextureLoader.Option : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultTextureLoaderOptions' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | .textureUsage: NSNumber(
19 | value: MTLTextureUsage.shaderRead.rawValue |
[452/482] Compiling SwiftyCreatives ShaderCore.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/Renderers/TransparentRenderer.swift:58:107: warning: 'argumentInfo' was deprecated in macOS 13.0: renamed to 'MTLPipelineOption.bindingInfo'
56 | tileDesc.colorAttachments[0].pixelFormat = .bgra8Unorm
57 | tileDesc.threadgroupSizeMatchesTileSize = true
58 | resolveState = try! ShaderCore.device.makeRenderPipelineState(tileDescriptor: tileDesc, options: .argumentInfo, reflection: nil) // FIXME: argumentinfo?
| |- warning: 'argumentInfo' was deprecated in macOS 13.0: renamed to 'MTLPipelineOption.bindingInfo'
| `- note: use 'MTLPipelineOption.bindingInfo' instead
59 |
60 | tileDesc.tileFunction = clearFunction
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/Renderers/TransparentRenderer.swift:61:109: warning: 'argumentInfo' was deprecated in macOS 13.0: renamed to 'MTLPipelineOption.bindingInfo'
59 |
60 | tileDesc.tileFunction = clearFunction
61 | clearTileState = try! ShaderCore.device.makeRenderPipelineState(tileDescriptor: tileDesc, options: .argumentInfo, reflection: nil) // FIXME: argumentinfo?
| |- warning: 'argumentInfo' was deprecated in macOS 13.0: renamed to 'MTLPipelineOption.bindingInfo'
| `- note: use 'MTLPipelineOption.bindingInfo' instead
62 |
63 | // MARK: - Depth Descriptor
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/ShaderUtils/ShaderCore.swift:11: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
9 |
10 | public enum ShaderCore {
11 | 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
12 | public static let library: MTLLibrary = try! ShaderCore.device.makeDefaultLibrary(bundle: Bundle.module)
13 | public static let mainLibrary: MTLLibrary? = try? ShaderCore.device.makeDefaultLibrary(bundle: Bundle.main)
/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/SwiftyCreatives/ShaderUtils/ShaderCore.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Metal'
6 | //
7 |
8 | import MetalKit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Metal'
9 |
10 | public enum ShaderCore {
11 | 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
12 | public static let library: MTLLibrary = try! ShaderCore.device.makeDefaultLibrary(bundle: Bundle.module)
13 | public static let mainLibrary: MTLLibrary? = try? ShaderCore.device.makeDefaultLibrary(bundle: Bundle.main)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/ShaderUtils/ShaderCore.swift:12:23: warning: static property 'library' is not concurrency-safe because non-'Sendable' type 'any MTLLibrary' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public enum ShaderCore {
11 | public static let device: MTLDevice = MTLCreateSystemDefaultDevice()!
12 | public static let library: MTLLibrary = try! ShaderCore.device.makeDefaultLibrary(bundle: Bundle.module)
| |- warning: static property 'library' is not concurrency-safe because non-'Sendable' type 'any MTLLibrary' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'library' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | public static let mainLibrary: MTLLibrary? = try? ShaderCore.device.makeDefaultLibrary(bundle: Bundle.main)
14 | public static let commandQueue: MTLCommandQueue = ShaderCore.device.makeCommandQueue()!
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLLibrary.h:396:11: note: protocol 'MTLLibrary' does not conform to the 'Sendable' protocol
394 |
395 | API_AVAILABLE(macos(10.11), ios(8.0))
396 | @protocol MTLLibrary <NSObject>
| `- note: protocol 'MTLLibrary' does not conform to the 'Sendable' protocol
397 |
398 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/ShaderUtils/ShaderCore.swift:13:23: warning: static property 'mainLibrary' is not concurrency-safe because non-'Sendable' type '(any MTLLibrary)?' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public static let device: MTLDevice = MTLCreateSystemDefaultDevice()!
12 | public static let library: MTLLibrary = try! ShaderCore.device.makeDefaultLibrary(bundle: Bundle.module)
13 | public static let mainLibrary: MTLLibrary? = try? ShaderCore.device.makeDefaultLibrary(bundle: Bundle.main)
| |- warning: static property 'mainLibrary' is not concurrency-safe because non-'Sendable' type '(any MTLLibrary)?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'mainLibrary' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | public static let commandQueue: MTLCommandQueue = ShaderCore.device.makeCommandQueue()!
15 | public static let context: CIContext = CIContext(mtlCommandQueue: commandQueue)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLLibrary.h:396:11: note: protocol 'MTLLibrary' does not conform to the 'Sendable' protocol
394 |
395 | API_AVAILABLE(macos(10.11), ios(8.0))
396 | @protocol MTLLibrary <NSObject>
| `- note: protocol 'MTLLibrary' does not conform to the 'Sendable' protocol
397 |
398 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/ShaderUtils/ShaderCore.swift:14:23: warning: static property 'commandQueue' is not concurrency-safe because non-'Sendable' type 'any MTLCommandQueue' may have shared mutable state; this is an error in the Swift 6 language mode
12 | public static let library: MTLLibrary = try! ShaderCore.device.makeDefaultLibrary(bundle: Bundle.module)
13 | public static let mainLibrary: MTLLibrary? = try? ShaderCore.device.makeDefaultLibrary(bundle: Bundle.main)
14 | public static let commandQueue: MTLCommandQueue = ShaderCore.device.makeCommandQueue()!
| |- warning: static property 'commandQueue' is not concurrency-safe because non-'Sendable' type 'any MTLCommandQueue' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'commandQueue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | public static let context: CIContext = CIContext(mtlCommandQueue: commandQueue)
16 | public static let textureLoader: MTKTextureLoader = MTKTextureLoader(device: ShaderCore.device)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLCommandQueue.h:21:11: note: protocol 'MTLCommandQueue' does not conform to the 'Sendable' protocol
19 | */
20 | API_AVAILABLE(macos(10.11), ios(8.0))
21 | @protocol MTLCommandQueue <NSObject>
| `- note: protocol 'MTLCommandQueue' does not conform to the 'Sendable' protocol
22 |
23 | /*! @brief A string to help identify this object */
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/ShaderUtils/ShaderCore.swift:15:23: warning: static property 'context' is not concurrency-safe because non-'Sendable' type 'CIContext' may have shared mutable state; this is an error in the Swift 6 language mode
13 | public static let mainLibrary: MTLLibrary? = try? ShaderCore.device.makeDefaultLibrary(bundle: Bundle.main)
14 | public static let commandQueue: MTLCommandQueue = ShaderCore.device.makeCommandQueue()!
15 | public static let context: CIContext = CIContext(mtlCommandQueue: commandQueue)
| |- warning: static property 'context' is not concurrency-safe because non-'Sendable' type 'CIContext' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'context' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | public static let textureLoader: MTKTextureLoader = MTKTextureLoader(device: ShaderCore.device)
17 | public static let defaultTextureLoaderOptions: [MTKTextureLoader.Option: Any] = [
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIContext.h:36:12: note: class 'CIContext' does not conform to the 'Sendable' protocol
34 |
35 | NS_CLASS_AVAILABLE(10_4, 5_0)
36 | @interface CIContext : NSObject
| `- note: class 'CIContext' does not conform to the 'Sendable' protocol
37 | {
38 | void *_priv;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/ShaderUtils/ShaderCore.swift:16:23: warning: static property 'textureLoader' is not concurrency-safe because non-'Sendable' type 'MTKTextureLoader' may have shared mutable state; this is an error in the Swift 6 language mode
14 | public static let commandQueue: MTLCommandQueue = ShaderCore.device.makeCommandQueue()!
15 | public static let context: CIContext = CIContext(mtlCommandQueue: commandQueue)
16 | public static let textureLoader: MTKTextureLoader = MTKTextureLoader(device: ShaderCore.device)
| |- warning: static property 'textureLoader' is not concurrency-safe because non-'Sendable' type 'MTKTextureLoader' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'textureLoader' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | public static let defaultTextureLoaderOptions: [MTKTextureLoader.Option: Any] = [
18 | .textureUsage: NSNumber(
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/MetalKit.framework/Headers/MTKTextureLoader.h:146:12: note: class 'MTKTextureLoader' does not conform to the 'Sendable' protocol
144 | */
145 | NS_CLASS_AVAILABLE(10_11, 9_0)
146 | @interface MTKTextureLoader : NSObject
| `- note: class 'MTKTextureLoader' does not conform to the 'Sendable' protocol
147 |
148 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/ShaderUtils/ShaderCore.swift:17:23: warning: static property 'defaultTextureLoaderOptions' is not concurrency-safe because non-'Sendable' type '[MTKTextureLoader.Option : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
15 | public static let context: CIContext = CIContext(mtlCommandQueue: commandQueue)
16 | public static let textureLoader: MTKTextureLoader = MTKTextureLoader(device: ShaderCore.device)
17 | public static let defaultTextureLoaderOptions: [MTKTextureLoader.Option: Any] = [
| |- warning: static property 'defaultTextureLoaderOptions' is not concurrency-safe because non-'Sendable' type '[MTKTextureLoader.Option : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultTextureLoaderOptions' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | .textureUsage: NSNumber(
19 | value: MTLTextureUsage.shaderRead.rawValue |
[453/482] Compiling SwiftyCreatives FunctionBase+BoldLine.swift
[454/482] Compiling SwiftyCreatives FunctionBase+Box.swift
[455/482] Compiling SwiftyCreatives FunctionBase+Circle.swift
[456/482] Compiling SwiftyCreatives FunctionBase+Color.swift
[457/482] Compiling SwiftyCreatives FunctionBase+Fog.swift
[458/482] Compiling SwiftyCreatives FunctionBase+HitTestableBox.swift
[459/482] Compiling SwiftyCreatives FunctionBase+HitTestableImg.swift
[460/482] Compiling SwiftyCreatives FunctionBase+Img.swift
[461/482] Compiling SwiftyCreatives FunctionBase+Line.swift
[462/482] Compiling SwiftyCreatives FunctionBase+Mesh.swift
[463/482] Compiling SwiftyCreatives CornerRadiusPostProcessor.swift
[464/482] Compiling SwiftyCreatives Img.swift
[465/482] Compiling SwiftyCreatives ModelObject.swift
[466/482] Compiling SwiftyCreatives SVGObj.swift
[467/482] Compiling SwiftyCreatives HitTestableBox.swift
[468/482] Compiling SwiftyCreatives HitTestableImg.swift
[469/482] Compiling SwiftyCreatives HitTestableRect.swift
[470/482] Compiling SwiftyCreatives UIViewObject.swift
[471/482] Compiling SwiftyCreatives HitTestablePrimitive.swift
[472/482] Compiling SwiftyCreatives ImageAdjustOption.swift
[473/482] Compiling SwiftyCreatives Comparable+.swift
[474/482] Compiling SwiftyCreatives Float+.swift
[475/482] Compiling SwiftyCreatives MTLCommandBuffer+.swift
[476/482] Compiling SwiftyCreatives MTLTexture+.swift
[477/482] Compiling SwiftyCreatives Numeric+.swift
[478/482] Compiling SwiftyCreatives UIView+.swift
[479/482] Compiling SwiftyCreatives Box.swift
[480/482] Compiling SwiftyCreatives SketchObject.swift
[481/482] Compiling SwiftyCreatives SketchObjectHasDraw.swift
[482/482] Compiling SwiftyCreatives BloomPostProcessor.swift
Build complete! (38.07s)
warning: 'swift-snapshot-testing': 'swift-snapshot-testing' dependency on 'https://github.com/swiftlang/swift-syntax' conflicts with dependency on 'https://github.com/apple/swift-syntax.git' which has the same identity 'swift-syntax'. this will be escalated to an error in future versions of SwiftPM.
warning: 'fontvertexbuilder': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FontVertexBuilder/Sources/iShapeTriangulation/iShapeTriangulation_LICENSE
warning: 'fontvertexbuilder': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FontVertexBuilder/Sources/iGeometry/iGeometry_LICENSE
Build complete.
{
"dependencies" : [
{
"identity" : "swift-snapshot-testing",
"requirement" : {
"exact" : [
"1.17.4"
]
},
"type" : "sourceControl",
"url" : "https://github.com/pointfreeco/swift-snapshot-testing"
},
{
"identity" : "simplesimdswift",
"requirement" : {
"exact" : [
"1.0.1"
]
},
"type" : "sourceControl",
"url" : "https://github.com/yukiny0811/SimpleSimdSwift"
},
{
"identity" : "fontvertexbuilder",
"requirement" : {
"exact" : [
"1.2.5"
]
},
"type" : "sourceControl",
"url" : "https://github.com/yukiny0811/FontVertexBuilder"
},
{
"identity" : "easymetalshader",
"requirement" : {
"exact" : [
"3.2.1"
]
},
"type" : "sourceControl",
"url" : "https://github.com/yukiny0811/EasyMetalShader.git"
},
{
"identity" : "swift-syntax",
"requirement" : {
"exact" : [
"510.0.3"
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-syntax.git"
}
],
"manifest_display_name" : "SwiftyCreatives",
"name" : "SwiftyCreatives",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "17.0"
},
{
"name" : "macos",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "17.0"
},
{
"name" : "visionos",
"version" : "1.0"
}
],
"products" : [
{
"name" : "SwiftyCreatives",
"targets" : [
"SwiftyCreatives"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SwiftyCreativesMacro",
"targets" : [
"SwiftyCreativesMacro"
],
"type" : {
"macro" : null
}
}
],
"targets" : [
{
"c99name" : "SwiftyCreativesTests",
"module_type" : "SwiftTarget",
"name" : "SwiftyCreativesTests",
"path" : "Tests/SwiftyCreativesTests",
"product_dependencies" : [
"SnapshotTesting"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftyCreativesTests/Resources/Media.xcassets",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftyCreativesTests/Resources/SampleObject.mtl",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftyCreativesTests/Resources/SampleObject.obj",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftyCreativesTests/Resources/SampleObjectWithTexture.mtl",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftyCreativesTests/Resources/SampleObjectWithTexture.obj",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftyCreativesTests/Resources/sampleSvg.svg",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"SnapshotTests/Functions/BoldLineTests.swift",
"SnapshotTests/Functions/BoxTests.swift",
"SnapshotTests/Functions/CircleTests.swift",
"SnapshotTests/Functions/ColorTests.swift",
"SnapshotTests/Functions/FogTests.swift",
"SnapshotTests/Functions/HitTestableBoxTests.swift",
"SnapshotTests/Functions/HitTestableImgTests.swift",
"SnapshotTests/Functions/ImgTests.swift",
"SnapshotTests/Functions/LineTests.swift",
"SnapshotTests/Functions/MeshTests.swift",
"SnapshotTests/Functions/ModelTests.swift",
"SnapshotTests/Functions/PushPopTests.swift",
"SnapshotTests/Functions/RectTests.swift",
"SnapshotTests/Functions/SVGTests.swift",
"SnapshotTests/Functions/SketchForTest.swift",
"SnapshotTests/Functions/TextTests.swift",
"SnapshotTests/Functions/TriangleTests.swift",
"SnapshotTests/Renderers/AddRendererTests.swift",
"SnapshotTests/Renderers/NormalRendererTests.swift",
"SnapshotTests/Renderers/TransparentRendererTests.swift",
"SnapshotTests/SnapshotTestUtil.swift"
],
"target_dependencies" : [
"SwiftyCreatives"
],
"type" : "test"
},
{
"c99name" : "SwiftyCreativesSound",
"module_type" : "SwiftTarget",
"name" : "SwiftyCreativesSound",
"path" : "Sources/SwiftyCreativesSound",
"product_memberships" : [
"SwiftyCreatives"
],
"sources" : [
"AudioCapturer.swift",
"DetailedAudioCapturer.swift",
"FFT/FFTBandCalculationMethod.swift",
"FFT/FFTNoiseExtractionMethod.swift",
"FFT/FFTResultComponent.swift",
"FFT/TempiFFT.swift",
"FFT/TempiFFTWindowType.swift",
"FFTVisualizer.swift",
"FastAudioCapturer.swift",
"Utils/NoiseExtractor.swift"
],
"type" : "library"
},
{
"c99name" : "SwiftyCreativesMacro",
"module_type" : "SwiftTarget",
"name" : "SwiftyCreativesMacro",
"path" : "Sources/SwiftyCreativesMacro",
"product_dependencies" : [
"SwiftSyntaxMacros",
"SwiftCompilerPlugin"
],
"product_memberships" : [
"SwiftyCreatives",
"SwiftyCreativesMacro"
],
"sources" : [
"SketchObject/SketchObject.swift",
"SwiftyCreativesMacroPlugin.swift",
"Utils/String+Error.swift"
],
"type" : "macro"
},
{
"c99name" : "SwiftyCreatives",
"module_type" : "SwiftTarget",
"name" : "SwiftyCreatives",
"path" : "Sources/SwiftyCreatives",
"product_dependencies" : [
"SimpleSimdSwift",
"FontVertexBuilder",
"EasyMetalShader"
],
"product_memberships" : [
"SwiftyCreatives"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/Resources/Shaders/AddShader.metal",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/Resources/Shaders/Functions.metal",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/Resources/Shaders/NormalShader.metal",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/Resources/Shaders/SharedIndices.h",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/Resources/Shaders/TransparentShader.metal",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/Resources/Shaders/TransparentShaderVision.metal",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SwiftyCreatives/Resources/Shaders/Types.metal",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"Camera/Config/CameraConfig.swift",
"Camera/Config/DefaultOrthographicConfig.swift",
"Camera/Config/DefaultPerspectiveConfig.swift",
"Camera/EasyCameraType.swift",
"Camera/MainCamera.swift",
"DrawUtils/Config/DefaultDrawConfig.swift",
"DrawUtils/Config/DrawConfig.swift",
"Extensions/Bool+.swift",
"Extensions/CGPoint+.swift",
"Extensions/CGSize+.swift",
"Extensions/Comparable+.swift",
"Extensions/Float+.swift",
"Extensions/MTLCommandBuffer+.swift",
"Extensions/MTLTexture+.swift",
"Extensions/Numeric+.swift",
"Extensions/UIView+.swift",
"GeometryPresets/Box.swift",
"Macros/SketchObject.swift",
"Macros/SketchObjectHasDraw.swift",
"PostProcess/Presets/BloomPostProcessor.swift",
"PostProcess/Presets/CornerRadiusPostProcessor.swift",
"Primitives/Basics/Img.swift",
"Primitives/Basics/ModelObject.swift",
"Primitives/Basics/SVGObj.swift",
"Primitives/HitTestables/HitTestableBox.swift",
"Primitives/HitTestables/HitTestableImg.swift",
"Primitives/HitTestables/HitTestableRect.swift",
"Primitives/HitTestables/UIViewObject.swift",
"Primitives/PrimitiveUtils/Abstract/HitTestablePrimitive.swift",
"Primitives/PrimitiveUtils/Abstract/ImageAdjustOption.swift",
"Primitives/PrimitiveUtils/Abstract/ImageAdjuster.swift",
"Primitives/PrimitiveUtils/Abstract/ImageLoadable.swift",
"Primitives/PrimitiveUtils/Abstract/RectanglePlanePrimitive.swift",
"Primitives/PrimitiveUtils/Abstract/ScaleSettable.swift",
"Primitives/PrimitiveUtils/Info/BoxInfo.swift",
"Primitives/PrimitiveUtils/Info/CircleInfo.swift",
"Primitives/PrimitiveUtils/Info/ModelObjectInfo.swift",
"Primitives/PrimitiveUtils/Info/PrimitiveInfo.swift",
"Primitives/PrimitiveUtils/Info/RectShapeInfo.swift",
"Primitives/PrimitiveUtils/Info/TriangleInfo.swift",
"Primitives/PrimitiveUtils/Primitive.swift",
"Primitives/Texts/Factory/RawTextFactory.swift",
"Primitives/Texts/Factory/TextFactory.swift",
"Primitives/Texts/LetterCache.swift",
"Primitives/Texts/Text/Text2D.swift",
"Primitives/Texts/Text/Text3D.swift",
"Primitives/Texts/Text/Text3DRaw.swift",
"Primitives/Texts/Text/TextBufferCreationError.swift",
"PropertyWrappers/SCAnimatable.swift",
"Renderers/AddRenderer.swift",
"Renderers/Base/RendererBase+Functions.swift",
"Renderers/Base/RendererBase+StaticFunctions.swift",
"Renderers/Base/RendererBase.swift",
"Renderers/NormalBlendRenderer.swift",
"Renderers/TransparentRenderer.swift",
"Renderers/visionOS/AddBlendRendererVision.swift",
"Renderers/visionOS/NormalBlendRendererVision.swift",
"Renderers/visionOS/TransparentRendererVision.swift",
"Renderers/visionOS/visionOSSettings.swift",
"ShaderUtils/ShaderCore.swift",
"Sketch/FunctionBase/FunctionBase+BoldLine.swift",
"Sketch/FunctionBase/FunctionBase+Box.swift",
"Sketch/FunctionBase/FunctionBase+Circle.swift",
"Sketch/FunctionBase/FunctionBase+Color.swift",
"Sketch/FunctionBase/FunctionBase+Fog.swift",
"Sketch/FunctionBase/FunctionBase+HitTestableBox.swift",
"Sketch/FunctionBase/FunctionBase+HitTestableImg.swift",
"Sketch/FunctionBase/FunctionBase+Img.swift",
"Sketch/FunctionBase/FunctionBase+Line.swift",
"Sketch/FunctionBase/FunctionBase+Mesh.swift",
"Sketch/FunctionBase/FunctionBase+ModelObject.swift",
"Sketch/FunctionBase/FunctionBase+PushPop.swift",
"Sketch/FunctionBase/FunctionBase+Rect.swift",
"Sketch/FunctionBase/FunctionBase+Rotate.swift",
"Sketch/FunctionBase/FunctionBase+SVG.swift",
"Sketch/FunctionBase/FunctionBase+Scale.swift",
"Sketch/FunctionBase/FunctionBase+Text.swift",
"Sketch/FunctionBase/FunctionBase+Translate.swift",
"Sketch/FunctionBase/FunctionBase+Triangle.swift",
"Sketch/FunctionBase/FunctionBase.swift",
"Sketch/SCPacket.swift",
"Sketch/Sketch.swift",
"Sketch/SketchFunctions/Sketch+UtilFunctions.swift",
"Utils/Alias.swift",
"Utils/AssetUtil.swift",
"Utils/BlendMode.swift",
"Utils/DefaultBuffers.swift",
"Utils/EXPORTER.swift",
"Utils/MathUtil.swift",
"Utils/SharedIndices.swift",
"Views/KitSketchView.swift",
"Views/SketchView.swift",
"Views/TouchableMTKView/TouchableMTKView+Configure.swift",
"Views/TouchableMTKView/TouchableMTKView+Deinitializer.swift",
"Views/TouchableMTKView/TouchableMTKView+Initializer.swift",
"Views/TouchableMTKView/TouchableMTKView+Utils.swift",
"Views/TouchableMTKView/TouchableMTKView.swift"
],
"target_dependencies" : [
"SwiftyCreativesSound",
"SwiftyCreativesMacro"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.