Build Information
Failed to build Kraken, reference v1.1.1 (cdf0af), with Swift 6.4 for Wasm on 21 Sep 2026 13:49:51 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/wabiverse/Kraken.git
Reference: v1.1.1
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/wabiverse/Kraken
* tag v1.1.1 -> FETCH_HEAD
HEAD is now at cdf0af7 update swiftusd, make it swifty™.
Cloned https://github.com/wabiverse/Kraken.git
Revision (git rev-parse @):
cdf0af7fcd8dc7d6d04815368666ccb386811069
SUCCESS checkout https://github.com/wabiverse/Kraken.git at v1.1.1
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.4
Building package at path: $PWD
https://github.com/wabiverse/Kraken.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/ChimeHQ/TextFormation.git
Fetching https://github.com/apple/swift-collections
Fetching https://github.com/wabiverse/SwiftUSD.git
Fetching https://github.com/wabiverse/KrakenPlugs.git
Fetching https://github.com/ChimeHQ/SwiftTreeSitter
[1/1752] Fetching swifttreesitter
[1753/1765] Fetching swifttreesitter, krakenplugs
Fetched https://github.com/wabiverse/KrakenPlugs.git (0.48s)
Fetched https://github.com/ChimeHQ/SwiftTreeSitter (0.48s)
Fetching https://github.com/wabiverse/MetaversePlugin.git
[1/1272] Fetching textformation
Fetching https://github.com/ChimeHQ/TextStory.git
Fetched https://github.com/ChimeHQ/TextFormation.git (0.56s)
[1/166484] Fetching swiftusd
[14985/193836] Fetching swiftusd, swift-collections
[32930/193849] Fetching swiftusd, swift-collections, metaverseplugin
Fetched https://github.com/wabiverse/MetaversePlugin.git (0.45s)
[36783/193836] Fetching swiftusd, swift-collections
[45857/194395] Fetching swiftusd, swift-collections, textstory
Fetched https://github.com/ChimeHQ/TextStory.git (0.46s)
[48888/193836] Fetching swiftusd, swift-collections
Fetched https://github.com/apple/swift-collections (1.29s)
[46616/166484] Fetching swiftusd
Fetched https://github.com/wabiverse/SwiftUSD.git (6.02s)
Computing version for https://github.com/wabiverse/KrakenPlugs.git
Computed https://github.com/wabiverse/KrakenPlugs.git at 1.0.0 (6.18s)
Computing version for https://github.com/wabiverse/MetaversePlugin.git
Computed https://github.com/wabiverse/MetaversePlugin.git at 1.0.0 (0.14s)
Computing version for https://github.com/ChimeHQ/TextFormation.git
Computed https://github.com/ChimeHQ/TextFormation.git at 0.9.0 (0.17s)
Computing version for https://github.com/ChimeHQ/TextStory.git
Computed https://github.com/ChimeHQ/TextStory.git at 0.9.2 (0.16s)
Fetching https://github.com/ChimeHQ/Rearrange
[1/609] Fetching rearrange
Fetched https://github.com/ChimeHQ/Rearrange (0.49s)
Computing version for https://github.com/ChimeHQ/SwiftTreeSitter
Computed https://github.com/ChimeHQ/SwiftTreeSitter at 0.25.0 (0.65s)
Fetching https://github.com/tree-sitter/tree-sitter
[1/72484] Fetching tree-sitter
Fetched https://github.com/tree-sitter/tree-sitter (1.92s)
Computing version for https://github.com/ChimeHQ/Rearrange
Computed https://github.com/ChimeHQ/Rearrange at 2.1.1 (2.09s)
Computing version for https://github.com/wabiverse/SwiftUSD.git
Computed https://github.com/wabiverse/SwiftUSD.git at 24.8.21 (2.77s)
Fetching https://github.com/furbytm/swift-cross-ui.git
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/onevcat/Rainbow.git
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/apple/swift-log.git
[1/1478] Fetching rainbow
Fetched https://github.com/onevcat/Rainbow.git (0.46s)
Fetching https://github.com/furbytm/MetaverseKit.git
[1/12549] Fetching swift-cross-ui
[2/20645] Fetching swift-cross-ui, swift-log
Fetched https://github.com/apple/swift-log.git (0.58s)
[1/18918] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser (0.92s)
[1/12577] Fetching metaversekit
[2643/92576] Fetching metaversekit, swift-syntax
Fetching https://github.com/mxcl/Version.git
Fetched https://github.com/furbytm/swift-cross-ui.git (3.11s)
Fetched https://github.com/swiftlang/swift-syntax (3.12s)
[5031/12577] Fetching metaversekit
[12578/12888] Fetching metaversekit, version
Fetched https://github.com/mxcl/Version.git (1.01s)
Fetched https://github.com/furbytm/MetaverseKit.git (3.97s)
Computing version for https://github.com/furbytm/swift-cross-ui.git
Computed https://github.com/furbytm/swift-cross-ui.git at 0.7.2 (5.59s)
Fetching https://github.com/swhitty/swift-mutex
Fetching https://github.com/stackotter/swift-image-formats
Fetching https://github.com/stackotter/swift-macro-toolkit
Fetching https://github.com/moreSwift/AndroidKit
Fetching https://github.com/moreSwift/swift-winui
Fetching https://github.com/stackotter/swift-java
[1/155] Fetching swift-image-formats
[112/1151] Fetching swift-image-formats, swift-macro-toolkit
[1053/13978] Fetching swift-image-formats, swift-macro-toolkit, swift-java
[13979/15027] Fetching swift-image-formats, swift-macro-toolkit, swift-java, swift-winui
[14263/15351] Fetching swift-image-formats, swift-macro-toolkit, swift-java, swift-winui, swift-mutex
Fetched https://github.com/swhitty/swift-mutex (0.89s)
[14534/15027] Fetching swift-image-formats, swift-macro-toolkit, swift-java, swift-winui
[15028/26172] Fetching swift-image-formats, swift-macro-toolkit, swift-java, swift-winui, androidkit
Fetched https://github.com/stackotter/swift-macro-toolkit (1.01s)
Fetched https://github.com/moreSwift/swift-winui (1.01s)
[14431/24127] Fetching swift-image-formats, swift-java, androidkit
Fetched https://github.com/stackotter/swift-image-formats (1.15s)
Fetched https://github.com/moreSwift/AndroidKit (1.16s)
Fetched https://github.com/stackotter/swift-java (1.16s)
Computing version for https://github.com/stackotter/swift-java
Computed https://github.com/stackotter/swift-java at 0.5.1 (1.40s)
Fetching https://github.com/swiftlang/swift-subprocess.git
Fetching https://github.com/swiftlang/swift-java-jni-core
Fetching https://github.com/apple/swift-system
[1/607] Fetching swift-java-jni-core
[608/5383] Fetching swift-java-jni-core, swift-subprocess
Fetched https://github.com/swiftlang/swift-subprocess.git (0.56s)
[1/6898] Fetching swift-system
Fetched https://github.com/swiftlang/swift-java-jni-core (0.72s)
Fetched https://github.com/apple/swift-system (0.72s)
Computing version for https://github.com/moreSwift/AndroidKit
Computed https://github.com/moreSwift/AndroidKit at 0.8.1 (1.06s)
Fetching https://github.com/swift-android-sdk/swift-android-native.git
Fetching https://github.com/stackotter/SwiftKotlin.git
Fetching https://github.com/stackotter/SwiftJavaLang.git
[1/968] Fetching swiftkotlin
[544/2979] Fetching swiftkotlin, swift-android-native
[1171/6135] Fetching swiftkotlin, swift-android-native, swiftjavalang
Fetched https://github.com/swift-android-sdk/swift-android-native.git (0.51s)
[1347/4124] Fetching swiftkotlin, swiftjavalang
Fetched https://github.com/stackotter/SwiftKotlin.git (0.56s)
Fetched https://github.com/stackotter/SwiftJavaLang.git (0.56s)
Computing version for https://github.com/swhitty/swift-mutex
Computed https://github.com/swhitty/swift-mutex at 0.0.6 (0.72s)
Computing version for https://github.com/stackotter/swift-image-formats
Computed https://github.com/stackotter/swift-image-formats at 0.5.0 (0.19s)
Fetching https://github.com/the-swift-collective/libwebp
Fetching https://github.com/stackotter/jpeg
Fetching https://github.com/the-swift-collective/libpng
[1/54] Fetching libwebp
[55/84] Fetching libwebp, libpng
[85/3195] Fetching libwebp, libpng, jpeg
Fetched https://github.com/the-swift-collective/libpng (0.45s)
[86/3165] Fetching libwebp, jpeg
Fetched https://github.com/the-swift-collective/libwebp (1.71s)
Fetched https://github.com/stackotter/jpeg (1.74s)
Computing version for https://github.com/stackotter/swift-macro-toolkit
Computed https://github.com/stackotter/swift-macro-toolkit at 0.9.0 (1.95s)
Computing version for https://github.com/swiftlang/swift-java-jni-core
Computed https://github.com/swiftlang/swift-java-jni-core at 0.5.1 (0.15s)
Computing version for https://github.com/stackotter/SwiftKotlin.git
Computed https://github.com/stackotter/SwiftKotlin.git at 0.3.0 (0.15s)
Computing version for https://github.com/stackotter/SwiftJavaLang.git
Computed https://github.com/stackotter/SwiftJavaLang.git at 0.3.0 (0.17s)
Computing version for https://github.com/the-swift-collective/libwebp
Computed https://github.com/the-swift-collective/libwebp at 1.4.1 (0.19s)
Computing version for https://github.com/stackotter/jpeg
Computed https://github.com/stackotter/jpeg at 1.0.2 (0.21s)
Computing version for https://github.com/the-swift-collective/libpng
Computed https://github.com/the-swift-collective/libpng at 1.6.45 (0.19s)
Fetching https://github.com/the-swift-collective/zlib.git
[1/71] Fetching zlib
Fetched https://github.com/the-swift-collective/zlib.git (0.53s)
Computing version for https://github.com/swiftlang/swift-subprocess.git
Computed https://github.com/swiftlang/swift-subprocess.git at 0.5.0 (0.71s)
Computing version for https://github.com/the-swift-collective/zlib.git
Computed https://github.com/the-swift-collective/zlib.git at 1.3.2 (0.18s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.17s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 603.0.2 (0.31s)
Computing version for https://github.com/moreSwift/swift-winui
Computed https://github.com/moreSwift/swift-winui at 0.2.2 (0.15s)
Computing version for https://github.com/swift-android-sdk/swift-android-native.git
Computed https://github.com/swift-android-sdk/swift-android-native.git at 2.1.0 (0.30s)
Computing version for https://github.com/mxcl/Version.git
Computed https://github.com/mxcl/Version.git at 2.2.1 (0.19s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 4.2.1 (1.04s)
Computing version for https://github.com/furbytm/MetaverseKit.git
Computed https://github.com/furbytm/MetaverseKit.git at 2.0.7 (0.69s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.6.0 (0.29s)
Computing version for https://github.com/tree-sitter/tree-sitter
Computed https://github.com/tree-sitter/tree-sitter at 0.25.10 (0.15s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.8.1 (0.21s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (0.19s)
Creating working copy for https://github.com/moreSwift/AndroidKit
Working copy of https://github.com/moreSwift/AndroidKit resolved at 0.8.1
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 603.0.2
Creating working copy for https://github.com/tree-sitter/tree-sitter
Working copy of https://github.com/tree-sitter/tree-sitter resolved at 0.25.10
Creating working copy for https://github.com/stackotter/jpeg
Working copy of https://github.com/stackotter/jpeg resolved at 1.0.2
Creating working copy for https://github.com/ChimeHQ/Rearrange
Working copy of https://github.com/ChimeHQ/Rearrange resolved at 2.1.1
Creating working copy for https://github.com/wabiverse/SwiftUSD.git
Working copy of https://github.com/wabiverse/SwiftUSD.git resolved at 24.8.21
Creating working copy for https://github.com/swhitty/swift-mutex
Working copy of https://github.com/swhitty/swift-mutex resolved at 0.0.6
Creating working copy for https://github.com/stackotter/swift-image-formats
Working copy of https://github.com/stackotter/swift-image-formats resolved at 0.5.0
Creating working copy for https://github.com/moreSwift/swift-winui
Working copy of https://github.com/moreSwift/swift-winui resolved at 0.2.2
Creating working copy for https://github.com/swiftlang/swift-java-jni-core
Working copy of https://github.com/swiftlang/swift-java-jni-core resolved at 0.5.1
Creating working copy for https://github.com/stackotter/swift-java
Working copy of https://github.com/stackotter/swift-java resolved at 0.5.1
Creating working copy for https://github.com/stackotter/SwiftKotlin.git
Working copy of https://github.com/stackotter/SwiftKotlin.git resolved at 0.3.0
Creating working copy for https://github.com/wabiverse/KrakenPlugs.git
Working copy of https://github.com/wabiverse/KrakenPlugs.git resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.8.1
Creating working copy for https://github.com/furbytm/swift-cross-ui.git
Working copy of https://github.com/furbytm/swift-cross-ui.git resolved at 0.7.2
Creating working copy for https://github.com/onevcat/Rainbow.git
Working copy of https://github.com/onevcat/Rainbow.git resolved at 4.2.1
Creating working copy for https://github.com/the-swift-collective/zlib.git
Working copy of https://github.com/the-swift-collective/zlib.git resolved at 1.3.2
Creating working copy for https://github.com/stackotter/SwiftJavaLang.git
Working copy of https://github.com/stackotter/SwiftJavaLang.git resolved at 0.3.0
Creating working copy for https://github.com/swift-android-sdk/swift-android-native.git
Working copy of https://github.com/swift-android-sdk/swift-android-native.git resolved at 2.1.0
Creating working copy for https://github.com/the-swift-collective/libpng
Working copy of https://github.com/the-swift-collective/libpng resolved at 1.6.45
Creating working copy for https://github.com/stackotter/swift-macro-toolkit
Working copy of https://github.com/stackotter/swift-macro-toolkit resolved at 0.9.0
Creating working copy for https://github.com/ChimeHQ/SwiftTreeSitter
Working copy of https://github.com/ChimeHQ/SwiftTreeSitter resolved at 0.25.0
Creating working copy for https://github.com/swiftlang/swift-subprocess.git
Working copy of https://github.com/swiftlang/swift-subprocess.git resolved at 0.5.0
Creating working copy for https://github.com/furbytm/MetaverseKit.git
Working copy of https://github.com/furbytm/MetaverseKit.git resolved at 2.0.7
Creating working copy for https://github.com/ChimeHQ/TextFormation.git
Working copy of https://github.com/ChimeHQ/TextFormation.git resolved at 0.9.0
Creating working copy for https://github.com/wabiverse/MetaversePlugin.git
Working copy of https://github.com/wabiverse/MetaversePlugin.git resolved at 1.0.0
Creating working copy for https://github.com/ChimeHQ/TextStory.git
Working copy of https://github.com/ChimeHQ/TextStory.git resolved at 0.9.2
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/the-swift-collective/libwebp
Working copy of https://github.com/the-swift-collective/libwebp resolved at 1.4.1
Creating working copy for https://github.com/apple/swift-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.6.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.8.2
Creating working copy for https://github.com/mxcl/Version.git
Working copy of https://github.com/mxcl/Version.git resolved at 2.2.1
warning: 'metaversekit': you may be able to install libbz2 using your system-packager:
apt-get install libbz2-dev
warning: 'swift-cross-ui': you may be able to install gtk+-3.0 using your system-packager:
apt-get install libgtk-3-dev clang
warning: 'swift-cross-ui': you may be able to install gtk4 using your system-packager:
apt-get install libgtk-4-dev clang
Building for debugging...
[Computing dependencies]
[Provisioning 1 / 205]
[Constructing description]
[Pre-planning 1 / 5317]
[Planning 179 / 5317]
[Planning 1435 / 5317]
[Planning 2320 / 5317]
[Planning 3108 / 5317]
[Planning 4020 / 5317]
[Planning 4881 / 5317]
[Planning deferred tasks]
[Describing: 1085 / 13452]
[Constructing 770 / 13452]
[Constructing 3058 / 13452]
[Constructing 8997 / 13452]
[Starting]
[6 / 4449] Rearrange-product
[356 / 4449] Plug
warning: no rule to process file '/host/spi-builder-workspace/Sources/Kraken/Resources/Assets.xcassets' of type 'folder.assetcatalog' for architecture 'wasm32'
[626 / 4449] pxr
[632 / 4449] ZStandard
[639 / 4449] ZStandard
[641 / 4449] ZStandard
[649 / 4449] ZStandard
[660 / 4449] ZStandard
[667 / 4452] ZLib
[1m/host/spi-builder-workspace/.build/checkouts/zlib/zlib/gzwrite.c:78:20: [0m[0;1;31merror: [0m[1mcall to undeclared function 'write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration][0m
78 | writ = write(state->fd, strm->next_in, put);[0m
| [0;1;32m ^
[0m[1m/host/spi-builder-workspace/.build/checkouts/zlib/zlib/gzwrite.c:78:20: [0m[0;1;36mnote: [0mdid you mean 'fwrite'?[0m
In file included from /host/spi-builder-workspace/.build/checkouts/zlib/zlib/gzwrite.c:6:
In file included from /host/spi-builder-workspace/.build/checkouts/zlib/zlib/gzguts.h:32:
[1m/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/include/wasm32-wasip1/stdio.h:103:8: [0m[0;1;36mnote: [0m'fwrite' declared here[0m
103 | size_t fwrite([0;34mconst[0m [0;34mvoid[0m *[0;34m__restrict[0m, size_t, size_t, FILE *[0;34m__restrict[0m);[0m
| [0;1;32m ^
[0m[1m/host/spi-builder-workspace/.build/checkouts/zlib/zlib/gzwrite.c:108:24: [0m[0;1;31merror: [0m[1mcall to undeclared function 'write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration][0m
108 | writ = write(state->fd, state->x.next, put);[0m
| [0;1;32m ^
[0m[1m/host/spi-builder-workspace/.build/checkouts/zlib/zlib/gzwrite.c:627:9: [0m[0;1;31merror: [0m[1mcall to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration][0m
627 | [0;34mif[0m (close(state->fd) == -[0;32m1[0m)[0m
| [0;1;32m ^
[0m[1m/host/spi-builder-workspace/.build/checkouts/zlib/zlib/gzwrite.c:627:9: [0m[0;1;36mnote: [0mdid you mean 'fclose'?[0m
In file included from /host/spi-builder-workspace/.build/checkouts/zlib/zlib/gzwrite.c:6:
In file included from /host/spi-builder-workspace/.build/checkouts/zlib/zlib/gzguts.h:32:
[1m/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/include/wasm32-wasip1/stdio.h:85:5: [0m[0;1;36mnote: [0m'fclose' declared here[0m
85 | [0;34mint[0m fclose(FILE *);[0m
| [0;1;32m ^
[0m3 errors generated.
error: CompileC /host/spi-builder-workspace/.build/out/Intermediates.noindex/zlib.build/Debug-webassembly-wasm32/ZLibC-t.build/Objects-normal/wasm32/gzwrite.o /host/spi-builder-workspace/.build/checkouts/zlib/zlib/gzwrite.c 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/zlib.build/Debug-webassembly-wasm32/ZLibC-t.build/Objects-normal/wasm32/9f65232cb83f8421e3a495a5062eba382369c975104ee97bafc405ab795bfc5e-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-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-implicit-fallthrough -fstrict-aliasing -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -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/zlib.build/Debug-webassembly-wasm32/ZLibC-t.build/Objects-normal/wasm32/9f65232cb83f8421e3a495a5062eba382369c975104ee97bafc405ab795bfc5e-common-args.resp -MMD -MT dependencies -MF /host/spi-builder-workspace/.build/out/Intermediates.noindex/zlib.build/Debug-webassembly-wasm32/ZLibC-t.build/Objects-normal/wasm32/gzwrite.d --serialize-diagnostics /host/spi-builder-workspace/.build/out/Intermediates.noindex/zlib.build/Debug-webassembly-wasm32/ZLibC-t.build/Objects-normal/wasm32/gzwrite.dia -c /host/spi-builder-workspace/.build/checkouts/zlib/zlib/gzwrite.c -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/zlib.build/Debug-webassembly-wasm32/ZLibC-t.build/Objects-normal/wasm32/gzwrite.o
[675 / 4452] ZLibC
[1m/host/spi-builder-workspace/.build/checkouts/zlib/zlib/gzread.c:22:15: [0m[0;1;31merror: [0m[1mcall to undeclared function 'read'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration][0m
22 | ret = read(state->fd, buf + *have, get);[0m
| [0;1;32m ^
[0m[1m/host/spi-builder-workspace/.build/checkouts/zlib/zlib/gzread.c:22:15: [0m[0;1;36mnote: [0mdid you mean 'fread'?[0m
In file included from /host/spi-builder-workspace/.build/checkouts/zlib/zlib/gzread.c:6:
In file included from /host/spi-builder-workspace/.build/checkouts/zlib/zlib/gzguts.h:32:
[1m/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/include/wasm32-wasip1/stdio.h:102:8: [0m[0;1;36mnote: [0m'fread' declared here[0m
102 | size_t fread([0;34mvoid[0m *[0;34m__restrict[0m, size_t, size_t, FILE *[0;34m__restrict[0m);[0m
| [0;1;32m ^
[0m[1m/host/spi-builder-workspace/.build/checkouts/zlib/zlib/gzread.c:600:11: [0m[0;1;31merror: [0m[1mcall to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration][0m
600 | ret = close(state->fd);[0m
| [0;1;32m ^
[0m[1m/host/spi-builder-workspace/.build/checkouts/zlib/zlib/gzread.c:600:11: [0m[0;1;36mnote: [0mdid you mean 'fclose'?[0m
In file included from /host/spi-builder-workspace/.build/checkouts/zlib/zlib/gzread.c:6:
In file included from /host/spi-builder-workspace/.build/checkouts/zlib/zlib/gzguts.h:32:
[1m/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/include/wasm32-wasip1/stdio.h:85:5: [0m[0;1;36mnote: [0m'fclose' declared here[0m
85 | [0;34mint[0m fclose(FILE *);[0m
| [0;1;32m ^
[0m2 errors generated.
error: CompileC /host/spi-builder-workspace/.build/out/Intermediates.noindex/zlib.build/Debug-webassembly-wasm32/ZLibC-t.build/Objects-normal/wasm32/gzread.o /host/spi-builder-workspace/.build/checkouts/zlib/zlib/gzread.c 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/zlib.build/Debug-webassembly-wasm32/ZLibC-t.build/Objects-normal/wasm32/9f65232cb83f8421e3a495a5062eba382369c975104ee97bafc405ab795bfc5e-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-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-implicit-fallthrough -fstrict-aliasing -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -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/zlib.build/Debug-webassembly-wasm32/ZLibC-t.build/Objects-normal/wasm32/9f65232cb83f8421e3a495a5062eba382369c975104ee97bafc405ab795bfc5e-common-args.resp -MMD -MT dependencies -MF /host/spi-builder-workspace/.build/out/Intermediates.noindex/zlib.build/Debug-webassembly-wasm32/ZLibC-t.build/Objects-normal/wasm32/gzread.d --serialize-diagnostics /host/spi-builder-workspace/.build/out/Intermediates.noindex/zlib.build/Debug-webassembly-wasm32/ZLibC-t.build/Objects-normal/wasm32/gzread.dia -c /host/spi-builder-workspace/.build/checkouts/zlib/zlib/gzread.c -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/zlib.build/Debug-webassembly-wasm32/ZLibC-t.build/Objects-normal/wasm32/gzread.o
error: Build failed
BUILD FAILURE 6.4 wasm