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 snap-style, reference main (07f9b6), with Swift 6.2 for Wasm on 29 Nov 2025 15:49:20 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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-wasip1 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/simonnickel/snap-style.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/simonnickel/snap-style
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 07f9b6d Rename file
Cloned https://github.com/simonnickel/snap-style.git
Revision (git rev-parse @):
07f9b6d597c06e52f6005a5758fc6bf1976f5f63
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/simonnickel/snap-style.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/simonnickel/snap-style.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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-wasip1 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:302e3f347c593123f3d337e3da1bfe6e802bb8867614e9dfa745c72e13ca8eeb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/embedded-swift-sdk.json
Fetching https://github.com/simonnickel/snap-foundation.git
[1/161] Fetching snap-foundation
Fetched https://github.com/simonnickel/snap-foundation.git from cache (0.19s)
Fetching https://github.com/simonnickel/snap-core.git
[1/418] Fetching snap-core
Fetched https://github.com/simonnickel/snap-core.git from cache (0.18s)
Creating working copy for https://github.com/simonnickel/snap-core.git
Working copy of https://github.com/simonnickel/snap-core.git resolved at main (38d5e6d)
Creating working copy for https://github.com/simonnickel/snap-foundation.git
Working copy of https://github.com/simonnickel/snap-foundation.git resolved at main (75dfea4)
Building for debugging...
[0/11] Write sources
[10/11] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/13] Emitting module SnapFoundation
/host/spi-builder-workspace/.build/checkouts/snap-foundation/Sources/SnapFoundation/CoreFoundation/CGSize+Adjusted.swift:6:8: error: no such module 'Foundation'
 4 | //
 5 |
 6 | import Foundation
   |        `- error: no such module 'Foundation'
 7 |
 8 | extension CGSize {
[13/13] Compiling SnapFoundation CGSize+Adjusted.swift
/host/spi-builder-workspace/.build/checkouts/snap-foundation/Sources/SnapFoundation/CoreFoundation/CGSize+Adjusted.swift:6:8: error: no such module 'Foundation'
 4 | //
 5 |
 6 | import Foundation
   |        `- error: no such module 'Foundation'
 7 |
 8 | extension CGSize {
BUILD FAILURE 6.2 wasm