The Swift Package Index logo.Swift Package Index

Build Information

Failed to build EasyMetalShader, reference v3.3.2 (7f496f), with Swift 6.4 for Linux on 23 Sep 2026 04:31:46 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886769-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/yukiny0811/EasyMetalShader.git
Reference: v3.3.2
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/yukiny0811/EasyMetalShader
 * tag               v3.3.2     -> FETCH_HEAD
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 v3.3.2
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.4
Building package at path:  $PWD
https://github.com/yukiny0811/EasyMetalShader.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Fetching https://github.com/apple/swift-syntax.git
[1/80007] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git (3.30s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 602.0.0 (4.49s)
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
Building for debugging...
[Computing dependencies]
[Provisioning 20 / 23]
[Pre-planning 1 / 591]
[Planning deferred tasks]
[12 / 246] SwiftSyntaxMacros
[136 / 261] SwiftSyntax602
[163 / 271] SwiftSyntax
[170 / 273] SwiftSyntax601
[173 / 274] SwiftSyntax
[176 / 275] SwiftSyntax510
[181 / 276] SwiftSyntax600
[183 / 276] SwiftSyntax
[195 / 295] SwiftDiagnostics
[196 / 304] SwiftParser
[198 / 304] SwiftDiagnostics
[200 / 304] SwiftDiagnostics
[206 / 304] SwiftBasicFormat
[210 / 304] SwiftBasicFormat
[211 / 304] SwiftParser
[212 / 304] SwiftParser
[215 / 304] SwiftParser
[219 / 304] SwiftParser
[221 / 304] SwiftDiagnostics
[223 / 304] SwiftOperators
[226 / 304] SwiftDiagnostics
[227 / 304] SwiftDiagnostics
[228 / 304] SwiftParserDiagnostics
[229 / 305] SwiftParserDiagnostics
[231 / 305] SwiftBasicFormat
[233 / 305]
[237 / 317] SwiftOperators
[239 / 326] SwiftOperators
[240 / 326] SwiftParserDiagnostics
[251 / 326] SwiftParserDiagnostics
[253 / 326] SwiftSyntaxBuilder
[255 / 327] SwiftParserDiagnostics
[256 / 327] SwiftParserDiagnostics
[257 / 327] SwiftParser
[259 / 327] SwiftParser
[261 / 327] SwiftOperators
[262 / 327] SwiftOperators
[264 / 327] SwiftOperators
[266 / 327] SwiftOperators
[269 / 337] SwiftParserDiagnostics
[273 / 338] SwiftSyntaxBuilder
[274 / 339] SwiftSyntaxBuilder
[275 / 339] SwiftSyntaxBuilder
[276 / 339] SwiftSyntaxBuilder
[280 / 339] SwiftSyntaxBuilder
[286 / 339]
[290 / 349] SwiftSyntaxMacros
[291 / 349] SwiftSyntaxMacros
[293 / 349] SwiftSyntaxMacros
[296 / 349] SwiftSyntaxMacros
[301 / 349] SwiftSyntaxMacros
[305 / 359] SwiftSyntaxMacroExpansion
[306 / 360] SwiftSyntaxMacros
[307 / 360] SwiftSyntaxMacroExpansion
[310 / 360] SwiftSyntaxMacroExpansion
[312 / 360] SwiftSyntaxBuilder
[317 / 361] SwiftSyntaxMacroExpansion
[319 / 361] SwiftSyntaxBuilder
[321 / 362] SwiftCompilerPluginMessageHandling
[323 / 371] SwiftCompilerPluginMessageHandling
[325 / 371] SwiftCompilerPluginMessageHandling
[326 / 371] SwiftSyntaxMacroExpansion
[329 / 371] SwiftCompilerPluginMessageHandling
[330 / 371] SwiftCompilerPluginMessageHandling
[331 / 371] SwiftCompilerPluginMessageHandling
[338 / 374] SwiftCompilerPlugin
[343 / 374] SwiftCompilerPluginMessageHandling
[344 / 375] SwiftCompilerPlugin
[346 / 376] SwiftCompilerPlugin
[347 / 376] SwiftCompilerPluginMessageHandling
[349 / 377] SwiftSyntax
[352 / 378] SwiftSyntax
[358 / 378] SwiftSyntaxBuilder
[367 / 379] EasyMetalShaderMacro
[376 / 388] EasyMetalShaderMacro
error: SwiftCompile normal x86_64 failed with a nonzero exit code. Command line:     cd /host

/host/spi-builder-workspace/Sources/EasyMetalShaderMacro/Utils/Util.swift:9:8: error: no such module 'MetalKit'
  7 |
  8 | import Foundation
  9 | import MetalKit
    |        `- error: no such module 'MetalKit'
 10 |
 11 | enum Util {
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Sources/EasyMetalShaderMacro/EMArgument/EMArgument.swift /host/spi-builder-workspace/Sources/EasyMetalShaderMacro/EMComputeShader/ComputeFunctionStrings/ComputeFunctionStrings.swift /host/spi-builder-workspace/Sources/EasyMetalShaderMacro/EMComputeShader/ComputeFunctionStrings/InitCompute.swift /host/spi-builder-workspace/Sources/EasyMetalShaderMacro/EMComputeShader/EMComputeShader+ExtensionMacro.swift /host/spi-builder-workspace/Sources/EasyMetalShaderMacro/EMComputeShader/EMComputeShader+MemberAttributeMacro.swift /host/spi-builder-workspace/Sources/EasyMetalShaderMacro/EMComputeShader/EMComputeShader+MemberMacro.swift /host/spi-builder-workspace/Sources/EasyMetalShaderMacro/EMComputeShader/EMComputeShader.swift /host/spi-builder-workspace/Sources/EasyMetalShaderMacro/EMComputeShader3D/ComputeFunctionStrings3D/ComputeFunctionStrings3D.swift /host/spi-builder-workspace/Sources/EasyMetalShaderMacro/EMComputeShader3D/ComputeFunctionStrings3D/InitCompute3D.swift /host/spi-builder-workspace/Sources/EasyMetalShaderMacro/EMComputeShader3D/EMComputeShader3D+ExtensionMacro.swift /host/spi-builder-workspace/Sources/EasyMetalShaderMacro/EMComputeShader3D/EMComputeShader3D+MemberAttributeMacro.swift /host/spi-builder-workspace/Sources/EasyMetalShaderMacro/EMComputeShader3D/EMComputeShader3D+MemberMacro.swift /host/spi-builder-workspace/Sources/EasyMetalShaderMacro/EMComputeShader3D/EMComputeShader3D.swift /host/spi-builder-workspace/Sources/EasyMetalShaderMacro/EMRenderShader/EMRenderShader+ExtensionMacro.swift /host/spi-builder-workspace/Sources/EasyMetalShaderMacro/EMRenderShader/EMRenderShader+MemberAttributeMacro.swift /host/spi-builder-workspace/Sources/EasyMetalShaderMacro/EMRenderShader/EMRenderShader+MemberMacro.swift /host/spi-builder-workspace/Sources/EasyMetalShaderMacro/EMRenderShader/EMRenderShader.swift /host/spi-builder-workspace/Sources/EasyMetalShaderMacro/EMRenderShader/RenderFunctionStrings/InitRender.swift /host/spi-builder-workspace/Sources/EasyMetalShaderMacro/EMRenderShader/RenderFunctionStrings/RenderFunctionStrings.swift /host/spi-builder-workspace/Sources/EasyMetalShaderMacro/EMTextureArgument/EMTextureArgument.swift /host/spi-builder-workspace/Sources/EasyMetalShaderMacro/EasyMetalShaderMacroPlugin.swift /host/spi-builder-workspace/Sources/EasyMetalShaderMacro/Utils/String+Error.swift /host/spi-builder-workspace/Sources/EasyMetalShaderMacro/Utils/Util.swift -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/_SwiftSyntaxCShims/include/module.modulemap -Xcc -fno-omit-frame-pointer -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/_SwiftSyntaxCShims/include -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/EasyMetalShader.build/Debug-linux-x86_64/EasyMetalShaderMacro-t.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/EasyMetalShader.build/Debug-linux-x86_64/EasyMetalShaderMacro-t.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/EasyMetalShader.build/Debug-linux-x86_64/EasyMetalShaderMacro-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name EasyMetalShaderMacro -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/EasyMetalShader.build/Debug-linux-x86_64/EasyMetalShaderMacro-t.build/Objects-normal/x86_64/EasyMetalShaderMacro_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/EasyMetalShader.build/Debug-linux-x86_64/EasyMetalShaderMacro-t.build/Objects-normal/x86_64/Modules/EasyMetalShaderMacro.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/EasyMetalShader.build/Debug-linux-x86_64/EasyMetalShaderMacro-t.build/Objects-normal/x86_64/Modules/EasyMetalShaderMacro.swiftsourceinfo -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/EasyMetalShader.build/Debug-linux-x86_64/EasyMetalShaderMacro-t.build/Objects-normal/x86_64/EasyMetalShaderMacro-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/EasyMetalShader.build/Debug-linux-x86_64/EasyMetalShaderMacro-t.build/Objects-normal/x86_64/EasyMetalShaderMacro-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/EasyMetalShader.build/Debug-linux-x86_64/EasyMetalShaderMacro-t.build/Objects-normal/x86_64/Modules/EasyMetalShaderMacro.swiftmodule
error: Build failed
BUILD FAILURE 6.4 linux