Build Information
Failed to build XCResource, reference main (4769e6
), with Swift 6.1 for Wasm on 31 May 2025 13:50:33 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 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: wasm
Swift version: 6.1
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" : "601.0.1",
"upper_bound" : "602.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:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-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
[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 (0.91s)
[23148/85944] Fetching swift-argument-parser, swift-syntax
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.92s)
[8467/70558] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (5.37s)
Computing version for https://github.com/nearfri/Strix.git
Computed https://github.com/nearfri/Strix.git at 2.4.6 (5.88s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.1 (2.44s)
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.51s)
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/101] Write sources
[49/101] Copying Resources
[49/101] Compiling _SwiftSyntaxCShims dummy.c
[52/101] Write swift-version-24593BA9C3E375BF.txt
[54/135] Emitting module SwiftSyntax510
[55/135] Compiling SwiftSyntax510 Empty.swift
[56/136] Emitting module SwiftSyntax509
[57/136] Compiling SwiftSyntax509 Empty.swift
[58/137] Emitting module ArgumentParserToolInfo
[59/137] Compiling ArgumentParserToolInfo ToolInfo.swift
[61/138] Emitting module SwiftSyntax600
[62/138] Compiling SwiftSyntax600 Empty.swift
[65/139] Emitting module SwiftSyntax601
[66/139] Compiling SwiftSyntax601 Empty.swift
[68/140] Emitting module Strix
[70/162] Compiling SwiftSyntax601 Empty.swift
[71/162] Emitting module SwiftSyntax601
[72/163] Compiling SwiftSyntax510 Empty.swift
[73/165] Emitting module SwiftSyntax600
[74/165] Compiling SwiftSyntax600 Empty.swift
[75/166] Emitting module SwiftSyntax510
[76/167] Compiling SwiftSyntax509 Empty.swift
[78/167] Emitting module SwiftSyntax509
[82/230] Compiling TestUtil expectEqual.swift
[83/230] Emitting module TestUtil
[85/258] Compiling Documentation EmptyFile.swift
[86/258] Emitting module Documentation
[88/325] Emitting module Strix
[89/327] Emitting module ArgumentParserToolInfo
[90/327] Compiling ArgumentParserToolInfo ToolInfo.swift
[91/328] Compiling XCResourceUtil TextFileOutputStream.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[92/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 | }
[93/328] Compiling XCResourceUtil DefaultStringInterpolation+.swift
[94/328] Compiling XCResourceUtil URL+.swift
[95/328] Compiling XCResourceUtil SettableByKeyPath.swift
[96/328] 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 |
[97/328] Compiling SwiftSyntax Convenience.swift
[98/328] Compiling SwiftSyntax CustomTraits.swift
[99/328] Compiling SwiftSyntax EditorPlaceholder.swift
[100/328] Compiling SwiftSyntax Trivia.swift
[101/328] Compiling SwiftSyntax Utils.swift
[102/328] Compiling SwiftSyntax ChildNameForKeyPath.swift
[103/328] Compiling XCResourceUtil Tree.swift
[104/328] Compiling SwiftSyntax SyntaxCollections.swift
[105/328] Compiling SwiftSyntax SyntaxIdentifier.swift
[106/328] Compiling SwiftSyntax AbsolutePosition.swift
[107/328] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[108/328] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[109/328] Compiling Strix SequenceParsers.swift
[110/328] Compiling Strix StringParsers.swift
[111/328] Compiling SwiftSyntax Keyword.swift
[112/328] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[113/328] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[114/328] Compiling SwiftSyntax Assert.swift
[115/328] Compiling SwiftSyntax BumpPtrAllocator.swift
[116/328] Compiling SwiftSyntax CommonAncestor.swift
[117/328] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[118/328] Compiling SwiftSyntax SyntaxBaseNodes.swift
[121/405] Emitting module SampleData
[122/405] Compiling SampleData BundleAccessor.swift
[123/405] Compiling SampleData resource_bundle_accessor.swift
[124/406] 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 |
[125/406] Compiling XCResourceUtil Tree.swift
[126/406] Compiling XCResourceUtil TextFileOutputStream.swift
[127/406] Compiling XCResourceUtil URL+.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[128/406] 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 | }
[129/406] Compiling XCResourceUtil DefaultStringInterpolation+.swift
[130/406] Compiling ArgumentParser ParsableArgumentsValidation.swift
[131/406] Compiling ArgumentParser ParsableCommand.swift
[132/406] Compiling ArgumentParser ZshCompletionsGenerator.swift
[133/406] Compiling ArgumentParser Argument.swift
[134/406] Compiling ArgumentParser ArgumentHelp.swift
[135/406] Compiling ArgumentParser BashCompletionsGenerator.swift
[136/406] Compiling ArgumentParser CompletionsGenerator.swift
[137/406] Compiling ArgumentParser FishCompletionsGenerator.swift
[138/406] Compiling ArgumentParser Flag.swift
[139/406] Compiling ArgumentParser NameSpecification.swift
[140/406] Compiling ArgumentParser Option.swift
[141/406] Compiling ArgumentParser ExpressibleByArgument.swift
[142/406] Compiling ArgumentParser ParsableArguments.swift
[143/406] Compiling ArgumentParser CommandGroup.swift
[144/406] Compiling ArgumentParser EnumerableFlag.swift
[145/406] Compiling ArgumentParser OptionGroup.swift
[146/406] Compiling ArgumentParser AsyncParsableCommand.swift
[147/406] Compiling ArgumentParser CommandConfiguration.swift
[148/406] Compiling ArgumentParser ArgumentVisibility.swift
[149/406] Compiling ArgumentParser CompletionKind.swift
[150/406] Compiling ArgumentParser Errors.swift
[152/407] Wrapping AST for SwiftSyntax601 for debugging
[154/435] Compiling StrixParsers ASCIIPlist.swift
[155/435] Compiling StrixParsers ASCIIPlistParser.swift
[156/435] Compiling StrixParsers CSVParser.swift
[157/435] Compiling StrixParsers Calculator.swift
[158/435] Compiling StrixParsers FormatPlaceholder.swift
[159/435] Compiling StrixParsers FormatSpecifier.swift
[160/435] Compiling StrixParsers Data+.swift
[161/435] Compiling StrixParsers String+.swift
[162/435] Compiling StrixParsers JSON.swift
[163/435] Compiling StrixParsers JSONConvertibleValue.swift
[164/435] Compiling StrixParsers FormatSpecifierParser.swift
[165/435] Compiling StrixParsers Indent.swift
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:10: note: while building module 'wasi_emulated_signal' imported from /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:
26 | #include <setjmp.h>
27 | #endif
28 | #include <signal.h>
| `- note: while building module 'wasi_emulated_signal' imported from /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:
29 | #include <stddef.h>
30 | #include <stdio.h>
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "signal.h"
| `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/signal.h:2:2: error: "wasm lacks signal support; to enable minimal signal emulation, compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
1 | #ifndef _WASI_EMULATED_SIGNAL
2 | #error "wasm lacks signal support; to enable minimal signal emulation, \
| `- error: "wasm lacks signal support; to enable minimal signal emulation, compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
3 | compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
4 | #else
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "CoreFoundation.h"
| `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:10: error: could not build module 'wasi_emulated_signal'
26 | #include <setjmp.h>
27 | #endif
28 | #include <signal.h>
| `- error: could not build module 'wasi_emulated_signal'
29 | #include <stddef.h>
30 | #include <stdio.h>
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForSwiftFoundationOnly.h:86:10: note: while building module 'wasi_emulated_mman' imported from /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForSwiftFoundationOnly.h:86:
84 | #undef _WASI_EMULATED_MMAN
85 | #define _WASI_EMULATED_MMAN
86 | #include <sys/mman.h>
| `- note: while building module 'wasi_emulated_mman' imported from /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForSwiftFoundationOnly.h:86:
87 | #elif TARGET_OS_LINUX
88 | #include <errno.h>
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "sys/mman.h"
| `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/sys/mman.h:2:2: error: "WASI lacks a true mmap; to enable minimal mmap emulation, compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
1 | #ifndef _WASI_EMULATED_MMAN
2 | #error "WASI lacks a true mmap; to enable minimal mmap emulation, \
| `- error: "WASI lacks a true mmap; to enable minimal mmap emulation, compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
3 | compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
4 | #else
/host/spi-builder-workspace/.build/checkouts/Strix/Sources/StrixParsers/JSON.swift:2:8: error: could not build C module 'CoreFoundation'
1 | import Foundation
2 | import CoreFoundation
| `- error: could not build C module 'CoreFoundation'
3 |
4 | @dynamicMemberLookup
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:10: note: while building module 'wasi_emulated_signal' imported from /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:
26 | #include <setjmp.h>
27 | #endif
28 | #include <signal.h>
| `- note: while building module 'wasi_emulated_signal' imported from /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:
29 | #include <stddef.h>
30 | #include <stdio.h>
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "signal.h"
| `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/signal.h:2:2: error: "wasm lacks signal support; to enable minimal signal emulation, compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
1 | #ifndef _WASI_EMULATED_SIGNAL
2 | #error "wasm lacks signal support; to enable minimal signal emulation, \
| `- error: "wasm lacks signal support; to enable minimal signal emulation, compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
3 | compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
4 | #else
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "CoreFoundation.h"
| `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:10: error: could not build module 'wasi_emulated_signal'
26 | #include <setjmp.h>
27 | #endif
28 | #include <signal.h>
| `- error: could not build module 'wasi_emulated_signal'
29 | #include <stddef.h>
30 | #include <stdio.h>
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForSwiftFoundationOnly.h:86:10: note: while building module 'wasi_emulated_mman' imported from /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForSwiftFoundationOnly.h:86:
84 | #undef _WASI_EMULATED_MMAN
85 | #define _WASI_EMULATED_MMAN
86 | #include <sys/mman.h>
| `- note: while building module 'wasi_emulated_mman' imported from /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForSwiftFoundationOnly.h:86:
87 | #elif TARGET_OS_LINUX
88 | #include <errno.h>
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "sys/mman.h"
| `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/sys/mman.h:2:2: error: "WASI lacks a true mmap; to enable minimal mmap emulation, compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
1 | #ifndef _WASI_EMULATED_MMAN
2 | #error "WASI lacks a true mmap; to enable minimal mmap emulation, \
| `- error: "WASI lacks a true mmap; to enable minimal mmap emulation, compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
3 | compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
4 | #else
/host/spi-builder-workspace/.build/checkouts/Strix/Sources/StrixParsers/JSON.swift:2:8: error: could not build C module 'CoreFoundation'
1 | import Foundation
2 | import CoreFoundation
| `- error: could not build C module 'CoreFoundation'
3 |
4 | @dynamicMemberLookup
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:10: note: while building module 'wasi_emulated_signal' imported from /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:
26 | #include <setjmp.h>
27 | #endif
28 | #include <signal.h>
| `- note: while building module 'wasi_emulated_signal' imported from /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:
29 | #include <stddef.h>
30 | #include <stdio.h>
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "signal.h"
| `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/signal.h:2:2: error: "wasm lacks signal support; to enable minimal signal emulation, compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
1 | #ifndef _WASI_EMULATED_SIGNAL
2 | #error "wasm lacks signal support; to enable minimal signal emulation, \
| `- error: "wasm lacks signal support; to enable minimal signal emulation, compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
3 | compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
4 | #else
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "CoreFoundation.h"
| `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:10: error: could not build module 'wasi_emulated_signal'
26 | #include <setjmp.h>
27 | #endif
28 | #include <signal.h>
| `- error: could not build module 'wasi_emulated_signal'
29 | #include <stddef.h>
30 | #include <stdio.h>
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForSwiftFoundationOnly.h:86:10: note: while building module 'wasi_emulated_mman' imported from /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForSwiftFoundationOnly.h:86:
84 | #undef _WASI_EMULATED_MMAN
85 | #define _WASI_EMULATED_MMAN
86 | #include <sys/mman.h>
| `- note: while building module 'wasi_emulated_mman' imported from /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForSwiftFoundationOnly.h:86:
87 | #elif TARGET_OS_LINUX
88 | #include <errno.h>
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "sys/mman.h"
| `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/sys/mman.h:2:2: error: "WASI lacks a true mmap; to enable minimal mmap emulation, compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
1 | #ifndef _WASI_EMULATED_MMAN
2 | #error "WASI lacks a true mmap; to enable minimal mmap emulation, \
| `- error: "WASI lacks a true mmap; to enable minimal mmap emulation, compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
3 | compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
4 | #else
/host/spi-builder-workspace/.build/checkouts/Strix/Sources/StrixParsers/JSON.swift:2:8: error: could not build C module 'CoreFoundation'
1 | import Foundation
2 | import CoreFoundation
| `- error: could not build C module 'CoreFoundation'
3 |
4 | @dynamicMemberLookup
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:10: note: while building module 'wasi_emulated_signal' imported from /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:
26 | #include <setjmp.h>
27 | #endif
28 | #include <signal.h>
| `- note: while building module 'wasi_emulated_signal' imported from /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:
29 | #include <stddef.h>
30 | #include <stdio.h>
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "signal.h"
| `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/signal.h:2:2: error: "wasm lacks signal support; to enable minimal signal emulation, compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
1 | #ifndef _WASI_EMULATED_SIGNAL
2 | #error "wasm lacks signal support; to enable minimal signal emulation, \
| `- error: "wasm lacks signal support; to enable minimal signal emulation, compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
3 | compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
4 | #else
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "CoreFoundation.h"
| `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:10: error: could not build module 'wasi_emulated_signal'
26 | #include <setjmp.h>
27 | #endif
28 | #include <signal.h>
| `- error: could not build module 'wasi_emulated_signal'
29 | #include <stddef.h>
30 | #include <stdio.h>
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForSwiftFoundationOnly.h:86:10: note: while building module 'wasi_emulated_mman' imported from /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForSwiftFoundationOnly.h:86:
84 | #undef _WASI_EMULATED_MMAN
85 | #define _WASI_EMULATED_MMAN
86 | #include <sys/mman.h>
| `- note: while building module 'wasi_emulated_mman' imported from /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForSwiftFoundationOnly.h:86:
87 | #elif TARGET_OS_LINUX
88 | #include <errno.h>
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "sys/mman.h"
| `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/sys/mman.h:2:2: error: "WASI lacks a true mmap; to enable minimal mmap emulation, compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
1 | #ifndef _WASI_EMULATED_MMAN
2 | #error "WASI lacks a true mmap; to enable minimal mmap emulation, \
| `- error: "WASI lacks a true mmap; to enable minimal mmap emulation, compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
3 | compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
4 | #else
/host/spi-builder-workspace/.build/checkouts/Strix/Sources/StrixParsers/JSON.swift:2:8: error: could not build C module 'CoreFoundation'
1 | import Foundation
2 | import CoreFoundation
| `- error: could not build C module 'CoreFoundation'
3 |
4 | @dynamicMemberLookup
[176/445] 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 | }
[177/445] 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 | }
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin Generate Resource Code
[2/2] Compiling plugin GenerateManual
Building for debugging...
[2/51] Write swift-version-24593BA9C3E375BF.txt
[4/57] Compiling Documentation EmptyFile.swift
[5/59] Compiling SwiftSyntax509 Empty.swift
[6/59] Emitting module SwiftSyntax509
[7/62] Compiling SwiftSyntax600 Empty.swift
[8/62] Compiling SwiftSyntax601 Empty.swift
[9/62] Emitting module Documentation
[10/64] Emitting module SwiftSyntax601
[11/71] Emitting module TestUtil
[14/71] Emitting module SwiftSyntax600
[16/72] Compiling SwiftSyntax601 Empty.swift
[17/72] Compiling SwiftSyntax510 Empty.swift
[18/72] Emitting module SwiftSyntax510
[20/73] Compiling TestUtil expectEqual.swift
[22/74] Compiling SampleData resource_bundle_accessor.swift
[23/74] Emitting module SwiftSyntax601
[24/75] Emitting module SampleData
[25/75] Compiling SampleData BundleAccessor.swift
[29/91] 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 | }
[30/91] Compiling XCResourceUtil SettableByKeyPath.swift
[31/91] 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 |
[32/95] Compiling SwiftSyntax510 Empty.swift
[33/95] Emitting module SwiftSyntax510
[34/111] Compiling XCResourceUtil DefaultStringInterpolation+.swift
[35/111] Compiling SwiftSyntax600 Empty.swift
[36/118] Emitting module SwiftSyntax600
[39/121] Emitting module SwiftSyntax509
[40/121] Compiling SwiftSyntax509 Empty.swift
[41/121] Compiling XCResourceUtil URL+.swift
[42/123] Compiling XCResourceUtil Tree.swift
[43/142] Compiling XCResourceUtil URL+.swift
[44/142] Compiling XCResourceUtil TextFileOutputStream.swift
[45/142] Compiling XCResourceUtil Tree.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[47/142] 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 | }
[48/142] Emitting module Strix
[49/144] Compiling XCResourceUtil TextFileOutputStream.swift
[50/144] Emitting module ArgumentParserToolInfo
[51/144] Compiling ArgumentParserToolInfo ToolInfo.swift
[52/147] Wrapping AST for SwiftSyntax600 for debugging
[54/148] Compiling XCResourceUtil SettableByKeyPath.swift
[55/148] 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 |
[56/148] Compiling XCResourceUtil DefaultStringInterpolation+.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[57/148] 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 | }
/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 | }
[58/148] Compiling Strix ParseError.swift
[59/148] Compiling Strix ParseErrorSplitter.swift
[60/148] Compiling Strix RunError.swift
BUILD FAILURE 6.1 wasm