The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build XCRemoteCache, reference master (75bac3), with Swift 6.2 (beta) for Wasm on 21 Jun 2025 18:53:30 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/spotify/XCRemoteCache.git
Reference: master
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/spotify/XCRemoteCache
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 75bac32 Merge pull request #227 from CharlieSuP1/master
Cloned https://github.com/spotify/XCRemoteCache.git
Revision (git rev-parse @):
75bac3293a3e881d51788a8ad5a461c90eaf6b23
SUCCESS checkout https://github.com/spotify/XCRemoteCache.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/spotify/XCRemoteCache.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/marmelroy/Zip.git
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/tuist/XcodeProj.git
Fetching https://github.com/jpsim/Yams.git
[1/1989] Fetching zip
[200/4071] Fetching zip, swift-docc-plugin
[709/27412] Fetching zip, swift-docc-plugin, xcodeproj
[9304/38286] Fetching zip, swift-docc-plugin, xcodeproj, yams
[15197/53666] Fetching zip, swift-docc-plugin, xcodeproj, yams, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.05s)
[36655/38286] Fetching zip, swift-docc-plugin, xcodeproj, yams
Fetched https://github.com/apple/swift-docc-plugin from cache (2.55s)
Fetched https://github.com/tuist/XcodeProj.git from cache (2.55s)
Fetched https://github.com/marmelroy/Zip.git from cache (2.55s)
Fetched https://github.com/jpsim/Yams.git from cache (2.55s)
Computing version for https://github.com/marmelroy/Zip.git
Computed https://github.com/marmelroy/Zip.git at 2.1.2 (2.95s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.4 (1.23s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3414] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.87s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.71s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (1.26s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.5.0 (0.41s)
Computing version for https://github.com/tuist/XcodeProj.git
Computed https://github.com/tuist/XcodeProj.git at 8.27.7 (0.77s)
Fetching https://github.com/kylef/PathKit.git
Fetching https://github.com/tadija/AEXML.git
[1/1411] Fetching pathkit
[58/3538] Fetching pathkit, aexml
Fetched https://github.com/kylef/PathKit.git from cache (0.59s)
Fetched https://github.com/tadija/AEXML.git from cache (0.59s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (4.08s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.31s)
Computing version for https://github.com/tadija/AEXML.git
Computed https://github.com/tadija/AEXML.git at 4.7.0 (1.57s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.42s)
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/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 1.0.1
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.4.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.4
Creating working copy for https://github.com/marmelroy/Zip.git
Working copy of https://github.com/marmelroy/Zip.git resolved at 2.1.2
Creating working copy for https://github.com/tadija/AEXML.git
Working copy of https://github.com/tadija/AEXML.git resolved at 4.7.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 0.5.0
Creating working copy for https://github.com/tuist/XcodeProj.git
Working copy of https://github.com/tuist/XcodeProj.git resolved at 8.27.7
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/70] Write sources
/host/spi-builder-workspace/.build/checkouts/Zip/Zip/minizip/zip.c:21:10: fatal error: 'zlib.h' file not found
   21 | #include <zlib.h>
      |          ^~~~~~~~
1 error generated.
[17/70] Compiling Minizip zip.c
[17/70] Compiling reader.c
In file included from /host/spi-builder-workspace/.build/checkouts/Zip/Zip/minizip/ioapi.c:17:
/host/spi-builder-workspace/.build/checkouts/Zip/Zip/minizip/include/ioapi.h:36:10: fatal error: 'zlib.h' file not found
   36 | #include <zlib.h>
      |          ^~~~~~~~
1 error generated.
[17/70] Compiling Minizip ioapi.c
/host/spi-builder-workspace/.build/checkouts/Zip/Zip/minizip/unzip.c:27:10: fatal error: 'zlib.h' file not found
   27 | #include <zlib.h>
      |          ^~~~~~~~
[17/70] Compiling Minizip unzip.c
[17/70] Compiling parser.c
[17/70] Compiling writer.c
[17/70] Compiling scanner.c
[17/70] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.2 wasm