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 xcodeproj-mcp-server, reference 1.4.0 (f3e7c4), with Swift 6.2 (beta) for Wasm on 1 Jul 2025 18:49:36 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/giginet/xcodeproj-mcp-server.git
Reference: 1.4.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/giginet/xcodeproj-mcp-server
 * tag               1.4.0      -> FETCH_HEAD
HEAD is now at f3e7c44 Merge pull request #8 from giginet/feature/add-folder-tool
Cloned https://github.com/giginet/xcodeproj-mcp-server.git
Revision (git rev-parse @):
f3e7c4482665e665f7ee064ffac0a9b2fdadcef7
SUCCESS checkout https://github.com/giginet/xcodeproj-mcp-server.git at 1.4.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/giginet/xcodeproj-mcp-server.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
Fetching https://github.com/modelcontextprotocol/swift-sdk
[1/1857] Fetching swift-sdk
[410/25242] Fetching swift-sdk, xcodeproj
Fetched https://github.com/modelcontextprotocol/swift-sdk from cache (0.39s)
[8887/23385] Fetching xcodeproj
Fetched https://github.com/tuist/xcodeproj from cache (1.50s)
Computing version for https://github.com/modelcontextprotocol/swift-sdk
Computed https://github.com/modelcontextprotocol/swift-sdk at 0.9.0 (1.91s)
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-system.git
[1/3833] Fetching swift-log
[3834/8290] Fetching swift-log, swift-system
Fetched https://github.com/apple/swift-log.git from cache (0.46s)
Fetched https://github.com/apple/swift-system.git from cache (0.46s)
Computing version for https://github.com/tuist/xcodeproj
Computed https://github.com/tuist/xcodeproj at 9.4.3 (0.82s)
Fetching https://github.com/kylef/PathKit.git
Fetching https://github.com/tadija/AEXML.git
[1/1411] Fetching pathkit
[495/3538] Fetching pathkit, aexml
Fetched https://github.com/kylef/PathKit.git from cache (0.30s)
Fetched https://github.com/tadija/AEXML.git from cache (0.30s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (3.21s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.27s)
Computing version for https://github.com/tadija/AEXML.git
Computed https://github.com/tadija/AEXML.git at 4.7.0 (0.73s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (4.02s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.70s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.69s)
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/tuist/xcodeproj
Working copy of https://github.com/tuist/xcodeproj resolved at 9.4.3
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Creating working copy for https://github.com/modelcontextprotocol/swift-sdk
Working copy of https://github.com/modelcontextprotocol/swift-sdk resolved at 0.9.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.5.0
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/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
Building for debugging...
[0/20] Write sources
[8/20] Compiling CSystem shims.c
[9/20] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/62] 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
[12/62] 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
[13/62] 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
[14/62] 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
[15/62] 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
[16/62] Compiling Logging Locks.swift
[17/62] Compiling Logging LogHandler.swift
[18/62] Emitting module Logging
[19/62] Compiling SystemPackage MachPort.swift
[20/62] Compiling SystemPackage PlatformString.swift
[21/62] Compiling SystemPackage SystemString.swift
[22/65] 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
[23/65] 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
[24/65] Compiling SystemPackage FileOperations.swift
[25/65] Compiling SystemPackage FilePath.swift
[26/65] Compiling SystemPackage FilePathComponentView.swift
[27/65] Compiling SystemPackage FilePathComponents.swift
[28/65] 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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[29/65] 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
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
    |                              `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
    |                                                         `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
BUILD FAILURE 6.2 wasm