Build Information
Failed to build XCResource, reference 1.1.0 (6fea86
), with Swift 6.0 for Linux on 27 Mar 2025 21:52:26 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nearfri/XCResource.git
Reference: 1.1.0
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.0 -> FETCH_HEAD
HEAD is now at 6fea86c Update to 1.1.0
Cloned https://github.com/nearfri/XCResource.git
Revision (git rev-parse @):
6fea86ca67ee93bec43abea95a1f32c0192e2324
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/nearfri/XCResource.git at 1.1.0
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/nearfri/XCResource.git
https://github.com/nearfri/XCResource.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.4",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser.git"
},
{
"identity" : "swift-syntax",
"requirement" : {
"range" : [
{
"lower_bound" : "600.0.1",
"upper_bound" : "601.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swiftlang/swift-syntax.git"
},
{
"identity" : "strix",
"requirement" : {
"range" : [
{
"lower_bound" : "2.4.6",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/nearfri/Strix.git"
}
],
"manifest_display_name" : "XCResource",
"name" : "XCResource",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "15.0"
}
],
"products" : [
{
"name" : "Generate Resource Code",
"targets" : [
"Generate Resource Code"
],
"type" : {
"plugin" : null
}
},
{
"name" : "xcresource",
"targets" : [
"xcresource"
],
"type" : {
"executable" : null
}
},
{
"name" : "XCResourceCommand",
"targets" : [
"XCResourceCommand"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "AssetResourceGen",
"targets" : [
"AssetResourceGen"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "FileResourceGen",
"targets" : [
"FileResourceGen"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "FontResourceGen",
"targets" : [
"FontResourceGen"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "LocStringResourceGen",
"targets" : [
"LocStringResourceGen"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "xcresource",
"module_type" : "SwiftTarget",
"name" : "xcresource",
"path" : "Sources/XCResourceCLI",
"product_memberships" : [
"Generate Resource Code",
"xcresource"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"XCResourceCommand"
],
"type" : "executable"
},
{
"c99name" : "XCResourceUtilTests",
"module_type" : "SwiftTarget",
"name" : "XCResourceUtilTests",
"path" : "Tests/XCResourceUtilTests",
"sources" : [
"DefaultStringInterpolationTests.swift",
"FileManager+Tests.swift",
"SettableByKeyPathTests.swift",
"String+Tests.swift",
"TextFileOutputStreamTests.swift",
"TreeTests.swift",
"URL+Tests.swift"
],
"target_dependencies" : [
"XCResourceUtil"
],
"type" : "test"
},
{
"c99name" : "XCResourceUtil",
"module_type" : "SwiftTarget",
"name" : "XCResourceUtil",
"path" : "Sources/XCResourceUtil",
"product_memberships" : [
"Generate Resource Code",
"xcresource",
"XCResourceCommand",
"AssetResourceGen",
"FileResourceGen",
"FontResourceGen",
"LocStringResourceGen"
],
"sources" : [
"DefaultStringInterpolation+.swift",
"FileManager+.swift",
"SettableByKeyPath.swift",
"String+.swift",
"TextFileOutputStream.swift",
"Tree.swift",
"URL+.swift"
],
"type" : "library"
},
{
"c99name" : "XCResourceCommandTests",
"module_type" : "SwiftTarget",
"name" : "XCResourceCommandTests",
"path" : "Tests/XCResourceCommandTests",
"sources" : [
"Arguments/BundleDescription+Tests.swift",
"Commands/Config.InitTests.swift",
"Commands/Config.RunTests.swift",
"Commands/FilesToSwiftTests.swift",
"Commands/FontsToSwiftTests.swift",
"Commands/XCAssetsToSwiftTests.swift",
"Commands/XCStringsToSwiftTests.swift",
"ParsableCommand+.swift"
],
"target_dependencies" : [
"XCResourceCommand",
"SampleData",
"TestUtil"
],
"type" : "test"
},
{
"c99name" : "XCResourceCommand",
"module_type" : "SwiftTarget",
"name" : "XCResourceCommand",
"path" : "Sources/XCResourceCommand",
"product_dependencies" : [
"ArgumentParser"
],
"product_memberships" : [
"Generate Resource Code",
"xcresource",
"XCResourceCommand"
],
"sources" : [
"Arguments/AccessLevel.swift",
"Arguments/AssetType+.swift",
"Arguments/BundleDescription+.swift",
"Commands/CommentDirective.swift",
"Commands/Config.Init.swift",
"Commands/Config.Run.swift",
"Commands/Config.swift",
"Commands/FilesToSwift.swift",
"Commands/FontsToSwift.swift",
"Commands/XCAssetsToSwift.swift",
"Commands/XCResource.swift",
"Commands/XCStringsToSwift.swift",
"DTOs/CommandDTO.swift",
"DTOs/CommandDTOWrapper.swift",
"DTOs/ConfigurationDTO.swift",
"DTOs/FilesToSwiftDTO.swift",
"DTOs/FontsToSwiftDTO.swift",
"DTOs/ValueValidationError.swift",
"DTOs/XCAssetsToSwiftDTO.swift",
"DTOs/XCStringsToSwiftDTO.swift"
],
"target_dependencies" : [
"AssetResourceGen",
"FileResourceGen",
"FontResourceGen",
"LocStringResourceGen",
"XCResourceUtil"
],
"type" : "library"
},
{
"c99name" : "XCResourceCLITests",
"module_type" : "SwiftTarget",
"name" : "XCResourceCLITests",
"path" : "Tests/XCResourceCLITests",
"sources" : [
"XCResourceCLITests.swift"
],
"target_dependencies" : [
"xcresource",
"SampleData"
],
"type" : "test"
},
{
"c99name" : "TestUtil",
"module_type" : "SwiftTarget",
"name" : "TestUtil",
"path" : "Tests/_TestUtil",
"sources" : [
"expectEqual.swift"
],
"type" : "library"
},
{
"c99name" : "SampleData",
"module_type" : "SwiftTarget",
"name" : "SampleData",
"path" : "Tests/_SampleData",
"resources" : [
{
"path" : "/host/spi-builder-workspace/Tests/_SampleData/Resources",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"BundleAccessor.swift"
],
"type" : "library"
},
{
"c99name" : "LocStringResourceGenTests",
"module_type" : "SwiftTarget",
"name" : "LocStringResourceGenTests",
"path" : "Tests/LocStringResourceGenTests",
"sources" : [
"CommentsExtractorTests.swift",
"DefaultLocalizationItemMergerTests.swift",
"Formatter/CommentsFormatterTests.swift",
"Formatter/IndentIncreaserTests.swift",
"Formatter/StringLiteralSegmentListFormatterTests.swift",
"LocalizationItemTests.swift",
"StringCatalogDTO/FormatPlaceholder+DTOTests.swift",
"StringCatalogDTO/FormatUnitTests.swift",
"StringCatalogDTO/String+FormatPlaceholderTests.swift",
"StringCatalogDTO/StringCatalogDTOMapperTests.swift",
"StringCatalogDTO/StringCatalogDTOTests.swift",
"SwiftLocalizationItemLoaderTests.swift",
"SwiftLocalizationSourceCodeRewriterTests.swift",
"SwiftSyntax+/ExprSyntax+BundleDescriptionTests.swift",
"SwiftSyntax+/FunctionCallExprSyntax+LocalizationItemTests.swift",
"SwiftSyntax+/FunctionDeclSyntax+LocalizationItemTests.swift",
"SwiftSyntax+/FunctionParameterSyntax+ParameterTests.swift",
"SwiftSyntax+/LocalizationItem+ParameterTests.swift",
"SwiftSyntax+/VariableDeclSyntax+LocalizationItemTests.swift"
],
"target_dependencies" : [
"LocStringResourceGen",
"TestUtil"
],
"type" : "test"
},
{
"c99name" : "LocStringResourceGen",
"module_type" : "SwiftTarget",
"name" : "LocStringResourceGen",
"path" : "Sources/LocStringResourceGen",
"product_dependencies" : [
"SwiftSyntax",
"SwiftParser",
"SwiftSyntaxBuilder",
"SwiftRefactor",
"StrixParsers"
],
"product_memberships" : [
"Generate Resource Code",
"xcresource",
"XCResourceCommand",
"LocStringResourceGen"
],
"sources" : [
"Comment.swift",
"CommentsExtractor.swift",
"DefaultLocalizationItemMerger.swift",
"Formatter/CommentsFormatter.swift",
"Formatter/IndentIncreaser.swift",
"Formatter/StringLiteralFormatter.swift",
"LocalizationItem.swift",
"LocalizationSourceCodeRewriter.swift",
"LocalizedStringResourceGenerator.swift",
"String+.swift",
"StringCatalogDTO/FormatPlaceholder+DTO.swift",
"StringCatalogDTO/FormatUnit.swift",
"StringCatalogDTO/String+FormatPlaceholder.swift",
"StringCatalogDTO/StringCatalogDTO.swift",
"StringCatalogDTO/StringCatalogDTOMapper.swift",
"StringCatalogLoader.swift",
"SwiftLocalizationItemLoader.swift",
"SwiftLocalizationSourceCodeRewriter.swift",
"SwiftSyntax+/DeclSyntax+LocalizationItem.swift",
"SwiftSyntax+/ExprSyntax+BundleDescription.swift",
"SwiftSyntax+/FunctionCallExprSyntax+LocalizationItem.swift",
"SwiftSyntax+/FunctionDeclSyntax+LocalizationItem.swift",
"SwiftSyntax+/FunctionParameterSyntax+Parameter.swift",
"SwiftSyntax+/LocalizationItem+Parameter.swift",
"SwiftSyntax+/StringLiteralExprSyntax+String.swift",
"SwiftSyntax+/VariableDeclSyntax+LocalizationItem.swift"
],
"target_dependencies" : [
"XCResourceUtil"
],
"type" : "library"
},
{
"c99name" : "Generate_Resource_Code",
"module_type" : "PluginTarget",
"name" : "Generate Resource Code",
"path" : "Plugins/GenerateResourceCode",
"plugin_capability" : {
"intent" : {
"description" : "Generate source code for resources",
"type" : "custom",
"verb" : "generate-resource-code"
},
"permissions" : [
{
"network_scope" : {
"none" : {
}
},
"reason" : "Generate Swift source files for accessing resources",
"type" : "writeToPackageDirectory"
}
],
"type" : "command"
},
"product_memberships" : [
"Generate Resource Code"
],
"sources" : [
"GenerateResourceCode.swift",
"PackagePluginContext.swift",
"Process+.swift"
],
"target_dependencies" : [
"xcresource"
],
"type" : "plugin"
},
{
"c99name" : "FontResourceGenTests",
"module_type" : "SwiftTarget",
"name" : "FontResourceGenTests",
"path" : "Tests/FontResourceGenTests",
"sources" : [
"CodeGenerator/DefaultValueDeclarationGeneratorTests.swift",
"FontImporter/DefaultFontImporterTests.swift",
"FontImporter/FontFinderTests.swift",
"FontImporter/FontLoaderTests.swift",
"FontTests.swift"
],
"target_dependencies" : [
"FontResourceGen",
"SampleData",
"TestUtil"
],
"type" : "test"
},
{
"c99name" : "FontResourceGen",
"module_type" : "SwiftTarget",
"name" : "FontResourceGen",
"path" : "Sources/FontResourceGen",
"product_memberships" : [
"Generate Resource Code",
"xcresource",
"XCResourceCommand",
"FontResourceGen"
],
"sources" : [
"CodeGenerator/DefaultTypeDeclarationGenerator.swift",
"CodeGenerator/DefaultValueDeclarationGenerator.swift",
"Font.swift",
"FontError.swift",
"FontImporter/DefaultFontImporter.swift",
"FontImporter/FontFinder.swift",
"FontImporter/FontLoader.swift",
"FontResourceGenerator.swift"
],
"target_dependencies" : [
"XCResourceUtil"
],
"type" : "library"
},
{
"c99name" : "FileResourceGenTests",
"module_type" : "SwiftTarget",
"name" : "FileResourceGenTests",
"path" : "Tests/FileResourceGenTests",
"sources" : [
"CodeGenerator/DefaultValueDeclarationGeneratorTests.swift",
"DefaultFileTreeGeneratorTests.swift",
"FileItemTests.swift",
"FileTreeTests.swift"
],
"target_dependencies" : [
"FileResourceGen",
"SampleData",
"TestUtil"
],
"type" : "test"
},
{
"c99name" : "FileResourceGen",
"module_type" : "SwiftTarget",
"name" : "FileResourceGen",
"path" : "Sources/FileResourceGen",
"product_memberships" : [
"Generate Resource Code",
"xcresource",
"XCResourceCommand",
"FileResourceGen"
],
"sources" : [
"CodeGenerator/DefaultTypeDeclarationGenerator.swift",
"CodeGenerator/DefaultValueDeclarationGenerator.swift",
"DefaultFileTreeGenerator.swift",
"FileItem.swift",
"FileResourceGenerator.swift",
"FileTree.swift"
],
"target_dependencies" : [
"XCResourceUtil"
],
"type" : "library"
},
{
"c99name" : "Documentation",
"module_type" : "SwiftTarget",
"name" : "Documentation",
"path" : "Documentation",
"sources" : [
"EmptyFile.swift"
],
"type" : "library"
},
{
"c99name" : "AssetResourceGenTests",
"module_type" : "SwiftTarget",
"name" : "AssetResourceGenTests",
"path" : "Tests/AssetResourceGenTests",
"sources" : [
"AssetCatalog/AssetTypeTests.swift",
"AssetCatalog/ContentAttributesDTOTests.swift",
"AssetCatalog/ContentTests.swift",
"AssetCatalog/ContentTreeGeneratorTests.swift",
"AssetCatalog/ContentTreeTests.swift",
"AssetResourceGeneratorTests.swift",
"CodeGenerator/DefaultValueDeclarationGeneratorTests.swift"
],
"target_dependencies" : [
"AssetResourceGen",
"SampleData",
"TestUtil"
],
"type" : "test"
},
{
"c99name" : "AssetResourceGen",
"module_type" : "SwiftTarget",
"name" : "AssetResourceGen",
"path" : "Sources/AssetResourceGen",
"product_memberships" : [
"Generate Resource Code",
"xcresource",
"XCResourceCommand",
"AssetResourceGen"
],
"sources" : [
"AssetCatalog/AssetType.swift",
"AssetCatalog/Content.swift",
"AssetCatalog/ContentAttributesDTO.swift",
"AssetCatalog/ContentTree.swift",
"AssetResourceGenerator.swift",
"CodeGenerator/DefaultTypeDeclarationGenerator.swift",
"CodeGenerator/DefaultValueDeclarationGenerator.swift",
"DefaultContentTreeGenerator.swift"
],
"target_dependencies" : [
"XCResourceUtil"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
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/swiftlang/swift-syntax.git
Fetching https://github.com/nearfri/Strix.git
[1/1968] Fetching strix
Fetched https://github.com/nearfri/Strix.git from cache (0.27s)
[1/14787] Fetching swift-argument-parser
[13014/84476] Fetching swift-argument-parser, swift-syntax
Fetched https://github.com/apple/swift-argument-parser.git from cache (3.60s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (3.64s)
Computing version for https://github.com/nearfri/Strix.git
Computed https://github.com/nearfri/Strix.git at 2.4.6 (0.46s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (2.01s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.0 (0.48s)
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.0
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 600.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/52] Write sources
[26/52] Copying Resources
[27/52] Compiling _SwiftSyntaxCShims dummy.c
[28/52] Write swift-version-24593BA9C3E375BF.txt
[30/93] Emitting module TestUtil
[31/93] Emitting module Documentation
[32/93] Emitting module SwiftSyntax509
error: emit-module command failed with exit code 1 (use -v to see invocation)
[33/93] 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 | }
[34/93] Compiling SwiftSyntax509 Empty.swift
[35/94] Compiling Documentation EmptyFile.swift
[38/95] Emitting module SwiftSyntax600
[39/95] Compiling SwiftSyntax600 Empty.swift
[40/96] Compiling TestUtil expectEqual.swift
[41/96] Emitting module SwiftSyntax510
[42/97] Compiling SwiftSyntax510 Empty.swift
[42/98] Wrapping AST for SwiftSyntax509 for debugging
[46/98] Wrapping AST for SwiftSyntax600 for debugging
[47/100] Wrapping AST for SwiftSyntax510 for debugging
[49/100] Emitting module ArgumentParserToolInfo
[50/164] Compiling ArgumentParserToolInfo ToolInfo.swift
[51/165] Wrapping AST for ArgumentParserToolInfo for debugging
[53/203] Compiling XCResourceUtil URL+.swift
[54/203] Compiling ArgumentParser ZshCompletionsGenerator.swift
[55/203] Compiling ArgumentParser Argument.swift
[56/203] Compiling ArgumentParser ArgumentHelp.swift
[57/205] Compiling ArgumentParser OptionGroup.swift
[58/205] Compiling ArgumentParser AsyncParsableCommand.swift
[59/205] Compiling ArgumentParser CommandConfiguration.swift
[60/205] Emitting module Strix
[61/205] Compiling ArgumentParser BashCompletionsGenerator.swift
[62/205] Compiling ArgumentParser CompletionsGenerator.swift
[63/205] Compiling ArgumentParser FishCompletionsGenerator.swift
[64/205] Compiling SampleData resource_bundle_accessor.swift
[65/205] Compiling XCResourceUtil TextFileOutputStream.swift
[66/205] Compiling ArgumentParser ArgumentVisibility.swift
[67/205] Compiling ArgumentParser CompletionKind.swift
[68/205] Compiling ArgumentParser Errors.swift
[69/205] Compiling ArgumentParser Flag.swift
[70/205] Compiling ArgumentParser NameSpecification.swift
[71/205] Compiling ArgumentParser Option.swift
[72/205] Compiling ArgumentParser CommandGroup.swift
[73/205] Compiling ArgumentParser EnumerableFlag.swift
[74/205] Compiling ArgumentParser ExpressibleByArgument.swift
[75/205] Compiling ArgumentParser ParsableArguments.swift
[76/205] Compiling XCResourceUtil DefaultStringInterpolation+.swift
[77/205] Emitting module SampleData
[78/205] Compiling SampleData BundleAccessor.swift
[79/206] Compiling XCResourceUtil Tree.swift
[81/206] Compiling Strix SequenceParsers.swift
[82/206] Compiling Strix StringParsers.swift
[86/206] Compiling ArgumentParser ArgumentDecoder.swift
[87/206] Compiling ArgumentParser ArgumentDefinition.swift
[88/206] Compiling ArgumentParser ArgumentSet.swift
[89/206] Compiling ArgumentParser CommandParser.swift
[90/206] Compiling ArgumentParser InputKey.swift
[91/206] Compiling ArgumentParser InputOrigin.swift
[110/215] Wrapping AST for Strix for debugging
[112/229] Compiling StrixParsers JSONParser.swift
[113/230] Compiling XCResourceUtil SettableByKeyPath.swift
[114/230] 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 | }
[115/230] 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 | }
[116/230] Compiling ArgumentParser Name.swift
[117/230] Compiling ArgumentParser Parsed.swift
[118/230] Compiling ArgumentParser ParsedValues.swift
[119/230] Compiling ArgumentParser ParserError.swift
[120/230] Compiling ArgumentParser SplitArguments.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
[0/1] Planning build
[1/1] Compiling plugin Generate Resource Code
[2/2] Compiling plugin GenerateManual
Building for debugging...
[2/26] Write swift-version-24593BA9C3E375BF.txt
[4/63] Compiling SwiftSyntax600 Empty.swift
[5/67] Emitting module Documentation
[6/67] Compiling Documentation EmptyFile.swift
[7/67] Emitting module SwiftSyntax600
[8/68] Compiling SwiftSyntax509 Empty.swift
[10/69] Emitting module SwiftSyntax509
[11/70] Emitting module SwiftSyntax510
[12/70] Compiling SwiftSyntax510 Empty.swift
[13/70] Compiling XCResourceUtil URL+.swift
[16/69] Compiling SampleData BundleAccessor.swift
[17/69] Emitting module SampleData
[18/69] Compiling SampleData resource_bundle_accessor.swift
[20/70] Compiling XCResourceUtil Tree.swift
[21/69] Compiling XCResourceUtil TextFileOutputStream.swift
[22/69] Compiling XCResourceUtil SettableByKeyPath.swift
[23/69] Compiling XCResourceUtil DefaultStringInterpolation+.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[24/69] 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 | }
[25/69] 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 | }
[26/69] 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 | }
[28/69] Emitting module TestUtil
BUILD FAILURE 6.0 linux