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 XcodeGen, reference 2.35.2 (8f5622), with Swift 6.2 (beta) for Wasm on 22 Jun 2025 00:18:30 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/stackotter/XcodeGen.git
Reference: 2.35.2
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/stackotter/XcodeGen
 * tag               2.35.2     -> FETCH_HEAD
HEAD is now at 8f56226 Fix GraphViz.
Cloned https://github.com/stackotter/XcodeGen.git
Revision (git rev-parse @):
8f562268f8b54461b6ddfe817d624bc4e307a30e
SUCCESS checkout https://github.com/stackotter/XcodeGen.git at 2.35.2
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/stackotter/XcodeGen.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/wabiverse/GraphViz.git
Fetching https://github.com/onevcat/Rainbow.git
Fetching https://github.com/mxcl/Version
Fetching https://github.com/jakeheis/SwiftCLI.git
Fetching https://github.com/stackotter/SwiftXcodeProj.git
Fetching https://github.com/kylef/Spectre.git
[1/5074] Fetching swiftcli
[712/6270] Fetching swiftcli, rainbow
[1315/7291] Fetching swiftcli, rainbow, spectre
[1812/7584] Fetching swiftcli, rainbow, spectre, version
[4136/24067] Fetching swiftcli, rainbow, spectre, version, swiftxcodeproj
[4880/24642] Fetching swiftcli, rainbow, spectre, version, swiftxcodeproj, graphviz
Fetched https://github.com/kylef/Spectre.git from cache (0.76s)
[6694/23621] Fetching swiftcli, rainbow, version, swiftxcodeproj, graphviz
Fetching https://github.com/yonaskolb/JSONUtilities.git
Fetched https://github.com/wabiverse/GraphViz.git from cache (1.10s)
[13157/23046] Fetching swiftcli, rainbow, version, swiftxcodeproj
Fetching https://github.com/jpsim/Yams.git
[14476/24399] Fetching swiftcli, rainbow, version, swiftxcodeproj, jsonutilities
Fetched https://github.com/yonaskolb/JSONUtilities.git from cache (0.63s)
Fetching https://github.com/kylef/PathKit.git
[15959/23046] Fetching swiftcli, rainbow, version, swiftxcodeproj
[17443/33920] Fetching swiftcli, rainbow, version, swiftxcodeproj, yams
[21554/35331] Fetching swiftcli, rainbow, version, swiftxcodeproj, yams, pathkit
Fetched https://github.com/kylef/PathKit.git from cache (0.79s)
[25874/33920] Fetching swiftcli, rainbow, version, swiftxcodeproj, yams
Fetched https://github.com/mxcl/Version from cache (3.51s)
Fetched https://github.com/onevcat/Rainbow.git from cache (3.51s)
Fetched https://github.com/jakeheis/SwiftCLI.git from cache (3.52s)
Fetched https://github.com/stackotter/SwiftXcodeProj.git from cache (3.59s)
Fetched https://github.com/jpsim/Yams.git from cache (3.13s)
Computing version for https://github.com/wabiverse/GraphViz.git
Computed https://github.com/wabiverse/GraphViz.git at 0.6.0 (6.83s)
Computing version for https://github.com/jakeheis/SwiftCLI.git
Computed https://github.com/jakeheis/SwiftCLI.git at 6.0.3 (0.52s)
Computing version for https://github.com/yonaskolb/JSONUtilities.git
Computed https://github.com/yonaskolb/JSONUtilities.git at 4.2.0 (4.03s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (0.59s)
Computing version for https://github.com/stackotter/SwiftXcodeProj.git
Computed https://github.com/stackotter/SwiftXcodeProj.git at 8.11.0 (0.53s)
Fetching https://github.com/tadija/AEXML.git
[1/2127] Fetching aexml
Fetched https://github.com/tadija/AEXML.git from cache (0.55s)
Computing version for https://github.com/tadija/AEXML.git
Computed https://github.com/tadija/AEXML.git at 4.6.1 (1.42s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.83s)
Computing version for https://github.com/mxcl/Version
Computed https://github.com/mxcl/Version at 2.2.0 (0.62s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 3.2.0 (3.66s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (0.52s)
Creating working copy for https://github.com/yonaskolb/JSONUtilities.git
Working copy of https://github.com/yonaskolb/JSONUtilities.git resolved at 4.2.0
Creating working copy for https://github.com/mxcl/Version
Working copy of https://github.com/mxcl/Version resolved at 2.2.0
Creating working copy for https://github.com/jakeheis/SwiftCLI.git
Working copy of https://github.com/jakeheis/SwiftCLI.git resolved at 6.0.3
Creating working copy for https://github.com/onevcat/Rainbow.git
Working copy of https://github.com/onevcat/Rainbow.git resolved at 3.2.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/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.4.0
Creating working copy for https://github.com/tadija/AEXML.git
Working copy of https://github.com/tadija/AEXML.git resolved at 4.6.1
Creating working copy for https://github.com/wabiverse/GraphViz.git
Working copy of https://github.com/wabiverse/GraphViz.git resolved at 0.6.0
Creating working copy for https://github.com/stackotter/SwiftXcodeProj.git
Working copy of https://github.com/stackotter/SwiftXcodeProj.git resolved at 8.11.0
Building for debugging...
[0/43] Write sources
[18/43] Compiling writer.c
[19/43] Compiling reader.c
[20/43] Write swift-version-24593BA9C3E375BF.txt
[21/43] Compiling parser.c
[22/51] Compiling api.c
[23/51] Compiling emitter.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[25/117] Emitting module SwiftCLI
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/ArgumentList.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | public class ArgumentList {
[25/119] Compiling scanner.c
[27/139] Compiling Yams Decoder.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/ArgumentList.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | public class ArgumentList {
[28/139] Compiling Yams Emitter.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/ArgumentList.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | public class ArgumentList {
[29/139] Compiling Yams Encoder.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/ArgumentList.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | public class ArgumentList {
[30/139] Compiling Yams Node.Sequence.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/ArgumentList.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | public class ArgumentList {
[31/139] Compiling Yams Node.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/ArgumentList.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | public class ArgumentList {
[32/139] Compiling JSONUtilities KeyPath.swift
/host/spi-builder-workspace/.build/checkouts/JSONUtilities/Sources/JSONUtilities/DecodingError.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | /**
[33/140] Compiling JSONUtilities URL+JSONPrimitiveConvertible.swift
/host/spi-builder-workspace/.build/checkouts/JSONUtilities/Sources/JSONUtilities/DecodingError.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | /**
[34/140] Compiling Yams Tag.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Anchor.swift:8:8: error: no such module 'Foundation'
 6 | //  Copyright (c) 2024 Yams. All rights reserved.
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | /// A representation of a YAML tag see: https://yaml.org/spec/1.2.2/
[35/140] Compiling Yams YamlAnchorProviding.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Anchor.swift:8:8: error: no such module 'Foundation'
 6 | //  Copyright (c) 2024 Yams. All rights reserved.
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | /// A representation of a YAML tag see: https://yaml.org/spec/1.2.2/
error: emit-module command failed with exit code 1 (use -v to see invocation)
[36/142] 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
[37/142] 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
[38/142] Compiling JSONUtilities Dictionary+KeyPath.swift
/host/spi-builder-workspace/.build/checkouts/JSONUtilities/Sources/JSONUtilities/DecodingError.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | /**
/host/spi-builder-workspace/.build/checkouts/JSONUtilities/Sources/JSONUtilities/DecodingError.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | /**
[39/142] Compiling Yams RedundancyAliasingStrategy.swift
/host/spi-builder-workspace/.build/checkouts/GraphViz/Sources/GraphViz/Attribute.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | @propertyWrapper
[40/142] Compiling Yams Representer.swift
/host/spi-builder-workspace/.build/checkouts/GraphViz/Sources/GraphViz/Attribute.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | @propertyWrapper
error: emit-module command failed with exit code 1 (use -v to see invocation)
[41/142] Emitting module Version
/host/spi-builder-workspace/.build/checkouts/Version/Sources/Version+Foundation.swift:1:15: error: no such module 'Foundation'
 1 | import struct Foundation.OperatingSystemVersion
   |               `- error: no such module 'Foundation'
 2 | import class Foundation.ProcessInfo
 3 | import class Foundation.Bundle
[42/142] Compiling Version Version+Codable.swift
/host/spi-builder-workspace/.build/checkouts/Version/Sources/Version+Foundation.swift:1:15: error: no such module 'Foundation'
 1 | import struct Foundation.OperatingSystemVersion
   |               `- error: no such module 'Foundation'
 2 | import class Foundation.ProcessInfo
 3 | import class Foundation.Bundle
error: emit-module command failed with exit code 1 (use -v to see invocation)
[43/142] Emitting module GraphViz
/host/spi-builder-workspace/.build/checkouts/GraphViz/Sources/GraphViz/Attribute.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | @propertyWrapper
/host/spi-builder-workspace/.build/checkouts/Spectre/Sources/Spectre/Global.swift:6:8: error: no such module 'Darwin'
  4 | import CRT
  5 | #else
  6 | import Darwin
    |        `- error: no such module 'Darwin'
  7 | #endif
  8 |
[44/142] Compiling Yams Mark.swift
/host/spi-builder-workspace/.build/checkouts/GraphViz/Sources/GraphViz/Attribute.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | @propertyWrapper
[45/142] Compiling Yams Node.Alias.swift
/host/spi-builder-workspace/.build/checkouts/GraphViz/Sources/GraphViz/Attribute.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | @propertyWrapper
error: emit-module command failed with exit code 1 (use -v to see invocation)
[46/142] Emitting module Rainbow
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:27:8: error: no such module 'Foundation'
25 | //  THE SOFTWARE.
26 |
27 | import Foundation
   |        `- error: no such module 'Foundation'
28 |
29 | private func getEnvValue(_ key: String) -> String? {
BUILD FAILURE 6.2 wasm