Build Information
Failed to build XCResource, reference main (c81a23), with Swift 6.0 for Linux on 22 Feb 2026 15:01:51 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build 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 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: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/nearfri/XCResource.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:5920b6fc7f526808de8dcf4e65806a8aca248ef5a9160d25a6b9c7489c0b8a3f
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-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/19166] Fetching strix, swift-argument-parser
Fetched https://github.com/nearfri/Strix.git from cache (0.30s)
[859/17169] Fetching swift-argument-parser
[17170/91558] Fetching swift-argument-parser, swift-syntax
Fetched https://github.com/apple/swift-argument-parser.git from cache (6.41s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (6.50s)
Computing version for https://github.com/nearfri/Strix.git
Computed https://github.com/nearfri/Strix.git at 2.4.8 (0.84s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.1 (5.58s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.7.0 (0.76s)
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.0
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 GenerateDoccReference
[3/3] Compiling plugin GenerateManual
Building for debugging...
[3/55] Write sources
[28/55] Copying Resources
[29/55] Compiling _SwiftSyntaxCShims dummy.c
[30/55] Write swift-version-24593BA9C3E375BF.txt
[32/94] Emitting module SwiftSyntax600
[33/96] Emitting module Strix
[34/98] Compiling SwiftSyntax510 Empty.swift
[35/98] Emitting module SwiftSyntax510
[37/99] Emitting module TestUtil
[38/99] Compiling TestUtil expectEqual.swift
[39/100] Emitting module SwiftSyntax509
[40/100] Compiling SwiftSyntax509 Empty.swift
[41/100] Compiling SwiftSyntax600 Empty.swift
[42/101] Emitting module SwiftSyntax601
[43/102] Compiling SwiftSyntax601 Empty.swift
[47/103] Wrapping AST for SwiftSyntax510 for debugging
[48/103] Wrapping AST for SwiftSyntax509 for debugging
[49/103] Wrapping AST for SwiftSyntax601 for debugging
[50/105] Wrapping AST for SwiftSyntax600 for debugging
[52/107] Compiling Documentation EmptyFile.swift
[53/107] Emitting module Documentation
[55/172] Emitting module ArgumentParserToolInfo
[56/172] Compiling ArgumentParserToolInfo ToolInfo.swift
[57/173] 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:17:17: note: 'replaceItem(at:withItemAt:backupItemName:options:resultingItemURL:)' has been explicitly marked unavailable here
15 | public func replaceItemAt(_ originalItemURL: URL, withItemAt newItemURL: URL, backupItemName: String? = nil, options: FileManager.ItemReplacementOptions = []) throws -> URL?
16 | @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.")
17 | 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
18 | }
[59/173] Compiling SwiftSyntax SourceLength.swift
[60/173] Compiling SwiftSyntax SourceLocation.swift
[61/173] Compiling SwiftSyntax RawSyntaxTokenView.swift
[62/173] Compiling SwiftSyntax SourceEdit.swift
[63/173] Compiling XCResourceUtil DefaultStringInterpolation+.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[64/173] 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 | }
[64/173] Wrapping AST for ArgumentParserToolInfo for debugging
[66/173] Emitting module SampleData
[67/173] Compiling SampleData BundleAccessor.swift
[68/173] Compiling SampleData resource_bundle_accessor.swift
[69/174] Compiling SwiftSyntax RawSyntax.swift
[70/174] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[71/174] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[72/174] Compiling SwiftSyntax Identifier.swift
[73/174] Compiling SwiftSyntax MemoryLayout.swift
[74/174] Compiling SwiftSyntax MissingNodeInitializers.swift
[75/174] Compiling SwiftSyntax Convenience.swift
[76/174] Compiling SwiftSyntax CustomTraits.swift
[77/174] Compiling SwiftSyntax EditorPlaceholder.swift
[78/174] Compiling SwiftSyntax Assert.swift
[79/174] Compiling SwiftSyntax BumpPtrAllocator.swift
[80/174] Compiling SwiftSyntax CommonAncestor.swift
[81/174] Compiling XCResourceUtil URL+.swift
[82/174] Compiling XCResourceUtil TextFileOutputStream.swift
[83/174] Compiling XCResourceUtil Tree.swift
[84/174] Compiling SwiftSyntax SourcePresence.swift
[85/174] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[86/174] Compiling SwiftSyntax AbsolutePosition.swift
[87/174] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[88/174] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[90/221] Wrapping AST for Strix for debugging
[92/235] Compiling StrixParsers Data+.swift
[93/235] Compiling StrixParsers String+.swift
[94/236] Compiling StrixParsers JSONParser.swift
[95/236] Emitting module StrixParsers
[96/236] Compiling StrixParsers FormatPlaceholder.swift
[97/236] Compiling StrixParsers FormatSpecifier.swift
[98/236] Compiling StrixParsers CSVParser.swift
[99/236] Compiling StrixParsers Calculator.swift
[102/236] Compiling StrixParsers ASCIIPlist.swift
[103/236] Compiling StrixParsers ASCIIPlistParser.swift
[108/236] Compiling StrixParsers FormatSpecifierParser.swift
[111/245] Compiling StrixParsers PrattParser.swift
[113/245] Compiling StrixParsers Indent.swift
[114/245] Compiling StrixParsers JSON.swift
[115/245] Compiling StrixParsers JSONConvertibleValue.swift
[116/246] Compiling XCResourceUtil SettableByKeyPath.swift
[117/246] 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 | }
BUILD FAILURE 6.0 linux