Build Information
Failed to build XCResource, reference main (2059d8
), with Swift 6.2 (beta) for Linux on 31 Aug 2025 16:03:56 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.67.1
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 2059d88 Fix URL(filePath:expandingTilde:directoryHint:relativeTo:) compatibility on macOS 26
Cloned https://github.com/nearfri/XCResource.git
Revision (git rev-parse @):
2059d8808b02a935fd4526852addcf765059a1dc
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/nearfri/XCResource.git at main
========================================
Build
========================================
Selected platform: linux
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-4606859-3":/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.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:c6c8e08ea30bca759adf847aac87887750120fe9b6eaea09f5af37036a41e81a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/nearfri/Strix.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/swiftlang/swift-syntax.git
[1/1997] Fetching strix
[1998/73839] Fetching strix, swift-syntax
[4154/89528] Fetching strix, swift-syntax, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.30s)
[22113/73839] Fetching strix, swift-syntax
Fetched https://github.com/nearfri/Strix.git from cache (7.39s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (7.45s)
Computing version for https://github.com/nearfri/Strix.git
Computed https://github.com/nearfri/Strix.git at 2.4.8 (7.89s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.1 (4.51s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.6.1 (0.43s)
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.6.1
[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] Compiling _SwiftSyntaxCShims dummy.c
[52/102] Copying Resources
[53/102] Write swift-version-24593BA9C3E375BF.txt
[55/130] Emitting module TestUtil
error: emit-module command failed with exit code 1 (use -v to see invocation)
[56/130] 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/130] Compiling SwiftSyntax601 Empty.swift
[58/130] Emitting module SwiftSyntax601
[59/131] Compiling SwiftSyntax600 Empty.swift
[60/131] Emitting module SwiftSyntax600
[63/132] Compiling SwiftSyntax600 Empty.swift
[64/132] Emitting module SwiftSyntax601
[65/132] Compiling SwiftSyntax601 Empty.swift
[67/134] Emitting module SwiftSyntax510
[68/134] Compiling SwiftSyntax510 Empty.swift
[72/137] Compiling TestUtil expectEqual.swift
[73/140] Compiling SwiftSyntax510 Empty.swift
[74/140] Emitting module SwiftSyntax510
[76/143] Emitting module SwiftSyntax509
[77/143] Compiling SwiftSyntax509 Empty.swift
[80/184] Emitting module SwiftSyntax509
[83/192] Emitting module Documentation
[84/192] Compiling Documentation EmptyFile.swift
[86/321] Emitting module ArgumentParserToolInfo
[87/321] Compiling ArgumentParserToolInfo ToolInfo.swift
[89/324] Compiling XCResourceUtil URL+.swift
[90/324] Compiling SwiftSyntax SourceLength.swift
[91/324] Compiling SwiftSyntax AbsolutePosition.swift
[92/326] Compiling XCResourceUtil URL+.swift
[93/326] Compiling SwiftSyntax Identifier.swift
[94/326] Compiling SwiftSyntax MemoryLayout.swift
[95/326] Compiling SwiftSyntax MissingNodeInitializers.swift
[96/326] Compiling XCResourceUtil TextFileOutputStream.swift
[97/326] Compiling XCResourceUtil Tree.swift
[98/326] Compiling XCResourceUtil TextFileOutputStream.swift
[99/326] Compiling XCResourceUtil Tree.swift
[100/326] Compiling SampleData BundleAccessor.swift
[101/326] Emitting module SampleData
[102/326] Compiling SampleData resource_bundle_accessor.swift
[103/326] Compiling SwiftSyntax SourceLocation.swift
[104/326] Compiling SwiftSyntax SourcePresence.swift
[105/326] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[106/327] Compiling SwiftSyntax RawSyntax.swift
[107/327] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[108/327] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[112/327] Compiling SwiftSyntax RawSyntaxTokenView.swift
[113/327] Compiling SwiftSyntax SourceEdit.swift
[114/329] Compiling SwiftSyntax SyntaxChildren.swift
[115/329] Compiling SwiftSyntax SyntaxCollection.swift
[116/329] Compiling SwiftSyntax SyntaxHashable.swift
[125/329] Emitting module Strix
[126/329] Compiling SwiftSyntax Syntax.swift
[127/329] Compiling SwiftSyntax SyntaxArena.swift
[128/329] Compiling SwiftSyntax SyntaxArenaAllocatedBuffer.swift
[138/329] Emitting module Strix
[139/373] Compiling ArgumentParser ParsableArguments.swift
[140/373] Compiling ArgumentParser ParsableCommand.swift
[145/403] Emitting module ArgumentParserToolInfo
[146/403] Compiling ArgumentParserToolInfo ToolInfo.swift
[148/404] Compiling StrixParsers CSVParser.swift
[149/404] Compiling StrixParsers Calculator.swift
[150/404] Compiling StrixParsers ASCIIPlist.swift
[151/404] Compiling StrixParsers ASCIIPlistParser.swift
[152/404] Compiling StrixParsers Data+.swift
[153/404] Compiling StrixParsers String+.swift
[154/404] Compiling StrixParsers FormatPlaceholder.swift
[155/404] Compiling StrixParsers FormatSpecifier.swift
[156/404] Compiling StrixParsers JSON.swift
[157/404] Compiling StrixParsers JSONConvertibleValue.swift
[158/404] Compiling StrixParsers FormatSpecifierParser.swift
[159/404] Compiling StrixParsers Indent.swift
[160/404] Compiling ArgumentParser Option.swift
[161/404] Compiling ArgumentParser OptionGroup.swift
[162/404] Compiling ArgumentParser AsyncParsableCommand.swift
[163/404] Compiling ArgumentParser CommandConfiguration.swift
[164/404] Compiling ArgumentParser CommandGroup.swift
[165/404] Compiling ArgumentParser EnumerableFlag.swift
[166/457] Compiling StrixParsers JSONParser.swift
[167/458] Compiling ArgumentParser CompletionKind.swift
[168/458] Compiling ArgumentParser Errors.swift
[169/458] Compiling StrixParsers JSONParser.swift
[170/458] Compiling ArgumentParser Flag.swift
[171/458] Compiling ArgumentParser NameSpecification.swift
[172/459] Emitting module StrixParsers
[173/459] Compiling ArgumentParser BashCompletionsGenerator.swift
[174/459] Compiling ArgumentParser CompletionsGenerator.swift
[175/459] Compiling StrixParsers PrattParser.swift
[176/459] Emitting module StrixParsers
[179/459] Compiling ArgumentParser FishCompletionsGenerator.swift
[180/459] Compiling ArgumentParser ZshCompletionsGenerator.swift
[181/459] Compiling ArgumentParser Argument.swift
[182/459] Compiling ArgumentParser ArgumentDiscussion.swift
[185/459] Compiling ArgumentParser ArgumentHelp.swift
[186/459] Compiling ArgumentParser ArgumentVisibility.swift
[196/460] Compiling StrixParsers PrattParser.swift
[197/461] Wrapping AST for SwiftSyntax601 for debugging
[199/461] Wrapping AST for SwiftSyntax600 for debugging
[201/461] Wrapping AST for SwiftSyntax510 for debugging
[206/461] Compiling ArgumentParser Option.swift
[207/461] Compiling ArgumentParser ParsableArguments.swift
[208/461] Compiling ArgumentParser ParsableCommand.swift
[209/461] Compiling ArgumentParser ArgumentDecoder.swift
[210/461] Compiling ArgumentParser ArgumentDefinition.swift
[211/461] Compiling ArgumentParser ArgumentSet.swift
[212/461] Compiling ArgumentParser CommandParser.swift
[213/461] Compiling ArgumentParser OptionGroup.swift
[214/461] Compiling ArgumentParser AsyncParsableCommand.swift
[215/461] Compiling ArgumentParser CommandConfiguration.swift
[216/461] Compiling ArgumentParser CommandGroup.swift
[217/461] Compiling ArgumentParser EnumerableFlag.swift
[218/461] Compiling ArgumentParser ExpressibleByArgument.swift
[219/461] Compiling ArgumentParser InputKey.swift
[220/461] Compiling ArgumentParser InputOrigin.swift
[229/470] Wrapping AST for SwiftSyntax510 for debugging
[230/470] Wrapping AST for SwiftSyntax509 for debugging
[232/470] Wrapping AST for StrixParsers for debugging
[234/470] Wrapping AST for Strix for debugging
[236/470] Wrapping AST for ArgumentParserToolInfo for debugging
[239/470] Compiling XCResourceUtil SettableByKeyPath.swift
[240/470] 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 |
[241/470] Compiling XCResourceUtil DefaultStringInterpolation+.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[242/470] 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 | }
[243/470] 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 | }
[244/470] Compiling XCResourceUtil DefaultStringInterpolation+.swift
[245/470] 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.2 linux