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 1.1.5 (79f2fc), with Swift 6.2 for Wasm on 23 Nov 2025 19:28:33 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nearfri/XCResource.git
Reference: 1.1.5
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
 * tag               1.1.5      -> FETCH_HEAD
HEAD is now at 79f2fc0 Update to 1.1.5
Cloned https://github.com/nearfri/XCResource.git
Revision (git rev-parse @):
79f2fc03078ab33962142e5b508ae0bb0cf75f8a
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/nearfri/XCResource.git at 1.1.5
========================================
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-4609320-0":/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-wasip1 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:302e3f347c593123f3d337e3da1bfe6e802bb8867614e9dfa745c72e13ca8eeb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/embedded-swift-sdk.json
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/18857] Fetching strix, swift-argument-parser
Fetched https://github.com/nearfri/Strix.git from cache (0.29s)
[3541/16860] Fetching swift-argument-parser
[16861/89842] Fetching swift-argument-parser, swift-syntax
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.67s)
[6569/72982] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (5.18s)
Computing version for https://github.com/nearfri/Strix.git
Computed https://github.com/nearfri/Strix.git at 2.4.8 (5.62s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.1 (2.46s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.6.2 (0.35s)
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.2
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
Creating working copy for https://github.com/nearfri/Strix.git
Working copy of https://github.com/nearfri/Strix.git resolved at 2.4.8
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/601.0.1/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/601.0.1/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz (0.61s)
[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] Compiling _SwiftSyntaxCShims dummy.c
[51/102] Copying Resources
[52/102] Compiling _SwiftSyntaxCShims dummy.c
[52/102] Write swift-version-24593BA9C3E375BF.txt
[55/132] Emitting module SwiftSyntax601
[56/135] Emitting module SwiftSyntax600
[59/138] Compiling SwiftSyntax601 Empty.swift
[60/138] Compiling SwiftSyntax600 Empty.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[61/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 {
[62/148] 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 {
[63/148] Emitting module ArgumentParserToolInfo
[64/148] Emitting module SwiftSyntax600
[65/148] Emitting module SwiftSyntax510
[66/148] Emitting module SwiftSyntax509
BUILD FAILURE 6.2 wasm