The Swift Package Index logo.Swift Package Index

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 arm64

Build 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: warning: extension 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
 8 | import Foundation
 9 |
10 | extension String: LocalizedError {
   | |- warning: extension 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
   | `- note: add '@retroactive' to silence this warning
11 |     public var errorDescription: String? { self }
12 | }
/Users/admin/builder/spi-builder-workspace/Sources/EasyMetalShaderMacro/EMTextureArgument/EMTextureArgument.swift:37:39: warning: 'as' is deprecated: This cast will always succeed [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
35 |         }
36 |
37 |         guard let usage = args.first?.as(LabeledExprSyntax.self)?.expression.as(MemberAccessExprSyntax.self)?.declName.baseName.trimmedDescription else {
   |                                       `- warning: 'as' is deprecated: This cast will always succeed [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
38 |             throw "invalid texture usage"
39 |         }
/Users/admin/builder/spi-builder-workspace/Sources/EasyMetalShaderMacro/EMTextureArgument/EMTextureArgument.swift:44:69: warning: 'as' is deprecated: This cast will always succeed [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
42 |
43 |         if args.count >= 2 {
44 |             format = args[args.index(args.startIndex, offsetBy: 1)].as(LabeledExprSyntax.self)?.expression.as(MemberAccessExprSyntax.self)?.declName.baseName.trimmedDescription
   |                                                                     `- warning: 'as' is deprecated: This cast will always succeed [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
45 |         }
46 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/Users/admin/builder/spi-builder-workspace/Sources/EasyMetalShaderMacro/EMComputeShader/EMComputeShader+MemberMacro.swift:64:65: warning: 'as' is deprecated: This cast will always succeed [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 62 |                                     if attribute.attributeName.trimmedDescription == "EMTextureArgument" {
 63 |                                         if let args = attribute.arguments?.as(LabeledExprListSyntax.self) {
 64 |                                             usage = args.first?.as(LabeledExprSyntax.self)?.expression.as(MemberAccessExprSyntax.self)?.declName.baseName.trimmedDescription
    |                                                                 `- warning: 'as' is deprecated: This cast will always succeed [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 65 |                                             if args.count >= 2 {
 66 |                                                 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: warning: 'as' is deprecated: This cast will always succeed [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 64 |                                             usage = args.first?.as(LabeledExprSyntax.self)?.expression.as(MemberAccessExprSyntax.self)?.declName.baseName.trimmedDescription
 65 |                                             if args.count >= 2 {
 66 |                                                 format = args[args.index(args.startIndex, offsetBy: 1)].as(LabeledExprSyntax.self)?.expression.as(
    |                                                                                                         `- warning: 'as' is deprecated: This cast will always succeed [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 67 |                                                     MemberAccessExprSyntax.self
 68 |                                                 )?.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: warning: 'as' is deprecated: This cast will always succeed [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 69 |                                     if attribute.attributeName.trimmedDescription == "EMTextureArgument" {
 70 |                                         if let args = attribute.arguments?.as(LabeledExprListSyntax.self) {
 71 |                                             usage = args.first?.as(LabeledExprSyntax.self)?.expression.as(MemberAccessExprSyntax.self)?.declName.baseName.trimmedDescription
    |                                                                 `- warning: 'as' is deprecated: This cast will always succeed [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 72 |                                             if args.count >= 2 {
 73 |                                                 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: warning: 'as' is deprecated: This cast will always succeed [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 71 |                                             usage = args.first?.as(LabeledExprSyntax.self)?.expression.as(MemberAccessExprSyntax.self)?.declName.baseName.trimmedDescription
 72 |                                             if args.count >= 2 {
 73 |                                                 format = args[args.index(args.startIndex, offsetBy: 1)].as(LabeledExprSyntax.self)?.expression.as(
    |                                                                                                         `- warning: 'as' is deprecated: This cast will always succeed [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 74 |                                                     MemberAccessExprSyntax.self
 75 |                                                 )?.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: warning: 'as' is deprecated: This cast will always succeed [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 62 |                                     if attribute.attributeName.trimmedDescription == "EMTextureArgument" {
 63 |                                         if let args = attribute.arguments?.as(LabeledExprListSyntax.self) {
 64 |                                             usage = args.first?.as(LabeledExprSyntax.self)?.expression.as(MemberAccessExprSyntax.self)?.declName.baseName.trimmedDescription
    |                                                                 `- warning: 'as' is deprecated: This cast will always succeed [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 65 |                                             if args.count >= 2 {
 66 |                                                 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: warning: 'as' is deprecated: This cast will always succeed [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 64 |                                             usage = args.first?.as(LabeledExprSyntax.self)?.expression.as(MemberAccessExprSyntax.self)?.declName.baseName.trimmedDescription
 65 |                                             if args.count >= 2 {
 66 |                                                 format = args[args.index(args.startIndex, offsetBy: 1)].as(LabeledExprSyntax.self)?.expression.as(
    |                                                                                                         `- warning: 'as' is deprecated: This cast will always succeed [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 67 |                                                     MemberAccessExprSyntax.self
 68 |                                                 )?.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: warning: extension 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
 8 | import Foundation
 9 |
10 | extension String: LocalizedError {
   | |- warning: extension 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
   | `- note: add '@retroactive' to silence this warning
11 |     public var errorDescription: String? { self }
12 | }
/Users/admin/builder/spi-builder-workspace/Sources/EasyMetalShader/Models/ArrayBuffer.swift:11:1: warning: extension 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
  9 | import simd
 10 |
 11 | extension String: LocalizedError {
    | |- warning: extension 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
    | `- note: add '@retroactive' to silence this warning
 12 |     public var errorDescription: String? { self }
 13 | }
/Users/admin/builder/spi-builder-workspace/Sources/EasyMetalShader/Models/ArrayBuffer.swift:11:1: warning: extension 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
  9 | import simd
 10 |
 11 | extension String: LocalizedError {
    | |- warning: extension 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
    | `- note: add '@retroactive' to silence this warning
 12 |     public var errorDescription: String? { self }
 13 | }
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.