Build Information
Failed to build XCResource, reference main (4769e6
), with Swift 6.2 (beta) for Linux on 24 Jun 2025 07:02:06 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.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.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 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.2
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.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
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/swiftlang/swift-syntax.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/1968] Fetching strix
Fetched https://github.com/nearfri/Strix.git from cache (0.60s)
[1/15380] Fetching swift-argument-parser
[9845/86307] Fetching swift-argument-parser, swift-syntax
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.44s)
[12767/70927] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (6.96s)
Computing version for https://github.com/nearfri/Strix.git
Computed https://github.com/nearfri/Strix.git at 2.4.6 (7.44s)
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.5.1 (0.50s)
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
Creating working copy for https://github.com/nearfri/Strix.git
Working copy of https://github.com/nearfri/Strix.git resolved at 2.4.6
[1/1] Compiling plugin Generate Resource Code
[2/2] Compiling plugin GenerateManual
Building for debugging...
[2/101] Write sources
[49/101] Copying Resources
[50/101] Compiling _SwiftSyntaxCShims dummy.c
[52/101] Write swift-version-24593BA9C3E375BF.txt
[54/115] Emitting module SwiftSyntax601
[55/115] Emitting module SwiftSyntax510
[56/115] Emitting module SwiftSyntax509
[57/135] Emitting module SwiftSyntax600
[58/135] Compiling SwiftSyntax600 Empty.swift
[59/136] Emitting module SwiftSyntax601
[60/136] Compiling SwiftSyntax601 Empty.swift
[62/137] Compiling SwiftSyntax509 Empty.swift
[64/138] Compiling SwiftSyntax600 Empty.swift
[65/138] Emitting module SwiftSyntax600
[66/138] Compiling SwiftSyntax510 Empty.swift
[70/152] Compiling SwiftSyntax601 Empty.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[72/157] 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 | }
[73/163] Emitting module SwiftSyntax510
[74/163] Compiling SwiftSyntax510 Empty.swift
[75/163] Emitting module SwiftSyntax509
[76/163] Compiling SwiftSyntax509 Empty.swift
[77/165] Emitting module ArgumentParserToolInfo
[78/165] Compiling ArgumentParserToolInfo ToolInfo.swift
[82/317] Emitting module TestUtil
[83/317] Compiling TestUtil expectEqual.swift
[85/320] Emitting module Documentation
[86/320] Compiling Documentation EmptyFile.swift
[88/323] Compiling XCResourceUtil URL+.swift
[89/323] Compiling SwiftSyntax SyntaxHashable.swift
[90/323] Compiling SwiftSyntax Identifier.swift
[91/325] Compiling SwiftSyntax SyntaxChildren.swift
[92/325] Compiling SwiftSyntax SyntaxCollection.swift
[93/325] Compiling XCResourceUtil URL+.swift
[94/325] Compiling SwiftSyntax Syntax.swift
[95/325] Compiling SwiftSyntax SyntaxArena.swift
[96/325] Compiling SwiftSyntax SyntaxArenaAllocatedBuffer.swift
[97/325] Compiling SwiftSyntax SourceLocation.swift
[98/325] Compiling SwiftSyntax SourcePresence.swift
[99/325] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[100/325] Compiling SwiftSyntax Convenience.swift
[101/325] Compiling SwiftSyntax CustomTraits.swift
[102/325] Compiling SwiftSyntax EditorPlaceholder.swift
[103/325] Compiling XCResourceUtil DefaultStringInterpolation+.swift
[104/325] 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 |
/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 |
[109/327] Compiling SampleData resource_bundle_accessor.swift
[110/327] Emitting module SampleData
[111/327] Compiling SampleData BundleAccessor.swift
[122/328] Compiling SwiftSyntax AbsolutePosition.swift
[123/328] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[124/328] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[125/328] Emitting module Strix
[126/328] Compiling SwiftSyntax Assert.swift
[127/328] Compiling SwiftSyntax BumpPtrAllocator.swift
[128/328] Compiling SwiftSyntax CommonAncestor.swift
[130/328] Compiling XCResourceUtil TextFileOutputStream.swift
[131/328] Compiling XCResourceUtil Tree.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[132/328] 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 | }
[133/328] Compiling XCResourceUtil DefaultStringInterpolation+.swift
[134/328] Emitting module Strix
[135/328] Compiling XCResourceUtil TextFileOutputStream.swift
[136/328] Compiling XCResourceUtil Tree.swift
[143/366] Compiling ArgumentParser CommandConfiguration.swift
[144/366] Compiling ArgumentParser CommandGroup.swift
[146/367] Compiling ArgumentParser BashCompletionsGenerator.swift
[147/367] Compiling ArgumentParser CompletionsGenerator.swift
[148/367] Compiling ArgumentParser FishCompletionsGenerator.swift
[149/367] Compiling ArgumentParser ZshCompletionsGenerator.swift
[150/367] Compiling ArgumentParser Argument.swift
[151/367] Compiling ArgumentParser ArgumentHelp.swift
[152/367] Compiling ArgumentParser ArgumentVisibility.swift
[153/367] Compiling ArgumentParser CompletionKind.swift
[154/367] Compiling ArgumentParser Errors.swift
[154/376] Wrapping AST for SwiftSyntax601 for debugging
[160/405] Emitting module ArgumentParserToolInfo
[161/405] Compiling ArgumentParserToolInfo ToolInfo.swift
[163/406] Compiling XCResourceUtil SettableByKeyPath.swift
[164/406] 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 | }
[164/406] Wrapping AST for SwiftSyntax600 for debugging
[165/406] 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