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 XcodeTargetGraphGen, reference v1.0.0 (a73c78), with Swift 6.2 (beta) for Wasm on 20 Jun 2025 06:25:30 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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/CuriositySoftware/XcodeTargetGraphGen.git
Reference: v1.0.0
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/CuriositySoftware/XcodeTargetGraphGen
 * tag               v1.0.0     -> FETCH_HEAD
HEAD is now at a73c786 Merge pull request #8 from CuriositySoftware/logo
Cloned https://github.com/CuriositySoftware/XcodeTargetGraphGen.git
Revision (git rev-parse @):
a73c786c997828817e9daed77e745527e83beba8
SUCCESS checkout https://github.com/CuriositySoftware/XcodeTargetGraphGen.git at v1.0.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/CuriositySoftware/XcodeTargetGraphGen.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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/tuist/XcodeProj.git
Fetching https://github.com/apple/swift-argument-parser
[1/23337] Fetching xcodeproj
[10970/38717] Fetching xcodeproj, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.56s)
Fetched https://github.com/tuist/XcodeProj.git from cache (1.58s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.1 (2.67s)
Computing version for https://github.com/tuist/XcodeProj.git
Computed https://github.com/tuist/XcodeProj.git at 8.27.7 (0.87s)
Fetching https://github.com/kylef/PathKit.git
Fetching https://github.com/tadija/AEXML.git
[1/2127] Fetching aexml
[23/3538] Fetching aexml, pathkit
Fetched https://github.com/kylef/PathKit.git from cache (0.64s)
Fetched https://github.com/tadija/AEXML.git from cache (0.64s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (3.44s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.26s)
Computing version for https://github.com/tadija/AEXML.git
Computed https://github.com/tadija/AEXML.git at 4.7.0 (0.76s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.67s)
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/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 1.0.1
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.1
Creating working copy for https://github.com/tuist/XcodeProj.git
Working copy of https://github.com/tuist/XcodeProj.git resolved at 8.27.7
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/26] Write sources
[12/26] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[14/43] Emitting module Client
/host/spi-builder-workspace/Sources/Client/ConsoleClient.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct ConsoleClient {
[15/43] Compiling AEXML Document.swift
/host/spi-builder-workspace/.build/checkouts/AEXML/Sources/AEXML/Document.swift:7:8: error: no such module 'Foundation'
  5 |  */
  6 |
  7 | import Foundation
    |        `- error: no such module 'Foundation'
  8 | #if canImport(FoundationXML)
  9 | import FoundationXML
error: emit-module command failed with exit code 1 (use -v to see invocation)
[16/43] Emitting module AEXML
/host/spi-builder-workspace/.build/checkouts/AEXML/Sources/AEXML/Document.swift:7:8: error: no such module 'Foundation'
  5 |  */
  6 |
  7 | import Foundation
    |        `- error: no such module 'Foundation'
  8 | #if canImport(FoundationXML)
  9 | import FoundationXML
[17/43] Compiling AEXML Builders.swift
/host/spi-builder-workspace/.build/checkouts/AEXML/Sources/AEXML/Document.swift:7:8: error: no such module 'Foundation'
  5 |  */
  6 |
  7 | import Foundation
    |        `- error: no such module 'Foundation'
  8 | #if canImport(FoundationXML)
  9 | import FoundationXML
[18/43] Compiling Client FileOutputClient.swift
/host/spi-builder-workspace/Sources/Client/ConsoleClient.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct ConsoleClient {
[19/43] Compiling AEXML Parser.swift
/host/spi-builder-workspace/.build/checkouts/AEXML/Sources/AEXML/Document.swift:7:8: error: no such module 'Foundation'
  5 |  */
  6 |
  7 | import Foundation
    |        `- error: no such module 'Foundation'
  8 | #if canImport(FoundationXML)
  9 | import FoundationXML
[20/43] Compiling AEXML Options.swift
/host/spi-builder-workspace/.build/checkouts/AEXML/Sources/AEXML/Document.swift:7:8: error: no such module 'Foundation'
  5 |  */
  6 |
  7 | import Foundation
    |        `- error: no such module 'Foundation'
  8 | #if canImport(FoundationXML)
  9 | import FoundationXML
[21/43] Compiling Client FileListReaderClient.swift
/host/spi-builder-workspace/Sources/Client/ConsoleClient.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct ConsoleClient {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[22/43] Emitting module PathKit
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:8:8: error: no such module 'Darwin'
  6 | let system_glob = Glibc.glob
  7 | #else
  8 | import Darwin
    |        `- error: no such module 'Darwin'
  9 |
 10 | let system_glob = Darwin.glob
[23/43] Compiling PathKit PathKit.swift
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:8:8: error: no such module 'Darwin'
  6 | let system_glob = Glibc.glob
  7 | #else
  8 | import Darwin
    |        `- error: no such module 'Darwin'
  9 |
 10 | let system_glob = Darwin.glob
[24/43] Compiling AEXML Error.swift
/host/spi-builder-workspace/.build/checkouts/AEXML/Sources/AEXML/Document.swift:7:8: error: no such module 'Foundation'
  5 |  */
  6 |
  7 | import Foundation
    |        `- error: no such module 'Foundation'
  8 | #if canImport(FoundationXML)
  9 | import FoundationXML
[25/43] Compiling AEXML Element.swift
/host/spi-builder-workspace/.build/checkouts/AEXML/Sources/AEXML/Document.swift:7:8: error: no such module 'Foundation'
  5 |  */
  6 |
  7 | import Foundation
    |        `- error: no such module 'Foundation'
  8 | #if canImport(FoundationXML)
  9 | import FoundationXML
[26/43] Compiling Client ConsoleClient.swift
/host/spi-builder-workspace/Sources/Client/ConsoleClient.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct ConsoleClient {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[27/43] Emitting module Value
/host/spi-builder-workspace/Sources/Value/Project.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | public protocol NodeIdentifiable {
[28/43] Compiling Value Project.swift
/host/spi-builder-workspace/Sources/Value/Project.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | public protocol NodeIdentifiable {
[29/43] Emitting module ArgumentParserToolInfo
BUILD FAILURE 6.2 wasm