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 (4769e6), with Swift 6.0 for Linux on 31 May 2025 13:47:30 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" 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.63.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 4769e6b Update to 1.1.3
Cloned https://github.com/nearfri/XCResource.git
Revision (git rev-parse @):
4769e6b27b94759fc7b7390c1ab7b11a19801b96
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" 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:eaa733228b13fb63f7b48fc0ae9a4552a427b7215d37e5caded5aa10021734d9
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-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/1968] Fetching strix
[1969/17354] Fetching strix, swift-argument-parser
[14894/87912] Fetching strix, swift-argument-parser, swift-syntax
Fetched https://github.com/nearfri/Strix.git from cache (6.82s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (6.83s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (6.90s)
Computing version for https://github.com/nearfri/Strix.git
Computed https://github.com/nearfri/Strix.git at 2.4.6 (1.33s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.1 (3.88s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.1 (0.71s)
Creating working copy for https://github.com/nearfri/Strix.git
Working copy of https://github.com/nearfri/Strix.git resolved at 2.4.6
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.5.1
[1/1] Compiling plugin Generate Resource Code
[2/2] Compiling plugin GenerateManual
Building for debugging...
[2/54] Write sources
[27/54] Copying Resources
[28/54] Compiling _SwiftSyntaxCShims dummy.c
[29/54] Write swift-version-24593BA9C3E375BF.txt
[31/95] Emitting module SampleData
[32/95] Emitting module Strix
[33/97] Emitting module TestUtil
[34/97] Compiling TestUtil expectEqual.swift
[35/97] Emitting module SwiftSyntax601
[36/97] Compiling SwiftSyntax601 Empty.swift
[37/97] Emitting module SwiftSyntax509
[38/98] Compiling SwiftSyntax509 Empty.swift
[39/100] Emitting module SwiftSyntax510
[40/100] Compiling SwiftSyntax510 Empty.swift
[41/101] Emitting module SwiftSyntax600
[42/101] Compiling SwiftSyntax600 Empty.swift
[47/102] Wrapping AST for SwiftSyntax509 for debugging
[48/104] Wrapping AST for SwiftSyntax510 for debugging
[49/104] Wrapping AST for SwiftSyntax600 for debugging
[50/106] Wrapping AST for SwiftSyntax601 for debugging
[52/106] Compiling Documentation EmptyFile.swift
[53/106] Emitting module Documentation
[55/171] Compiling SwiftSyntax MemoryLayout.swift
[56/171] Compiling SwiftSyntax MissingNodeInitializers.swift
[57/171] Compiling SwiftSyntax SyntaxProtocol.swift
[58/171] Compiling SwiftSyntax SyntaxText.swift
[59/171] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[60/171] Compiling SwiftSyntax SyntaxIdentifier.swift
[61/171] Compiling SwiftSyntax SyntaxNodeFactory.swift
[62/171] Compiling SwiftSyntax SyntaxNodeStructure.swift
[63/171] Compiling SwiftSyntax Assert.swift
[64/171] Compiling SwiftSyntax BumpPtrAllocator.swift
[65/171] Compiling SwiftSyntax CommonAncestor.swift
[66/171] 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 | }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[67/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 |         }
[68/171] Compiling XCResourceUtil DefaultStringInterpolation+.swift
[69/171] Compiling XCResourceUtil URL+.swift
[70/171] Compiling SwiftSyntax Convenience.swift
[71/171] Compiling SwiftSyntax CustomTraits.swift
[72/171] Compiling SwiftSyntax EditorPlaceholder.swift
[73/171] Compiling SampleData resource_bundle_accessor.swift
[74/171] Compiling SwiftSyntax TokenSyntax.swift
[75/171] Compiling SwiftSyntax Identifier.swift
[76/171] Compiling SwiftSyntax TokenDiagnostic.swift
[77/171] Compiling SwiftSyntax TokenSequence.swift
[78/171] Compiling SwiftSyntax AbsolutePosition.swift
[79/171] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[80/171] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[81/171] Compiling SampleData BundleAccessor.swift
[82/171] Emitting module ArgumentParserToolInfo
[83/171] Compiling ArgumentParserToolInfo ToolInfo.swift
[84/173] Compiling XCResourceUtil Tree.swift
[87/174] Wrapping AST for Strix for debugging
[88/174] Wrapping AST for ArgumentParserToolInfo for debugging
[90/226] Compiling StrixParsers JSONParser.swift
[91/227] Compiling StrixParsers FormatSpecifierParser.swift
[92/227] Compiling StrixParsers Indent.swift
[93/227] Compiling StrixParsers Data+.swift
[94/227] Compiling StrixParsers String+.swift
[95/227] Compiling StrixParsers FormatPlaceholder.swift
[96/227] Compiling StrixParsers FormatSpecifier.swift
[97/227] Compiling StrixParsers ASCIIPlist.swift
[98/227] Compiling StrixParsers ASCIIPlistParser.swift
[99/227] Emitting module StrixParsers
[100/227] Compiling StrixParsers CSVParser.swift
[101/227] Compiling StrixParsers Calculator.swift
[102/227] Compiling StrixParsers JSON.swift
[103/227] Compiling StrixParsers JSONConvertibleValue.swift
[104/227] Compiling StrixParsers PrattParser.swift
[106/228] Compiling XCResourceUtil TextFileOutputStream.swift
[107/228] Compiling XCResourceUtil SettableByKeyPath.swift
[108/228] 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/228] Wrapping AST for StrixParsers for debugging
[121/228] Compiling ArgumentParser OptionGroup.swift
[122/228] Compiling ArgumentParser AsyncParsableCommand.swift
[123/228] Compiling ArgumentParser CommandConfiguration.swift
[124/228] Compiling ArgumentParser CommandGroup.swift
[125/228] Compiling ArgumentParser EnumerableFlag.swift
[126/228] Compiling ArgumentParser ExpressibleByArgument.swift
[127/228] Compiling ArgumentParser ParsableArguments.swift
[128/228] Compiling ArgumentParser ParsableArgumentsValidation.swift
[129/228] Compiling ArgumentParser ParsableCommand.swift
[130/228] Compiling ArgumentParser ArgumentDecoder.swift
[131/228] Compiling ArgumentParser ArgumentDefinition.swift
[132/228] Compiling ArgumentParser ArgumentSet.swift
[133/228] Compiling ArgumentParser CommandParser.swift
[134/228] Compiling ArgumentParser InputKey.swift
[135/228] Compiling ArgumentParser InputOrigin.swift
BUILD FAILURE 6.0 linux