Build Information
Failed to build SPX, reference 1.3.0 (64f6e0
), with Swift 6.1 for Wasm on 30 May 2025 11:55:24 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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: 1.3.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/danielsincere/SPX
* tag 1.3.0 -> FETCH_HEAD
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 1.3.0
========================================
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-4609320-2":/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-system
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/DanielSincere/Sh.git
Fetching https://github.com/onevcat/Rainbow
[1/1196] Fetching rainbow
[277/2055] Fetching rainbow, sh
[2056/6446] Fetching rainbow, sh, swift-system
Fetched https://github.com/DanielSincere/Sh.git from cache (0.60s)
Fetched https://github.com/onevcat/Rainbow from cache (0.60s)
[1801/4391] Fetching swift-system
[4392/19777] Fetching swift-system, swift-argument-parser
Fetched https://github.com/apple/swift-system from cache (1.60s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.62s)
Computing version for https://github.com/DanielSincere/Sh.git
Computed https://github.com/DanielSincere/Sh.git at 1.3.0 (2.80s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.1.0 (3.60s)
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.98s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.5.0 (1.06s)
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 4.1.0
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-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/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.5.0
[0/12] Write sources
[4/12] Write swift-version-24593BA9C3E375BF.txt
[4/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 FilePathTempPosix.swift
[15/46] Compiling SystemPackage FilePathTempWindows.swift
[16/46] Compiling SystemPackage FilePathWindows.swift
[17/46] Compiling SystemPackage FilePermissions.swift
[18/46] Compiling SystemPackage MachPort.swift
[19/46] Compiling SystemPackage PlatformString.swift
[20/46] Compiling SystemPackage SystemString.swift
[21/46] Compiling SystemPackage Errno.swift
[22/46] Compiling SystemPackage ErrnoWindows.swift
[23/46] Compiling SystemPackage FileDescriptor.swift
[24/46] Compiling SystemPackage FileHelpers.swift
[24/46] Wrapping AST for ArgumentParserToolInfo for debugging
[26/84] Compiling ArgumentParser Errors.swift
[27/84] Compiling ArgumentParser Flag.swift
[28/84] Compiling ArgumentParser NameSpecification.swift
[29/84] Compiling ArgumentParser Option.swift
[30/84] Compiling ArgumentParser CommandConfiguration.swift
[31/84] Compiling ArgumentParser CommandGroup.swift
[32/84] Compiling ArgumentParser EnumerableFlag.swift
[33/84] Compiling ArgumentParser ArgumentDefinition.swift
[34/84] Compiling ArgumentParser ArgumentSet.swift
[35/84] Compiling ArgumentParser CommandParser.swift
[36/84] Compiling ArgumentParser InputKey.swift
[37/84] Compiling ArgumentParser InputOrigin.swift
[38/84] Compiling ArgumentParser ExpressibleByArgument.swift
[39/84] Compiling ArgumentParser ParsableArguments.swift
[40/84] Compiling ArgumentParser ParsableArgumentsValidation.swift
[41/84] Compiling ArgumentParser ParsableCommand.swift
[42/85] Wrapping AST for SystemPackage for debugging
[44/85] Emitting module ArgumentParser
[45/90] Compiling ArgumentParser Name.swift
[46/90] Compiling ArgumentParser Parsed.swift
[47/90] Compiling ArgumentParser ParsedValues.swift
[48/90] Compiling ArgumentParser ParserError.swift
[49/90] Compiling ArgumentParser SplitArguments.swift
[50/90] Compiling ArgumentParser BashCompletionsGenerator.swift
[51/90] Compiling ArgumentParser CompletionsGenerator.swift
[52/90] Compiling ArgumentParser FishCompletionsGenerator.swift
[53/90] Compiling ArgumentParser ZshCompletionsGenerator.swift
[54/90] Compiling ArgumentParser Argument.swift
[55/90] Compiling ArgumentParser ArgumentHelp.swift
[56/90] Compiling ArgumentParser CollectionExtensions.swift
[57/90] Compiling ArgumentParser Platform.swift
[58/90] Compiling ArgumentParser SequenceExtensions.swift
[59/90] Compiling ArgumentParser StringExtensions.swift
[60/90] Compiling ArgumentParser Tree.swift
[65/90] Compiling ArgumentParser ArgumentDecoder.swift
[66/90] Compiling ArgumentParser OptionGroup.swift
[67/90] Compiling ArgumentParser AsyncParsableCommand.swift
[71/90] Compiling ArgumentParser ArgumentVisibility.swift
[72/90] Compiling ArgumentParser CompletionKind.swift
[82/90] Compiling ArgumentParser DumpHelpGenerator.swift
[83/90] Compiling ArgumentParser HelpCommand.swift
[84/90] Compiling ArgumentParser HelpGenerator.swift
[85/90] Compiling ArgumentParser MessageInfo.swift
[86/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
[15/36] Write swift-version-24593BA9C3E375BF.txt
[17/79] Emitting module ArgumentParserToolInfo
[19/80] Emitting module SystemPackage
[20/81] Wrapping AST for ArgumentParserToolInfo for debugging
[21/81] Wrapping AST for SystemPackage for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[23/82] 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)
[24/85] Emitting module ArgumentParser
[25/86] Wrapping AST for ArgumentParser for debugging
[27/87] 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 |
[29/88] Emitting module ArgumentParserToolInfo
[30/88] Compiling ArgumentParserToolInfo ToolInfo.swift
[31/89] Emitting module Rainbow
[32/89] Compiling SystemPackage Errno.swift
[33/89] Compiling SystemPackage ErrnoWindows.swift
[34/90] Compiling Rainbow String+Rainbow.swift
[35/90] Compiling Rainbow StringGenerator.swift
[36/90] Compiling SystemPackage Util+StringArray.swift
[37/90] Compiling SystemPackage Util.swift
[38/90] Compiling SystemPackage UtilConsumers.swift
[40/90] Compiling Rainbow Style.swift
[41/90] Compiling SystemPackage MachPort.swift
[42/90] Compiling SystemPackage PlatformString.swift
[43/90] Compiling SystemPackage SystemString.swift
[44/90] Compiling SystemPackage FilePathParsing.swift
[45/90] Compiling SystemPackage FilePathString.swift
[46/90] Compiling SystemPackage FilePathSyntax.swift
[47/90] Compiling SystemPackage FilePathTemp.swift
[48/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)
[49/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)
[50/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)
[51/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)
[52/90] Compiling Rainbow ControlCode.swift
[53/90] Compiling Rainbow ModesExtractor.swift
[54/90] Compiling SystemPackage FilePathComponentView.swift
[55/90] Compiling SystemPackage FilePathComponents.swift
[58/90] Compiling Rainbow Color.swift
[59/90] Compiling Rainbow ColorApproximation.swift
[60/90] Compiling SystemPackage Backcompat.swift
[61/90] Compiling SystemPackage CInterop.swift
[62/90] Compiling SystemPackage Constants.swift
[63/90] Compiling SystemPackage Exports.swift
[64/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 |
[65/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 |
[66/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 |
[67/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 |
[70/90] Compiling Rainbow OutputTarget.swift
[71/90] Compiling Rainbow Rainbow.swift
[74/91] Wrapping AST for GenerateTemplatesTool for debugging
[75/91] Write Objects.LinkFileList
[76/91] Wrapping AST for ArgumentParserToolInfo for debugging
[76/91] Linking GenerateTemplatesTool-tool
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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
[0/8] Write swift-version-24593BA9C3E375BF.txt
[3/38] Compiling SystemPackage MachPort.swift
[4/38] Compiling SystemPackage PlatformString.swift
[5/38] Compiling SystemPackage SystemString.swift
[6/41] Compiling SystemPackage Backcompat.swift
[7/41] Compiling SystemPackage CInterop.swift
[8/41] Compiling SystemPackage Constants.swift
[9/41] Compiling SystemPackage Exports.swift
[10/41] Compiling SystemPackage Mocking.swift
[11/41] Compiling SystemPackage RawBuffer.swift
[12/41] Compiling SystemPackage Syscalls.swift
[13/41] Compiling SystemPackage WindowsSyscallAdapters.swift
[14/41] Compiling SystemPackage FilePathTempPosix.swift
[15/41] Compiling SystemPackage FilePathTempWindows.swift
[16/41] Compiling SystemPackage FilePathWindows.swift
[17/41] Compiling SystemPackage FilePermissions.swift
[18/41] Emitting module SystemPackage
[19/41] Emitting module ArgumentParserToolInfo
[20/41] Compiling ArgumentParserToolInfo ToolInfo.swift
[21/42] Wrapping AST for ArgumentParserToolInfo for debugging
[23/42] Compiling SystemPackage Util+StringArray.swift
[24/42] Compiling SystemPackage Util.swift
[25/42] Compiling SystemPackage UtilConsumers.swift
[26/42] Compiling SystemPackage FilePathParsing.swift
[27/42] Compiling SystemPackage FilePathString.swift
[28/42] Compiling SystemPackage FilePathSyntax.swift
[29/42] Compiling SystemPackage FilePathTemp.swift
[30/80] Compiling ArgumentParser BashCompletionsGenerator.swift
[31/80] Compiling ArgumentParser CompletionsGenerator.swift
[32/80] Compiling ArgumentParser FishCompletionsGenerator.swift
[33/80] Compiling ArgumentParser ZshCompletionsGenerator.swift
[34/80] Compiling ArgumentParser Argument.swift
[35/80] Compiling ArgumentParser ArgumentHelp.swift
[36/80] Compiling ArgumentParser ArgumentVisibility.swift
[37/80] Compiling ArgumentParser CompletionKind.swift
[39/81] Emitting module ArgumentParser
[39/86] Wrapping AST for SystemPackage for debugging
[41/86] Compiling ArgumentParser CollectionExtensions.swift
[42/86] Compiling ArgumentParser Platform.swift
[43/86] Compiling ArgumentParser SequenceExtensions.swift
[44/86] Compiling ArgumentParser StringExtensions.swift
[45/86] Compiling ArgumentParser Tree.swift
[54/86] Compiling ArgumentParser Errors.swift
[55/86] Compiling ArgumentParser Flag.swift
[56/86] Compiling ArgumentParser NameSpecification.swift
[57/86] Compiling ArgumentParser Option.swift
[58/86] Compiling ArgumentParser DumpHelpGenerator.swift
[59/86] Compiling ArgumentParser HelpCommand.swift
[60/86] Compiling ArgumentParser HelpGenerator.swift
[61/86] Compiling ArgumentParser MessageInfo.swift
[62/86] Compiling ArgumentParser UsageGenerator.swift
[63/86] Compiling ArgumentParser Name.swift
[64/86] Compiling ArgumentParser Parsed.swift
[65/86] Compiling ArgumentParser ParsedValues.swift
[66/86] Compiling ArgumentParser ParserError.swift
[67/86] Compiling ArgumentParser SplitArguments.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 ArgumentDefinition.swift
[74/86] Compiling ArgumentParser ArgumentSet.swift
[75/86] Compiling ArgumentParser CommandParser.swift
[76/86] Compiling ArgumentParser InputKey.swift
[77/86] Compiling ArgumentParser InputOrigin.swift
[78/86] Compiling ArgumentParser OptionGroup.swift
[79/86] Compiling ArgumentParser AsyncParsableCommand.swift
[80/86] Compiling ArgumentParser CommandConfiguration.swift
[81/86] Compiling ArgumentParser CommandGroup.swift
[82/86] Compiling ArgumentParser EnumerableFlag.swift
[83/89] 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] Write swift-version-24593BA9C3E375BF.txt
[2/24] Compiling CSystem shims.c
[5/67] Emitting module ArgumentParserToolInfo
[6/68] Emitting module Rainbow
[7/69] Emitting module SystemPackage
[9/70] Compiling SystemPackage FileOperations.swift
[10/70] Compiling SystemPackage FilePath.swift
[11/70] Compiling Rainbow OutputTarget.swift
[12/70] Compiling Rainbow StringGenerator.swift
[14/70] Compiling Rainbow Style.swift
[15/70] Compiling SystemPackage Backcompat.swift
[16/70] Compiling SystemPackage CInterop.swift
[17/70] Compiling SystemPackage Constants.swift
[18/70] Compiling SystemPackage Exports.swift
[19/73] Compiling Rainbow Rainbow.swift
[20/73] Compiling Rainbow String+Rainbow.swift
[21/73] 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)
[22/73] 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)
[23/73] 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)
[24/73] 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)
error: emit-module command failed with exit code 1 (use -v to see invocation)
[25/73] 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)
[25/73] Wrapping AST for ArgumentParserToolInfo for debugging
[26/73] Wrapping AST for SystemPackage for debugging
[28/74] Compiling SystemPackage FileDescriptor.swift
[29/74] Compiling SystemPackage FileHelpers.swift
[30/74] Compiling SystemPackage Errno.swift
[31/74] Compiling SystemPackage ErrnoWindows.swift
[32/75] Wrapping AST for Rainbow for debugging
[40/75] Compiling SystemPackage FilePathComponentView.swift
[41/75] Compiling SystemPackage FilePathComponents.swift
[42/75] Emitting module ArgumentParserToolInfo
[43/75] Compiling ArgumentParserToolInfo ToolInfo.swift
[44/76] Compiling SystemPackage Util+StringArray.swift
[45/76] Compiling SystemPackage Util.swift
[46/76] Compiling SystemPackage UtilConsumers.swift
[47/76] Compiling SystemPackage MachPort.swift
[48/76] Compiling SystemPackage PlatformString.swift
[49/76] Compiling SystemPackage SystemString.swift
[50/76] 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 |
[51/76] 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 |
[52/76] 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 |
[53/76] 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 |
[55/76] Emitting module ArgumentParser
[56/77] Wrapping AST for ArgumentParserToolInfo for debugging
[58/77] Compiling SystemPackage FilePathParsing.swift
[59/77] Compiling SystemPackage FilePathString.swift
[60/77] Compiling SystemPackage FilePathSyntax.swift
[61/77] Compiling SystemPackage FilePathTemp.swift
[61/77] Wrapping AST for ArgumentParser for debugging
BUILD FAILURE 6.1 wasm