Build Information
Failed to build swift-usd, reference dev (fbddd2), with Swift 6.4 for Wasm on 4 Oct 2026 08:22:52 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344844-2":/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 --target UsdView 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/wabiverse/swift-usd.git
Reference: dev
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/swift-usd
* branch dev -> FETCH_HEAD
* [new branch] dev -> origin/dev
HEAD is now at fbddd26 Allow delegates to draw their own selection outline.
Cloned https://github.com/wabiverse/swift-usd.git
Revision (git rev-parse @):
fbddd26ce1e54c70ff8130a17ff267cf283a256e
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/wabiverse/swift-usd.git at dev
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.4
Building package at path: $PWD
https://github.com/wabiverse/swift-usd.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-2":/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 --target UsdView 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
warning: 'spi-builder-workspace': Building OpenUSD from source
Fetching https://github.com/onevcat/Rainbow.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-argument-parser
[1/8232] Fetching swift-log
[84/9746] Fetching swift-log, rainbow
[9747/28793] Fetching swift-log, rainbow, swift-argument-parser
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/swiftlang/swift-docc-plugin
Fetched https://github.com/onevcat/Rainbow.git (0.80s)
[15089/27279] Fetching swift-log, swift-argument-parser
Fetching https://github.com/wabiverse/MetaverseKit.git
[27280/29624] Fetching swift-log, swift-argument-parser, swift-docc-plugin
[27492/42215] Fetching swift-log, swift-argument-parser, swift-docc-plugin, metaversekit
Fetched https://github.com/apple/swift-argument-parser (1.29s)
[8616/23168] Fetching swift-log, swift-docc-plugin, metaversekit
Fetching https://github.com/moreSwift/swift-cross-ui.git
Fetching https://github.com/mxcl/Version.git
Fetched https://github.com/apple/swift-log.git (1.42s)
Fetched https://github.com/swiftlang/swift-docc-plugin (0.66s)
Fetching https://github.com/apple/SwiftUsd.git
[630/12591] Fetching metaversekit
[3023/42505] Fetching metaversekit, swift-cross-ui
[3024/122768] Fetching metaversekit, swift-cross-ui, swift-syntax
[5275/123079] Fetching metaversekit, swift-cross-ui, swift-syntax, version
Fetched https://github.com/mxcl/Version.git (0.91s)
[11413/122768] Fetching metaversekit, swift-cross-ui, swift-syntax
Fetched https://github.com/moreSwift/swift-cross-ui.git (4.38s)
[84796/92854] Fetching metaversekit, swift-syntax
Fetched https://github.com/wabiverse/MetaverseKit.git (8.28s)
Fetched https://github.com/swiftlang/swift-syntax (9.43s)
[1/377727] Fetching swiftusd
Fetched https://github.com/apple/SwiftUsd.git (55.92s)
Computing version for https://github.com/wabiverse/MetaverseKit.git
Computed https://github.com/wabiverse/MetaverseKit.git at 2.0.9 (58.60s)
Fetching https://github.com/the-swift-collective/libpng
Fetching https://github.com/the-swift-collective/imgui
Fetching https://github.com/the-swift-collective/libwebp
Fetching https://github.com/the-swift-collective/zlib
[1/30] Fetching libpng
Fetched https://github.com/the-swift-collective/libpng (0.46s)
[1/54] Fetching libwebp
[16/125] Fetching libwebp, zlib
[87/309] Fetching libwebp, zlib, imgui
Fetched https://github.com/the-swift-collective/zlib (0.53s)
Fetched https://github.com/the-swift-collective/libwebp (0.54s)
[153/184] Fetching imgui
Fetched https://github.com/the-swift-collective/imgui (0.61s)
Computing version for https://github.com/the-swift-collective/libpng
Computed https://github.com/the-swift-collective/libpng at 1.6.45 (2.64s)
Computing version for https://github.com/the-swift-collective/libwebp
Computed https://github.com/the-swift-collective/libwebp at 1.4.1 (0.49s)
Computing version for https://github.com/the-swift-collective/imgui
Computed https://github.com/the-swift-collective/imgui at 1.92.0 (0.65s)
Computing version for https://github.com/the-swift-collective/zlib
Computed https://github.com/the-swift-collective/zlib at 1.3.2 (0.42s)
Computing version for https://github.com/moreSwift/swift-cross-ui.git
Computed https://github.com/moreSwift/swift-cross-ui.git at 0.10.0 (0.71s)
Fetching https://github.com/moreSwift/AndroidKit
Fetching https://github.com/stackotter/swift-java
Fetching https://github.com/stackotter/swift-image-formats
Fetching https://github.com/swhitty/swift-mutex
Fetching https://github.com/apple/swift-collections
[1/11145] Fetching androidkit
[113/11300] Fetching androidkit, swift-image-formats
[7066/24127] Fetching androidkit, swift-image-formats, swift-java
[21178/24451] Fetching androidkit, swift-image-formats, swift-java, swift-mutex
[22787/52989] Fetching androidkit, swift-image-formats, swift-java, swift-mutex, swift-collections
Fetching https://github.com/moreSwift/swift-winui
Fetched https://github.com/stackotter/swift-java (2.14s)
Fetching https://github.com/stackotter/swift-macro-toolkit
[1/996] Fetching swift-macro-toolkit
Fetched https://github.com/stackotter/swift-macro-toolkit (0.49s)
Fetching https://github.com/moreSwift/swift-observation-polyfill
[1/1049] Fetching swift-winui
[830/1134] Fetching swift-winui, swift-observation-polyfill
Fetched https://github.com/moreSwift/swift-observation-polyfill (0.51s)
Fetched https://github.com/swhitty/swift-mutex (3.83s)
Fetched https://github.com/stackotter/swift-image-formats (3.83s)
Fetched https://github.com/moreSwift/AndroidKit (3.83s)
Fetched https://github.com/moreSwift/swift-winui (1.73s)
Fetched https://github.com/apple/swift-collections (3.87s)
Computing version for https://github.com/stackotter/swift-java
Computed https://github.com/stackotter/swift-java at 0.5.1 (5.23s)
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
[523/5417] Fetching swift-java-jni-core, swift-subprocess
[2640/12521] Fetching swift-java-jni-core, swift-subprocess, swift-system
Fetched https://github.com/swiftlang/swift-java-jni-core (0.94s)
[9357/11914] Fetching swift-subprocess, swift-system
Fetched https://github.com/swiftlang/swift-subprocess.git (1.34s)
Fetched https://github.com/apple/swift-system (1.34s)
Computing version for https://github.com/moreSwift/AndroidKit
Computed https://github.com/moreSwift/AndroidKit at 0.8.1 (2.48s)
Fetching https://github.com/stackotter/SwiftJavaLang.git
Fetching https://github.com/stackotter/SwiftKotlin.git
Fetching https://github.com/swift-android-sdk/swift-android-native.git
[1/968] Fetching swiftkotlin
[950/2979] Fetching swiftkotlin, swift-android-native
[2980/6135] Fetching swiftkotlin, swift-android-native, swiftjavalang
Fetched https://github.com/stackotter/SwiftKotlin.git (0.94s)
Fetched https://github.com/swift-android-sdk/swift-android-native.git (0.94s)
Fetched https://github.com/stackotter/SwiftJavaLang.git (0.95s)
Computing version for https://github.com/moreSwift/swift-observation-polyfill
Computed https://github.com/moreSwift/swift-observation-polyfill at 0.1.1 (1.34s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/2727] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay (0.74s)
Computing version for https://github.com/swhitty/swift-mutex
Computed https://github.com/swhitty/swift-mutex at 0.0.6 (1.17s)
Computing version for https://github.com/moreSwift/swift-winui
Computed https://github.com/moreSwift/swift-winui at 0.2.2 (0.38s)
Computing version for https://github.com/stackotter/swift-image-formats
Computed https://github.com/stackotter/swift-image-formats at 0.5.0 (0.54s)
Fetching https://github.com/stackotter/jpeg
[1/3111] Fetching jpeg
Fetched https://github.com/stackotter/jpeg (2.37s)
Computing version for https://github.com/stackotter/swift-macro-toolkit
Computed https://github.com/stackotter/swift-macro-toolkit at 0.9.0 (2.96s)
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.25s)
Computing version for https://github.com/stackotter/SwiftKotlin.git
Computed https://github.com/stackotter/SwiftKotlin.git at 0.3.0 (0.50s)
Computing version for https://github.com/stackotter/SwiftJavaLang.git
Computed https://github.com/stackotter/SwiftJavaLang.git at 0.3.0 (0.30s)
Computing version for https://github.com/stackotter/jpeg
Computed https://github.com/stackotter/jpeg at 1.0.2 (0.40s)
Computing version for https://github.com/apple/SwiftUsd.git
Computed https://github.com/apple/SwiftUsd.git at 8.1.0 (0.61s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 603.0.0 (0.57s)
Computing version for https://github.com/swiftlang/swift-subprocess.git
Computed https://github.com/swiftlang/swift-subprocess.git at 0.5.0 (0.40s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.57s)
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 (1.12s)
Computing version for https://github.com/mxcl/Version.git
Computed https://github.com/mxcl/Version.git at 2.2.1 (1.33s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.5.0 (1.30s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3833] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit (1.34s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (2.40s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.7.1 (0.79s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 4.2.2 (1.98s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.13.1 (0.52s)
Fetching https://github.com/pointfreeco/swift-issue-reporting
[1/6170] Fetching swift-issue-reporting
Fetched https://github.com/pointfreeco/swift-issue-reporting (0.90s)
Computing version for https://github.com/pointfreeco/swift-issue-reporting
Computed https://github.com/pointfreeco/swift-issue-reporting at 2.1.1 (1.47s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.8.1 (0.46s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (0.49s)
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/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/apple/swift-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.7.1
Creating working copy for https://github.com/pointfreeco/swift-issue-reporting
Working copy of https://github.com/pointfreeco/swift-issue-reporting resolved at 2.1.1
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/libwebp
Working copy of https://github.com/the-swift-collective/libwebp resolved at 1.4.1
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/moreSwift/AndroidKit
Working copy of https://github.com/moreSwift/AndroidKit resolved at 0.8.1
Creating working copy for https://github.com/mxcl/Version.git
Working copy of https://github.com/mxcl/Version.git resolved at 2.2.1
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/onevcat/Rainbow.git
Working copy of https://github.com/onevcat/Rainbow.git resolved at 4.2.2
Creating working copy for https://github.com/moreSwift/swift-cross-ui.git
Working copy of https://github.com/moreSwift/swift-cross-ui.git resolved at 0.10.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/the-swift-collective/imgui
Working copy of https://github.com/the-swift-collective/imgui resolved at 1.92.0
Creating working copy for https://github.com/wabiverse/MetaverseKit.git
Working copy of https://github.com/wabiverse/MetaverseKit.git resolved at 2.0.9
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.5.0
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/moreSwift/swift-observation-polyfill
Working copy of https://github.com/moreSwift/swift-observation-polyfill resolved at 0.1.1
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/moreSwift/swift-winui
Working copy of https://github.com/moreSwift/swift-winui resolved at 0.2.2
Creating working copy for https://github.com/the-swift-collective/zlib
Working copy of https://github.com/the-swift-collective/zlib resolved at 1.3.2
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/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 603.0.0
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/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.13.1
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/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/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/stackotter/jpeg
Working copy of https://github.com/stackotter/jpeg resolved at 1.0.2
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/apple/SwiftUsd.git
Working copy of https://github.com/apple/SwiftUsd.git resolved at 8.1.0
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 / 224]
[Provisioning 17 / 224]
[Constructing description]
[Pre-planning 1 / 5865]
[Planning 1 / 5865]
[Planning 432 / 5865]
[Planning 659 / 5865]
[Planning 1021 / 5865]
[Planning 1081 / 5865]
[Planning 1261 / 5865]
[Planning 1409 / 5865]
[Planning 1579 / 5865]
[Planning 1755 / 5865]
[Planning 1996 / 5865]
[Planning 2131 / 5865]
[Planning 2277 / 5865]
[Planning 2429 / 5865]
[Planning 2535 / 5865]
[Planning 2688 / 5865]
[Planning 2874 / 5865]
[Planning 3083 / 5865]
[Planning 3286 / 5865]
[Planning 3432 / 5865]
[Planning 3598 / 5865]
[Planning 3766 / 5865]
[Planning 3935 / 5865]
[Planning 4077 / 5865]
[Planning 4205 / 5865]
[Planning 4346 / 5865]
[Planning 4510 / 5865]
[Planning 4690 / 5865]
[Planning 4926 / 5865]
[Planning 5069 / 5865]
[Planning 5239 / 5865]
[Planning 5393 / 5865]
[Planning 5487 / 5865]
[Planning 5606 / 5865]
[Planning 5796 / 5865]
[Planning deferred tasks]
[Finalizing plan]
[Creating build graph]
[Constructing 24 / 14863]
[Constructing 695 / 14863]
[Constructing 1225 / 14863]
[Constructing 1788 / 14863]
[Constructing 2350 / 14863]
[Constructing 2930 / 14863]
[Constructing 3400 / 14863]
[Constructing 4149 / 14863]
[Constructing 6115 / 14863]
[Constructing 10048 / 14863]
[Constructing 13216 / 14863]
[Writing build description]
[Starting]
[6 / 4932]
warning: no rule to process file '/host/spi-builder-workspace/Sources/HydraKit/Resources/Shaders/BlitShaders.metal' of type 'sourcecode.metal' for architecture 'wasm32'
warning: no rule to process file '/host/spi-builder-workspace/Sources/HydraKit/Resources/Shaders/fragment_main.metal' of type 'sourcecode.metal' for architecture 'wasm32'
warning: no rule to process file '/host/spi-builder-workspace/Sources/HydraKit/Resources/Shaders/vertex_main.metal' of type 'sourcecode.metal' for architecture 'wasm32'
[77 / 4932] pystring
[168 / 4932] swift-usd_Hdx
[235 / 4932] UsdExecImaging
[328 / 4932] SwiftSyntax
[426 / 4932] glfw-product
[513 / 4932] JPEG
[595 / 4932] Gf
[656 / 4932] swift-usd_UsdSkelImaging
[686 / 4932] swift-usd_UsdProc
[725 / 4932] swift-usd_UsdAbc
[757 / 4932] swift-usd_HdGp
[773 / 4932] swift-usd_UsdRender
[789 / 4937] pxr
[794 / 4947] ZLib
[798 / 4947] SwiftSyntax602
[800 / 4947] _SwiftSyntaxCShims
[812 / 4947] ZStandard
[813 / 4947] ZStandard
[823 / 4947] SwiftSyntax600
[828 / 4947] ZStandard
[831 / 4947] ZLib
[837 / 4947] ZStandard
[838 / 4947] ZStandard
[840 / 4947] ZStandard
[841 / 4947] ZStandard
[843 / 4947] ZStandard
[845 / 4947] ZStandard
[846 / 4947] ZStandard
[848 / 4947] ZStandard
[850 / 4947] ZStandard
[851 / 4947] ZStandard
[854 / 4947] ZStandard
[855 / 4947] ZStandard
[857 / 4947] ZStandard
[858 / 4947] ZStandard
[859 / 4947] ZStandard
[861 / 4947] ZStandard
[864 / 4947] ZLibC
[867 / 4947] ZLibC
[868 / 4947] ZLibC
[869 / 4947] ZLibC
[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
error: Build failed
BUILD FAILURE 6.4 wasm