Build Information
Failed to build XCResource, reference 1.1.3 (4769e6
), with Swift 6.0 for Linux on 31 May 2025 13:46:48 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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: 1.1.3
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.3 -> FETCH_HEAD
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 1.1.3
========================================
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-3":/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/apple/swift-argument-parser.git
Fetching https://github.com/nearfri/Strix.git
Fetching https://github.com/swiftlang/swift-syntax.git
[1/1968] Fetching strix
[1969/17354] Fetching strix, swift-argument-parser
[17355/87912] Fetching strix, swift-argument-parser, swift-syntax
Fetched https://github.com/nearfri/Strix.git from cache (5.73s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (5.74s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (5.80s)
Computing version for https://github.com/nearfri/Strix.git
Computed https://github.com/nearfri/Strix.git at 2.4.6 (0.69s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.1 (3.43s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.1 (1.35s)
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/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.5.1
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 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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[31/95] 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 | }
[32/95] Emitting module SwiftSyntax510
[33/95] Compiling SwiftSyntax510 Empty.swift
[34/96] Emitting module SwiftSyntax600
[35/96] Compiling SwiftSyntax600 Empty.swift
[36/97] Emitting module TestUtil
[37/97] Compiling TestUtil expectEqual.swift
[39/98] Emitting module SwiftSyntax509
[40/98] Compiling SwiftSyntax509 Empty.swift
[43/99] Emitting module SwiftSyntax601
[44/99] Compiling SwiftSyntax601 Empty.swift
[46/100] Wrapping AST for SwiftSyntax600 for debugging
[47/102] Wrapping AST for SwiftSyntax510 for debugging
[48/102] Wrapping AST for SwiftSyntax509 for debugging
[49/102] Wrapping AST for SwiftSyntax601 for debugging
[51/102] Emitting module Documentation
[52/102] Compiling Documentation EmptyFile.swift
[54/169] Compiling ArgumentParserToolInfo ToolInfo.swift
[55/169] Emitting module ArgumentParserToolInfo
[56/170] Wrapping AST for ArgumentParserToolInfo for debugging
[58/170] Emitting module SampleData
[59/170] Compiling XCResourceUtil SettableByKeyPath.swift
[60/170] Compiling XCResourceUtil URL+.swift
[61/170] 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 | }
[62/170] Compiling SwiftSyntax SyntaxChildren.swift
[63/170] Compiling SwiftSyntax SyntaxCollection.swift
[64/170] Compiling SwiftSyntax SyntaxHashable.swift
[65/170] Compiling SwiftSyntax Identifier.swift
[66/170] Compiling SwiftSyntax MemoryLayout.swift
[67/170] Compiling SwiftSyntax MissingNodeInitializers.swift
[68/172] Compiling SampleData BundleAccessor.swift
[69/172] Compiling SampleData resource_bundle_accessor.swift
[70/173] Compiling SwiftSyntax SourceLength.swift
[71/173] Compiling SwiftSyntax AbsolutePosition.swift
[72/173] Compiling SwiftSyntax RawSyntaxTokenView.swift
[73/173] Compiling SwiftSyntax SourceEdit.swift
[74/173] Compiling SwiftSyntax RawSyntax.swift
[75/173] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[76/173] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[77/173] Compiling XCResourceUtil Tree.swift
[78/173] Compiling XCResourceUtil DefaultStringInterpolation+.swift
[79/173] Compiling SwiftSyntax Syntax.swift
[80/173] Compiling SwiftSyntax SyntaxArena.swift
[81/173] Compiling SwiftSyntax SyntaxArenaAllocatedBuffer.swift
[82/173] Emitting module Strix
[83/173] Compiling XCResourceUtil TextFileOutputStream.swift
[84/173] Compiling SwiftSyntax SourceLocation.swift
[85/173] Compiling SwiftSyntax SourcePresence.swift
[86/173] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[88/211] Compiling ArgumentParser CommandParser.swift
[89/211] Compiling ArgumentParser InputKey.swift
[90/212] Wrapping AST for Strix for debugging
[92/226] 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 | }
[93/226] Emitting module StrixParsers
BUILD FAILURE 6.0 linux