Build Information
Failed to build swift-corelibs-foundation, reference main (b40c41), with Swift 6.4 for Wasm on 20 Oct 2026 01:51:10 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344843-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.0-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swiftlang/swift-corelibs-foundation.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/swiftlang/swift-corelibs-foundation
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at b40c41e Accept Set-Cookie response header fields regardless of case (#5613)
Cloned https://github.com/swiftlang/swift-corelibs-foundation.git
Revision (git rev-parse @):
b40c41e73612385c24be821bdfe95a67fdb157a5
SUCCESS checkout https://github.com/swiftlang/swift-corelibs-foundation.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.4
Building package at path: $PWD
https://github.com/swiftlang/swift-corelibs-foundation.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-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.0-RELEASE_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:7a2e5502d3bb6640f9b2bbb1dadf9967024364ce9ed0ed0bd80cf1b699d193fd
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/apple/swift-foundation-icu
[1/4800] Fetching swift-foundation-icu
Fetched https://github.com/apple/swift-foundation-icu (6.82s)
Fetching https://github.com/apple/swift-foundation
[1/38601] Fetching swift-foundation
Fetched https://github.com/apple/swift-foundation (19.28s)
Fetching https://github.com/swiftlang/swift-syntax
[1/80878] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax (3.55s)
Fetching https://github.com/apple/swift-collections
[1/28904] Fetching swift-collections
Fetched https://github.com/apple/swift-collections (1.44s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.7.3 (1.69s)
Creating working copy for https://github.com/apple/swift-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.7.3
Creating working copy for https://github.com/apple/swift-foundation-icu
Working copy of https://github.com/apple/swift-foundation-icu resolved at main (e8538d2)
Creating working copy for https://github.com/apple/swift-foundation
Working copy of https://github.com/apple/swift-foundation resolved at main (d7bae74)
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at main (fbbd990)
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 1390]
[Planning 933 / 1390]
[Planning deferred tasks]
[Constructing 865 / 3476]
[Starting]
[233 / 1051] _FoundationInternationalizationData
[240 / 1054] _FoundationICU
[241 / 1054] _FoundationICU
[245 / 1054] _FoundationICU
[248 / 1054] _FoundationICU
[250 / 1054] _FoundationICU
[255 / 1054] _FoundationICU
[256 / 1054] _FoundationICU
[258 / 1054] _FoundationICU
[260 / 1054] _FoundationICU
[265 / 1054] _FoundationICU
[267 / 1054] _FoundationICU
[269 / 1054] _FoundationICU
[272 / 1054] _FoundationICU
[273 / 1054] _FoundationICU
[275 / 1054] _FoundationICU
[276 / 1054] _FoundationICU
[278 / 1054] _FoundationICU
[281 / 1054] _FoundationICU
[282 / 1054] _FoundationICU
[283 / 1054] _FoundationICU
[285 / 1054] _FoundationICU
[286 / 1054] _FoundationICU
[290 / 1054] _FoundationICU
[292 / 1054] _FoundationICU
[293 / 1054] _FoundationICU
[294 / 1054] _FoundationICU
[297 / 1054] _FoundationICU
[300 / 1054] _FoundationICU
[302 / 1054] _FoundationICU
[303 / 1054] _FoundationICU
[309 / 1054] _FoundationICU
[310 / 1054] _FoundationICU
[311 / 1054] _FoundationICU
[313 / 1054] _FoundationICU
[316 / 1054] _FoundationICU
[318 / 1054] _FoundationICU
[319 / 1054] _FoundationICU
[324 / 1054] _FoundationICU
[325 / 1054] _FoundationICU
[327 / 1054] _FoundationICU
[331 / 1054] _FoundationICU
[336 / 1054] _FoundationICU
[339 / 1054] _FoundationICU
[342 / 1054] _FoundationICU
[344 / 1054] _FoundationICU
[346 / 1054] _FoundationICU
[349 / 1054] _FoundationICU
[353 / 1054] _FoundationICU
[354 / 1054] _FoundationICU
[355 / 1054] _FoundationICU
[358 / 1054] _FoundationICU
[362 / 1054] _FoundationICU
[363 / 1054] _FoundationICU
[364 / 1054] _FoundationICU
[366 / 1054] _FoundationICU
[368 / 1054] _FoundationICU
[370 / 1054] _FoundationICU
[372 / 1054] _FoundationICU
[376 / 1054] _FoundationICU
[378 / 1054] _FoundationICU
[380 / 1054] _FoundationICU
[381 / 1054] _FoundationICU
[383 / 1054] _FoundationICU
[384 / 1054] _FoundationICU
[387 / 1054] _FoundationICU
[388 / 1054] _FoundationICU
[392 / 1054] _FoundationICU
[396 / 1054] _FoundationICU
[397 / 1054] _FoundationICU
[398 / 1054] _FoundationICU
[401 / 1054] _FoundationICU
[403 / 1054] _FoundationICU
[405 / 1054] _FoundationICU
[408 / 1054] _FoundationICU
[409 / 1054] _FoundationICU
[414 / 1054] _FoundationICU
[415 / 1054] _FoundationICU
[417 / 1054] _FoundationICU
[418 / 1054] _FoundationICU
[421 / 1054] _FoundationICU
[422 / 1054] _FoundationICU
[426 / 1054] _FoundationICU
[427 / 1054] _FoundationICU
[429 / 1054] _FoundationICU
[432 / 1054] _FoundationICU
[436 / 1054] _FoundationICU
[438 / 1054] _FoundationICU
[441 / 1054] _FoundationICU
[442 / 1054] _FoundationICU
[444 / 1054] _FoundationICU
[452 / 1054] _FoundationICU
[454 / 1054] _FoundationICU
[456 / 1054] _FoundationICU
[458 / 1054] _FoundationICU
[460 / 1054] _FoundationICU
[463 / 1054] _FoundationICU
[467 / 1054] _FoundationICU
[469 / 1054] _FoundationICU
[471 / 1054] _FoundationICU
[473 / 1054] _FoundationICU
[476 / 1054] _FoundationICU
[478 / 1054] _FoundationICU
[481 / 1054] _FoundationICU
[483 / 1054] _FoundationICU
[485 / 1054] _FoundationICU
[486 / 1054] _FoundationICU
[487 / 1054] _FoundationICU
[490 / 1054] _FoundationICU
[492 / 1054] _FoundationICU
[496 / 1054] _FoundationICU
[500 / 1054] _FoundationICU
[502 / 1054] _FoundationICU
[503 / 1054] _FoundationICU
[506 / 1054] _FoundationICU
[510 / 1054] _FoundationICU
[513 / 1054] _FoundationICU
[516 / 1054] _FoundationICU
[518 / 1054] _FoundationICU
[520 / 1054] _FoundationICU
[522 / 1054] _FoundationICU
[524 / 1054] _FoundationICU
[525 / 1054] _FoundationICU
[526 / 1054] _FoundationICU
[527 / 1054] _FoundationICU
[528 / 1054] _FoundationICU
[534 / 1054] _FoundationICU
[535 / 1054] _FoundationICU
[538 / 1054] _FoundationICU
[539 / 1054] _FoundationICU
[541 / 1054] _FoundationICU
[544 / 1054] _FoundationICU
[545 / 1054] _FoundationICU
[547 / 1054] _FoundationICU
[550 / 1054] _FoundationICU
[552 / 1054] _FoundationICU
[553 / 1054] _FoundationICU
[554 / 1054] _FoundationICU
[557 / 1054] _FoundationICU
[561 / 1054] _FoundationICU
[563 / 1054] _FoundationICU
[564 / 1054] _FoundationICU
[566 / 1054] _FoundationICU
[569 / 1054] _FoundationICU
[571 / 1054] _FoundationICU
[573 / 1054] _FoundationICU
[574 / 1054] _FoundationICU
[575 / 1054] _FoundationICU
[578 / 1054] _FoundationICU
[579 / 1054] _FoundationICU
[581 / 1054] _FoundationICU
[582 / 1054] _FoundationICU
[585 / 1054] _FoundationICU
[587 / 1054] _FoundationICU
[591 / 1054] _FoundationICU
[592 / 1054] _FoundationICU
[594 / 1054] _FoundationICU
[597 / 1054] _FoundationICU
[599 / 1054] _FoundationICU
[601 / 1054] _FoundationICU
[603 / 1054] _FoundationICU
[605 / 1054] _FoundationICU
[607 / 1054] _FoundationICU
[609 / 1054] _FoundationICU
[612 / 1054] _FoundationICU
[615 / 1054] _FoundationICU
[616 / 1054] _FoundationICU
[618 / 1054] _FoundationICU
[623 / 1054] _FoundationICU
[625 / 1054] _FoundationICU
[626 / 1054] _FoundationICU
[629 / 1054] _FoundationICU
[632 / 1054] _FoundationICU
[634 / 1054] _FoundationICU
[638 / 1054] _FoundationICU
[639 / 1054] _FoundationICU
[643 / 1054] _FoundationICU
[646 / 1054] _FoundationICU
[649 / 1054] _FoundationICU
[650 / 1054] _FoundationICU
[654 / 1054] _FoundationICU
[656 / 1054] _FoundationICU
[659 / 1054] _FoundationICU
[663 / 1054] _FoundationICU
[665 / 1054] _FoundationICU
[668 / 1054] _FoundationICU
[670 / 1054] _FoundationICU
[672 / 1054] _FoundationICU
[675 / 1054] _FoundationICU
[676 / 1054] _FoundationICU
[677 / 1054] _FoundationICU
[679 / 1054] _FoundationICU
[681 / 1054] _FoundationICU
[682 / 1054] _FoundationICU
[684 / 1054] _FoundationICU
[687 / 1054] _FoundationICU
[689 / 1054] _FoundationICU
[691 / 1054] _FoundationICU
[694 / 1054] _FoundationICU
[697 / 1054] _FoundationICU
[699 / 1054] _FoundationICU
[701 / 1054] _FoundationICU
[703 / 1054] _FoundationICU
[706 / 1054] _FoundationICU
[710 / 1054] _FoundationICU
[712 / 1054] _FoundationICU
[716 / 1054] _FoundationICU
[1m/host/spi-builder-workspace/Sources/_CFXMLInterface/CFXMLInterface.c:16:10: [0m[0;1;31mfatal error: [0m[1m'libxml/globals.h' file not found[0m
16 | #include <libxml/globals.h>[0m
| [0;1;32m ^~~~~~~~~~~~~~~~~~
[0m1 error generated.
error: CompileC /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-corelibs-foundation.build/Debug-webassembly-wasm32/_CFXMLInterface-t.build/Objects-normal/wasm32/CFXMLInterface.o /host/spi-builder-workspace/Sources/_CFXMLInterface/CFXMLInterface.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/swift-corelibs-foundation.build/Debug-webassembly-wasm32/_CFXMLInterface-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 -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.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk -Wno-shorten-64-to-32 -Wno-deprecated-declarations -Wno-unreachable-code -Wno-conditional-uninitialized -Wno-unused-variable -Wno-unused-function -Wno-microsoft-enum-forward-reference -Wno-int-conversion @/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-corelibs-foundation.build/Debug-webassembly-wasm32/_CFXMLInterface-t.build/Objects-normal/wasm32/9f65232cb83f8421e3a495a5062eba382369c975104ee97bafc405ab795bfc5e-common-args.resp -MMD -MT dependencies -MF /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-corelibs-foundation.build/Debug-webassembly-wasm32/_CFXMLInterface-t.build/Objects-normal/wasm32/CFXMLInterface.d --serialize-diagnostics /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-corelibs-foundation.build/Debug-webassembly-wasm32/_CFXMLInterface-t.build/Objects-normal/wasm32/CFXMLInterface.dia -c /host/spi-builder-workspace/Sources/_CFXMLInterface/CFXMLInterface.c -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-corelibs-foundation.build/Debug-webassembly-wasm32/_CFXMLInterface-t.build/Objects-normal/wasm32/CFXMLInterface.o
error: Build failed
BUILD FAILURE 6.4 wasm