The Swift Package Index logo.Swift Package Index

Build Information

Failed to build XCResource, reference main (c81a23), with Swift 6.3 for Wasm on 18 Apr 2026 06:13:40 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.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 c81a23f Add color property to style definitions in README
Cloned https://github.com/nearfri/XCResource.git
Revision (git rev-parse @):
c81a23f257f94788587e2066764b0b9cbbb1bceb
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/nearfri/XCResource.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
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" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Fetching https://github.com/nearfri/Strix.git
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/1997] Fetching strix
[661/19526] Fetching strix, swift-argument-parser
Fetched https://github.com/nearfri/Strix.git from cache (0.56s)
[3857/17529] Fetching swift-argument-parser
[7539/92512] Fetching swift-argument-parser, swift-syntax
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.47s)
[12748/74983] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (6.73s)
Computing version for https://github.com/nearfri/Strix.git
Computed https://github.com/nearfri/Strix.git at 2.4.8 (7.17s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.1 (2.64s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.7.1 (0.42s)
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.7.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
[1/1] Compiling plugin Generate Resource Code
[2/2] Compiling plugin GenerateManual
[3/3] Compiling plugin GenerateDoccReference
Building for debugging...
[3/102] Write sources
[27/102] Compiling _SwiftSyntaxCShims dummy.c
[28/102] Write sources
[39/102] Compiling _SwiftSyntaxCShims dummy.c
[40/102] Write sources
[52/102] Copying Resources
[53/102] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[55/148] 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/148] Emitting module SwiftSyntax509
[57/148] Compiling SwiftSyntax509 Empty.swift
[59/149] Compiling SwiftSyntax600 Empty.swift
[60/149] Emitting module SwiftSyntax600
[61/150] Emitting module SwiftSyntax601
[62/150] Compiling SwiftSyntax601 Empty.swift
[64/151] Emitting module SwiftSyntax510
[65/151] Compiling SwiftSyntax510 Empty.swift
[68/158] Emitting module SwiftSyntax601
[69/160] Emitting module ArgumentParserToolInfo
[70/160] Compiling ArgumentParserToolInfo ToolInfo.swift
[72/163] Emitting module SwiftSyntax510
[73/163] Compiling SwiftSyntax510 Empty.swift
[74/163] Compiling SwiftSyntax600 Empty.swift
[75/163] Emitting module SwiftSyntax600
[76/165] Emitting module SwiftSyntax509
[77/165] Compiling SwiftSyntax509 Empty.swift
[78/166] Compiling SwiftSyntax601 Empty.swift
[83/167] 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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[84/167] 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 |         }
[85/167] Compiling Strix ParserState.swift
[86/167] Compiling Strix UserInfo.swift
[87/167] Compiling Strix ErrorMessageWriter.swift
[88/167] Emitting module TestUtil
[89/167] Compiling TestUtil expectEqual.swift
[90/167] Compiling Strix TextPosition.swift
[91/167] Compiling Strix CharacterParsers.swift
[92/167] Compiling Strix NumberLiteral.swift
[93/167] Compiling Strix ErrorOutputBuffer.swift
[94/167] Compiling Strix ErrorOutputStream.swift
[95/167] Compiling Strix Indent.swift
[96/170] Compiling Strix ParseError.swift
[97/170] Compiling Strix ParseErrorSplitter.swift
[98/170] Compiling Strix RunError.swift
[99/170] Compiling Strix Operators.swift
[100/170] Compiling Strix PrimitiveParsers.swift
[101/170] Compiling Strix NumberParseOptions.swift
[102/170] Compiling Strix NumberParsers.swift
[103/170] Compiling XCResourceUtil URL+.swift
[104/170] Compiling Strix Parser.swift
[105/170] Compiling Strix ParserReply.swift
[106/170] Compiling Strix ParserResult.swift
[107/170] Emitting module Strix
[108/170] Compiling XCResourceUtil Tree.swift
[110/196] Compiling Documentation EmptyFile.swift
[111/196] Emitting module Documentation
[113/326] Compiling SwiftSyntax SourcePresence.swift
[114/326] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[116/341] Compiling StrixParsers String+.swift
[117/341] Compiling StrixParsers CSVParser.swift
[118/341] Compiling StrixParsers Calculator.swift
[119/343] Compiling SampleData resource_bundle_accessor.swift
[120/343] Emitting module SampleData
[121/343] Compiling SampleData BundleAccessor.swift
[122/344] 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 |
[123/344] Compiling StrixParsers JSONParser.swift
[124/345] Compiling XCResourceUtil DefaultStringInterpolation+.swift
[125/345] Compiling XCResourceUtil URL+.swift
[127/345] Emitting module Strix
[128/345] Emitting module StrixParsers
[129/345] Compiling XCResourceUtil Tree.swift
[130/345] Compiling XCResourceUtil TextFileOutputStream.swift
[131/345] Compiling StrixParsers FormatSpecifierParser.swift
[132/345] Compiling StrixParsers Indent.swift
[133/345] Compiling StrixParsers ASCIIPlist.swift
[134/345] Compiling StrixParsers ASCIIPlistParser.swift
[135/345] Compiling StrixParsers Data+.swift
[139/345] Compiling StrixParsers FormatPlaceholder.swift
[140/345] Compiling StrixParsers FormatSpecifier.swift
[142/354] Compiling SwiftSyntax SourceLength.swift
[143/354] Compiling SwiftSyntax SourceLocation.swift
[144/354] Compiling SwiftSyntax RawSyntaxTokenView.swift
[145/354] Compiling SwiftSyntax SourceEdit.swift
[146/400] Compiling ArgumentParser ArgumentHelp.swift
[147/400] Compiling ArgumentParser ArgumentVisibility.swift
[148/400] Compiling ArgumentParser CompletionKind.swift
[149/400] Compiling ArgumentParser BashCompletionsGenerator.swift
[150/400] Compiling ArgumentParser CompletionsGenerator.swift
[151/400] Compiling ArgumentParser FishCompletionsGenerator.swift
[152/400] Compiling ArgumentParser Option.swift
[153/400] Compiling ArgumentParser OptionGroup.swift
[154/400] Compiling ArgumentParser ParentCommand.swift
[155/400] Compiling ArgumentParser Errors.swift
[156/400] Compiling ArgumentParser Flag.swift
[157/400] Compiling ArgumentParser NameSpecification.swift
[159/400] Compiling ArgumentParser ZshCompletionsGenerator.swift
[160/400] Compiling ArgumentParser Argument.swift
[161/400] Compiling ArgumentParser ArgumentDiscussion.swift
[164/400] Emitting module ArgumentParserToolInfo
[165/400] Compiling ArgumentParserToolInfo ToolInfo.swift
[171/409] Compiling StrixParsers PrattParser.swift
[172/410] Compiling ArgumentParser ExpressibleByArgument.swift
[173/410] Compiling ArgumentParser ParsableArguments.swift
[175/449] Wrapping AST for SwiftSyntax601 for debugging
[176/449] Wrapping AST for SwiftSyntax600 for debugging
[177/463] Wrapping AST for SwiftSyntax510 for debugging
[178/463] Wrapping AST for SwiftSyntax509 for debugging
[179/463] Wrapping AST for StrixParsers for debugging
[181/463] Compiling ArgumentParser Mutex.swift
[182/463] Compiling ArgumentParser Platform.swift
[183/463] Compiling ArgumentParser SequenceExtensions.swift
[184/463] Compiling ArgumentParser StringExtensions.swift
[185/463] Compiling ArgumentParser SwiftExtensions.swift
[186/463] Compiling ArgumentParser DumpHelpGenerator.swift
[187/463] Compiling ArgumentParser HelpCommand.swift
[188/463] Compiling ArgumentParser HelpGenerator.swift
[189/463] Compiling ArgumentParser MessageInfo.swift
[189/463] Wrapping AST for Strix for debugging
[190/463] Wrapping AST for ArgumentParserToolInfo for debugging
[192/463] 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 |         }
[193/463] Compiling XCResourceUtil DefaultStringInterpolation+.swift
[194/463] Compiling XCResourceUtil SettableByKeyPath.swift
[195/463] Compiling XCResourceUtil TextFileOutputStream.swift
[195/463] Wrapping AST for SwiftSyntax601 for debugging
[196/463] Compiling StrixParsers ASCIIPlist.swift
[197/463] Compiling StrixParsers ASCIIPlistParser.swift
[198/463] Compiling StrixParsers Data+.swift
[199/463] Compiling StrixParsers String+.swift
[200/463] Compiling StrixParsers FormatPlaceholder.swift
[201/463] Compiling StrixParsers FormatSpecifier.swift
[202/463] Compiling StrixParsers CSVParser.swift
[203/463] Compiling StrixParsers Calculator.swift
[204/463] Compiling StrixParsers JSON.swift
[205/463] Compiling XCResourceUtil SettableByKeyPath.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.3 wasm