The Swift Package Index logo.Swift Package Index

Build Information

Failed to build TuistSDK, reference main (46cc51), with Swift 6.2 for Wasm on 17 Dec 2025 20:11:03 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/tuist/sdk.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/tuist/sdk
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 46cc519 [Release] TuistSDK 0.2.0
Cloned https://github.com/tuist/sdk.git
Revision (git rev-parse @):
46cc5193f3fb9ae5ab7ac161086cd91b93383728
SUCCESS checkout https://github.com/tuist/sdk.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/tuist/sdk.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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:ea378e7d7954b9ce813c0ebc8f6bc113436e2b3d5aa4fd45225da8bf07e6be73
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/apple/swift-http-types
Fetching https://github.com/apple/swift-openapi-runtime
Fetching https://github.com/apple/swift-openapi-urlsession
[1/951] Fetching swift-http-types
[382/2014] Fetching swift-http-types, swift-openapi-urlsession
[1782/7842] Fetching swift-http-types, swift-openapi-urlsession, swift-openapi-runtime
Fetched https://github.com/apple/swift-http-types from cache (0.48s)
[5551/6891] Fetching swift-openapi-urlsession, swift-openapi-runtime
Fetched https://github.com/apple/swift-openapi-urlsession from cache (0.46s)
[4663/5828] Fetching swift-openapi-runtime
Fetched https://github.com/apple/swift-openapi-runtime from cache (0.71s)
Computing version for https://github.com/apple/swift-openapi-urlsession
Computed https://github.com/apple/swift-openapi-urlsession at 1.2.0 (4.76s)
Fetching https://github.com/apple/swift-collections
[1/18378] Fetching swift-collections
Fetched https://github.com/apple/swift-collections from cache (2.04s)
Computing version for https://github.com/apple/swift-http-types
Computed https://github.com/apple/swift-http-types at 1.5.1 (2.71s)
Computing version for https://github.com/apple/swift-openapi-runtime
Computed https://github.com/apple/swift-openapi-runtime at 1.9.0 (0.68s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.3.0 (1.19s)
Creating working copy for https://github.com/apple/swift-http-types
Working copy of https://github.com/apple/swift-http-types resolved at 1.5.1
Creating working copy for https://github.com/apple/swift-openapi-runtime
Working copy of https://github.com/apple/swift-openapi-runtime resolved at 1.9.0
Creating working copy for https://github.com/apple/swift-openapi-urlsession
Working copy of https://github.com/apple/swift-openapi-urlsession resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.3.0
warning: 'spi-builder-workspace': found 2 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/TuistSDK/openapi-generator-config.yaml
    /host/spi-builder-workspace/Sources/TuistSDK/openapi.yml
Building for debugging...
[0/7] Write sources
[6/7] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/11] Emitting module HTTPTypes
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPRequest+URL.swift:18:8: error: no such module 'Foundation'
 16 | import FoundationEssentials
 17 | #else  // canImport(FoundationEssentials)
 18 | import Foundation
    |        `- error: no such module 'Foundation'
 19 | #if canImport(CoreFoundation)
 20 | import CoreFoundation
[9/11] Emitting module InternalCollectionsUtilities
[11/12] Compiling HTTPTypes HTTPField.swift
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPRequest+URL.swift:18:8: error: no such module 'Foundation'
 16 | import FoundationEssentials
 17 | #else  // canImport(FoundationEssentials)
 18 | import Foundation
    |        `- error: no such module 'Foundation'
 19 | #if canImport(CoreFoundation)
 20 | import CoreFoundation
BUILD FAILURE 6.2 wasm