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 (3cf36e), with Swift 6.2 for Android on 6 Dec 2025 20:11:17 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:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.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 3cf36e0 Use arg as the placeholder name
Cloned https://github.com/nearfri/XCResource.git
Revision (git rev-parse @):
3cf36e035e48d9fd356b91eba2ae9f88c885742e
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/nearfri/XCResource.git at main
========================================
Build
========================================
Selected platform:         android
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:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:c3fe93b3f7c9edfd66b4287786a9b8caf7805f96d7219e301e257b4e0de911bb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-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
[1998/18874] Fetching strix, swift-argument-parser
Fetched https://github.com/nearfri/Strix.git from cache (0.24s)
[1182/16877] Fetching swift-argument-parser
[16878/89901] Fetching swift-argument-parser, swift-syntax
Fetched https://github.com/apple/swift-argument-parser.git from cache (5.61s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (5.69s)
Computing version for https://github.com/nearfri/Strix.git
Computed https://github.com/nearfri/Strix.git at 2.4.8 (6.36s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.1 (3.53s)
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.37s)
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/nearfri/Strix.git
Working copy of https://github.com/nearfri/Strix.git resolved at 2.4.8
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
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/601.0.1/swift-6.2.1-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/601.0.1/swift-6.2.1-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz (0.50s)
[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] Copying Resources
[51/102] Compiling _SwiftSyntaxCShims dummy.c
[53/102] Write swift-version--6B0C4D200E742BB1.txt
[55/148] Emitting module SwiftSyntax601
[56/148] Compiling SwiftSyntax601 Empty.swift
[58/149] Emitting module SwiftSyntax509
[59/149] Compiling SwiftSyntax509 Empty.swift
[61/150] Compiling SwiftSyntax601 Empty.swift
[62/150] Emitting module SwiftSyntax601
[63/151] Emitting module SwiftSyntax600
[64/151] Compiling SwiftSyntax600 Empty.swift
[67/152] Emitting module SwiftSyntax510
[68/154] Compiling SwiftSyntax510 Empty.swift
[70/161] Emitting module SwiftSyntax600
[71/161] Compiling SwiftSyntax600 Empty.swift
[72/162] Emitting module SwiftSyntax510
[73/162] Compiling SwiftSyntax510 Empty.swift
[74/162] Compiling SwiftSyntax509 Empty.swift
[75/163] Emitting module SwiftSyntax509
[79/189] Compiling Documentation EmptyFile.swift
[80/235] Emitting module Documentation
[82/318] Emitting module TestUtil
[83/318] Compiling TestUtil expectEqual.swift
[85/321] Compiling SwiftSyntax Convenience.swift
[86/321] Compiling SwiftSyntax CustomTraits.swift
[87/321] Compiling SwiftSyntax EditorPlaceholder.swift
[88/321] Compiling SwiftSyntax SyntaxProtocol.swift
[89/321] Compiling SwiftSyntax SyntaxText.swift
[90/321] Compiling SwiftSyntax SyntaxIdentifier.swift
[91/321] Compiling SwiftSyntax SyntaxNodeFactory.swift
[92/321] Compiling SwiftSyntax SyntaxNodeStructure.swift
[93/323] Compiling SwiftSyntax TokenSyntax.swift
[94/323] Compiling SwiftSyntax Identifier.swift
[95/323] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[96/323] Compiling SwiftSyntax TokenDiagnostic.swift
[97/323] Compiling SwiftSyntax TokenSequence.swift
[98/323] Compiling SwiftSyntax Assert.swift
[99/323] Compiling SwiftSyntax BumpPtrAllocator.swift
[100/323] Compiling SwiftSyntax CommonAncestor.swift
[101/323] Compiling SwiftSyntax AbsolutePosition.swift
[102/323] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[103/323] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[104/323] Emitting module Strix
[105/323] Compiling XCResourceUtil TextFileOutputStream.swift
[106/323] Compiling XCResourceUtil Tree.swift
[107/323] Compiling XCResourceUtil URL+.swift
[108/323] 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)
[109/323] 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 |         }
[110/323] Compiling XCResourceUtil DefaultStringInterpolation+.swift
[120/332] Emitting module ArgumentParserToolInfo
[121/332] Compiling ArgumentParserToolInfo ToolInfo.swift
[132/342] Compiling Strix SequenceParsers.swift
[133/342] Compiling Strix StringParsers.swift
[135/389] Compiling ArgumentParser ZshCompletionsGenerator.swift
[136/389] Compiling ArgumentParser Argument.swift
[137/389] Compiling ArgumentParser ArgumentDiscussion.swift
[138/391] Emitting module Strix
[139/391] Compiling ArgumentParser BashCompletionsGenerator.swift
[140/391] Compiling ArgumentParser CompletionsGenerator.swift
[141/391] Compiling ArgumentParser FishCompletionsGenerator.swift
[142/391] Compiling SampleData resource_bundle_accessor.swift
[143/391] Emitting module SampleData
[144/391] Compiling SampleData BundleAccessor.swift
[145/392] Compiling ArgumentParser EnumerableFlag.swift
[146/392] Compiling ArgumentParser ExpressibleByArgument.swift
[147/392] Compiling ArgumentParser Option.swift
[148/392] Compiling ArgumentParser OptionGroup.swift
[149/392] Compiling ArgumentParser AsyncParsableCommand.swift
[150/392] Compiling ArgumentParser CommandConfiguration.swift
[151/392] Compiling ArgumentParser CommandGroup.swift
[152/392] Compiling XCResourceUtil TextFileOutputStream.swift
[153/392] Compiling XCResourceUtil URL+.swift
[155/392] Compiling ArgumentParser ArgumentHelp.swift
[156/392] Compiling ArgumentParser ArgumentVisibility.swift
[157/392] Compiling ArgumentParser CompletionKind.swift
[158/392] Compiling ArgumentParser Errors.swift
[159/392] Compiling ArgumentParser Flag.swift
[160/392] Compiling ArgumentParser NameSpecification.swift
[161/392] Compiling XCResourceUtil Tree.swift
[162/406] Compiling Strix SequenceParsers.swift
[163/406] Compiling Strix StringParsers.swift
[165/421] Compiling StrixParsers JSONParser.swift
[166/422] Compiling StrixParsers FormatSpecifierParser.swift
[167/422] Compiling StrixParsers Indent.swift
[168/422] Compiling StrixParsers PrattParser.swift
[169/422] Compiling StrixParsers Data+.swift
[170/422] Compiling StrixParsers String+.swift
[171/422] Compiling StrixParsers FormatPlaceholder.swift
[172/422] Compiling StrixParsers FormatSpecifier.swift
[173/422] Compiling StrixParsers CSVParser.swift
[174/422] Compiling StrixParsers Calculator.swift
[175/422] Emitting module StrixParsers
[176/422] Compiling StrixParsers ASCIIPlist.swift
[177/422] Compiling StrixParsers ASCIIPlistParser.swift
[178/422] Compiling StrixParsers JSON.swift
[179/422] Compiling StrixParsers JSONConvertibleValue.swift
[180/423] Emitting module ArgumentParserToolInfo
[181/423] Compiling ArgumentParserToolInfo ToolInfo.swift
[184/424] Compiling StrixParsers JSONParser.swift
[185/469] Compiling ArgumentParser Argument.swift
[186/469] Compiling ArgumentParser ArgumentDiscussion.swift
[186/469] Wrapping AST for SwiftSyntax601 for debugging
[188/469] Compiling XCResourceUtil SettableByKeyPath.swift
[189/469] 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 |         }
[189/469] Wrapping AST for SwiftSyntax600 for debugging
[190/469] Wrapping AST for SwiftSyntax510 for debugging
[191/469] Compiling ArgumentParser BashCompletionsGenerator.swift
[192/469] Compiling ArgumentParser CompletionsGenerator.swift
[193/469] Compiling ArgumentParser FishCompletionsGenerator.swift
[194/469] Compiling ArgumentParser ZshCompletionsGenerator.swift
[197/469] Compiling ArgumentParser ArgumentHelp.swift
[198/469] Compiling ArgumentParser ArgumentVisibility.swift
[199/469] Compiling ArgumentParser CompletionKind.swift
[200/469] Compiling ArgumentParser ExpressibleByArgument.swift
[201/469] Compiling ArgumentParser ParsableArguments.swift
[202/469] Compiling ArgumentParser ParsableCommand.swift
[203/469] Compiling ArgumentParser ArgumentDecoder.swift
[204/469] Compiling ArgumentParser ArgumentDefinition.swift
[205/469] Compiling ArgumentParser ArgumentSet.swift
[206/469] Compiling ArgumentParser CommandParser.swift
[207/469] Compiling ArgumentParser SplitArguments.swift
[208/469] Compiling ArgumentParser DumpHelpGenerator.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[209/469] Compiling XCResourceUtil SettableByKeyPath.swift
[210/469] Compiling XCResourceUtil DefaultStringInterpolation+.swift
[211/469] 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 |         }
[212/469] 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 |
/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 android