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.0 for Linux on 6 Dec 2025 20:10:18 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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

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:         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-4606859-1":/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:d50cceb83aba9237d7903cc3c4ef7bd8f8bfaaf83777b35554908a03d392fd03
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/18874] Fetching strix, swift-argument-parser
[18875/91898] Fetching strix, swift-argument-parser, swift-syntax
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.62s)
[10760/75021] Fetching strix, swift-syntax
Fetched https://github.com/nearfri/Strix.git from cache (4.30s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (4.37s)
Computing version for https://github.com/nearfri/Strix.git
Computed https://github.com/nearfri/Strix.git at 2.4.8 (0.59s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.1 (2.46s)
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.61s)
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
[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] Compiling _SwiftSyntaxCShims dummy.c
[29/55] Copying Resources
[30/55] Write swift-version-24593BA9C3E375BF.txt
[32/96] Emitting module Strix
[33/98] Compiling SwiftSyntax601 Empty.swift
[34/98] Emitting module SwiftSyntax601
[35/99] Emitting module SwiftSyntax510
[36/99] Compiling SwiftSyntax510 Empty.swift
[38/100] Emitting module SwiftSyntax600
[39/100] Compiling SwiftSyntax600 Empty.swift
[40/101] Emitting module SwiftSyntax509
[41/101] Compiling SwiftSyntax509 Empty.swift
[43/102] Emitting module TestUtil
[44/102] Compiling TestUtil expectEqual.swift
[47/103] Wrapping AST for SwiftSyntax601 for debugging
[48/103] Wrapping AST for SwiftSyntax600 for debugging
[49/105] Wrapping AST for SwiftSyntax510 for debugging
[51/107] Compiling Documentation EmptyFile.swift
[51/107] Wrapping AST for SwiftSyntax509 for debugging
[53/107] Emitting module Documentation
[55/172] Emitting module ArgumentParserToolInfo
[56/172] Compiling XCResourceUtil URL+.swift
[57/172] Compiling SampleData resource_bundle_accessor.swift
[58/172] Compiling SwiftSyntax AbsolutePosition.swift
[59/172] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[60/172] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[61/172] Compiling SwiftSyntax Assert.swift
[62/172] Compiling SwiftSyntax BumpPtrAllocator.swift
[63/172] Compiling SwiftSyntax CommonAncestor.swift
[64/172] Compiling SwiftSyntax Convenience.swift
[65/172] Compiling SwiftSyntax CustomTraits.swift
[66/172] Compiling SwiftSyntax EditorPlaceholder.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[67/172] Compiling XCResourceUtil DefaultStringInterpolation+.swift
[68/172] 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 |         }
[69/181] 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 | }
[70/181] Emitting module SampleData
[71/181] Compiling SampleData BundleAccessor.swift
[72/181] Compiling ArgumentParserToolInfo ToolInfo.swift
[76/183] Compiling SwiftSyntax SourcePresence.swift
[77/183] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[78/183] Compiling SwiftSyntax RawSyntaxTokenView.swift
[79/183] Compiling SwiftSyntax SourceEdit.swift
[80/183] Compiling SwiftSyntax SourceLength.swift
[81/183] Compiling SwiftSyntax SourceLocation.swift
[82/183] Compiling SwiftSyntax Identifier.swift
[83/183] Compiling SwiftSyntax MemoryLayout.swift
[84/183] Compiling SwiftSyntax MissingNodeInitializers.swift
[91/183] Compiling SwiftSyntax RawSyntax.swift
[92/183] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[93/183] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[94/183] Compiling XCResourceUtil Tree.swift
[95/183] Compiling XCResourceUtil TextFileOutputStream.swift
[98/184] Wrapping AST for ArgumentParserToolInfo for debugging
[99/184] Wrapping AST for Strix for debugging
[101/242] Compiling ArgumentParser Name.swift
[102/242] Compiling ArgumentParser Parsed.swift
[103/242] Compiling ArgumentParser ParsedValues.swift
[104/242] Compiling ArgumentParser ParserError.swift
[105/242] Compiling ArgumentParser SplitArguments.swift
[106/242] Compiling ArgumentParser DumpHelpGenerator.swift
[107/242] Compiling ArgumentParser HelpCommand.swift
[108/242] Compiling ArgumentParser HelpGenerator.swift
[109/242] Compiling ArgumentParser MessageInfo.swift
[110/242] Compiling StrixParsers JSONParser.swift
[111/243] Compiling StrixParsers Indent.swift
[112/243] Compiling StrixParsers JSON.swift
[113/243] Compiling StrixParsers JSONConvertibleValue.swift
[114/243] Compiling ArgumentParser Option.swift
[115/243] Compiling ArgumentParser OptionGroup.swift
[116/243] Compiling ArgumentParser AsyncParsableCommand.swift
[117/243] Compiling ArgumentParser CommandConfiguration.swift
[118/243] Compiling ArgumentParser CommandGroup.swift
[119/243] Compiling ArgumentParser EnumerableFlag.swift
[120/243] Compiling StrixParsers ASCIIPlist.swift
[121/243] Compiling StrixParsers ASCIIPlistParser.swift
[122/243] Emitting module StrixParsers
[123/243] Compiling StrixParsers CSVParser.swift
[124/243] Compiling StrixParsers Calculator.swift
[125/243] Compiling StrixParsers FormatSpecifierParser.swift
[127/243] Compiling StrixParsers Data+.swift
[128/243] Compiling StrixParsers String+.swift
[129/243] Compiling StrixParsers FormatPlaceholder.swift
[130/243] Compiling StrixParsers FormatSpecifier.swift
[133/243] Compiling StrixParsers PrattParser.swift
[135/244] Compiling XCResourceUtil SettableByKeyPath.swift
[136/244] 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 |         }
[136/244] Wrapping AST for StrixParsers for debugging
BUILD FAILURE 6.0 linux