Build Information
Failed to build media-generation-kit, reference v1.20260401.0 (883a04), with Swift 6.4 for Wasm on 24 Sep 2026 15:31:52 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886770-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:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
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: wasm
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-53886770-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:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:4328fdb43c680d205c1d6761b1e3267aa38277eefdda9ddfb17b6a0f1a77857a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-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.56s)
Fetching https://github.com/liuliu/ccv.git
[1/45121] Fetching ccv
Fetched https://github.com/liuliu/ccv.git (39.48s)
Fetching https://github.com/liuliu/s4nnc.git
[1/8649] Fetching s4nnc
Fetched https://github.com/liuliu/s4nnc.git (0.78s)
Fetching https://github.com/liuliu/dflat.git
[1/4475] Fetching dflat
Fetched https://github.com/liuliu/dflat.git (0.61s)
Fetching https://github.com/liuliu/swift-fickling.git
[1/153] Fetching swift-fickling
Fetched https://github.com/liuliu/swift-fickling.git (0.50s)
Fetching https://github.com/liuliu/swift-sentencepiece
[1/129] Fetching swift-sentencepiece
Fetched https://github.com/liuliu/swift-sentencepiece (0.52s)
Fetching https://github.com/kelvin13/swift-png
[1/7562] Fetching swift-png
Fetched https://github.com/kelvin13/swift-png (4.84s)
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.57s)
Fetching https://github.com/apple/swift-protobuf.git
[1/54198] Fetching swift-protobuf
Fetched https://github.com/apple/swift-protobuf.git (6.36s)
Fetching https://github.com/apple/swift-system.git
[1/6916] Fetching swift-system
Fetched https://github.com/apple/swift-system.git (1.21s)
Fetching https://github.com/google/flatbuffers.git
[1/98416] Fetching flatbuffers
Fetched https://github.com/google/flatbuffers.git (5.73s)
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.83s)
Fetching https://github.com/liuliu/swift-sqlite3-support.git
Fetching https://github.com/grpc/grpc-swift.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/apple/swift-algorithms.git
[1/6145] Fetching swift-algorithms
[247/24694] Fetching swift-algorithms, swift-crypto
[248/24813] Fetching swift-algorithms, swift-crypto, swift-sqlite3-support
[1055/43754] Fetching swift-algorithms, swift-crypto, swift-sqlite3-support, swift-argument-parser
[2725/95358] Fetching swift-algorithms, swift-crypto, swift-sqlite3-support, swift-argument-parser, grpc-swift
Fetched https://github.com/apple/swift-algorithms.git (0.93s)
Fetching https://github.com/apple/swift-log.git
[38986/89213] Fetching swift-crypto, swift-sqlite3-support, swift-argument-parser, grpc-swift
Fetched https://github.com/liuliu/swift-sqlite3-support.git (1.25s)
Fetching https://github.com/apple/swift-docc-plugin
[1/8165] Fetching swift-log
Fetched https://github.com/apple/swift-log.git (0.62s)
Fetching https://github.com/apple/swift-atomics.git
Fetched https://github.com/grpc/grpc-swift.git (1.75s)
Fetching https://github.com/jagreenwood/swift-log-datadog.git
[1/27702] Fetching swift-collections
[1941/30047] Fetching swift-collections, swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin (0.69s)
Fetching https://github.com/apple/swift-numerics.git
[3602/27702] Fetching swift-collections
[14407/29583] Fetching swift-collections, swift-atomics
Fetched https://github.com/apple/swift-atomics.git (0.57s)
[17453/27702] Fetching swift-collections
[27703/34342] Fetching swift-collections, swift-numerics
Fetched https://github.com/apple/swift-argument-parser.git (2.45s)
Fetched https://github.com/apple/swift-crypto.git (2.46s)
Fetched https://github.com/apple/swift-collections.git (2.46s)
[3652/6640] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git (0.55s)
[1/295] Fetching swift-log-datadog
Fetched https://github.com/jagreenwood/swift-log-datadog.git (0.99s)
Computing version for https://github.com/liuliu/swift-sqlite3-support.git
Computed https://github.com/liuliu/swift-sqlite3-support.git at 3.47.1 (2.99s)
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.22s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (0.18s)
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.64s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.87s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.16s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.0 (0.31s)
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.18s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (0.27s)
Fetching https://github.com/apple/swift-asn1.git
[1/1983] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git (0.55s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (1.64s)
Computing version for https://github.com/grpc/grpc-swift.git
Computed https://github.com/grpc/grpc-swift.git at 1.27.6 (0.33s)
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-nio-extras.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
[1/2863] Fetching swift-nio-transport-services
[2864/18928] Fetching swift-nio-transport-services, swift-nio-ssl
[2865/25618] Fetching swift-nio-transport-services, swift-nio-ssl, swift-nio-extras
Fetched https://github.com/apple/swift-nio-transport-services.git (0.54s)
[590/22755] Fetching swift-nio-ssl, swift-nio-extras
[7977/35007] Fetching swift-nio-ssl, swift-nio-extras, swift-nio-http2
[35008/121098] Fetching swift-nio-ssl, swift-nio-extras, swift-nio-http2, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git (1.44s)
[52518/105033] Fetching swift-nio-extras, swift-nio-http2, swift-nio
Fetched https://github.com/apple/swift-nio-extras.git (3.40s)
Fetched https://github.com/apple/swift-nio-http2.git (3.41s)
Fetched https://github.com/apple/swift-nio.git (3.44s)
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 (3.65s)
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.20s)
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.33s)
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
[1/2843] Fetching swift-service-lifecycle
[542/4096] Fetching swift-service-lifecycle, swift-http-structured-headers
[3529/10828] Fetching swift-service-lifecycle, swift-http-structured-headers, swift-async-algorithms
[6790/12763] Fetching swift-service-lifecycle, swift-http-structured-headers, swift-async-algorithms, swift-http-types
Fetched https://github.com/apple/swift-http-types.git (0.57s)
[1/7575] Fetching swift-certificates
Fetched https://github.com/apple/swift-http-structured-headers.git (0.73s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git (0.73s)
Fetched https://github.com/apple/swift-async-algorithms.git (0.73s)
Fetched https://github.com/apple/swift-certificates.git (0.73s)
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 (0.92s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (0.20s)
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.41s)
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.33s)
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.90s)
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.35s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.103.0 (0.34s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.21.0 (0.25s)
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-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/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-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/google/flatbuffers.git
Working copy of https://github.com/google/flatbuffers.git resolved at c92e78a9f841a6110ec27180d68d1f7f2afda21d
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-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.5.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/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-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at d57a5aecf24a25b32ec4a74be2f5d0a995a47c4b
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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.7.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/liuliu/swift-sentencepiece
Working copy of https://github.com/liuliu/swift-sentencepiece resolved at 8d17bf2e017c97563e8805545d676be9739b6c0e
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/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/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/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-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-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.3
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/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/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/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/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-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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at fbd61a676d79cbde05cd4fda3cc46e94d6b8f0eb
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/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-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.15.1
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-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/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-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/liuliu/s4nnc.git
Working copy of https://github.com/liuliu/s4nnc.git resolved at e3a83b351b84a7917fefd28366a3b9417fee3b2e
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 3063]
[Planning 1 / 3063]
[Planning 925 / 3063]
[Planning 1436 / 3063]
[Planning 1797 / 3063]
[Planning 2238 / 3063]
[Planning 2536 / 3063]
[Planning 2897 / 3063]
[Planning deferred tasks]
[Constructing 1 / 7605]
[Constructing 1429 / 7605]
[Writing build description]
[Starting]
[101 / 2135] SwiftProtobuf
[390 / 2135] CNIOOpenBSD
[456 / 2135] swift-package-support-sentencepiece
[457 / 2135] swift-package-support-sentencepiece
[458 / 2135] swift-package-support-sentencepiece
[460 / 2135] swift-package-support-sentencepiece
[461 / 2135] swift-package-support-sentencepiece
[463 / 2135] swift-package-support-sentencepiece
[464 / 2135] swift-package-support-sentencepiece
[466 / 2135] swift-package-support-sentencepiece
[467 / 2135] swift-package-support-sentencepiece
[468 / 2135] swift-package-support-sentencepiece
In file included from /host/spi-builder-workspace/.build/checkouts/swift-package-support-sentencepiece/third_party/protobuf-lite/message_lite.cc:56:
[1m/host/spi-builder-workspace/.build/checkouts/swift-package-support-sentencepiece/include/google/protobuf/stubs/mutex.h:107:8: [0m[0;1;31merror: [0m[1mno type named 'mutex' in namespace 'std'[0m
107 | std::mutex mu_;[0m
| [0;1;32m ~~~~~^
[0m1 error generated.
error: CompileC /host/spi-builder-workspace/.build/out/Intermediates.noindex/sentencepiece.build/Debug-webassembly-wasm32/swift-package-support-sentencepiece-t.build/Objects-normal/wasm32/message_lite.o /host/spi-builder-workspace/.build/checkouts/swift-package-support-sentencepiece/third_party/protobuf-lite/message_lite.cc normal wasm32 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/sentencepiece.build/Debug-webassembly-wasm32/swift-package-support-sentencepiece-t.build/Objects-normal/wasm32/11b881b950eb02e21769317df93e9b41d1d7f0348e4e0901ae810dce93ca1a57-common-args.resp
/usr/bin/clang -x c++ -target wasm32-unknown-wasip1 -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-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -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 -Wno-newline-eof -Wno-c++11-extensions -Wno-implicit-fallthrough -fstrict-aliasing -Wdeprecated-declarations -Winvalid-offsetof -Wno-sign-conversion -Wno-infinite-recursion -Wno-move -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-range-loop-analysis -Wno-semicolon-before-method-body --sysroot /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk @/host/spi-builder-workspace/.build/out/Intermediates.noindex/sentencepiece.build/Debug-webassembly-wasm32/swift-package-support-sentencepiece-t.build/Objects-normal/wasm32/11b881b950eb02e21769317df93e9b41d1d7f0348e4e0901ae810dce93ca1a57-common-args.resp -MMD -MT dependencies -MF /host/spi-builder-workspace/.build/out/Intermediates.noindex/sentencepiece.build/Debug-webassembly-wasm32/swift-package-support-sentencepiece-t.build/Objects-normal/wasm32/message_lite.d --serialize-diagnostics /host/spi-builder-workspace/.build/out/Intermediates.noindex/sentencepiece.build/Debug-webassembly-wasm32/swift-package-support-sentencepiece-t.build/Objects-normal/wasm32/message_lite.dia -c /host/spi-builder-workspace/.build/checkouts/swift-package-support-sentencepiece/third_party/protobuf-lite/message_lite.cc -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/sentencepiece.build/Debug-webassembly-wasm32/swift-package-support-sentencepiece-t.build/Objects-normal/wasm32/message_lite.o
error: Build failed
BUILD FAILURE 6.4 wasm