Build Information
Failed to build XCResource, reference 1.1.7 (a430f8), with Swift 6.2 for Android on 12 Jul 2026 18:42:14 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886769-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:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 0e64495ecc1688c3b3e031a5ef1348b5c05091ae
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nearfri/XCResource.git
Reference: 1.1.7
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.7 -> FETCH_HEAD
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 1.1.7
========================================
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-53886769-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:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:3f0849bce0d177c252f57ff0847fffe59d625aee973279c71a52a43c740d3c90
Status: Image is up to date for registry.gitlab.com/saguaro1/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/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.46s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (2.47s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (2.49s)
Computing version for https://github.com/nearfri/Strix.git
Computed https://github.com/nearfri/Strix.git at 2.4.8 (2.64s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.1 (0.98s)
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.16s)
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.8.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
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.48s)
[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--11D90AFD9DD3AB2.txt
[55/124] Emitting module SwiftSyntax601
[56/124] Compiling SwiftSyntax601 Empty.swift
[57/125] Compiling SwiftSyntax510 Empty.swift
[58/125] Emitting module SwiftSyntax510
[61/136] Emitting module SwiftSyntax509
[62/136] Compiling SwiftSyntax509 Empty.swift
[64/139] Emitting module SwiftSyntax509
[65/139] Compiling SwiftSyntax509 Empty.swift
[67/140] Compiling SwiftSyntax600 Empty.swift
[68/140] Emitting module SwiftSyntax600
[70/151] Emitting module SwiftSyntax510
[71/153] Compiling SwiftSyntax510 Empty.swift
[73/182] Compiling SwiftSyntax600 Empty.swift
[74/182] Emitting module SwiftSyntax600
[76/186] Emitting module SwiftSyntax601
[77/186] Compiling SwiftSyntax601 Empty.swift
[79/189] Compiling Documentation EmptyFile.swift
[80/189] Emitting module Documentation
[82/232] Emitting module TestUtil
[83/232] Compiling TestUtil expectEqual.swift
[85/321] Compiling SwiftSyntax Identifier.swift
[86/321] Compiling SwiftSyntax MemoryLayout.swift
[87/321] Compiling SwiftSyntax MissingNodeInitializers.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[88/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 | }
[89/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 |
[90/323] Compiling SwiftSyntax AbsolutePosition.swift
[91/323] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[92/323] Compiling SwiftSyntax RawSyntaxTokenView.swift
[93/323] Compiling SwiftSyntax SourceEdit.swift
[94/323] Compiling SwiftSyntax SourceLength.swift
[95/323] Compiling XCResourceUtil Tree.swift
[96/323] Compiling XCResourceUtil URL+.swift
[97/323] Compiling XCResourceUtil TextFileOutputStream.swift
[98/323] Compiling SwiftSyntax RawSyntax.swift
[99/323] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[100/323] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[101/323] Emitting module Strix
[102/323] Compiling SwiftSyntax EditorPlaceholder.swift
[103/323] Compiling SwiftSyntax SourceLocation.swift
[104/323] Compiling SwiftSyntax CommonAncestor.swift
[105/323] Compiling SwiftSyntax Convenience.swift
[106/323] Compiling SwiftSyntax CustomTraits.swift
[107/323] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[108/323] Compiling SwiftSyntax Assert.swift
[109/323] Compiling SwiftSyntax BumpPtrAllocator.swift
[110/323] Compiling Strix SequenceParsers.swift
[111/323] Compiling Strix StringParsers.swift
[112/324] Emitting module ArgumentParserToolInfo
[113/324] Compiling ArgumentParserToolInfo ToolInfo.swift
[116/341] Compiling SwiftSyntax SyntaxIdentifier.swift
[117/341] Compiling SwiftSyntax SyntaxNodeFactory.swift
[118/341] Compiling SwiftSyntax SyntaxNodeStructure.swift
[119/341] Compiling SwiftSyntax SyntaxProtocol.swift
[120/341] Compiling SwiftSyntax SyntaxText.swift
[121/341] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[122/341] Compiling SwiftSyntax TokenDiagnostic.swift
[123/341] Compiling SwiftSyntax TokenSequence.swift
[124/341] Compiling SwiftSyntax TokenSyntax.swift
[125/350] Compiling StrixParsers JSONParser.swift
[126/351] Compiling StrixParsers CSVParser.swift
[127/351] Compiling StrixParsers Calculator.swift
[128/351] Compiling StrixParsers Data+.swift
[129/351] Compiling StrixParsers String+.swift
[130/351] Compiling StrixParsers ASCIIPlist.swift
[131/351] Compiling StrixParsers ASCIIPlistParser.swift
[132/351] Emitting module StrixParsers
[133/351] Compiling StrixParsers FormatSpecifierParser.swift
[134/351] Compiling StrixParsers Indent.swift
[135/351] Compiling StrixParsers JSON.swift
[136/351] Compiling StrixParsers JSONConvertibleValue.swift
[137/351] Compiling StrixParsers FormatPlaceholder.swift
[138/351] Compiling StrixParsers FormatSpecifier.swift
[139/351] Compiling StrixParsers PrattParser.swift
[141/352] Compiling XCResourceUtil DefaultStringInterpolation+.swift
[142/352] Compiling XCResourceUtil SettableByKeyPath.swift
[143/352] 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 | }
[144/352] Emitting module ArgumentParserToolInfo
[145/352] Compiling ArgumentParserToolInfo ToolInfo.swift
[146/352] Emitting module SampleData
BUILD FAILURE 6.2 android