Build Information
Failed to build XCResource, reference main (a430f8), with Swift 6.2 for Android on 12 Jul 2026 18:46:55 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: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: 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: 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-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: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/swiftlang/swift-syntax.git
Fetching https://github.com/nearfri/Strix.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.64s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (2.64s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (2.66s)
Computing version for https://github.com/nearfri/Strix.git
Computed https://github.com/nearfri/Strix.git at 2.4.8 (2.80s)
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.15s)
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
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
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] Copying Resources
[51/102] Compiling _SwiftSyntaxCShims dummy.c
[53/102] Write swift-version--11D90AFD9DD3AB2.txt
[55/148] Emitting module SwiftSyntax510
error: emit-module command failed with exit code 1 (use -v to see invocation)
[56/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 | }
[57/148] Emitting module SwiftSyntax509
[58/148] Compiling SwiftSyntax509 Empty.swift
[59/149] Emitting module SwiftSyntax600
[60/149] Compiling SwiftSyntax600 Empty.swift
[63/154] Compiling SwiftSyntax510 Empty.swift
[64/155] Emitting module SwiftSyntax601
[67/157] Compiling SwiftSyntax601 Empty.swift
[69/160] Emitting module SwiftSyntax509
[70/160] Compiling SwiftSyntax509 Empty.swift
[71/161] Emitting module TestUtil
[72/161] Compiling TestUtil expectEqual.swift
[75/246] Compiling SwiftSyntax510 Empty.swift
[76/246] Emitting module SwiftSyntax510
[78/247] Compiling SwiftSyntax600 Empty.swift
[79/247] Emitting module SwiftSyntax600
[81/251] Compiling SwiftSyntax601 Empty.swift
[83/256] Emitting module Documentation
[84/256] Compiling Documentation EmptyFile.swift
[86/257] Emitting module Strix
[87/257] Compiling XCResourceUtil Tree.swift
[88/259] Compiling SwiftSyntax SourceLocation.swift
[89/259] Compiling SwiftSyntax SourcePresence.swift
[90/259] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[91/259] Compiling XCResourceUtil TextFileOutputStream.swift
[92/259] Compiling SwiftSyntax SourceLength.swift
[93/259] Compiling SwiftSyntax AbsolutePosition.swift
[94/259] Compiling SwiftSyntax Identifier.swift
[95/259] Compiling SwiftSyntax MemoryLayout.swift
[96/259] Compiling SwiftSyntax MissingNodeInitializers.swift
[97/260] Compiling XCResourceUtil DefaultStringInterpolation+.swift
[98/274] Compiling XCResourceUtil URL+.swift
[99/281] 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 |
[100/297] Compiling SwiftSyntax Convenience.swift
[101/297] Compiling SwiftSyntax CustomTraits.swift
[102/297] Compiling SwiftSyntax EditorPlaceholder.swift
[103/323] Compiling SwiftSyntax RawSyntaxTokenView.swift
[104/323] Compiling SwiftSyntax SourceEdit.swift
[105/323] Compiling SwiftSyntax RawSyntax.swift
[106/323] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[107/323] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[108/323] Compiling SwiftSyntax Assert.swift
[109/323] Compiling SwiftSyntax BumpPtrAllocator.swift
[110/323] Compiling SwiftSyntax CommonAncestor.swift
[111/323] Compiling SwiftSyntax SourcePresence.swift
[112/323] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[114/326] Compiling ArgumentParserToolInfo ToolInfo.swift
[115/326] Emitting module ArgumentParserToolInfo
[117/341] Compiling StrixParsers ASCIIPlist.swift
[118/341] Compiling StrixParsers ASCIIPlistParser.swift
[119/341] Compiling StrixParsers Data+.swift
[120/341] Compiling StrixParsers String+.swift
[121/341] Compiling StrixParsers CSVParser.swift
[122/341] Compiling StrixParsers Calculator.swift
[123/341] Compiling StrixParsers FormatPlaceholder.swift
[124/341] Compiling StrixParsers FormatSpecifier.swift
[125/341] Compiling StrixParsers JSON.swift
[126/350] Emitting module ArgumentParserToolInfo
[127/350] Compiling ArgumentParserToolInfo ToolInfo.swift
[129/351] Emitting module StrixParsers
[130/353] Compiling StrixParsers JSONParser.swift
[131/399] Compiling XCResourceUtil URL+.swift
[132/399] Compiling ArgumentParser FishCompletionsGenerator.swift
[133/399] Compiling ArgumentParser ZshCompletionsGenerator.swift
[134/399] Compiling ArgumentParser CommandGroup.swift
[135/399] Compiling ArgumentParser EnumerableFlag.swift
[136/401] Compiling ArgumentParser Option.swift
[137/401] Compiling ArgumentParser OptionGroup.swift
[138/401] Compiling SampleData resource_bundle_accessor.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[139/401] 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 | }
[140/401] Compiling ArgumentParser CompletionKind.swift
[141/401] Compiling ArgumentParser Errors.swift
[142/401] Compiling ArgumentParser Flag.swift
[143/401] Compiling ArgumentParser NameSpecification.swift
[144/401] Compiling ArgumentParser BashCompletionsGenerator.swift
[145/401] Compiling ArgumentParser CompletionsGenerator.swift
[147/401] Emitting module Strix
[148/401] Compiling XCResourceUtil DefaultStringInterpolation+.swift
[149/401] Compiling ArgumentParser Argument.swift
[150/401] Compiling ArgumentParser ArgumentDiscussion.swift
[153/401] Compiling ArgumentParser ParentCommand.swift
[154/401] Compiling ArgumentParser AsyncParsableCommand.swift
[155/401] Compiling ArgumentParser CommandConfiguration.swift
[156/401] Compiling ArgumentParser ArgumentHelp.swift
[157/401] Compiling ArgumentParser ArgumentVisibility.swift
[158/401] Compiling SampleData BundleAccessor.swift
[159/401] Emitting module SampleData
[160/402] 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 |
[161/402] Compiling XCResourceUtil SettableByKeyPath.swift
[162/402] 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 | }
[173/402] Compiling XCResourceUtil TextFileOutputStream.swift
BUILD FAILURE 6.2 android