Build Information
Failed to build XCResource, reference main (a430f8), with Swift 6.2 for Wasm on 12 Jul 2026 18:42:45 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886770-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 0e64495ecc1688c3b3e031a5ef1348b5c05091ae
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 a430f85 Update to 1.1.7
Cloned https://github.com/nearfri/XCResource.git
Revision (git rev-parse @):
a430f85ee758c1f9889c4786af952603b4744e69
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-53886770-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:dc8dffc38f1d92eca7ee5312617822470123661393ed20672e77964f9dcaaffb
Status: Image is up to date for registry.gitlab.com/saguaro1/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/1997] Fetching strix
[1998/20021] Fetching strix, swift-argument-parser
[20022/95939] Fetching strix, swift-argument-parser, swift-syntax
Fetched https://github.com/nearfri/Strix.git from cache (2.50s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (2.50s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (2.52s)
Computing version for https://github.com/nearfri/Strix.git
Computed https://github.com/nearfri/Strix.git at 2.4.8 (2.67s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.1 (0.94s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.8.2 (0.14s)
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.8.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.19s)
[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
[53/102] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[55/130] 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 | }
[56/130] Compiling SwiftSyntax510 Empty.swift
[57/130] Emitting module SwiftSyntax510
[58/130] Emitting module SwiftSyntax601
[59/130] Compiling SwiftSyntax601 Empty.swift
[62/132] Compiling SwiftSyntax600 Empty.swift
[63/132] Emitting module SwiftSyntax600
[64/133] Compiling SwiftSyntax600 Empty.swift
[65/133] Emitting module SwiftSyntax600
[68/138] Emitting module SwiftSyntax509
[69/138] Compiling SwiftSyntax510 Empty.swift
[70/138] Emitting module SwiftSyntax510
[72/141] Compiling SwiftSyntax509 Empty.swift
[75/162] Emitting module SwiftSyntax509
[76/163] Compiling SwiftSyntax601 Empty.swift
[77/163] Emitting module SwiftSyntax601
[80/189] Compiling Documentation EmptyFile.swift
[81/189] Emitting module Documentation
[83/190] Emitting module SampleData
[84/254] Emitting module TestUtil
[85/255] Compiling TestUtil expectEqual.swift
[87/321] Compiling SwiftSyntax Identifier.swift
[88/321] Compiling SwiftSyntax MemoryLayout.swift
[89/321] Compiling SwiftSyntax MissingNodeInitializers.swift
[90/323] Compiling XCResourceUtil DefaultStringInterpolation+.swift
[91/323] Compiling SwiftSyntax AbsolutePosition.swift
[92/323] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[93/323] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[94/323] Compiling XCResourceUtil Tree.swift
[95/323] Compiling XCResourceUtil TextFileOutputStream.swift
[96/323] Compiling XCResourceUtil URL+.swift
[97/323] Compiling SampleData resource_bundle_accessor.swift
[98/323] Compiling SampleData BundleAccessor.swift
[99/324] Compiling SwiftSyntax RawSyntax.swift
[100/324] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[101/324] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[102/324] Compiling SwiftSyntax Convenience.swift
[103/324] Compiling SwiftSyntax CustomTraits.swift
[104/324] Compiling SwiftSyntax EditorPlaceholder.swift
[105/324] Emitting module Strix
[106/324] Compiling SwiftSyntax Assert.swift
[107/324] Compiling SwiftSyntax BumpPtrAllocator.swift
[108/324] Compiling SwiftSyntax CommonAncestor.swift
[110/324] Compiling SwiftSyntax SourceLength.swift
[111/324] Compiling SwiftSyntax SourceLocation.swift
[112/324] Compiling SwiftSyntax RawSyntaxTokenView.swift
[113/324] Compiling SwiftSyntax SourceEdit.swift
[114/326] Compiling XCResourceUtil URL+.swift
[130/328] Emitting module Strix
[131/328] Compiling Strix SequenceParsers.swift
[132/328] Compiling Strix StringParsers.swift
[133/329] Compiling ArgumentParserToolInfo ToolInfo.swift
[134/329] Emitting module ArgumentParserToolInfo
[135/329] Compiling XCResourceUtil Tree.swift
[141/330] Compiling XCResourceUtil TextFileOutputStream.swift
[142/330] Wrapping AST for SwiftSyntax601 for debugging
[144/391] Compiling ArgumentParser InputKey.swift
[145/391] Compiling ArgumentParser InputOrigin.swift
[146/392] Compiling XCResourceUtil String+.swift
/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 | }
[147/392] Compiling XCResourceUtil SettableByKeyPath.swift
[148/392] Compiling XCResourceUtil FileManager+.swift
/host/spi-builder-workspace/Sources/XCResourceUtil/FileManager+.swift:22:17: error: 'replaceItem(at:withItemAt:backupItemName:options:resultingItemURL:)' has been renamed to 'replaceItem(at:withItemAt:backupItemName:options:)': Returning an object through an autoreleased pointer is not supported in swift-corelibs-foundation. Use replaceItem(at:withItemAt:backupItemName:options:) instead.
20 | try removeItem(at: newItemURL)
21 | } else {
22 | try replaceItem(at: originalItemURL,
| `- error: 'replaceItem(at:withItemAt:backupItemName:options:resultingItemURL:)' has been renamed to 'replaceItem(at:withItemAt:backupItemName:options:)': Returning an object through an autoreleased pointer is not supported in swift-corelibs-foundation. Use replaceItem(at:withItemAt:backupItemName:options:) instead.
23 | withItemAt: newItemURL,
24 | backupItemName: nil,
Foundation.FileManager.replaceItem:3:15: note: 'replaceItem(at:withItemAt:backupItemName:options:resultingItemURL:)' has been explicitly marked unavailable here
1 | class FileManager {
2 | @available(*, unavailable, renamed: "replaceItem(at:withItemAt:backupItemName:options:)", message: "Returning an object through an autoreleased pointer is not supported in swift-corelibs-foundation. Use replaceItem(at:withItemAt:backupItemName:options:) instead.")
3 | public func replaceItem(at originalItemURL: URL, withItemAt newItemURL: URL, backupItemName: String?, options: FileManager.ItemReplacementOptions = [], resultingItemURL resultingURL: UnsafeMutablePointer<NSURL?>?) throws}
| `- note: 'replaceItem(at:withItemAt:backupItemName:options:resultingItemURL:)' has been explicitly marked unavailable here
4 |
[150/392] Emitting module ArgumentParserToolInfo
[151/392] Compiling XCResourceUtil FileManager+.swift
/host/spi-builder-workspace/Sources/XCResourceUtil/FileManager+.swift:22:17: error: 'replaceItem(at:withItemAt:backupItemName:options:resultingItemURL:)' has been renamed to 'replaceItem(at:withItemAt:backupItemName:options:)': Returning an object through an autoreleased pointer is not supported in swift-corelibs-foundation. Use replaceItem(at:withItemAt:backupItemName:options:) instead.
20 | try removeItem(at: newItemURL)
21 | } else {
22 | try replaceItem(at: originalItemURL,
| `- error: 'replaceItem(at:withItemAt:backupItemName:options:resultingItemURL:)' has been renamed to 'replaceItem(at:withItemAt:backupItemName:options:)': Returning an object through an autoreleased pointer is not supported in swift-corelibs-foundation. Use replaceItem(at:withItemAt:backupItemName:options:) instead.
23 | withItemAt: newItemURL,
24 | backupItemName: nil,
Foundation.FileManager.replaceItem:3:15: note: 'replaceItem(at:withItemAt:backupItemName:options:resultingItemURL:)' has been explicitly marked unavailable here
1 | class FileManager {
2 | @available(*, unavailable, renamed: "replaceItem(at:withItemAt:backupItemName:options:)", message: "Returning an object through an autoreleased pointer is not supported in swift-corelibs-foundation. Use replaceItem(at:withItemAt:backupItemName:options:) instead.")
3 | public func replaceItem(at originalItemURL: URL, withItemAt newItemURL: URL, backupItemName: String?, options: FileManager.ItemReplacementOptions = [], resultingItemURL resultingURL: UnsafeMutablePointer<NSURL?>?) throws}
| `- note: 'replaceItem(at:withItemAt:backupItemName:options:resultingItemURL:)' has been explicitly marked unavailable here
4 |
[152/392] Compiling XCResourceUtil SettableByKeyPath.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[153/392] 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 | }
[154/392] Compiling XCResourceUtil DefaultStringInterpolation+.swift
/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 | }
BUILD FAILURE 6.2 wasm