Build Information
Failed to build SPX, reference 1.3.0 (64f6e0
), with Swift 6.2 (beta) for Wasm on 23 Jun 2025 06:11:12 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
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.2
Building package at path: $PWD
https://github.com/danielsincere/SPX.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/onevcat/Rainbow
Fetching https://github.com/DanielSincere/Sh.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/apple/swift-system
[1/859] Fetching sh
[792/2055] Fetching sh, rainbow
[2048/6491] Fetching sh, rainbow, swift-system
[5375/21871] Fetching sh, rainbow, swift-system, swift-argument-parser
Fetched https://github.com/apple/swift-system from cache (0.92s)
[6969/17435] Fetching sh, rainbow, swift-argument-parser
Fetched https://github.com/DanielSincere/Sh.git from cache (1.61s)
Fetched https://github.com/onevcat/Rainbow from cache (1.62s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.63s)
Computing version for https://github.com/DanielSincere/Sh.git
Computed https://github.com/DanielSincere/Sh.git at 1.3.0 (2.75s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.1.0 (4.31s)
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.79s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.5.0 (0.81s)
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
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] Compiling CSystem shims.c
[5/12] Write swift-version-24593BA9C3E375BF.txt
[7/42] Compiling SystemPackage MachPort.swift
[8/42] Compiling SystemPackage PlatformString.swift
[9/42] Compiling SystemPackage SystemString.swift
[10/45] Emitting module SystemPackage
[11/45] Compiling SystemPackage Errno.swift
[12/45] Compiling SystemPackage ErrnoWindows.swift
[13/45] Compiling SystemPackage FileDescriptor.swift
[14/45] Compiling SystemPackage FileHelpers.swift
[15/45] Emitting module ArgumentParserToolInfo
[16/45] Compiling ArgumentParserToolInfo ToolInfo.swift
[17/46] Wrapping AST for ArgumentParserToolInfo for debugging
[19/84] Compiling ArgumentParser DumpHelpGenerator.swift
[20/84] Compiling ArgumentParser HelpCommand.swift
[21/84] Compiling ArgumentParser HelpGenerator.swift
[22/84] Compiling ArgumentParser ParsableArgumentsValidation.swift
[23/84] Compiling ArgumentParser ParsableCommand.swift
[24/84] Compiling ArgumentParser ArgumentDecoder.swift
[25/84] Compiling ArgumentParser ArgumentDefinition.swift
[26/84] Compiling ArgumentParser ArgumentSet.swift
[27/84] Compiling ArgumentParser CommandParser.swift
[28/84] Compiling ArgumentParser InputKey.swift
[29/84] Compiling ArgumentParser InputOrigin.swift
[30/84] Compiling ArgumentParser CompletionKind.swift
[31/84] Compiling ArgumentParser Errors.swift
[32/84] Compiling ArgumentParser Flag.swift
[33/84] Compiling ArgumentParser NameSpecification.swift
[34/84] Compiling ArgumentParser Argument.swift
[35/84] Compiling ArgumentParser ArgumentHelp.swift
[36/84] Compiling ArgumentParser OptionGroup.swift
[37/84] Compiling ArgumentParser AsyncParsableCommand.swift
[38/84] Compiling ArgumentParser CommandConfiguration.swift
[39/84] Compiling ArgumentParser CommandGroup.swift
[40/84] Compiling ArgumentParser EnumerableFlag.swift
[41/84] Compiling ArgumentParser ArgumentVisibility.swift
[42/85] Wrapping AST for SystemPackage for debugging
[54/90] Compiling ArgumentParser Option.swift
[55/90] Compiling ArgumentParser BashCompletionsGenerator.swift
[56/90] Compiling ArgumentParser CompletionsGenerator.swift
[57/90] Compiling ArgumentParser FishCompletionsGenerator.swift
[58/90] Compiling ArgumentParser ZshCompletionsGenerator.swift
[61/90] Emitting module ArgumentParser
[62/90] Compiling ArgumentParser CollectionExtensions.swift
[63/90] Compiling ArgumentParser Platform.swift
[64/90] Compiling ArgumentParser SequenceExtensions.swift
[65/90] Compiling ArgumentParser StringExtensions.swift
[66/90] Compiling ArgumentParser Tree.swift
[67/90] Compiling ArgumentParser ExpressibleByArgument.swift
[68/90] Compiling ArgumentParser ParsableArguments.swift
[77/90] Compiling ArgumentParser Name.swift
[78/90] Compiling ArgumentParser Parsed.swift
[79/90] Compiling ArgumentParser ParsedValues.swift
[80/90] Compiling ArgumentParser ParserError.swift
[81/90] Compiling ArgumentParser SplitArguments.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 [#DeprecatedDeclaration]
86 | }
87 | do {
88 | let contents = try String(contentsOfFile: filePath.string)
| `- warning: 'init(contentsOfFile:)' is deprecated: Use `init(contentsOfFile:encoding:)` instead [#DeprecatedDeclaration]
89 | let name = filePath.lastComponent!
90 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[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 [#DeprecatedDeclaration]
86 | }
87 | do {
88 | let contents = try String(contentsOfFile: filePath.string)
| `- warning: 'init(contentsOfFile:)' is deprecated: Use `init(contentsOfFile:encoding:)` instead [#DeprecatedDeclaration]
89 | let name = filePath.lastComponent!
90 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[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' [#DeprecatedDeclaration]
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' [#DeprecatedDeclaration]
| `- 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`. [#DeprecatedDeclaration]
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`. [#DeprecatedDeclaration]
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`. [#DeprecatedDeclaration]
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`. [#DeprecatedDeclaration]
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`. [#DeprecatedDeclaration]
10 |
11 | let inputFiles = paths(fromEnumerator: enumerator!).map { path in
12 | templatesDir.appending(path)
| `- warning: 'appending' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
13 | }
14 |
/host/spi-builder-workspace/Plugins/GenerateTemplatesPlugin/GenerateTemplatesPlugin.swift:15:93: warning: 'string' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
13 | }
14 |
15 | let templateDirNames = try FileManager.default.contentsOfDirectory(atPath: templatesDir.string)
| `- warning: 'string' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
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`. [#DeprecatedDeclaration]
16 |
17 | return [
18 | .buildCommand(
| `- warning: 'buildCommand(displayName:executable:arguments:environment:inputFiles:outputFiles:)' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
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' [#DeprecatedDeclaration]
18 | .buildCommand(
19 | displayName: "GenerateTemplatesPlugin",
20 | executable: try context.tool(named: "GenerateTemplatesTool").path,
| |- warning: 'path' is deprecated: renamed to 'url' [#DeprecatedDeclaration]
| `- 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`. [#DeprecatedDeclaration]
20 | executable: try context.tool(named: "GenerateTemplatesTool").path,
21 | arguments: [
22 | templatesDir.string,
| `- warning: 'string' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
23 | context.pluginWorkDirectory.string
24 | ],
/host/spi-builder-workspace/Plugins/GenerateTemplatesPlugin/GenerateTemplatesPlugin.swift:23:19: warning: 'pluginWorkDirectory' is deprecated: renamed to 'pluginWorkDirectoryURL' [#DeprecatedDeclaration]
21 | arguments: [
22 | templatesDir.string,
23 | context.pluginWorkDirectory.string
| |- warning: 'pluginWorkDirectory' is deprecated: renamed to 'pluginWorkDirectoryURL' [#DeprecatedDeclaration]
| `- 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`. [#DeprecatedDeclaration]
21 | arguments: [
22 | templatesDir.string,
23 | context.pluginWorkDirectory.string
| `- warning: 'string' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
24 | ],
25 | inputFiles: inputFiles,
/host/spi-builder-workspace/Plugins/GenerateTemplatesPlugin/GenerateTemplatesPlugin.swift:27:19: warning: 'pluginWorkDirectory' is deprecated: renamed to 'pluginWorkDirectoryURL' [#DeprecatedDeclaration]
25 | inputFiles: inputFiles,
26 | outputFiles: [
27 | context.pluginWorkDirectory.appending("Templates.swift"),
| |- warning: 'pluginWorkDirectory' is deprecated: renamed to 'pluginWorkDirectoryURL' [#DeprecatedDeclaration]
| `- 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`. [#DeprecatedDeclaration]
25 | inputFiles: inputFiles,
26 | outputFiles: [
27 | context.pluginWorkDirectory.appending("Templates.swift"),
| `- warning: 'appending' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
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' [#DeprecatedDeclaration]
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' [#DeprecatedDeclaration]
| `- 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`. [#DeprecatedDeclaration]
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`. [#DeprecatedDeclaration]
30 | })
31 | ),
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[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
[18/80] Wrapping AST for ArgumentParserToolInfo for debugging
[20/81] Emitting module SystemPackage
[21/82] Wrapping AST for SystemPackage for debugging
[23/82] Emitting module ArgumentParser
[24/83] 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 [#DeprecatedDeclaration]
86 | }
87 | do {
88 | let contents = try String(contentsOfFile: filePath.string)
| `- warning: 'init(contentsOfFile:)' is deprecated: Use `init(contentsOfFile:encoding:)` instead [#DeprecatedDeclaration]
89 | let name = filePath.lastComponent!
90 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[27/85] Wrapping AST for GenerateTemplatesTool for debugging
[28/85] Write Objects.LinkFileList
[29/85] Linking GenerateTemplatesTool-tool
Directory SPX
name .env.sample
Directory SPX
name Package.swift
Directory SPX
name .gitignore
Directory SPX
name AppIcon.svg
Directory SPX
name README.md
Directory SPX/Sources/appicon
name main.swift
Directory SPX/Sources/appstore
name AppStoreScript.swift
Directory SPX/Sources/appstore
name EnvironmentKeys.swift
Directory SPX/Sources/appstore
name BuildNumberAction.swift
Directory SPX
name Package.resolved
Directory SPX
name Package.swift
Directory SPX
name .gitignore
Directory SPX/Sources/date
name main.swift
Directory SPX
name Package.resolved
[30/85] GenerateTemplatesPlugin
[31/85] Write sources
[33/85] Compiling Rainbow Rainbow.swift
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/ColorApproximation.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | public enum HexColorTarget {
[34/86] Compiling SystemPackage FileDescriptor.swift
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/ColorApproximation.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | public enum HexColorTarget {
[35/86] Compiling SystemPackage FileHelpers.swift
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/ColorApproximation.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | public enum HexColorTarget {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[36/86] Emitting module Rainbow
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/ColorApproximation.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | public enum HexColorTarget {
[37/86] Compiling SystemPackage Errno.swift
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/ColorApproximation.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | public enum HexColorTarget {
[38/86] Compiling SystemPackage ErrnoWindows.swift
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/ColorApproximation.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | public enum HexColorTarget {
[39/86] Compiling Rainbow OutputTarget.swift
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/ColorApproximation.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | public enum HexColorTarget {
[40/86] 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)
[41/86] 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)
[42/86] 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)
[43/86] 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)
[44/86] Compiling SystemPackage FilePathParsing.swift
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/ColorApproximation.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | public enum HexColorTarget {
[45/86] Compiling SystemPackage FilePathString.swift
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/ColorApproximation.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | public enum HexColorTarget {
[48/86] Compiling SystemPackage FilePathSyntax.swift
[49/86] Compiling SystemPackage FilePathTemp.swift
[50/89] Compiling SystemPackage MachPort.swift
[51/89] Compiling SystemPackage PlatformString.swift
[52/89] Compiling SystemPackage SystemString.swift
[53/89] Compiling Rainbow String+Rainbow.swift
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/ColorApproximation.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | public enum HexColorTarget {
[54/89] Compiling Rainbow StringGenerator.swift
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/ColorApproximation.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | public enum HexColorTarget {
[55/89] Compiling Rainbow Style.swift
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/ColorApproximation.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | public enum HexColorTarget {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[56/89] 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)
[61/89] Compiling SystemPackage FileOperations.swift
[62/89] Compiling SystemPackage FilePath.swift
[63/89] Compiling SystemPackage FilePathComponentView.swift
[64/89] Compiling SystemPackage FilePathComponents.swift
[65/89] Emitting module ArgumentParserToolInfo
BUILD FAILURE 6.2 wasm