The Swift Package Index logo.Swift Package Index

Build Information

Failed to build media-generation-kit, reference main (8868a9), with Swift 6.4 for Android on 24 Sep 2026 15:31:36 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344844-0":/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/drawthingsai/media-generation-kit.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/drawthingsai/media-generation-kit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 8868a96 drawthings cli auth login
Cloned https://github.com/drawthingsai/media-generation-kit.git
Revision (git rev-parse @):
8868a9685d9c299816f43ef53efd455ffca437f0
SUCCESS checkout https://github.com/drawthingsai/media-generation-kit.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.4
Building package at path:  $PWD
https://github.com/drawthingsai/media-generation-kit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-0":/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/drawthingsai/draw-things-community.git
[1/20127] Fetching draw-things-community
Fetched https://github.com/drawthingsai/draw-things-community.git (3.68s)
Fetching https://github.com/liuliu/ccv.git
[1/45121] Fetching ccv
Fetched https://github.com/liuliu/ccv.git (34.92s)
Fetching https://github.com/liuliu/s4nnc.git
[1/8649] Fetching s4nnc
Fetched https://github.com/liuliu/s4nnc.git (2.08s)
Fetching https://github.com/liuliu/dflat.git
[1/4475] Fetching dflat
Fetched https://github.com/liuliu/dflat.git (0.66s)
Fetching https://github.com/liuliu/swift-fickling.git
[1/153] Fetching swift-fickling
Fetched https://github.com/liuliu/swift-fickling.git (0.52s)
Fetching https://github.com/liuliu/swift-sentencepiece
[1/129] Fetching swift-sentencepiece
Fetched https://github.com/liuliu/swift-sentencepiece (0.54s)
Fetching https://github.com/kelvin13/swift-png
[1/7562] Fetching swift-png
Fetched https://github.com/kelvin13/swift-png (4.39s)
Fetching https://github.com/weiyanlin117/swift-fpzip-support.git
[1/135] Fetching swift-fpzip-support
Fetched https://github.com/weiyanlin117/swift-fpzip-support.git (1.16s)
Fetching https://github.com/apple/swift-protobuf.git
[1/54198] Fetching swift-protobuf
Fetched https://github.com/apple/swift-protobuf.git (4.49s)
Fetching https://github.com/apple/swift-system.git
[1/6916] Fetching swift-system
Fetched https://github.com/apple/swift-system.git (1.09s)
Fetching https://github.com/google/flatbuffers.git
[1/98416] Fetching flatbuffers
Fetched https://github.com/google/flatbuffers.git (3.90s)
Fetching https://github.com/weiyanlin117/swift-package-support-sentencepiece
[1/6025] Fetching swift-package-support-sentencepiece
Fetched https://github.com/weiyanlin117/swift-package-support-sentencepiece (1.87s)
Fetching https://github.com/apple/swift-numerics.git
Fetching https://github.com/jagreenwood/swift-log-datadog.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/liuliu/swift-sqlite3-support.git
Fetching https://github.com/apple/swift-collections.git
[1/1881] Fetching swift-atomics
[434/8521] Fetching swift-atomics, swift-numerics
[1541/8816] Fetching swift-atomics, swift-numerics, swift-log-datadog
[5115/8935] Fetching swift-atomics, swift-numerics, swift-log-datadog, swift-sqlite3-support
[8751/15080] Fetching swift-atomics, swift-numerics, swift-log-datadog, swift-sqlite3-support, swift-algorithms
Fetched https://github.com/apple/swift-atomics.git (0.62s)
Fetching https://github.com/grpc/grpc-swift.git
[6936/13199] Fetching swift-numerics, swift-log-datadog, swift-sqlite3-support, swift-algorithms
Fetched https://github.com/jagreenwood/swift-log-datadog.git (0.80s)
Fetched https://github.com/apple/swift-numerics.git (0.80s)
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/apple/swift-log.git
[6256/33966] Fetching swift-sqlite3-support, swift-algorithms, swift-collections
Fetched https://github.com/liuliu/swift-sqlite3-support.git (1.22s)
Fetching https://github.com/apple/swift-docc-plugin
[8363/85451] Fetching swift-algorithms, swift-collections, grpc-swift
[13361/104000] Fetching swift-algorithms, swift-collections, grpc-swift, swift-crypto
[17659/112165] Fetching swift-algorithms, swift-collections, grpc-swift, swift-crypto, swift-log
Fetched https://github.com/apple/swift-log.git (0.66s)
[25687/104000] Fetching swift-algorithms, swift-collections, grpc-swift, swift-crypto
Fetching https://github.com/apple/swift-argument-parser.git
[71730/106345] Fetching swift-algorithms, swift-collections, grpc-swift, swift-crypto, swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin (0.75s)
[86825/104000] Fetching swift-algorithms, swift-collections, grpc-swift, swift-crypto
Fetched https://github.com/grpc/grpc-swift.git (1.47s)
[42701/52396] Fetching swift-algorithms, swift-collections, swift-crypto
Fetched https://github.com/apple/swift-crypto.git (1.35s)
[24429/33847] Fetching swift-algorithms, swift-collections
[26646/52788] Fetching swift-algorithms, swift-collections, swift-argument-parser
Fetched https://github.com/apple/swift-algorithms.git (2.53s)
Fetched https://github.com/apple/swift-collections.git (2.54s)
[758/18941] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git (1.44s)
Computing version for https://github.com/liuliu/swift-sqlite3-support.git
Computed https://github.com/liuliu/swift-sqlite3-support.git at 3.47.1 (3.11s)
Computing version for https://github.com/jagreenwood/swift-log-datadog.git
Computed https://github.com/jagreenwood/swift-log-datadog.git at 0.3.0 (0.19s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (0.17s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.19s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.5.0 (0.20s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3829] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit (0.69s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.92s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.17s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.0 (0.32s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.8.2 (0.19s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (0.28s)
Fetching https://github.com/apple/swift-asn1.git
[1/1983] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git (0.61s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (1.76s)
Computing version for https://github.com/grpc/grpc-swift.git
Computed https://github.com/grpc/grpc-swift.git at 1.27.6 (0.81s)
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio-extras.git
[1/16065] Fetching swift-nio-ssl
[1447/18928] Fetching swift-nio-ssl, swift-nio-transport-services
[1941/25618] Fetching swift-nio-ssl, swift-nio-transport-services, swift-nio-extras
[12354/37870] Fetching swift-nio-ssl, swift-nio-transport-services, swift-nio-extras, swift-nio-http2
[37871/123961] Fetching swift-nio-ssl, swift-nio-transport-services, swift-nio-extras, swift-nio-http2, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git (1.94s)
[79486/107896] Fetching swift-nio-transport-services, swift-nio-extras, swift-nio-http2, swift-nio
Fetched https://github.com/apple/swift-nio-transport-services.git (4.54s)
Fetched https://github.com/apple/swift-nio-extras.git (4.54s)
Fetched https://github.com/apple/swift-nio-http2.git (4.54s)
Fetched https://github.com/apple/swift-nio.git (4.57s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.28.0 (5.40s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.46.0 (0.77s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.35.1 (0.90s)
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-certificates.git
[1/2843] Fetching swift-service-lifecycle
[400/4778] Fetching swift-service-lifecycle, swift-http-types
[656/6031] Fetching swift-service-lifecycle, swift-http-types, swift-http-structured-headers
[6032/13606] Fetching swift-service-lifecycle, swift-http-types, swift-http-structured-headers, swift-certificates
Fetched https://github.com/apple/swift-http-structured-headers.git (1.01s)
Fetched https://github.com/apple/swift-http-types.git (1.01s)
Fetched https://github.com/apple/swift-certificates.git (1.01s)
[1/6732] Fetching swift-async-algorithms
Fetched https://github.com/swift-server/swift-service-lifecycle.git (1.74s)
Fetched https://github.com/apple/swift-async-algorithms.git (1.74s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.12.0 (2.43s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (0.25s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.5 (0.22s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.7.0 (0.19s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.8.0 (0.22s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.37.5 (0.24s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.103.0 (0.35s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.21.0 (0.26s)
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.37.5
Creating working copy for https://github.com/liuliu/swift-sqlite3-support.git
Working copy of https://github.com/liuliu/swift-sqlite3-support.git resolved at 3.47.1
Creating working copy for https://github.com/apple/swift-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.7.0
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/liuliu/swift-fickling.git
Working copy of https://github.com/liuliu/swift-fickling.git resolved at 5c982bf479c4cdf8c7f72002cd79ec88b553ab34
Creating working copy for https://github.com/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.12.0
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.3
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.1
Creating working copy for https://github.com/weiyanlin117/swift-fpzip-support.git
Working copy of https://github.com/weiyanlin117/swift-fpzip-support.git resolved at 0ec6d4668c9c83bc3da0f8b2d6dfc46da0b98609
Creating working copy for https://github.com/liuliu/swift-sentencepiece
Working copy of https://github.com/liuliu/swift-sentencepiece resolved at 8d17bf2e017c97563e8805545d676be9739b6c0e
Creating working copy for https://github.com/google/flatbuffers.git
Working copy of https://github.com/google/flatbuffers.git resolved at c92e78a9f841a6110ec27180d68d1f7f2afda21d
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at fbd61a676d79cbde05cd4fda3cc46e94d6b8f0eb
Creating working copy for https://github.com/apple/swift-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.8.0
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.15.1
Creating working copy for https://github.com/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.46.0
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.21.0
Creating working copy for https://github.com/liuliu/dflat.git
Working copy of https://github.com/liuliu/dflat.git resolved at 73925e51e4f44add842177a229f9990cb13711ff
Creating working copy for https://github.com/apple/swift-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at d57a5aecf24a25b32ec4a74be2f5d0a995a47c4b
Creating working copy for https://github.com/liuliu/s4nnc.git
Working copy of https://github.com/liuliu/s4nnc.git resolved at e3a83b351b84a7917fefd28366a3b9417fee3b2e
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.15.1
Creating working copy for https://github.com/apple/swift-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.35.1
Creating working copy for https://github.com/grpc/grpc-swift.git
Working copy of https://github.com/grpc/grpc-swift.git resolved at 1.27.6
Creating working copy for https://github.com/drawthingsai/draw-things-community.git
Working copy of https://github.com/drawthingsai/draw-things-community.git resolved at d473a2f148b3e7dc9b90d0b7cfccc5cda999eb66
Creating working copy for https://github.com/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.1.5
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.103.0
Creating working copy for https://github.com/weiyanlin117/swift-package-support-sentencepiece
Working copy of https://github.com/weiyanlin117/swift-package-support-sentencepiece resolved at a39a5be0b3e3ad9bcb19b085af7dd891c00aa3d2
Creating working copy for https://github.com/liuliu/ccv.git
Working copy of https://github.com/liuliu/ccv.git resolved at ae1de9962437c14ff7d84af9bac66305e7ce5927
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.1
Creating working copy for https://github.com/apple/swift-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.28.0
Creating working copy for https://github.com/kelvin13/swift-png
Working copy of https://github.com/kelvin13/swift-png resolved at 075dfb248ae327822635370e9d4f94a5d3fe93b2
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.8.2
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.5.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.7.0
Creating working copy for https://github.com/jagreenwood/swift-log-datadog.git
Working copy of https://github.com/jagreenwood/swift-log-datadog.git resolved at 0.3.0
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 3063]
[Planning 469 / 3063]
[Planning 1403 / 3063]
[Planning 1579 / 3063]
[Planning 1859 / 3063]
[Planning 2567 / 3063]
[Planning 3062 / 3063]
[Planning deferred tasks]
[Constructing 1 / 7710]
[Constructing 2037 / 7710]
[Starting]
[186 / 2236] NIOTLS
[556 / 2236] swift-package-support-sentencepiece
[560 / 2236] swift-package-support-sentencepiece
[562 / 2236] swift-package-support-sentencepiece
[565 / 2236] swift-package-support-sentencepiece
[566 / 2236] swift-package-support-sentencepiece
[567 / 2236] swift-package-support-sentencepiece
[569 / 2236] swift-package-support-sentencepiece
[570 / 2236] swift-package-support-sentencepiece
[571 / 2236] swift-package-support-sentencepiece
[573 / 2236] swift-package-support-sentencepiece
[574 / 2236] swift-package-support-sentencepiece
[576 / 2236] siphash
In file included from /host/spi-builder-workspace/.build/checkouts/ccv/lib/nnc/mps/ccv_nnc_palettize.m:1:
/host/spi-builder-workspace/.build/checkouts/ccv/lib/nnc/mps/ccv_nnc_mps.h:43:9: fatal error: 'Metal/Metal.h' file not found
   43 | #import <Metal/Metal.h>
      |         ^~~~~~~~~~~~~~~
