Build Information
Failed to build media-generation-kit, reference v1.20260401.0 (883a04), with Swift 6.0 for Linux on 2 Apr 2026 05:00:36 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/drawthingsai/media-generation-kit.git
Reference: v1.20260401.0
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
* tag v1.20260401.0 -> FETCH_HEAD
HEAD is now at 883a048 Update.
Cloned https://github.com/drawthingsai/media-generation-kit.git
Revision (git rev-parse @):
883a0484e0841faaa7cf9fa48963e6c4addc21e6
SUCCESS checkout https://github.com/drawthingsai/media-generation-kit.git at v1.20260401.0
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/drawthingsai/media-generation-kit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:1db7dbcaf887dbb499f5976218948969b74406bfba66e3dcc9b7cf6b3e333907
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.0-latest
Fetching https://github.com/drawthingsai/draw-things-community.git
[1/16333] Fetching draw-things-community
Fetched https://github.com/drawthingsai/draw-things-community.git from cache (5.05s)
Fetching https://github.com/liuliu/ccv.git
[1/39265] Fetching ccv
Fetched https://github.com/liuliu/ccv.git from cache (40.31s)
Fetching https://github.com/liuliu/s4nnc.git
[1/7680] Fetching s4nnc
Fetched https://github.com/liuliu/s4nnc.git from cache (3.36s)
Fetching https://github.com/liuliu/dflat.git
[1/4475] Fetching dflat
Fetched https://github.com/liuliu/dflat.git from cache (0.41s)
Fetching https://github.com/liuliu/swift-fickling.git
[1/153] Fetching swift-fickling
Fetched https://github.com/liuliu/swift-fickling.git from cache (0.26s)
Fetching https://github.com/liuliu/swift-sentencepiece
[1/118] Fetching swift-sentencepiece
Fetched https://github.com/liuliu/swift-sentencepiece from cache (0.34s)
Fetching https://github.com/kelvin13/swift-png
[1/7460] Fetching swift-png
Fetched https://github.com/kelvin13/swift-png from cache (7.91s)
Fetching https://github.com/weiyanlin117/swift-fpzip-support.git
[1/135] Fetching swift-fpzip-support
Fetched https://github.com/weiyanlin117/swift-fpzip-support.git from cache (0.26s)
Fetching https://github.com/apple/swift-protobuf.git
[1/43170] Fetching swift-protobuf
Fetched https://github.com/apple/swift-protobuf.git from cache (7.46s)
Fetching https://github.com/apple/swift-system.git
[1/5601] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.44s)
Fetching https://github.com/google/flatbuffers.git
[1/98394] Fetching flatbuffers
Fetched https://github.com/google/flatbuffers.git from cache (7.69s)
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 from cache (4.68s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/liuliu/swift-sqlite3-support.git
Fetching https://github.com/apple/swift-numerics.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-collections.git
[1/119] Fetching swift-sqlite3-support
[112/1939] Fetching swift-sqlite3-support, swift-atomics
[804/8355] Fetching swift-sqlite3-support, swift-atomics, swift-numerics
[5918/14413] Fetching swift-sqlite3-support, swift-atomics, swift-numerics, swift-algorithms
[7901/37759] Fetching swift-sqlite3-support, swift-atomics, swift-numerics, swift-algorithms, swift-collections
Fetching https://github.com/grpc/grpc-swift.git
Fetched https://github.com/apple/swift-atomics.git from cache (3.35s)
Fetching https://github.com/jagreenwood/swift-log-datadog.git
Fetched https://github.com/apple/swift-numerics.git from cache (4.13s)
Fetched https://github.com/apple/swift-algorithms.git from cache (4.13s)
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetched https://github.com/liuliu/swift-sqlite3-support.git from cache (4.13s)
Fetching https://github.com/apple/swift-log.git
Fetched https://github.com/apple/swift-collections.git from cache (4.16s)
Fetching https://github.com/apple/swift-docc-plugin
[1/51508] Fetching grpc-swift
[9788/51803] Fetching grpc-swift, swift-log-datadog
[50774/53974] Fetching grpc-swift, swift-log-datadog, swift-docc-plugin
[53129/60306] Fetching grpc-swift, swift-log-datadog, swift-docc-plugin, swift-log
[53518/77630] Fetching grpc-swift, swift-log-datadog, swift-docc-plugin, swift-log, swift-crypto
[54656/95101] Fetching grpc-swift, swift-log-datadog, swift-docc-plugin, swift-log, swift-crypto, swift-argument-parser
Fetched https://github.com/jagreenwood/swift-log-datadog.git from cache (2.98s)
[80601/94806] Fetching grpc-swift, swift-docc-plugin, swift-log, swift-crypto, swift-argument-parser
Fetched https://github.com/apple/swift-docc-plugin from cache (3.08s)
Fetched https://github.com/apple/swift-log.git from cache (3.13s)
Fetched https://github.com/grpc/grpc-swift.git from cache (4.18s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (3.89s)
Fetched https://github.com/apple/swift-crypto.git from cache (3.92s)
Computing version for https://github.com/liuliu/swift-sqlite3-support.git
Computed https://github.com/liuliu/swift-sqlite3-support.git at 3.47.1 (1.79s)
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.76s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.64s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.6 (1.12s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3671] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.63s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.43s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (1.22s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (1.13s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (1.55s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.7.1 (1.21s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.11.0 (0.95s)
Computing version for https://github.com/grpc/grpc-swift.git
Computed https://github.com/grpc/grpc-swift.git at 1.26.2 (5.09s)
Fetching https://github.com/apple/swift-nio-ssl.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-extras.git
Fetching https://github.com/apple/swift-nio-http2.git
[1/2832] Fetching swift-nio-transport-services
[2833/9339] Fetching swift-nio-transport-services, swift-nio-extras
[7974/21438] Fetching swift-nio-transport-services, swift-nio-extras, swift-nio-http2
[21439/36833] Fetching swift-nio-transport-services, swift-nio-extras, swift-nio-http2, swift-nio-ssl
[27597/119849] Fetching swift-nio-transport-services, swift-nio-extras, swift-nio-http2, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (3.54s)
[70529/117017] Fetching swift-nio-extras, swift-nio-http2, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-extras.git from cache (4.01s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (4.01s)
[69356/98411] Fetching swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git from cache (7.30s)
Fetched https://github.com/apple/swift-nio.git from cache (7.40s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.26.0 (0.73s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.42.0 (2.07s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.33.0 (0.85s)
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-async-algorithms.git
[1/984] Fetching swift-http-types
[316/2226] Fetching swift-http-types, swift-http-structured-headers
[2078/4015] Fetching swift-http-types, swift-http-structured-headers, swift-asn1
[2281/6728] Fetching swift-http-types, swift-http-structured-headers, swift-asn1, swift-service-lifecycle
[2327/13873] Fetching swift-http-types, swift-http-structured-headers, swift-asn1, swift-service-lifecycle, swift-certificates
[11231/20097] Fetching swift-http-types, swift-http-structured-headers, swift-asn1, swift-service-lifecycle, swift-certificates, swift-async-algorithms
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.43s)
[16926/18855] Fetching swift-http-types, swift-asn1, swift-service-lifecycle, swift-certificates, swift-async-algorithms
Fetched https://github.com/apple/swift-certificates.git from cache (0.54s)
Fetched https://github.com/apple/swift-http-types.git from cache (0.57s)
Fetched https://github.com/apple/swift-asn1.git from cache (0.58s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.57s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.58s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.36.1 (1.19s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.5.1 (0.65s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.97.1 (3.33s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.11.0 (1.71s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.3 (1.25s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.6.0 (3.16s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.18.0 (0.97s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.6.0 (0.85s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (2.84s)
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
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/grpc/grpc-swift.git
Working copy of https://github.com/grpc/grpc-swift.git resolved at 1.26.2
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/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/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.36.1
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/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.6.0
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.7.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/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-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.11.0
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/apple/swift-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.33.0
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.3
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-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.97.1
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.11.0
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.5.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.26.0
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.6
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/kelvin13/swift-png
Working copy of https://github.com/kelvin13/swift-png resolved at 075dfb248ae327822635370e9d4f94a5d3fe93b2
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/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-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.42.0
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/apple/swift-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.6.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.18.0
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/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.4.1
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-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
[1/1] Compiling plugin GRPCSwiftPlugin
[2/2] Compiling plugin GenerateDoccReference
[3/3] Compiling plugin GenerateManual
[4/4] Compiling plugin Swift-DocC
[5/5] Compiling plugin Swift-DocC Preview
[6/6] Compiling plugin SwiftProtobufPlugin
Building for debugging...
[6/1336] Write sources
[12/1336] Compiling _AtomicsShims.c
[13/1336] Compiling _SQLiteDflatOSShim os.c
[14/1336] Compiling C_swiftpm_ccv ccv_ferns.c
[15/1336] Compiling C_swiftpm_ccv ccv_dpm.c
[16/1336] Write swift-version-24593BA9C3E375BF.txt
[17/1336] Compiling zero_copy_stream.cc
[18/1336] Compiling time.cc
[19/1336] Compiling zero_copy_stream_impl.cc
[20/1336] Compiling structurally_valid.cc
[21/1336] Compiling zero_copy_stream_impl_lite.cc
[22/1336] Compiling strutil.cc
[23/1355] Compiling wire_format_lite.cc
[24/1355] Compiling stringpiece.cc
[25/1355] Compiling stringprintf.cc
[26/1355] Compiling io_win32.cc
[27/1355] Compiling statusor.cc
[28/1355] Compiling status.cc
[29/1355] Compiling int128.cc
[30/1355] Compiling repeated_field.cc
[31/1355] Compiling implicit_weak_message.cc
[32/1355] Compiling message_lite.cc
[33/1355] Compiling parse_context.cc
[34/1355] Compiling generated_message_util.cc
[35/1355] Compiling generated_enum_util.cc
[36/1355] Compiling common.cc
[38/1355] Emitting module FlatBuffers
[38/1357] Compiling generated_message_table_driven_lite.cc
[39/1357] Compiling coded_stream.cc
[40/1357] Compiling bytestream.cc
[41/1357] Compiling log.cc
[42/1357] Compiling extension_set.cc
[43/1357] Compiling arena.cc
[44/1357] Compiling arenastring.cc
[45/1357] Compiling util.cc
[46/1357] Compiling SQLite3 sqlite3.c
[47/1357] Compiling flag.cc
[48/1357] Compiling word_model_trainer.cc
[49/1357] Compiling word_model.cc
[50/1357] Compiling unigram_model.cc
[51/1357] Compiling unicode_script.cc
[52/1357] Compiling trainer_factory.cc
[54/1357] Compiling FlatBuffers Verifiable.swift
[55/1357] Compiling FlatBuffers Verifier.swift
[56/1357] Compiling FlatBuffers TableVerifier.swift
[57/1357] Compiling FlatBuffers VeriferOptions.swift
[58/1357] Compiling FlatBuffers FlatBufferBuilder.swift
[59/1357] Compiling FlatBuffers FlatBufferObject.swift
[60/1357] Compiling FlatBuffers FlatBuffersUtils.swift
[61/1357] Compiling FlatBuffers Struct.swift
[62/1357] Compiling FlatBuffers Table.swift
[63/1357] Compiling FlatBuffers ByteBuffer.swift
[64/1357] Compiling FlatBuffers Constants.swift
[65/1357] Compiling FlatBuffers Enum.swift
[66/1357] Compiling FlatBuffers Mutable.swift
[67/1357] Compiling FlatBuffers NativeObject.swift
[68/1357] Compiling FlatBuffers Offset.swift
[69/1357] Compiling FlatBuffers FlatbuffersErrors.swift
[70/1357] Compiling FlatBuffers Int+extension.swift
[71/1357] Compiling FlatBuffers Message.swift
[72/1357] Compiling FlatBuffers Root.swift
[73/1357] Compiling FlatBuffers String+extension.swift
[73/1358] Compiling sentencepiece_trainer.cc
[75/1358] Compiling unigram_model_trainer.cc
[76/1358] Compiling pretokenizer_for_training.cc
[77/1358] Compiling init.cc
[78/1358] Compiling trainer_interface.cc
[79/1358] Compiling sentencepiece_processor.cc
[80/1358] Compiling normalizer.cc
[81/1358] Compiling filesystem.cc
[82/1358] Compiling error.cc
[83/1358] Compiling model_interface.cc
[84/1358] Compiling model_factory.cc
[85/1358] Compiling siphash siphash24.c
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.
[86/1358] Compiling lib_nnc_mps_compat ccv_nnc_palettize.m
[86/1358] Compiling sentencepiece.pb.cc
[86/1358] Compiling char_model_trainer.cc
[86/1358] Compiling builder.cc
[86/1358] Compiling char_model.cc
[86/1358] Compiling sentencepiece_model.pb.cc
[86/1358] Compiling bpe_model_trainer.cc
[86/1358] Compiling bpe_model.cc
BUILD FAILURE 6.0 linux