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 DependencyGraph, reference main (6c89d4), with Swift 6.2 (beta) for Wasm on 19 Jun 2025 21:48:16 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/simonbs/dependency-graph.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/simonbs/dependency-graph
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 6c89d4b Preliminary support for target dependency condition (#23)
Cloned https://github.com/simonbs/dependency-graph.git
Revision (git rev-parse @):
6c89d4be7c90bdaea7feecf979f9ccab947c3188
SUCCESS checkout https://github.com/simonbs/dependency-graph.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/simonbs/dependency-graph.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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
[13304/38717] Fetching xcodeproj, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (0.85s)
Fetched https://github.com/tuist/XcodeProj.git from cache (1.24s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.1 (1.59s)
Computing version for https://github.com/tuist/XcodeProj.git
Computed https://github.com/tuist/XcodeProj.git at 8.27.7 (0.35s)
Fetching https://github.com/kylef/PathKit.git
Fetching https://github.com/tadija/AEXML.git
[1/2127] Fetching aexml
[2128/3538] Fetching aexml, pathkit
Fetched https://github.com/tadija/AEXML.git from cache (0.26s)
Fetched https://github.com/kylef/PathKit.git from cache (0.26s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (2.58s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.23s)
Computing version for https://github.com/tadija/AEXML.git
Computed https://github.com/tadija/AEXML.git at 4.7.0 (0.58s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.37s)
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/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/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
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/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/80] Write sources
[39/80] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[41/104] 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
[42/104] 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)
[43/104] Emitting module ShellCommandRunner
/host/spi-builder-workspace/Sources/Library/Utilities/ShellCommandRunner/ShellCommandRunner.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
  |        `- error: no such module 'Foundation'
2 |
3 | public protocol ShellCommandRunner {
/host/spi-builder-workspace/Sources/Library/Utilities/FileSystem/FileSystem.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
  |        `- error: no such module 'Foundation'
2 |
3 | public protocol FileSystem {
[44/104] Emitting module Writer
[45/104] Compiling ProjectRootClassifier ProjectRoot.swift
/host/spi-builder-workspace/Sources/Library/Parsing/ProjectRootClassifier/ProjectRoot.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
  |        `- error: no such module 'Foundation'
2 |
3 | public enum ProjectRoot: Equatable {
[46/104] Compiling XcodeProject XcodeProject.swift
/host/spi-builder-workspace/Sources/Library/Parsing/XcodeProject/XcodeProject+SwiftPackage.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public extension XcodeProject {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[47/104] Emitting module XcodeProject
/host/spi-builder-workspace/Sources/Library/Parsing/XcodeProject/XcodeProject+SwiftPackage.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public extension XcodeProject {
/host/spi-builder-workspace/Sources/Library/Parsing/XcodeProject/XcodeProject+SwiftPackage.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public extension XcodeProject {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[48/104] Emitting module ProjectRootClassifier
/host/spi-builder-workspace/Sources/Library/Parsing/ProjectRootClassifier/ProjectRoot.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
  |        `- error: no such module 'Foundation'
2 |
3 | public enum ProjectRoot: Equatable {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[49/104] Emitting module StringIndentHelpers
/host/spi-builder-workspace/Sources/Library/Utilities/StringIndentHelpers/Indent.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public extension Array where Element == String {
/host/spi-builder-workspace/Sources/Library/Utilities/StringIndentHelpers/Indent.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public extension Array where Element == String {
BUILD FAILURE 6.2 wasm