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 1.1.5 (79f2fc), with Swift 6.0 for Linux on 23 Nov 2025 19:30:59 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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.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: 1.1.5
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.5      -> FETCH_HEAD
HEAD is now at 79f2fc0 Update to 1.1.5
Cloned https://github.com/nearfri/XCResource.git
Revision (git rev-parse @):
79f2fc03078ab33962142e5b508ae0bb0cf75f8a
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/nearfri/XCResource.git at 1.1.5
========================================
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-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.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/swiftlang/swift-syntax.git
Fetching https://github.com/nearfri/Strix.git
[1/1997] Fetching strix
Fetched https://github.com/nearfri/Strix.git from cache (0.47s)
[1/72982] Fetching swift-syntax
Fetching https://github.com/apple/swift-argument-parser.git
Fetched https://github.com/swiftlang/swift-syntax.git from cache (9.60s)
[1/16860] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.21s)
Computing version for https://github.com/nearfri/Strix.git
Computed https://github.com/nearfri/Strix.git at 2.4.8 (3.32s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.1 (4.48s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.6.2 (1.06s)
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
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
[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/62] Emitting module SwiftSyntax509
[33/96] Compiling SwiftSyntax509 Empty.swift
[34/97] Compiling SwiftSyntax510 Empty.swift
[35/97] Emitting module SwiftSyntax510
[36/98] Emitting module SwiftSyntax600
[37/98] Compiling SwiftSyntax600 Empty.swift
[38/99] Emitting module SwiftSyntax601
[39/99] Compiling SwiftSyntax601 Empty.swift
[41/100] Emitting module TestUtil
[42/100] Compiling TestUtil expectEqual.swift
[45/101] Wrapping AST for SwiftSyntax510 for debugging
[46/101] Wrapping AST for SwiftSyntax601 for debugging
[48/101] Wrapping AST for SwiftSyntax600 for debugging
[49/103] Wrapping AST for SwiftSyntax509 for debugging
[51/105] Compiling Documentation EmptyFile.swift
[52/105] Emitting module Documentation
[54/170] Emitting module ArgumentParserToolInfo
[55/170] Compiling ArgumentParserToolInfo ToolInfo.swift
[57/171] Compiling XCResourceUtil DefaultStringInterpolation+.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[58/171] 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 |         }
[59/171] Emitting module SampleData
[60/171] Compiling SampleData BundleAccessor.swift
[61/171] Compiling SampleData resource_bundle_accessor.swift
[62/172] Compiling SwiftSyntax EditorPlaceholder.swift
[63/172] Compiling SwiftSyntax Identifier.swift
[63/174] Wrapping AST for ArgumentParserToolInfo for debugging
[65/174] Compiling SwiftSyntax Convenience.swift
[66/174] Compiling SwiftSyntax CustomTraits.swift
[67/174] Compiling XCResourceUtil Tree.swift
[68/174] Compiling XCResourceUtil TextFileOutputStream.swift
[69/174] Compiling XCResourceUtil URL+.swift
[70/174] Compiling SwiftSyntax Syntax.swift
[71/174] Compiling SwiftSyntax SyntaxArena.swift
[72/174] Compiling SwiftSyntax SyntaxArenaAllocatedBuffer.swift
[73/174] Compiling SwiftSyntax SourceLocation.swift
[74/174] Compiling SwiftSyntax SourcePresence.swift
[75/174] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[76/174] Emitting module Strix
[77/174] Compiling SwiftSyntax SyntaxChildren.swift
[78/174] Compiling SwiftSyntax SyntaxCollection.swift
[79/174] Compiling SwiftSyntax SyntaxHashable.swift
[80/174] Compiling SwiftSyntax Assert.swift
[81/174] Compiling SwiftSyntax BumpPtrAllocator.swift
[82/174] Compiling SwiftSyntax CommonAncestor.swift
[83/174] Compiling SwiftSyntax AbsolutePosition.swift
[84/174] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[85/174] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[87/218] Compiling ArgumentParser CompletionsGenerator.swift
[88/218] Compiling ArgumentParser FishCompletionsGenerator.swift
[89/219] Wrapping AST for Strix for debugging
[91/233] Compiling StrixParsers Data+.swift
[92/233] Compiling StrixParsers String+.swift
[93/234] Compiling StrixParsers JSONParser.swift
[94/234] Emitting module StrixParsers
[95/234] Compiling StrixParsers CSVParser.swift
[96/234] Compiling StrixParsers Calculator.swift
[97/234] Compiling StrixParsers ASCIIPlist.swift
[98/234] Compiling StrixParsers ASCIIPlistParser.swift
[99/234] Compiling StrixParsers JSON.swift
[100/234] Compiling StrixParsers JSONConvertibleValue.swift
[101/234] Compiling StrixParsers FormatSpecifierParser.swift
[102/234] Compiling StrixParsers Indent.swift
[103/234] Compiling StrixParsers FormatPlaceholder.swift
[104/234] Compiling StrixParsers FormatSpecifier.swift
[105/234] 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 | }
[106/234] Compiling XCResourceUtil SettableByKeyPath.swift
[107/234] 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 |         }
[108/234] Compiling ArgumentParser BashCompletionsGenerator.swift
[111/234] Compiling ArgumentParser ZshCompletionsGenerator.swift
[112/234] Compiling ArgumentParser Argument.swift
[113/234] Compiling ArgumentParser ArgumentDiscussion.swift
[114/234] Compiling ArgumentParser ArgumentHelp.swift
[115/234] Compiling ArgumentParser InputKey.swift
[116/234] Compiling ArgumentParser InputOrigin.swift
[120/234] Compiling ArgumentParser OptionGroup.swift
[121/234] Compiling ArgumentParser AsyncParsableCommand.swift
[122/234] Compiling ArgumentParser CommandConfiguration.swift
[123/234] Compiling ArgumentParser CommandGroup.swift
[124/234] Compiling ArgumentParser EnumerableFlag.swift
[125/234] Compiling ArgumentParser ExpressibleByArgument.swift
BUILD FAILURE 6.0 linux