The Swift Package Index logo.Swift Package Index

Build Information

Failed to build EasyMetalShader, reference main (7f496f), with Swift 6.4 for Android on 23 Sep 2026 04:30:43 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344845-3":/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:android-6.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

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 /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
 * 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:         android
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-54344845-3":/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:android-6.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:abadcff584c273feba50641b454858d377ba30b35ea7287a94f45ebd8afd0ea0
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-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.10s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 602.0.0 (4.34s)
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]
[38 / 249] SwiftSyntaxBuilder
[135 / 264] SwiftSyntax600
[166 / 274] SwiftSyntax
[175 / 277] SwiftSyntax510
[179 / 278] SwiftSyntax510
[184 / 279] SwiftSyntax601
[186 / 279] SwiftSyntax
[199 / 307] SwiftParser
[202 / 307] SwiftParser
[203 / 307] SwiftDiagnostics
[209 / 307] SwiftBasicFormat
[214 / 307] SwiftParser
[217 / 307] SwiftParser
[221 / 307] SwiftParser
[224 / 307] SwiftDiagnostics
[225 / 307] SwiftOperators
[228 / 307] SwiftDiagnostics
[229 / 307] SwiftBasicFormat
[231 / 308] SwiftDiagnostics
[232 / 308] SwiftBasicFormat
[234 / 308] SwiftBasicFormat
[235 / 308] SwiftBasicFormat
[236 / 308] SwiftParserDiagnostics
[241 / 319] SwiftOperators
[242 / 329] SwiftOperators
[243 / 330] SwiftParserDiagnostics
[246 / 330] SwiftParserDiagnostics
[257 / 330] SwiftSyntaxBuilder
[258 / 330] SwiftSyntaxBuilder
[263 / 330] SwiftOperators
[265 / 330] SwiftOperators
[268 / 330] SwiftOperators
[269 / 330]
[274 / 340] SwiftSyntaxBuilder
[275 / 341] SwiftSyntaxBuilder
[276 / 341] SwiftSyntaxBuilder
[277 / 342] SwiftSyntaxBuilder
[279 / 342] SwiftSyntaxBuilder
[281 / 342] SwiftSyntaxBuilder
[285 / 342] SwiftSyntaxBuilder
[287 / 342] SwiftSyntaxMacros
[292 / 352] SwiftSyntaxMacros
[296 / 352] SwiftSyntaxBuilder
[303 / 352] SwiftSyntaxMacros
[304 / 352] SwiftSyntaxMacroExpansion
[310 / 363] SwiftSyntaxMacros
[311 / 363] SwiftSyntaxBuilder
[314 / 364] SwiftSyntaxMacroExpansion
[315 / 364] SwiftSyntaxMacroExpansion
[317 / 364] SwiftSyntaxMacroExpansion
[326 / 374] SwiftCompilerPluginMessageHandling
[327 / 374] SwiftCompilerPluginMessageHandling
[329 / 374] SwiftCompilerPluginMessageHandling
[329 / 374] SwiftSyntaxMacroExpansion
[333 / 375] SwiftCompilerPluginMessageHandling
[340 / 375] SwiftCompilerPlugin
[343 / 378] SwiftCompilerPlugin
[348 / 378] SwiftCompilerPluginMessageHandling
[348 / 379] SwiftCompilerPlugin
[350 / 379] SwiftCompilerPluginMessageHandling
[352 / 380] SwiftSyntax
[355 / 381] SwiftSyntax
[362 / 381] SwiftSyntaxMacros
[370 / 382] 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:
/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/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 /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/plugins/testing\#/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/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 /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/plugins -plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/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 android