Build Information
Failed to build SPX, reference trunk (64f6e0
), with Swift 6.1 for Wasm on 30 May 2025 11:55:43 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/danielsincere/SPX.git
Reference: trunk
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/danielsincere/SPX
* branch trunk -> FETCH_HEAD
* [new branch] trunk -> origin/trunk
HEAD is now at 64f6e04 Release management (#11)
Cloned https://github.com/danielsincere/SPX.git
Revision (git rev-parse @):
64f6e04886f99b865b05dcd889490c91633d1435
SUCCESS checkout https://github.com/danielsincere/SPX.git at trunk
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/danielsincere/SPX.git
https://github.com/danielsincere/SPX.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "rainbow",
"requirement" : {
"range" : [
{
"lower_bound" : "4.0.0",
"upper_bound" : "5.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/onevcat/Rainbow"
},
{
"identity" : "sh",
"requirement" : {
"range" : [
{
"lower_bound" : "1.3.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/DanielSincere/Sh.git"
},
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser.git"
},
{
"identity" : "swift-system",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-system"
}
],
"manifest_display_name" : "SPX",
"name" : "SPX",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "spx",
"targets" : [
"spx"
],
"type" : {
"executable" : null
}
},
{
"name" : "GenerateTemplatesTool",
"targets" : [
"GenerateTemplatesTool"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "spx",
"module_type" : "SwiftTarget",
"name" : "spx",
"path" : "Sources/spx",
"product_memberships" : [
"spx"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"SPXLib"
],
"type" : "executable"
},
{
"c99name" : "SPXTests",
"module_type" : "SwiftTarget",
"name" : "SPXTests",
"path" : "Tests/SPXTests",
"resources" : [
{
"path" : "/host/spi-builder-workspace/Tests/SPXTests/Fixtures",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"AddCommandTests.swift",
"BuildCommandTests.swift",
"ExecCommandTests.swift",
"ListCommandTests.swift",
"support/FakeRunner.swift",
"support/Fixtures.swift",
"support/ParsingFakeRunner.swift"
],
"target_dependencies" : [
"SPXLib"
],
"type" : "test"
},
{
"c99name" : "SPXLib",
"module_type" : "SwiftTarget",
"name" : "SPXLib",
"path" : "Sources/SPXLib",
"product_dependencies" : [
"Sh",
"Rainbow"
],
"product_memberships" : [
"spx"
],
"sources" : [
"Announcer/Announcer.swift",
"Announcer/LocalizedErrors/AddCommand.Errors.swift",
"Announcer/LocalizedErrors/BuildCommand.Errors.swift",
"Announcer/LocalizedErrors/ExecCommand.Errors.swift",
"Announcer/LocalizedErrors/InitCommand.Errors.swift",
"Announcer/LocalizedErrors/SwiftPackageDescription.Errors.swift",
"Commands/AddCommand.swift",
"Commands/BuildCommand.swift",
"Commands/ExecCommand.swift",
"Commands/HelpCommand.swift",
"Commands/InitCommand.swift",
"Commands/ListCommand.swift",
"Commands/models/ScaffoldFile.swift",
"Commands/models/SwiftPackageDescription.swift",
"Runner/Runner.swift",
"Runner/Running.swift",
"SPX.swift",
"version.swift"
],
"target_dependencies" : [
"GenerateTemplatesPlugin"
],
"type" : "library"
},
{
"c99name" : "GenerateTemplatesTool",
"module_type" : "SwiftTarget",
"name" : "GenerateTemplatesTool",
"path" : "Sources/GenerateTemplatesTool",
"product_dependencies" : [
"ArgumentParser",
"SystemPackage"
],
"product_memberships" : [
"spx",
"GenerateTemplatesTool"
],
"sources" : [
"GenerateTemplatesTool.swift"
],
"type" : "executable"
},
{
"c99name" : "GenerateTemplatesPlugin",
"module_type" : "PluginTarget",
"name" : "GenerateTemplatesPlugin",
"path" : "Plugins/GenerateTemplatesPlugin",
"plugin_capability" : {
"type" : "buildTool"
},
"product_memberships" : [
"spx"
],
"sources" : [
"GenerateTemplatesPlugin.swift"
],
"target_dependencies" : [
"GenerateTemplatesTool"
],
"type" : "plugin"
}
],
"tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/onevcat/Rainbow
Fetching https://github.com/apple/swift-system
Fetching https://github.com/DanielSincere/Sh.git
[1/1196] Fetching rainbow
[851/2055] Fetching rainbow, sh
[1746/6446] Fetching rainbow, sh, swift-system
Fetched https://github.com/DanielSincere/Sh.git from cache (0.34s)
[3831/5587] Fetching rainbow, swift-system
Fetched https://github.com/apple/swift-system from cache (0.46s)
[1/15386] Fetching swift-argument-parser
Fetched https://github.com/onevcat/Rainbow from cache (1.46s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.47s)
Computing version for https://github.com/DanielSincere/Sh.git
Computed https://github.com/DanielSincere/Sh.git at 1.3.0 (2.08s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.1.0 (3.25s)
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.76s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.5.0 (1.40s)
Creating working copy for https://github.com/DanielSincere/Sh.git
Working copy of https://github.com/DanielSincere/Sh.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.5.0
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/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 4.1.0
[0/12] Write sources
[4/12] Write swift-version-24593BA9C3E375BF.txt
[5/12] Compiling CSystem shims.c
[7/42] Emitting module SystemPackage
[8/45] Emitting module ArgumentParserToolInfo
[9/45] Compiling ArgumentParserToolInfo ToolInfo.swift
[10/46] Compiling SystemPackage Util+StringArray.swift
[11/46] Compiling SystemPackage Util.swift
[12/46] Compiling SystemPackage UtilConsumers.swift
[14/46] Compiling SystemPackage MachPort.swift
[15/46] Compiling SystemPackage PlatformString.swift
[16/46] Compiling SystemPackage SystemString.swift
[17/46] Compiling SystemPackage FilePathTempPosix.swift
[18/46] Compiling SystemPackage FilePathTempWindows.swift
[19/46] Compiling SystemPackage FilePathWindows.swift
[20/46] Compiling SystemPackage FilePermissions.swift
[21/46] Compiling SystemPackage FileOperations.swift
[22/46] Compiling SystemPackage FilePath.swift
[23/46] Compiling SystemPackage FilePathComponentView.swift
[24/46] Compiling SystemPackage FilePathComponents.swift
[24/46] Wrapping AST for ArgumentParserToolInfo for debugging
[26/84] Compiling ArgumentParser ZshCompletionsGenerator.swift
[27/84] Compiling ArgumentParser Argument.swift
[28/84] Compiling ArgumentParser ArgumentHelp.swift
[29/84] Compiling ArgumentParser ArgumentDefinition.swift
[30/84] Compiling ArgumentParser AsyncParsableCommand.swift
[31/84] Compiling ArgumentParser CommandConfiguration.swift
[32/84] Compiling ArgumentParser CommandGroup.swift
[33/84] Compiling ArgumentParser EnumerableFlag.swift
[34/84] Compiling ArgumentParser ParsableArgumentsValidation.swift
[35/84] Compiling ArgumentParser ParsableCommand.swift
[36/84] Compiling ArgumentParser ArgumentDecoder.swift
[37/84] Compiling ArgumentParser OptionGroup.swift
[38/84] Compiling ArgumentParser ArgumentSet.swift
[39/84] Compiling ArgumentParser CommandParser.swift
[40/84] Compiling ArgumentParser InputKey.swift
[41/84] Compiling ArgumentParser InputOrigin.swift
[42/85] Wrapping AST for SystemPackage for debugging
[44/85] Emitting module ArgumentParser
[45/90] Compiling ArgumentParser ArgumentVisibility.swift
[46/90] Compiling ArgumentParser CompletionKind.swift
[47/90] Compiling ArgumentParser Errors.swift
[48/90] Compiling ArgumentParser Flag.swift
[49/90] Compiling ArgumentParser NameSpecification.swift
[50/90] Compiling ArgumentParser Option.swift
[51/90] Compiling ArgumentParser BashCompletionsGenerator.swift
[52/90] Compiling ArgumentParser CompletionsGenerator.swift
[53/90] Compiling ArgumentParser FishCompletionsGenerator.swift
[62/90] Compiling ArgumentParser ExpressibleByArgument.swift
[63/90] Compiling ArgumentParser ParsableArguments.swift
[67/90] Compiling ArgumentParser CollectionExtensions.swift
[68/90] Compiling ArgumentParser Platform.swift
[69/90] Compiling ArgumentParser SequenceExtensions.swift
[70/90] Compiling ArgumentParser StringExtensions.swift
[71/90] Compiling ArgumentParser Tree.swift
[72/90] Compiling ArgumentParser Name.swift
[73/90] Compiling ArgumentParser Parsed.swift
[74/90] Compiling ArgumentParser ParsedValues.swift
[75/90] Compiling ArgumentParser ParserError.swift
[76/90] Compiling ArgumentParser SplitArguments.swift
[77/90] Compiling ArgumentParser DumpHelpGenerator.swift
[78/90] Compiling ArgumentParser HelpCommand.swift
[79/90] Compiling ArgumentParser HelpGenerator.swift
[80/90] Compiling ArgumentParser MessageInfo.swift
[81/90] Compiling ArgumentParser UsageGenerator.swift
[87/91] Wrapping AST for ArgumentParser for debugging
[89/93] Emitting module GenerateTemplatesTool
/host/spi-builder-workspace/Sources/GenerateTemplatesTool/GenerateTemplatesTool.swift:88:30: warning: 'init(contentsOfFile:)' is deprecated: Use `init(contentsOfFile:encoding:)` instead
86 | }
87 | do {
88 | let contents = try String(contentsOfFile: filePath.string)
| `- warning: 'init(contentsOfFile:)' is deprecated: Use `init(contentsOfFile:encoding:)` instead
89 | let name = filePath.lastComponent!
90 |
[90/93] Compiling GenerateTemplatesTool GenerateTemplatesTool.swift
/host/spi-builder-workspace/Sources/GenerateTemplatesTool/GenerateTemplatesTool.swift:88:30: warning: 'init(contentsOfFile:)' is deprecated: Use `init(contentsOfFile:encoding:)` instead
86 | }
87 | do {
88 | let contents = try String(contentsOfFile: filePath.string)
| `- warning: 'init(contentsOfFile:)' is deprecated: Use `init(contentsOfFile:encoding:)` instead
89 | let name = filePath.lastComponent!
90 |
[91/94] Wrapping AST for GenerateTemplatesTool for debugging
[92/94] Write Objects.LinkFileList
[93/94] Linking GenerateTemplatesTool-tool
/host/spi-builder-workspace/Plugins/GenerateTemplatesPlugin/GenerateTemplatesPlugin.swift:8:40: warning: 'directory' is deprecated: renamed to 'directoryURL'
6 | func createBuildCommands(context: PackagePlugin.PluginContext, target: PackagePlugin.Target) async throws -> [PackagePlugin.Command] {
7 |
8 | let templatesDir = context.package.directory.appending(subpath: "templates")
| |- warning: 'directory' is deprecated: renamed to 'directoryURL'
| `- note: use 'directoryURL' instead
9 | let enumerator = FileManager.default.enumerator(atPath: templatesDir.string)
10 |
/host/spi-builder-workspace/Plugins/GenerateTemplatesPlugin/GenerateTemplatesPlugin.swift:8:50: warning: 'appending(subpath:)' is deprecated: Use `URL` type instead of `Path`.
6 | func createBuildCommands(context: PackagePlugin.PluginContext, target: PackagePlugin.Target) async throws -> [PackagePlugin.Command] {
7 |
8 | let templatesDir = context.package.directory.appending(subpath: "templates")
| `- warning: 'appending(subpath:)' is deprecated: Use `URL` type instead of `Path`.
9 | let enumerator = FileManager.default.enumerator(atPath: templatesDir.string)
10 |
/host/spi-builder-workspace/Plugins/GenerateTemplatesPlugin/GenerateTemplatesPlugin.swift:9:74: warning: 'string' is deprecated: Use `URL` type instead of `Path`.
7 |
8 | let templatesDir = context.package.directory.appending(subpath: "templates")
9 | let enumerator = FileManager.default.enumerator(atPath: templatesDir.string)
| `- warning: 'string' is deprecated: Use `URL` type instead of `Path`.
10 |
11 | let inputFiles = paths(fromEnumerator: enumerator!).map { path in
/host/spi-builder-workspace/Plugins/GenerateTemplatesPlugin/GenerateTemplatesPlugin.swift:12:20: warning: 'appending' is deprecated: Use `URL` type instead of `Path`.
10 |
11 | let inputFiles = paths(fromEnumerator: enumerator!).map { path in
12 | templatesDir.appending(path)
| `- warning: 'appending' is deprecated: Use `URL` type instead of `Path`.
13 | }
14 |
/host/spi-builder-workspace/Plugins/GenerateTemplatesPlugin/GenerateTemplatesPlugin.swift:15:93: warning: 'string' is deprecated: Use `URL` type instead of `Path`.
13 | }
14 |
15 | let templateDirNames = try FileManager.default.contentsOfDirectory(atPath: templatesDir.string)
| `- warning: 'string' is deprecated: Use `URL` type instead of `Path`.
16 |
17 | return [
/host/spi-builder-workspace/Plugins/GenerateTemplatesPlugin/GenerateTemplatesPlugin.swift:18:8: warning: 'buildCommand(displayName:executable:arguments:environment:inputFiles:outputFiles:)' is deprecated: Use `URL` type instead of `Path`.
16 |
17 | return [
18 | .buildCommand(
| `- warning: 'buildCommand(displayName:executable:arguments:environment:inputFiles:outputFiles:)' is deprecated: Use `URL` type instead of `Path`.
19 | displayName: "GenerateTemplatesPlugin",
20 | executable: try context.tool(named: "GenerateTemplatesTool").path,
/host/spi-builder-workspace/Plugins/GenerateTemplatesPlugin/GenerateTemplatesPlugin.swift:20:70: warning: 'path' is deprecated: renamed to 'url'
18 | .buildCommand(
19 | displayName: "GenerateTemplatesPlugin",
20 | executable: try context.tool(named: "GenerateTemplatesTool").path,
| |- warning: 'path' is deprecated: renamed to 'url'
| `- note: use 'url' instead
21 | arguments: [
22 | templatesDir.string,
/host/spi-builder-workspace/Plugins/GenerateTemplatesPlugin/GenerateTemplatesPlugin.swift:22:24: warning: 'string' is deprecated: Use `URL` type instead of `Path`.
20 | executable: try context.tool(named: "GenerateTemplatesTool").path,
21 | arguments: [
22 | templatesDir.string,
| `- warning: 'string' is deprecated: Use `URL` type instead of `Path`.
23 | context.pluginWorkDirectory.string
24 | ],
/host/spi-builder-workspace/Plugins/GenerateTemplatesPlugin/GenerateTemplatesPlugin.swift:23:19: warning: 'pluginWorkDirectory' is deprecated: renamed to 'pluginWorkDirectoryURL'
21 | arguments: [
22 | templatesDir.string,
23 | context.pluginWorkDirectory.string
| |- warning: 'pluginWorkDirectory' is deprecated: renamed to 'pluginWorkDirectoryURL'
| `- note: use 'pluginWorkDirectoryURL' instead
24 | ],
25 | inputFiles: inputFiles,
/host/spi-builder-workspace/Plugins/GenerateTemplatesPlugin/GenerateTemplatesPlugin.swift:23:39: warning: 'string' is deprecated: Use `URL` type instead of `Path`.
21 | arguments: [
22 | templatesDir.string,
23 | context.pluginWorkDirectory.string
| `- warning: 'string' is deprecated: Use `URL` type instead of `Path`.
24 | ],
25 | inputFiles: inputFiles,
/host/spi-builder-workspace/Plugins/GenerateTemplatesPlugin/GenerateTemplatesPlugin.swift:27:19: warning: 'pluginWorkDirectory' is deprecated: renamed to 'pluginWorkDirectoryURL'
25 | inputFiles: inputFiles,
26 | outputFiles: [
27 | context.pluginWorkDirectory.appending("Templates.swift"),
| |- warning: 'pluginWorkDirectory' is deprecated: renamed to 'pluginWorkDirectoryURL'
| `- note: use 'pluginWorkDirectoryURL' instead
28 | ] + templateDirNames.map({ templateName in
29 | context.pluginWorkDirectory.appending("\(templateName)Template.swift")
/host/spi-builder-workspace/Plugins/GenerateTemplatesPlugin/GenerateTemplatesPlugin.swift:27:39: warning: 'appending' is deprecated: Use `URL` type instead of `Path`.
25 | inputFiles: inputFiles,
26 | outputFiles: [
27 | context.pluginWorkDirectory.appending("Templates.swift"),
| `- warning: 'appending' is deprecated: Use `URL` type instead of `Path`.
28 | ] + templateDirNames.map({ templateName in
29 | context.pluginWorkDirectory.appending("\(templateName)Template.swift")
/host/spi-builder-workspace/Plugins/GenerateTemplatesPlugin/GenerateTemplatesPlugin.swift:29:19: warning: 'pluginWorkDirectory' is deprecated: renamed to 'pluginWorkDirectoryURL'
27 | context.pluginWorkDirectory.appending("Templates.swift"),
28 | ] + templateDirNames.map({ templateName in
29 | context.pluginWorkDirectory.appending("\(templateName)Template.swift")
| |- warning: 'pluginWorkDirectory' is deprecated: renamed to 'pluginWorkDirectoryURL'
| `- note: use 'pluginWorkDirectoryURL' instead
30 | })
31 | ),
/host/spi-builder-workspace/Plugins/GenerateTemplatesPlugin/GenerateTemplatesPlugin.swift:29:39: warning: 'appending' is deprecated: Use `URL` type instead of `Path`.
27 | context.pluginWorkDirectory.appending("Templates.swift"),
28 | ] + templateDirNames.map({ templateName in
29 | context.pluginWorkDirectory.appending("\(templateName)Template.swift")
| `- warning: 'appending' is deprecated: Use `URL` type instead of `Path`.
30 | })
31 | ),
[1/1] Compiling plugin GenerateTemplatesPlugin
[2/2] Compiling plugin GenerateManual
Building for debugging...
[2/36] Write sources
[13/36] Compiling CSystem shims.c
[14/36] Write swift-version-24593BA9C3E375BF.txt
[17/79] Emitting module ArgumentParserToolInfo
[18/80] Wrapping AST for ArgumentParserToolInfo for debugging
[20/81] Emitting module SystemPackage
[22/82] Emitting module ArgumentParser
[23/83] Wrapping AST for SystemPackage for debugging
[24/84] Wrapping AST for ArgumentParser for debugging
[26/84] Emitting module GenerateTemplatesTool
/host/spi-builder-workspace/Sources/GenerateTemplatesTool/GenerateTemplatesTool.swift:88:30: warning: 'init(contentsOfFile:)' is deprecated: Use `init(contentsOfFile:encoding:)` instead
86 | }
87 | do {
88 | let contents = try String(contentsOfFile: filePath.string)
| `- warning: 'init(contentsOfFile:)' is deprecated: Use `init(contentsOfFile:encoding:)` instead
89 | let name = filePath.lastComponent!
90 |
[27/85] Compiling Rainbow String+Rainbow.swift
[28/85] Compiling Rainbow StringGenerator.swift
[29/86] Emitting module ArgumentParserToolInfo
[30/86] Compiling ArgumentParserToolInfo ToolInfo.swift
[31/87] Compiling SystemPackage MachPort.swift
[32/87] Compiling SystemPackage PlatformString.swift
[33/87] Compiling SystemPackage SystemString.swift
[36/90] Compiling Rainbow Style.swift
[37/90] Compiling SystemPackage Errno.swift
[38/90] Compiling SystemPackage ErrnoWindows.swift
[39/90] Compiling SystemPackage FileDescriptor.swift
[40/90] Compiling SystemPackage FileHelpers.swift
[41/90] Compiling SystemPackage Mocking.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
| `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
| `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:252:10: error: cannot find 'umask' in scope
250 | _ mode: CInterop.Mode
251 | ) -> CInterop.Mode {
252 | return umask(mode)
| `- error: cannot find 'umask' in scope
253 | }
254 |
[42/90] Compiling SystemPackage RawBuffer.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
| `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
| `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:252:10: error: cannot find 'umask' in scope
250 | _ mode: CInterop.Mode
251 | ) -> CInterop.Mode {
252 | return umask(mode)
| `- error: cannot find 'umask' in scope
253 | }
254 |
[43/90] Compiling SystemPackage Syscalls.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
| `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
| `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:252:10: error: cannot find 'umask' in scope
250 | _ mode: CInterop.Mode
251 | ) -> CInterop.Mode {
252 | return umask(mode)
| `- error: cannot find 'umask' in scope
253 | }
254 |
[44/90] Compiling SystemPackage WindowsSyscallAdapters.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
| `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
| `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:252:10: error: cannot find 'umask' in scope
250 | _ mode: CInterop.Mode
251 | ) -> CInterop.Mode {
252 | return umask(mode)
| `- error: cannot find 'umask' in scope
253 | }
254 |
[45/90] Compiling SystemPackage FilePathParsing.swift
[46/90] Compiling SystemPackage FilePathString.swift
[47/90] Compiling SystemPackage FilePathSyntax.swift
[48/90] Compiling SystemPackage FilePathTemp.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[49/90] Compiling SystemPackage FileOperations.swift
[50/90] Compiling SystemPackage FilePath.swift
[51/90] Compiling SystemPackage FilePathComponentView.swift
[52/90] Compiling SystemPackage FilePathComponents.swift
[53/90] Compiling SystemPackage FilePathTempPosix.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
| `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
| `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
[54/90] Compiling SystemPackage FilePathTempWindows.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
| `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
| `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
[55/90] Compiling SystemPackage FilePathWindows.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
| `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
| `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
[56/90] Compiling SystemPackage FilePermissions.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
| `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
| `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
[57/90] Emitting module SystemPackage
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
| `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
| `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
[58/90] Compiling SystemPackage Backcompat.swift
[59/90] Compiling SystemPackage CInterop.swift
[60/90] Compiling SystemPackage Constants.swift
[61/90] Compiling SystemPackage Exports.swift
[62/90] Compiling Rainbow Rainbow.swift
[62/90] Wrapping AST for ArgumentParserToolInfo for debugging
[68/90] Compiling Rainbow OutputTarget.swift
[71/90] Emitting module Rainbow
[71/91] Wrapping AST for GenerateTemplatesTool for debugging
[72/92] Write Objects.LinkFileList
[74/129] Compiling ArgumentParser ArgumentDefinition.swift
[75/129] Compiling ArgumentParser ArgumentSet.swift
[76/129] Compiling ArgumentParser CommandParser.swift
[77/129] Wrapping AST for Rainbow for debugging
[77/129] Linking GenerateTemplatesTool-tool
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/8] Compiling CSystem shims.c
[1/8] Write swift-version-24593BA9C3E375BF.txt
[3/38] Compiling SystemPackage Backcompat.swift
[4/38] Compiling SystemPackage CInterop.swift
[5/38] Compiling SystemPackage Constants.swift
[6/38] Compiling SystemPackage Exports.swift
[7/41] Emitting module ArgumentParserToolInfo
[8/41] Compiling ArgumentParserToolInfo ToolInfo.swift
[10/42] Compiling SystemPackage Mocking.swift
[11/42] Compiling SystemPackage RawBuffer.swift
[12/42] Compiling SystemPackage Syscalls.swift
[13/42] Compiling SystemPackage WindowsSyscallAdapters.swift
[14/42] Compiling SystemPackage MachPort.swift
[15/42] Compiling SystemPackage PlatformString.swift
[16/42] Compiling SystemPackage SystemString.swift
[17/42] Emitting module SystemPackage
[18/42] Compiling SystemPackage FilePathTempPosix.swift
[19/42] Compiling SystemPackage FilePathTempWindows.swift
[20/42] Compiling SystemPackage FilePathWindows.swift
[21/42] Compiling SystemPackage FilePermissions.swift
[22/42] Compiling SystemPackage Util+StringArray.swift
[23/42] Compiling SystemPackage Util.swift
[24/42] Compiling SystemPackage UtilConsumers.swift
[25/42] Compiling SystemPackage FilePathParsing.swift
[26/42] Compiling SystemPackage FilePathString.swift
[27/42] Compiling SystemPackage FilePathSyntax.swift
[28/42] Compiling SystemPackage FilePathTemp.swift
[29/42] Compiling SystemPackage Errno.swift
[30/42] Compiling SystemPackage ErrnoWindows.swift
[31/42] Compiling SystemPackage FileDescriptor.swift
[32/42] Compiling SystemPackage FileHelpers.swift
[33/42] Compiling SystemPackage FileOperations.swift
[34/42] Compiling SystemPackage FilePath.swift
[35/42] Compiling SystemPackage FilePathComponentView.swift
[36/42] Compiling SystemPackage FilePathComponents.swift
[36/43] Wrapping AST for ArgumentParserToolInfo for debugging
[38/81] Wrapping AST for SystemPackage for debugging
[40/81] Compiling ArgumentParser OptionGroup.swift
[41/81] Compiling ArgumentParser AsyncParsableCommand.swift
[42/81] Compiling ArgumentParser CommandConfiguration.swift
[43/81] Compiling ArgumentParser CommandGroup.swift
[44/81] Compiling ArgumentParser EnumerableFlag.swift
[45/86] Emitting module ArgumentParser
[46/86] Compiling ArgumentParser ArgumentVisibility.swift
[47/86] Compiling ArgumentParser CompletionKind.swift
[48/86] Compiling ArgumentParser Errors.swift
[49/86] Compiling ArgumentParser Flag.swift
[50/86] Compiling ArgumentParser NameSpecification.swift
[51/86] Compiling ArgumentParser Option.swift
[52/86] Compiling ArgumentParser CollectionExtensions.swift
[53/86] Compiling ArgumentParser Platform.swift
[54/86] Compiling ArgumentParser SequenceExtensions.swift
[55/86] Compiling ArgumentParser StringExtensions.swift
[56/86] Compiling ArgumentParser Tree.swift
[57/86] Compiling ArgumentParser BashCompletionsGenerator.swift
[58/86] Compiling ArgumentParser CompletionsGenerator.swift
[59/86] Compiling ArgumentParser FishCompletionsGenerator.swift
[60/86] Compiling ArgumentParser ZshCompletionsGenerator.swift
[61/86] Compiling ArgumentParser Argument.swift
[62/86] Compiling ArgumentParser ArgumentHelp.swift
[63/86] Compiling ArgumentParser ArgumentDefinition.swift
[64/86] Compiling ArgumentParser ArgumentSet.swift
[65/86] Compiling ArgumentParser CommandParser.swift
[66/86] Compiling ArgumentParser InputKey.swift
[67/86] Compiling ArgumentParser InputOrigin.swift
[68/86] Compiling ArgumentParser ExpressibleByArgument.swift
[69/86] Compiling ArgumentParser ParsableArguments.swift
[70/86] Compiling ArgumentParser ParsableArgumentsValidation.swift
[71/86] Compiling ArgumentParser ParsableCommand.swift
[72/86] Compiling ArgumentParser ArgumentDecoder.swift
[73/86] Compiling ArgumentParser Name.swift
[74/86] Compiling ArgumentParser Parsed.swift
[75/86] Compiling ArgumentParser ParsedValues.swift
[76/86] Compiling ArgumentParser ParserError.swift
[77/86] Compiling ArgumentParser SplitArguments.swift
[78/86] Compiling ArgumentParser DumpHelpGenerator.swift
[79/86] Compiling ArgumentParser HelpCommand.swift
[80/86] Compiling ArgumentParser HelpGenerator.swift
[81/86] Compiling ArgumentParser MessageInfo.swift
[82/86] Compiling ArgumentParser UsageGenerator.swift
[83/87] Wrapping AST for ArgumentParser for debugging
[85/89] Emitting module GenerateTemplatesTool
/host/spi-builder-workspace/Sources/GenerateTemplatesTool/GenerateTemplatesTool.swift:88:30: warning: 'init(contentsOfFile:)' is deprecated: Use `init(contentsOfFile:encoding:)` instead
86 | }
87 | do {
88 | let contents = try String(contentsOfFile: filePath.string)
| `- warning: 'init(contentsOfFile:)' is deprecated: Use `init(contentsOfFile:encoding:)` instead
89 | let name = filePath.lastComponent!
90 |
[86/89] Compiling GenerateTemplatesTool GenerateTemplatesTool.swift
/host/spi-builder-workspace/Sources/GenerateTemplatesTool/GenerateTemplatesTool.swift:88:30: warning: 'init(contentsOfFile:)' is deprecated: Use `init(contentsOfFile:encoding:)` instead
86 | }
87 | do {
88 | let contents = try String(contentsOfFile: filePath.string)
| `- warning: 'init(contentsOfFile:)' is deprecated: Use `init(contentsOfFile:encoding:)` instead
89 | let name = filePath.lastComponent!
90 |
[87/90] Wrapping AST for GenerateTemplatesTool for debugging
[88/90] Write Objects.LinkFileList
[89/90] Linking GenerateTemplatesTool-tool
[0/1] Planning build
/host/spi-builder-workspace/Plugins/GenerateTemplatesPlugin/GenerateTemplatesPlugin.swift:8:40: warning: 'directory' is deprecated: renamed to 'directoryURL'
6 | func createBuildCommands(context: PackagePlugin.PluginContext, target: PackagePlugin.Target) async throws -> [PackagePlugin.Command] {
7 |
8 | let templatesDir = context.package.directory.appending(subpath: "templates")
| |- warning: 'directory' is deprecated: renamed to 'directoryURL'
| `- note: use 'directoryURL' instead
9 | let enumerator = FileManager.default.enumerator(atPath: templatesDir.string)
10 |
/host/spi-builder-workspace/Plugins/GenerateTemplatesPlugin/GenerateTemplatesPlugin.swift:8:50: warning: 'appending(subpath:)' is deprecated: Use `URL` type instead of `Path`.
6 | func createBuildCommands(context: PackagePlugin.PluginContext, target: PackagePlugin.Target) async throws -> [PackagePlugin.Command] {
7 |
8 | let templatesDir = context.package.directory.appending(subpath: "templates")
| `- warning: 'appending(subpath:)' is deprecated: Use `URL` type instead of `Path`.
9 | let enumerator = FileManager.default.enumerator(atPath: templatesDir.string)
10 |
/host/spi-builder-workspace/Plugins/GenerateTemplatesPlugin/GenerateTemplatesPlugin.swift:9:74: warning: 'string' is deprecated: Use `URL` type instead of `Path`.
7 |
8 | let templatesDir = context.package.directory.appending(subpath: "templates")
9 | let enumerator = FileManager.default.enumerator(atPath: templatesDir.string)
| `- warning: 'string' is deprecated: Use `URL` type instead of `Path`.
10 |
11 | let inputFiles = paths(fromEnumerator: enumerator!).map { path in
/host/spi-builder-workspace/Plugins/GenerateTemplatesPlugin/GenerateTemplatesPlugin.swift:12:20: warning: 'appending' is deprecated: Use `URL` type instead of `Path`.
10 |
11 | let inputFiles = paths(fromEnumerator: enumerator!).map { path in
12 | templatesDir.appending(path)
| `- warning: 'appending' is deprecated: Use `URL` type instead of `Path`.
13 | }
14 |
/host/spi-builder-workspace/Plugins/GenerateTemplatesPlugin/GenerateTemplatesPlugin.swift:15:93: warning: 'string' is deprecated: Use `URL` type instead of `Path`.
13 | }
14 |
15 | let templateDirNames = try FileManager.default.contentsOfDirectory(atPath: templatesDir.string)
| `- warning: 'string' is deprecated: Use `URL` type instead of `Path`.
16 |
17 | return [
/host/spi-builder-workspace/Plugins/GenerateTemplatesPlugin/GenerateTemplatesPlugin.swift:18:8: warning: 'buildCommand(displayName:executable:arguments:environment:inputFiles:outputFiles:)' is deprecated: Use `URL` type instead of `Path`.
16 |
17 | return [
18 | .buildCommand(
| `- warning: 'buildCommand(displayName:executable:arguments:environment:inputFiles:outputFiles:)' is deprecated: Use `URL` type instead of `Path`.
19 | displayName: "GenerateTemplatesPlugin",
20 | executable: try context.tool(named: "GenerateTemplatesTool").path,
/host/spi-builder-workspace/Plugins/GenerateTemplatesPlugin/GenerateTemplatesPlugin.swift:20:70: warning: 'path' is deprecated: renamed to 'url'
18 | .buildCommand(
19 | displayName: "GenerateTemplatesPlugin",
20 | executable: try context.tool(named: "GenerateTemplatesTool").path,
| |- warning: 'path' is deprecated: renamed to 'url'
| `- note: use 'url' instead
21 | arguments: [
22 | templatesDir.string,
/host/spi-builder-workspace/Plugins/GenerateTemplatesPlugin/GenerateTemplatesPlugin.swift:22:24: warning: 'string' is deprecated: Use `URL` type instead of `Path`.
20 | executable: try context.tool(named: "GenerateTemplatesTool").path,
21 | arguments: [
22 | templatesDir.string,
| `- warning: 'string' is deprecated: Use `URL` type instead of `Path`.
23 | context.pluginWorkDirectory.string
24 | ],
/host/spi-builder-workspace/Plugins/GenerateTemplatesPlugin/GenerateTemplatesPlugin.swift:23:19: warning: 'pluginWorkDirectory' is deprecated: renamed to 'pluginWorkDirectoryURL'
21 | arguments: [
22 | templatesDir.string,
23 | context.pluginWorkDirectory.string
| |- warning: 'pluginWorkDirectory' is deprecated: renamed to 'pluginWorkDirectoryURL'
| `- note: use 'pluginWorkDirectoryURL' instead
24 | ],
25 | inputFiles: inputFiles,
/host/spi-builder-workspace/Plugins/GenerateTemplatesPlugin/GenerateTemplatesPlugin.swift:23:39: warning: 'string' is deprecated: Use `URL` type instead of `Path`.
21 | arguments: [
22 | templatesDir.string,
23 | context.pluginWorkDirectory.string
| `- warning: 'string' is deprecated: Use `URL` type instead of `Path`.
24 | ],
25 | inputFiles: inputFiles,
/host/spi-builder-workspace/Plugins/GenerateTemplatesPlugin/GenerateTemplatesPlugin.swift:27:19: warning: 'pluginWorkDirectory' is deprecated: renamed to 'pluginWorkDirectoryURL'
25 | inputFiles: inputFiles,
26 | outputFiles: [
27 | context.pluginWorkDirectory.appending("Templates.swift"),
| |- warning: 'pluginWorkDirectory' is deprecated: renamed to 'pluginWorkDirectoryURL'
| `- note: use 'pluginWorkDirectoryURL' instead
28 | ] + templateDirNames.map({ templateName in
29 | context.pluginWorkDirectory.appending("\(templateName)Template.swift")
/host/spi-builder-workspace/Plugins/GenerateTemplatesPlugin/GenerateTemplatesPlugin.swift:27:39: warning: 'appending' is deprecated: Use `URL` type instead of `Path`.
25 | inputFiles: inputFiles,
26 | outputFiles: [
27 | context.pluginWorkDirectory.appending("Templates.swift"),
| `- warning: 'appending' is deprecated: Use `URL` type instead of `Path`.
28 | ] + templateDirNames.map({ templateName in
29 | context.pluginWorkDirectory.appending("\(templateName)Template.swift")
/host/spi-builder-workspace/Plugins/GenerateTemplatesPlugin/GenerateTemplatesPlugin.swift:29:19: warning: 'pluginWorkDirectory' is deprecated: renamed to 'pluginWorkDirectoryURL'
27 | context.pluginWorkDirectory.appending("Templates.swift"),
28 | ] + templateDirNames.map({ templateName in
29 | context.pluginWorkDirectory.appending("\(templateName)Template.swift")
| |- warning: 'pluginWorkDirectory' is deprecated: renamed to 'pluginWorkDirectoryURL'
| `- note: use 'pluginWorkDirectoryURL' instead
30 | })
31 | ),
/host/spi-builder-workspace/Plugins/GenerateTemplatesPlugin/GenerateTemplatesPlugin.swift:29:39: warning: 'appending' is deprecated: Use `URL` type instead of `Path`.
27 | context.pluginWorkDirectory.appending("Templates.swift"),
28 | ] + templateDirNames.map({ templateName in
29 | context.pluginWorkDirectory.appending("\(templateName)Template.swift")
| `- warning: 'appending' is deprecated: Use `URL` type instead of `Path`.
30 | })
31 | ),
[1/1] Compiling plugin GenerateTemplatesPlugin
[2/2] Compiling plugin GenerateManual
Building for debugging...
[2/24] Compiling CSystem shims.c
[2/24] Write swift-version-24593BA9C3E375BF.txt
[5/67] Compiling SystemPackage MachPort.swift
[6/67] Compiling SystemPackage PlatformString.swift
[7/68] Emitting module Rainbow
[8/68] Emitting module ArgumentParserToolInfo
[9/69] Compiling Rainbow StringGenerator.swift
[11/69] Compiling Rainbow Rainbow.swift
[12/69] Compiling Rainbow OutputTarget.swift
[13/69] Compiling Rainbow String+Rainbow.swift
[14/69] Compiling Rainbow Style.swift
[14/69] Wrapping AST for ArgumentParserToolInfo for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[16/69] Emitting module SystemPackage
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
| `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
| `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
[17/72] Compiling SystemPackage Mocking.swift
[18/72] Compiling SystemPackage RawBuffer.swift
[19/72] Compiling SystemPackage Syscalls.swift
[20/72] Compiling SystemPackage WindowsSyscallAdapters.swift
[21/74] Wrapping AST for Rainbow for debugging
[23/74] Compiling SystemPackage Errno.swift
[24/74] Compiling SystemPackage ErrnoWindows.swift
[25/74] Compiling SystemPackage FileDescriptor.swift
[26/74] Compiling SystemPackage FileHelpers.swift
[27/74] Emitting module ArgumentParserToolInfo
[28/74] Compiling ArgumentParserToolInfo ToolInfo.swift
[30/75] Emitting module SystemPackage
[31/76] Compiling SystemPackage Util+StringArray.swift
[32/76] Compiling SystemPackage Util.swift
[33/76] Compiling SystemPackage UtilConsumers.swift
[34/113] Wrapping AST for SystemPackage for debugging
[35/113] Compiling ArgumentParser Argument.swift
[36/113] Compiling ArgumentParser ArgumentHelp.swift
[37/113] Compiling ArgumentParser OptionGroup.swift
[39/113] Compiling ArgumentParser BashCompletionsGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
| `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
| `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:252:10: error: cannot find 'umask' in scope
250 | _ mode: CInterop.Mode
251 | ) -> CInterop.Mode {
252 | return umask(mode)
| `- error: cannot find 'umask' in scope
253 | }
254 |
[40/113] Compiling ArgumentParser CompletionsGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
| `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
| `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:252:10: error: cannot find 'umask' in scope
250 | _ mode: CInterop.Mode
251 | ) -> CInterop.Mode {
252 | return umask(mode)
| `- error: cannot find 'umask' in scope
253 | }
254 |
[41/113] Compiling ArgumentParser FishCompletionsGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
| `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
| `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:252:10: error: cannot find 'umask' in scope
250 | _ mode: CInterop.Mode
251 | ) -> CInterop.Mode {
252 | return umask(mode)
| `- error: cannot find 'umask' in scope
253 | }
254 |
[42/113] Compiling ArgumentParser ZshCompletionsGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
| `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
| `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:252:10: error: cannot find 'umask' in scope
250 | _ mode: CInterop.Mode
251 | ) -> CInterop.Mode {
252 | return umask(mode)
| `- error: cannot find 'umask' in scope
253 | }
254 |
[43/113] Compiling ArgumentParser ArgumentVisibility.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
| `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
| `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
[44/113] Compiling ArgumentParser CompletionKind.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
| `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
| `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
[45/113] Compiling ArgumentParser Errors.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
| `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
| `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
[46/113] Compiling ArgumentParser Flag.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
| `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
| `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
[47/113] Compiling ArgumentParser AsyncParsableCommand.swift
[48/113] Compiling ArgumentParser CommandConfiguration.swift
[49/113] Compiling ArgumentParser CommandGroup.swift
[50/113] Compiling ArgumentParser EnumerableFlag.swift
[51/113] Compiling ArgumentParser Parsed.swift
[52/113] Compiling ArgumentParser ParsedValues.swift
[53/113] Compiling ArgumentParser ParserError.swift
[54/113] Compiling ArgumentParser SplitArguments.swift
[55/113] Compiling ArgumentParser HelpGenerator.swift
[56/113] Compiling ArgumentParser MessageInfo.swift
[57/113] Compiling ArgumentParser UsageGenerator.swift
[58/113] Compiling ArgumentParser Name.swift
[59/113] Emitting module ArgumentParser
BUILD FAILURE 6.1 wasm