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 SpryKit, reference main (4a6c58), with Swift 6.2 (beta) for Wasm on 17 Aug 2025 14:49:08 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/NikSativa/SpryKit.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/NikSativa/SpryKit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 4a6c58a Spry + Diff
Cloned https://github.com/NikSativa/SpryKit.git
Revision (git rev-parse @):
4a6c58a3d730f64735fda865e8d35b3f8c9bfeb3
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/NikSativa/SpryKit.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/NikSativa/SpryKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:3160178686d03086db4c1712d78c1980537bb37521128c64baade7f466b6b4aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
Fetching https://github.com/apple/swift-syntax.git
[1/1257] Fetching cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (0.84s)
[1/71756] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git from cache (4.46s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 600.0.1 (6.87s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (0.37s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/455] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.22s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (0.58s)
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.2.2
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.2.1
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 600.0.1
Building for debugging...
[0/75] Write sources
[29/75] Copying PrivacyInfo.xcprivacy
[30/75] Write sources
[32/75] Compiling _SwiftSyntaxCShims dummy.c
[33/75] Compiling CwlMachBadInstructionHandler mach_excServer.c
In file included from /host/spi-builder-workspace/.build/checkouts/CwlCatchException/Sources/CwlCatchExceptionSupport/CwlCatchException.m:21:
/host/spi-builder-workspace/.build/checkouts/CwlCatchException/Sources/CwlCatchExceptionSupport/include/CwlCatchException.h:21:9: fatal error: 'Foundation/Foundation.h' file not found
   21 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[34/75] Compiling CwlCatchExceptionSupport CwlCatchException.m
[34/75] Compiling CwlMachBadInstructionHandler CwlMachBadInstructionHandler.m
[34/75] Compiling _SwiftSyntaxCShims dummy.c
[34/75] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.2 wasm