Build Information
Successful build of EasyMetalShader, reference main (7f496f), with Swift 6.4 for macOS (SPM) on 23 Sep 2026 04:55:04 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/yukiny0811/EasyMetalShader.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/yukiny0811/EasyMetalShader
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 7f496fc swift-syntax version
Cloned https://github.com/yukiny0811/EasyMetalShader.git
Revision (git rev-parse @):
7f496fcd2b000262151b90a863228215bf101eda
SUCCESS checkout https://github.com/yukiny0811/EasyMetalShader.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.4
Building package at path: $PWD
https://github.com/yukiny0811/EasyMetalShader.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Pre-planning 1 / 95]
[Planning deferred tasks]
[26 / 40]
[27 / 41] EasyMetalShaderMacro
[37 / 117]
[40 / 117]
[48 / 117]
[51 / 117]
[52 / 117]
[57 / 117]
[59 / 117]
[61 / 117]
[64 / 117]
[68 / 117]
[70 / 117]
[73 / 117]
[74 / 117]
[84 / 117]
[86 / 117]
[87 / 117]
[89 / 117]
[91 / 117]
[103 / 117] EasyMetalShaderMacro
[104 / 117] EasyMetalShaderMacro
[106 / 117] EasyMetalShaderMacro
[109 / 118] EasyMetalShader
[112 / 133]
[113 / 133]
[124 / 133] EasyMetalShader
[130 / 133] EasyMetalShader
Build complete! (15.14 sec)
Fetching https://github.com/apple/swift-syntax.git
[1/80014] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git (6.25s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 602.0.0 (9.09s)
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 602.0.0
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/602.0.0/swiftlang-6.4.0.34.1-macosx27.0-MacroSupport.zip
Downloaded https://download.swift.org/prebuilts/swift-syntax/602.0.0/swiftlang-6.4.0.34.1-macosx27.0-MacroSupport.zip (0.20s)
/Users/admin/builder/spi-builder-workspace/Sources/EasyMetalShaderMacro/Utils/String+Error.swift:10:1: [1;33mwarning: [1;39mextension declares a conformance of imported type 'String' to imported protocols 'LocalizedError', 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future[0;0m
[0;36m8 |[0;0m import Foundation
[0;36m9 |[0;0m
[0;36m10 |[0;0m extension String: LocalizedError {
[0;36m|[0;0m |- [1;33mwarning: [1;39mextension declares a conformance of imported type 'String' to imported protocols 'LocalizedError', 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@retroactive' to silence this warning[0;0m
[0;36m11 |[0;0m public var errorDescription: String? { self }
[0;36m12 |[0;0m }
/Users/admin/builder/spi-builder-workspace/Sources/EasyMetalShaderMacro/EMTextureArgument/EMTextureArgument.swift:37:39: [1;33mwarning: [1;39m'as' is deprecated: This cast will always succeed[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m35 |[0;0m }
[0;36m36 |[0;0m
[0;36m37 |[0;0m guard let usage = args.first?.as(LabeledExprSyntax.self)?.expression.as(MemberAccessExprSyntax.self)?.declName.baseName.trimmedDescription else {
[0;36m|[0;0m `- [1;33mwarning: [1;39m'as' is deprecated: This cast will always succeed[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m38 |[0;0m throw "invalid texture usage"
[0;36m39 |[0;0m }
/Users/admin/builder/spi-builder-workspace/Sources/EasyMetalShaderMacro/EMTextureArgument/EMTextureArgument.swift:44:69: [1;33mwarning: [1;39m'as' is deprecated: This cast will always succeed[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m42 |[0;0m
[0;36m43 |[0;0m if args.count >= 2 {
[0;36m44 |[0;0m format = args[args.index(args.startIndex, offsetBy: 1)].as(LabeledExprSyntax.self)?.expression.as(MemberAccessExprSyntax.self)?.declName.baseName.trimmedDescription
[0;36m|[0;0m `- [1;33mwarning: [1;39m'as' is deprecated: This cast will always succeed[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m45 |[0;0m }
[0;36m46 |[0;0m
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/Users/admin/builder/spi-builder-workspace/Sources/EasyMetalShaderMacro/EMComputeShader/EMComputeShader+MemberMacro.swift:64:65: [1;33mwarning: [1;39m'as' is deprecated: This cast will always succeed[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m62 |[0;0m if attribute.attributeName.trimmedDescription == "EMTextureArgument" {
[0;36m63 |[0;0m if let args = attribute.arguments?.as(LabeledExprListSyntax.self) {
[0;36m64 |[0;0m usage = args.first?.as(LabeledExprSyntax.self)?.expression.as(MemberAccessExprSyntax.self)?.declName.baseName.trimmedDescription
[0;36m|[0;0m `- [1;33mwarning: [1;39m'as' is deprecated: This cast will always succeed[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m65 |[0;0m if args.count >= 2 {
[0;36m66 |[0;0m format = args[args.index(args.startIndex, offsetBy: 1)].as(LabeledExprSyntax.self)?.expression.as(
/Users/admin/builder/spi-builder-workspace/Sources/EasyMetalShaderMacro/EMComputeShader/EMComputeShader+MemberMacro.swift:66:105: [1;33mwarning: [1;39m'as' is deprecated: This cast will always succeed[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m64 |[0;0m usage = args.first?.as(LabeledExprSyntax.self)?.expression.as(MemberAccessExprSyntax.self)?.declName.baseName.trimmedDescription
[0;36m65 |[0;0m if args.count >= 2 {
[0;36m66 |[0;0m format = args[args.index(args.startIndex, offsetBy: 1)].as(LabeledExprSyntax.self)?.expression.as(
[0;36m|[0;0m `- [1;33mwarning: [1;39m'as' is deprecated: This cast will always succeed[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m67 |[0;0m MemberAccessExprSyntax.self
[0;36m68 |[0;0m )?.declName.baseName.trimmedDescription
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/Users/admin/builder/spi-builder-workspace/Sources/EasyMetalShaderMacro/EMRenderShader/EMRenderShader+MemberMacro.swift:71:65: [1;33mwarning: [1;39m'as' is deprecated: This cast will always succeed[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m69 |[0;0m if attribute.attributeName.trimmedDescription == "EMTextureArgument" {
[0;36m70 |[0;0m if let args = attribute.arguments?.as(LabeledExprListSyntax.self) {
[0;36m71 |[0;0m usage = args.first?.as(LabeledExprSyntax.self)?.expression.as(MemberAccessExprSyntax.self)?.declName.baseName.trimmedDescription
[0;36m|[0;0m `- [1;33mwarning: [1;39m'as' is deprecated: This cast will always succeed[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m72 |[0;0m if args.count >= 2 {
[0;36m73 |[0;0m format = args[args.index(args.startIndex, offsetBy: 1)].as(LabeledExprSyntax.self)?.expression.as(
/Users/admin/builder/spi-builder-workspace/Sources/EasyMetalShaderMacro/EMRenderShader/EMRenderShader+MemberMacro.swift:73:105: [1;33mwarning: [1;39m'as' is deprecated: This cast will always succeed[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m71 |[0;0m usage = args.first?.as(LabeledExprSyntax.self)?.expression.as(MemberAccessExprSyntax.self)?.declName.baseName.trimmedDescription
[0;36m72 |[0;0m if args.count >= 2 {
[0;36m73 |[0;0m format = args[args.index(args.startIndex, offsetBy: 1)].as(LabeledExprSyntax.self)?.expression.as(
[0;36m|[0;0m `- [1;33mwarning: [1;39m'as' is deprecated: This cast will always succeed[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m74 |[0;0m MemberAccessExprSyntax.self
[0;36m75 |[0;0m )?.declName.baseName.trimmedDescription
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/Users/admin/builder/spi-builder-workspace/Sources/EasyMetalShaderMacro/EMComputeShader3D/EMComputeShader3D+MemberMacro.swift:64:65: [1;33mwarning: [1;39m'as' is deprecated: This cast will always succeed[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m62 |[0;0m if attribute.attributeName.trimmedDescription == "EMTextureArgument" {
[0;36m63 |[0;0m if let args = attribute.arguments?.as(LabeledExprListSyntax.self) {
[0;36m64 |[0;0m usage = args.first?.as(LabeledExprSyntax.self)?.expression.as(MemberAccessExprSyntax.self)?.declName.baseName.trimmedDescription
[0;36m|[0;0m `- [1;33mwarning: [1;39m'as' is deprecated: This cast will always succeed[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m65 |[0;0m if args.count >= 2 {
[0;36m66 |[0;0m format = args[args.index(args.startIndex, offsetBy: 1)].as(LabeledExprSyntax.self)?.expression.as(
/Users/admin/builder/spi-builder-workspace/Sources/EasyMetalShaderMacro/EMComputeShader3D/EMComputeShader3D+MemberMacro.swift:66:105: [1;33mwarning: [1;39m'as' is deprecated: This cast will always succeed[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m64 |[0;0m usage = args.first?.as(LabeledExprSyntax.self)?.expression.as(MemberAccessExprSyntax.self)?.declName.baseName.trimmedDescription
[0;36m65 |[0;0m if args.count >= 2 {
[0;36m66 |[0;0m format = args[args.index(args.startIndex, offsetBy: 1)].as(LabeledExprSyntax.self)?.expression.as(
[0;36m|[0;0m `- [1;33mwarning: [1;39m'as' is deprecated: This cast will always succeed[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m67 |[0;0m MemberAccessExprSyntax.self
[0;36m68 |[0;0m )?.declName.baseName.trimmedDescription
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/Users/admin/builder/spi-builder-workspace/Sources/EasyMetalShaderMacro/Utils/String+Error.swift:10:1: [1;33mwarning: [1;39mextension declares a conformance of imported type 'String' to imported protocols 'LocalizedError', 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future[0;0m
[0;36m8 |[0;0m import Foundation
[0;36m9 |[0;0m
[0;36m10 |[0;0m extension String: LocalizedError {
[0;36m|[0;0m |- [1;33mwarning: [1;39mextension declares a conformance of imported type 'String' to imported protocols 'LocalizedError', 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@retroactive' to silence this warning[0;0m
[0;36m11 |[0;0m public var errorDescription: String? { self }
[0;36m12 |[0;0m }
/Users/admin/builder/spi-builder-workspace/Sources/EasyMetalShader/Models/ArrayBuffer.swift:11:1: [1;33mwarning: [1;39mextension declares a conformance of imported type 'String' to imported protocols 'LocalizedError', 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future[0;0m
[0;36m9 |[0;0m import simd
[0;36m10 |[0;0m
[0;36m11 |[0;0m extension String: LocalizedError {
[0;36m|[0;0m |- [1;33mwarning: [1;39mextension declares a conformance of imported type 'String' to imported protocols 'LocalizedError', 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@retroactive' to silence this warning[0;0m
[0;36m12 |[0;0m public var errorDescription: String? { self }
[0;36m13 |[0;0m }
/Users/admin/builder/spi-builder-workspace/Sources/EasyMetalShader/Models/ArrayBuffer.swift:11:1: [1;33mwarning: [1;39mextension declares a conformance of imported type 'String' to imported protocols 'LocalizedError', 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future[0;0m
[0;36m9 |[0;0m import simd
[0;36m10 |[0;0m
[0;36m11 |[0;0m extension String: LocalizedError {
[0;36m|[0;0m |- [1;33mwarning: [1;39mextension declares a conformance of imported type 'String' to imported protocols 'LocalizedError', 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@retroactive' to silence this warning[0;0m
[0;36m12 |[0;0m public var errorDescription: String? { self }
[0;36m13 |[0;0m }
Build complete.
{
"dependencies" : [
{
"identity" : "swift-syntax",
"requirement" : {
"range" : [
{
"lower_bound" : "602.0.0",
"upper_bound" : "603.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-syntax.git"
}
],
"manifest_display_name" : "EasyMetalShader",
"name" : "EasyMetalShader",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "11.0"
},
{
"name" : "ios",
"version" : "14.0"
},
{
"name" : "visionos",
"version" : "1.0"
}
],
"products" : [
{
"name" : "EasyMetalShader",
"targets" : [
"EasyMetalShader"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "EasyMetalShaderMacro",
"targets" : [
"EasyMetalShaderMacro"
],
"type" : {
"macro" : null
}
}
],
"targets" : [
{
"c99name" : "EasyMetalShaderTests",
"module_type" : "SwiftTarget",
"name" : "EasyMetalShaderTests",
"path" : "Sources/EasyMetalShaderTests",
"sources" : [
"ArrayBufferTests.swift",
"ComputeShader3DTests.swift",
"ComputeShaderTests.swift",
"MetalPreLibraryTests.swift",
"RenderShaderTests.swift"
],
"target_dependencies" : [
"EasyMetalShader"
],
"type" : "test"
},
{
"c99name" : "EasyMetalShaderMacro",
"module_type" : "SwiftTarget",
"name" : "EasyMetalShaderMacro",
"path" : "Sources/EasyMetalShaderMacro",
"product_dependencies" : [
"SwiftSyntaxMacros",
"SwiftCompilerPlugin"
],
"product_memberships" : [
"EasyMetalShader",
"EasyMetalShaderMacro"
],
"sources" : [
"EMArgument/EMArgument.swift",
"EMComputeShader/ComputeFunctionStrings/ComputeFunctionStrings.swift",
"EMComputeShader/ComputeFunctionStrings/InitCompute.swift",
"EMComputeShader/EMComputeShader+ExtensionMacro.swift",
"EMComputeShader/EMComputeShader+MemberAttributeMacro.swift",
"EMComputeShader/EMComputeShader+MemberMacro.swift",
"EMComputeShader/EMComputeShader.swift",
"EMComputeShader3D/ComputeFunctionStrings3D/ComputeFunctionStrings3D.swift",
"EMComputeShader3D/ComputeFunctionStrings3D/InitCompute3D.swift",
"EMComputeShader3D/EMComputeShader3D+ExtensionMacro.swift",
"EMComputeShader3D/EMComputeShader3D+MemberAttributeMacro.swift",
"EMComputeShader3D/EMComputeShader3D+MemberMacro.swift",
"EMComputeShader3D/EMComputeShader3D.swift",
"EMRenderShader/EMRenderShader+ExtensionMacro.swift",
"EMRenderShader/EMRenderShader+MemberAttributeMacro.swift",
"EMRenderShader/EMRenderShader+MemberMacro.swift",
"EMRenderShader/EMRenderShader.swift",
"EMRenderShader/RenderFunctionStrings/InitRender.swift",
"EMRenderShader/RenderFunctionStrings/RenderFunctionStrings.swift",
"EMTextureArgument/EMTextureArgument.swift",
"EasyMetalShaderMacroPlugin.swift",
"Utils/String+Error.swift",
"Utils/Util.swift"
],
"type" : "macro"
},
{
"c99name" : "EasyMetalShader",
"module_type" : "SwiftTarget",
"name" : "EasyMetalShader",
"path" : "Sources/EasyMetalShader",
"product_memberships" : [
"EasyMetalShader"
],
"sources" : [
"Builder/ShaderStringBuilder.swift",
"EXPORTER.swift",
"Extensions/MTLTexture+.swift",
"Macros/EMArgument.swift",
"Macros/EMComputeShader.swift",
"Macros/EMComputeShader3D.swift",
"Macros/EMRenderShader.swift",
"Macros/EMTextureArgument.swift",
"MetalPreLibrary/Include.swift",
"MetalPreLibrary/MetalPreLibrary.swift",
"MetalPreLibrary/Rand.swift",
"MetalPreLibrary/RasterizerData.swift",
"MetalPreLibrary/VertexInput.swift",
"Models/ArrayBuffer.swift",
"Models/EMMetalArgument.swift",
"Models/EMMetalTexture.swift",
"Models/EMMetalTextureUsage.swift",
"Pipelines/EMMetalComputeFunction.swift",
"Pipelines/EMMetalDispatch.swift",
"Pipelines/EMMetalFunction.swift",
"Pipelines/EMMetalRenderFunction.swift",
"Pipelines/ShaderRenderer.swift",
"PropertyWrappers/EMIgnore.swift",
"Utils/ShaderCore_EasyMetalShaderLib.swift",
"Views/EasyShaderView.swift",
"Views/ShaderMTKView.swift"
],
"target_dependencies" : [
"EasyMetalShaderMacro"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.