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.3 (4769e6), with Swift 6.2 (beta) for Wasm on 24 Jun 2025 06:55:26 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/nearfri/XCResource.git
Reference: 1.1.3
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.3      -> FETCH_HEAD
HEAD is now at 4769e6b Update to 1.1.3
Cloned https://github.com/nearfri/XCResource.git
Revision (git rev-parse @):
4769e6b27b94759fc7b7390c1ab7b11a19801b96
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/nearfri/XCResource.git at 1.1.3
========================================
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-3":/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/swiftlang/swift-syntax.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/nearfri/Strix.git
[1/1968] Fetching strix
[1969/17348] Fetching strix, swift-argument-parser
[16888/88275] Fetching strix, swift-argument-parser, swift-syntax
Fetched https://github.com/nearfri/Strix.git from cache (1.34s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.36s)
[10640/70927] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (8.37s)
Computing version for https://github.com/nearfri/Strix.git
Computed https://github.com/nearfri/Strix.git at 2.4.6 (9.80s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.1 (4.28s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.1 (0.81s)
Creating working copy for https://github.com/nearfri/Strix.git
Working copy of https://github.com/nearfri/Strix.git resolved at 2.4.6
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.5.1
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
Building for debugging...
[2/101] Write sources
[49/101] Copying Resources
[50/101] Compiling _SwiftSyntaxCShims dummy.c
[52/101] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[54/129] 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 {
[55/129] Emitting module TestUtil
error: emit-module command failed with exit code 1 (use -v to see invocation)
[56/129] Emitting module XCResourceUtil
/host/spi-builder-workspace/Sources/XCResourceUtil/String+.swift:74:20: error: cannot find 'applyingTransform' in scope
 72 |         }
 73 |
 74 |         if self == applyingTransform(.toLatin, reverse: false) {
    |                    `- error: cannot find 'applyingTransform' in scope
 75 |             return self
 76 |         }
/host/spi-builder-workspace/Sources/XCResourceUtil/String+.swift:74:39: error: cannot infer contextual base in reference to member 'toLatin'
 72 |         }
 73 |
 74 |         if self == applyingTransform(.toLatin, reverse: false) {
    |                                       `- error: cannot infer contextual base in reference to member 'toLatin'
 75 |             return self
 76 |         }
[57/129] Compiling SwiftSyntax601 Empty.swift
[58/129] Emitting module SwiftSyntax601
[59/130] 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 {
[61/130] Emitting module SwiftSyntax600
[62/130] Compiling SwiftSyntax600 Empty.swift
[63/131] 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 {
[65/133] 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 {
[66/133] 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 {
[67/133] Emitting module SwiftSyntax510
[68/133] Compiling SwiftSyntax510 Empty.swift
[69/134] Compiling TestUtil expectEqual.swift
[72/146] Emitting module SwiftSyntax509
[73/151] Compiling SwiftSyntax509 Empty.swift
[75/180] Compiling Strix Parser.swift
/host/spi-builder-workspace/.build/checkouts/Strix/Sources/Strix/Core/Parser.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | public struct Parser<T> {
[76/180] Compiling Strix ParserReply.swift
/host/spi-builder-workspace/.build/checkouts/Strix/Sources/Strix/Core/Parser.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | public struct Parser<T> {
[77/180] Compiling Strix ParserResult.swift
/host/spi-builder-workspace/.build/checkouts/Strix/Sources/Strix/Core/Parser.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | public struct Parser<T> {
[78/180] Compiling Strix ParserState.swift
/host/spi-builder-workspace/.build/checkouts/Strix/Sources/Strix/Core/Parser.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | public struct Parser<T> {
[79/180] Compiling Strix UserInfo.swift
/host/spi-builder-workspace/.build/checkouts/Strix/Sources/Strix/Core/Parser.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | public struct Parser<T> {
[80/180] Compiling Strix ErrorMessageWriter.swift
/host/spi-builder-workspace/.build/checkouts/Strix/Sources/Strix/Core/Parser.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | public struct Parser<T> {
[81/182] Compiling Strix Operators.swift
/host/spi-builder-workspace/.build/checkouts/Strix/Sources/Strix/Core/Parser.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | public struct Parser<T> {
[82/182] Compiling Strix PrimitiveParsers.swift
/host/spi-builder-workspace/.build/checkouts/Strix/Sources/Strix/Core/Parser.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | public struct Parser<T> {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[83/182] Emitting module Strix
/host/spi-builder-workspace/.build/checkouts/Strix/Sources/Strix/Core/Parser.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | public struct Parser<T> {
[84/182] Compiling Strix NumberParseOptions.swift
/host/spi-builder-workspace/.build/checkouts/Strix/Sources/Strix/Core/Parser.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | public struct Parser<T> {
[85/182] Compiling Strix NumberParsers.swift
/host/spi-builder-workspace/.build/checkouts/Strix/Sources/Strix/Core/Parser.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | public struct Parser<T> {
[86/182] Compiling Strix SequenceParsers.swift
/host/spi-builder-workspace/.build/checkouts/Strix/Sources/Strix/Core/Parser.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | public struct Parser<T> {
[87/182] Compiling Strix StringParsers.swift
/host/spi-builder-workspace/.build/checkouts/Strix/Sources/Strix/Core/Parser.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | public struct Parser<T> {
[88/182] Emitting module SwiftSyntax600
[89/182] Compiling SwiftSyntax600 Empty.swift
[90/183] Compiling Strix ParseError.swift
/host/spi-builder-workspace/.build/checkouts/Strix/Sources/Strix/Core/Parser.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | public struct Parser<T> {
[91/183] Compiling Strix ParseErrorSplitter.swift
/host/spi-builder-workspace/.build/checkouts/Strix/Sources/Strix/Core/Parser.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | public struct Parser<T> {
[92/183] Compiling Strix RunError.swift
/host/spi-builder-workspace/.build/checkouts/Strix/Sources/Strix/Core/Parser.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | public struct Parser<T> {
[93/183] Compiling Strix ErrorOutputBuffer.swift
/host/spi-builder-workspace/.build/checkouts/Strix/Sources/Strix/Core/Parser.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | public struct Parser<T> {
[94/183] Compiling Strix ErrorOutputStream.swift
/host/spi-builder-workspace/.build/checkouts/Strix/Sources/Strix/Core/Parser.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | public struct Parser<T> {
[95/183] Compiling Strix Indent.swift
/host/spi-builder-workspace/.build/checkouts/Strix/Sources/Strix/Core/Parser.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | public struct Parser<T> {
[96/183] Compiling Strix TextPosition.swift
/host/spi-builder-workspace/.build/checkouts/Strix/Sources/Strix/Core/Parser.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | public struct Parser<T> {
[97/183] Compiling Strix CharacterParsers.swift
/host/spi-builder-workspace/.build/checkouts/Strix/Sources/Strix/Core/Parser.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | public struct Parser<T> {
[98/183] Compiling Strix NumberLiteral.swift
/host/spi-builder-workspace/.build/checkouts/Strix/Sources/Strix/Core/Parser.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | public struct Parser<T> {
[99/183] Emitting module SwiftSyntax509
[100/183] Emitting module Strix
[101/183] Emitting module SwiftSyntax510
BUILD FAILURE 6.2 wasm