1 error generated.
error: CompileC /host/spi-builder-workspace/.build/out/Intermediates.noindex/ccv.build/Debug-android-aarch64/lib_nnc_mps_compat-t.build/Objects-normal/aarch64/ccv_nnc_palettize.o /host/spi-builder-workspace/.build/checkouts/ccv/lib/nnc/mps/ccv_nnc_palettize.m normal aarch64 objective-c com.apple.compilers.llvm.clang.1_0.compiler failed with a nonzero exit code. Command line:     cd /host

    Using response file: /host/spi-builder-workspace/.build/out/Intermediates.noindex/ccv.build/Debug-android-aarch64/lib_nnc_mps_compat-t.build/Objects-normal/aarch64/6f95552a3397ee1cec971b90cf334075d5f321c3a3b0689ad55c3d1e24702600-common-args.resp

    /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/clang -x objective-c -target aarch64-unknown-linux-android28 -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fcolor-diagnostics -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-implicit-atomic-properties -Wno-objc-interface-ivars -Wno-arc-repeated-use-of-weak -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -w -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -Wno-implicit-fallthrough -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body --sysroot /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -w @/host/spi-builder-workspace/.build/out/Intermediates.noindex/ccv.build/Debug-android-aarch64/lib_nnc_mps_compat-t.build/Objects-normal/aarch64/6f95552a3397ee1cec971b90cf334075d5f321c3a3b0689ad55c3d1e24702600-common-args.resp -MMD -MT dependencies -MF /host/spi-builder-workspace/.build/out/Intermediates.noindex/ccv.build/Debug-android-aarch64/lib_nnc_mps_compat-t.build/Objects-normal/aarch64/ccv_nnc_palettize.d --serialize-diagnostics /host/spi-builder-workspace/.build/out/Intermediates.noindex/ccv.build/Debug-android-aarch64/lib_nnc_mps_compat-t.build/Objects-normal/aarch64/ccv_nnc_palettize.dia -c /host/spi-builder-workspace/.build/checkouts/ccv/lib/nnc/mps/ccv_nnc_palettize.m -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/ccv.build/Debug-android-aarch64/lib_nnc_mps_compat-t.build/Objects-normal/aarch64/ccv_nnc_palettize.o
error: Build failed
BUILD FAILURE 6.4 android