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

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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/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 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 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-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/apple/swift-argument-parser.git
Fetching https://github.com/nearfri/Strix.git
Fetching https://github.com/swiftlang/swift-syntax.git
[1/1968] Fetching strix
[1969/17348] Fetching strix, swift-argument-parser
[17349/88275] Fetching strix, swift-argument-parser, swift-syntax
Fetched https://github.com/nearfri/Strix.git from cache (1.02s)
[23892/86307] Fetching swift-argument-parser, swift-syntax
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.03s)
[9221/70927] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (5.56s)
Computing version for https://github.com/nearfri/Strix.git
Computed https://github.com/nearfri/Strix.git at 2.4.6 (6.00s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.1 (3.71s)
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.47s)
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/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/nearfri/Strix.git
Working copy of https://github.com/nearfri/Strix.git resolved at 2.4.6
[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
[54/135] Emitting module SwiftSyntax601
[55/135] Emitting module SwiftSyntax600
[56/135] Compiling SwiftSyntax600 Empty.swift
[57/136] Compiling SwiftSyntax601 Empty.swift
[60/137] Emitting module SwiftSyntax509
[61/137] Compiling SwiftSyntax509 Empty.swift
[62/138] Emitting module SwiftSyntax600
[63/138] Compiling SwiftSyntax600 Empty.swift
[64/139] Emitting module SwiftSyntax601
[65/139] Compiling SwiftSyntax601 Empty.swift
[66/140] Emitting module SwiftSyntax510
[67/140] Compiling SwiftSyntax510 Empty.swift
[72/159] 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 {
[73/161] 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 {
[74/162] Emitting module ArgumentParserToolInfo
[75/162] Compiling ArgumentParserToolInfo ToolInfo.swift
[76/163] 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 {
[78/184] 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 {
[79/184] 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 {
[80/184] Emitting module SwiftSyntax510
[81/184] Compiling SwiftSyntax510 Empty.swift
[82/184] Emitting module SwiftSyntax509
[83/184] Compiling SwiftSyntax509 Empty.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[86/253] 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 {
[87/253] 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 {
[88/253] 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 {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[89/253] 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 |         }
[90/253] Compiling SwiftSyntax Convenience.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/253] Compiling SwiftSyntax CustomTraits.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/253] Compiling SwiftSyntax EditorPlaceholder.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/253] Compiling SwiftSyntax Identifier.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/253] Compiling SwiftSyntax MemoryLayout.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/253] Compiling SwiftSyntax MissingNodeInitializers.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/255] Compiling SwiftSyntax AbsolutePosition.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/255] Compiling SwiftSyntax AbsoluteRawSyntax.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/255] Compiling SwiftSyntax AbsoluteSyntaxInfo.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/255] Compiling SwiftSyntax Assert.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> {
[100/255] Compiling SwiftSyntax BumpPtrAllocator.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> {
[101/255] Compiling SwiftSyntax CommonAncestor.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)
[102/319] 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> {
[103/319] Compiling SwiftSyntax RawSyntax.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> {
[104/319] Compiling SwiftSyntax RawSyntaxLayoutView.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> {
BUILD FAILURE 6.2 wasm