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 XCResource, reference main (2059d8), with Swift 6.2 (beta) for Wasm on 31 Aug 2025 16:02:52 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nearfri/XCResource.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/nearfri/XCResource
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 2059d88 Fix URL(filePath:expandingTilde:directoryHint:relativeTo:) compatibility on macOS 26
Cloned https://github.com/nearfri/XCResource.git
Revision (git rev-parse @):
2059d8808b02a935fd4526852addcf765059a1dc
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/nearfri/XCResource.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/nearfri/XCResource.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:3160178686d03086db4c1712d78c1980537bb37521128c64baade7f466b6b4aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/nearfri/Strix.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/1997] Fetching strix
[1998/73839] Fetching strix, swift-syntax
Fetched https://github.com/nearfri/Strix.git from cache (0.54s)
[4311/71842] Fetching swift-syntax
[4312/87531] Fetching swift-syntax, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.18s)
[17243/71842] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (7.68s)
Computing version for https://github.com/nearfri/Strix.git
Computed https://github.com/nearfri/Strix.git at 2.4.8 (8.24s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.1 (4.24s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.6.1 (0.52s)
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.6.1
Creating working copy for https://github.com/nearfri/Strix.git
Working copy of https://github.com/nearfri/Strix.git resolved at 2.4.8
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 601.0.1
[1/1] Compiling plugin Generate Resource Code
[2/2] Compiling plugin GenerateManual
[3/3] Compiling plugin GenerateDoccReference
Building for debugging...
[3/102] Write sources
[50/102] Copying Resources
[51/102] Compiling _SwiftSyntaxCShims dummy.c
[53/102] Write swift-version-24593BA9C3E375BF.txt
[55/148] Emitting module SwiftSyntax510
error: emit-module command failed with exit code 1 (use -v to see invocation)
[56/148] Emitting module XCResourceUtil
/host/spi-builder-workspace/Sources/XCResourceUtil/DefaultStringInterpolation+.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension DefaultStringInterpolation {
[57/148] Emitting module SwiftSyntax509
[58/148] Compiling SwiftSyntax509 Empty.swift
[60/149] Emitting module SwiftSyntax600
[61/149] Compiling SwiftSyntax600 Empty.swift
[62/149] Compiling SwiftSyntax510 Empty.swift
[63/151] Compiling XCResourceUtil FileManager+.swift
/host/spi-builder-workspace/Sources/XCResourceUtil/DefaultStringInterpolation+.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension DefaultStringInterpolation {
[64/151] Compiling XCResourceUtil DefaultStringInterpolation+.swift
/host/spi-builder-workspace/Sources/XCResourceUtil/DefaultStringInterpolation+.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension DefaultStringInterpolation {
[65/151] Compiling XCResourceUtil TextFileOutputStream.swift
/host/spi-builder-workspace/Sources/XCResourceUtil/DefaultStringInterpolation+.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension DefaultStringInterpolation {
[66/151] Emitting module SwiftSyntax601
[67/151] Compiling SwiftSyntax601 Empty.swift
[69/152] Compiling XCResourceUtil Tree.swift
/host/spi-builder-workspace/Sources/XCResourceUtil/DefaultStringInterpolation+.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension DefaultStringInterpolation {
[70/152] Compiling XCResourceUtil URL+.swift
/host/spi-builder-workspace/Sources/XCResourceUtil/DefaultStringInterpolation+.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension DefaultStringInterpolation {
[73/154] Emitting module TestUtil
[74/154] Compiling TestUtil expectEqual.swift
[75/159] Compiling SwiftSyntax601 Empty.swift
[76/159] Emitting module SwiftSyntax601
[78/162] Compiling SwiftSyntax600 Empty.swift
[79/162] Compiling SwiftSyntax510 Empty.swift
[80/162] Emitting module SwiftSyntax510
[82/163] Emitting module SwiftSyntax600
[84/164] Compiling SwiftSyntax509 Empty.swift
[85/164] Emitting module SwiftSyntax509
[88/255] Compiling SampleData resource_bundle_accessor.swift
/host/spi-builder-workspace/Tests/_SampleData/BundleAccessor.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public func resourcesURL() -> URL {
[89/256] Compiling SampleData BundleAccessor.swift
/host/spi-builder-workspace/Tests/_SampleData/BundleAccessor.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public func resourcesURL() -> URL {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[90/256] Emitting module SampleData
/host/spi-builder-workspace/Tests/_SampleData/BundleAccessor.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public func resourcesURL() -> URL {
[91/256] Emitting module Documentation
[92/256] Compiling Documentation EmptyFile.swift
[93/257] Emitting module Strix
BUILD FAILURE 6.2 wasm