Build Information
Failed to build WasmKit, reference 0.1.6 (827056
), with Swift 6.2 (beta) for Wasm on 12 Jul 2025 18:51:34 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-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/swiftwasm/WasmKit.git
Reference: 0.1.6
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/swiftwasm/WasmKit
* tag 0.1.6 -> FETCH_HEAD
HEAD is now at 827056b Install llvm-strip on CI
Cloned https://github.com/swiftwasm/WasmKit.git
Revision (git rev-parse @):
827056b014e37da50e2645a7634fddb32e441f32
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/swiftwasm/WasmKit.git at 0.1.6
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/swiftwasm/WasmKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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/apple/swift-argument-parser
Fetching https://github.com/apple/swift-system
[1/4657] Fetching swift-system
[4658/20181] Fetching swift-system, swift-argument-parser
Fetched https://github.com/apple/swift-system from cache (1.01s)
Fetched https://github.com/apple/swift-argument-parser from cache (1.02s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.5.0 (1.47s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.6.1 (0.55s)
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
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.6.1
[0/15] Write sources
[6/15] Write swift-version-24593BA9C3E375BF.txt
[8/48] Compiling WIT Type.swift
[9/48] Compiling WIT Validation.swift
[10/48] Compiling WIT SyntaxNode.swift
[11/48] Compiling WIT PackageBuilder.swift
[12/48] Compiling WIT RequestEvaluator.swift
[13/48] Compiling WIT SemanticsContext.swift
[14/48] Compiling WIT ParseFunctionDecl.swift
[15/48] Compiling WIT ParseInterface.swift
[16/48] Compiling WIT ParseTop.swift
[17/51] Compiling WIT CanonicalLowering.swift
[18/51] Compiling WIT CanonicalStoring.swift
[19/51] Compiling WITExtractor ConvertCase.swift
[20/51] Emitting module WITExtractor
[21/52] Compiling WITExtractor WITBuilder.swift
[22/52] Compiling WITExtractor TypeMapping.swift
[23/52] Compiling WITExtractor SourceSummary.swift
[24/52] Compiling WITExtractor SourcePrinter.swift
[25/52] Emitting module ArgumentParserToolInfo
[26/52] Compiling ArgumentParserToolInfo ToolInfo.swift
[27/53] Compiling WIT ParseTypes.swift
[28/53] Compiling WIT ParseWorld.swift
[29/53] Compiling WIT Parser.swift
[30/53] Wrapping AST for ArgumentParserToolInfo for debugging
[32/97] Compiling ArgumentParser UsageGenerator.swift
[33/97] Compiling ArgumentParser InputKey.swift
[34/97] Compiling ArgumentParser InputOrigin.swift
[35/97] Compiling ArgumentParser ArgumentVisibility.swift
[36/97] Compiling ArgumentParser CompletionKind.swift
[37/97] Compiling ArgumentParser Errors.swift
[38/97] Compiling ArgumentParser BashCompletionsGenerator.swift
[39/97] Compiling ArgumentParser CompletionsGenerator.swift
[40/97] Compiling ArgumentParser FishCompletionsGenerator.swift
[41/97] Compiling ArgumentParser Flag.swift
[42/97] Compiling ArgumentParser NameSpecification.swift
[43/97] Compiling ArgumentParser Option.swift
[44/97] Emitting module WIT
[46/98] Compiling ArgumentParser CollectionExtensions.swift
[47/98] Compiling ArgumentParser Mutex.swift
[48/98] Compiling ArgumentParser Platform.swift
[49/98] Compiling ArgumentParser SequenceExtensions.swift
[50/98] Compiling ArgumentParser StringExtensions.swift
[51/98] Compiling ArgumentParser SwiftExtensions.swift
[52/104] Emitting module ArgumentParser
[62/104] Compiling ArgumentParser ZshCompletionsGenerator.swift
[63/104] Compiling ArgumentParser Argument.swift
[64/104] Compiling ArgumentParser ArgumentDiscussion.swift
[65/104] Compiling ArgumentParser ArgumentHelp.swift
[66/104] Compiling WITExtractor WITExtractor.swift
[66/104] Wrapping AST for WIT for debugging
[68/104] Compiling WITExtractor SwiftAPIDigester.swift
[69/129] Wrapping AST for WITExtractor for debugging
[71/129] Compiling WITOverlayGenerator SourcePrinter.swift
[72/129] Compiling WITOverlayGenerator InterfaceTypeGenerator.swift
[73/129] Compiling WITOverlayGenerator TypeAccessory.swift
[74/132] Compiling WITOverlayGenerator ConvertCase.swift
[75/132] Compiling WITOverlayGenerator SwiftName.swift
[76/132] Compiling WITOverlayGenerator TypeName.swift
[77/132] Compiling WITOverlayGenerator HostExportInterface.swift
[78/132] Compiling WITOverlayGenerator HostWorldGenerator.swift
[79/132] Compiling WITOverlayGenerator WasmKitSourcePrinter.swift
[80/132] Emitting module WITOverlayGenerator
[81/132] Compiling ArgumentParser Tree.swift
[82/132] Compiling ArgumentParser CodingKeyValidator.swift
[83/132] Compiling ArgumentParser NonsenseFlagsValidator.swift
[84/132] Compiling ArgumentParser ParsableArgumentsValidation.swift
[85/132] Compiling ArgumentParser PositionalArgumentsValidator.swift
[86/132] Compiling ArgumentParser UniqueNamesValidator.swift
[87/132] Compiling WITOverlayGenerator DefinitionMapping.swift
[88/132] Compiling WITOverlayGenerator GuestExportFunction.swift
[89/132] Compiling WITOverlayGenerator GuestExportInterface.swift
[90/132] Compiling WITOverlayGenerator GuestPrelude.swift
[91/132] Compiling WITOverlayGenerator GuestWorldGenerator.swift
[92/132] Compiling WITOverlayGenerator HostExportFunction.swift
[93/132] Compiling WITOverlayGenerator StaticCanonicalLifting.swift
[94/132] Compiling WITOverlayGenerator StaticCanonicalLoading.swift
[95/132] Compiling WITOverlayGenerator StaticCanonicalLowering.swift
[96/132] Compiling WITOverlayGenerator StaticCanonicalStoring.swift
[97/132] Compiling WITOverlayGenerator CanonicalName.swift
[98/132] Compiling WITOverlayGenerator CanonicalOperation.swift
[99/132] Compiling WITOverlayGenerator SignatureTranslation.swift
[100/132] Compiling WITOverlayGenerator StaticCanonicalDeallocation.swift
[111/132] Compiling WITOverlayGenerator TypeDefinition.swift
[112/132] Compiling WITOverlayGenerator TypeGenerator.swift
[115/132] Compiling WITOverlayGenerator WITOverlayGen.swift
[116/133] Compiling ArgumentParser ParsableArguments.swift
[117/133] Compiling ArgumentParser ParsableCommand.swift
[118/133] Compiling ArgumentParser ArgumentDecoder.swift
[119/133] Compiling ArgumentParser ArgumentDefinition.swift
[120/133] Compiling ArgumentParser ArgumentSet.swift
[121/133] Compiling ArgumentParser CommandParser.swift
[122/133] Compiling ArgumentParser OptionGroup.swift
[123/133] Compiling ArgumentParser AsyncParsableCommand.swift
[124/133] Compiling ArgumentParser CommandConfiguration.swift
[125/133] Compiling ArgumentParser CommandGroup.swift
[126/133] Compiling ArgumentParser EnumerableFlag.swift
[127/133] Compiling ArgumentParser ExpressibleByArgument.swift
[129/134] Wrapping AST for WITOverlayGenerator for debugging
[130/137] Wrapping AST for ArgumentParser for debugging
[132/137] Compiling WITTool Utilities.swift
[133/137] Emitting module WITTool
[134/137] Compiling WITTool WITTool.swift
[135/138] Wrapping AST for WITTool for debugging
[136/138] Write Objects.LinkFileList
[137/138] Linking WITTool-tool
[1/1] Compiling plugin GenerateOverlayForTesting
[2/2] Compiling plugin WITExtractorPlugin
[3/3] Compiling plugin WITOverlayPlugin
[4/4] Compiling plugin GenerateManual
[5/5] Compiling plugin GenerateDoccReference
Building for debugging...
[5/58] Write sources
[27/58] Compiling _CWasmKit _CWasmKit.c
[28/58] Compiling _CabiShims shims.c
[29/58] Compiling CSystem shims.c
[30/58] Write swift-version-24593BA9C3E375BF.txt
[32/125] Emitting module ArgumentParserToolInfo
[34/126] Emitting module WITExtractor
[35/127] Wrapping AST for ArgumentParserToolInfo for debugging
[36/128] Wrapping AST for WITExtractor for debugging
[38/128] Emitting module WIT
[39/129] Wrapping AST for WIT for debugging
[41/130] Emitting module ArgumentParser
[42/131] Wrapping AST for ArgumentParser for debugging
[44/131] Emitting module WITOverlayGenerator
[45/132] Wrapping AST for WITOverlayGenerator for debugging
[47/133] Emitting module WITTool
[48/134] Wrapping AST for WITTool for debugging
[49/134] Write Objects.LinkFileList
[50/134] Linking WITTool-tool
[52/134] Compiling SystemPackage FileOperations.swift
/host/spi-builder-workspace/Sources/WITExtractor/SwiftAPIDigester.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | /// A wrapper for the swift-api-digester tool.
[53/134] Compiling SystemPackage FilePath.swift
/host/spi-builder-workspace/Sources/WITExtractor/SwiftAPIDigester.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | /// A wrapper for the swift-api-digester tool.
error: emit-module command failed with exit code 1 (use -v to see invocation)
[54/134] Emitting module WITExtractor
/host/spi-builder-workspace/Sources/WITExtractor/SwiftAPIDigester.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | /// A wrapper for the swift-api-digester tool.
[55/135] Compiling SystemPackage FilePathSyntax.swift
/host/spi-builder-workspace/Sources/WIT/CanonicalABI/CanonicalABI.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | public enum CanonicalABI {
[56/135] Compiling SystemPackage FilePathTemp.swift
/host/spi-builder-workspace/Sources/WIT/CanonicalABI/CanonicalABI.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | public enum CanonicalABI {
[57/135] Compiling SystemPackage FilePathTempPosix.swift
/host/spi-builder-workspace/Sources/WIT/CanonicalABI/CanonicalABI.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | public enum CanonicalABI {
[58/138] Compiling SystemPackage FilePathComponents.swift
/host/spi-builder-workspace/Sources/WIT/CanonicalABI/CanonicalABI.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | public enum CanonicalABI {
[59/138] Compiling SystemPackage FilePathParsing.swift
/host/spi-builder-workspace/Sources/WIT/CanonicalABI/CanonicalABI.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | public enum CanonicalABI {
[60/138] Compiling SystemPackage FilePathString.swift
/host/spi-builder-workspace/Sources/WIT/CanonicalABI/CanonicalABI.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | public enum CanonicalABI {
[61/138] Compiling WasmTypes GuestMemory.swift
[62/138] Compiling WITExtractor WITExtractor.swift
/host/spi-builder-workspace/Sources/WITExtractor/SwiftAPIDigester.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | /// A wrapper for the swift-api-digester tool.
[63/138] Compiling WIT ParseTypes.swift
/host/spi-builder-workspace/Sources/WIT/CanonicalABI/CanonicalABI.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | public enum CanonicalABI {
[64/138] Compiling WIT ParseWorld.swift
/host/spi-builder-workspace/Sources/WIT/CanonicalABI/CanonicalABI.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | public enum CanonicalABI {
[65/138] Compiling WIT Parser.swift
/host/spi-builder-workspace/Sources/WIT/CanonicalABI/CanonicalABI.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | public enum CanonicalABI {
[66/138] Compiling WITExtractor SourcePrinter.swift
/host/spi-builder-workspace/Sources/WITExtractor/SwiftAPIDigester.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | /// A wrapper for the swift-api-digester tool.
[67/138] Compiling WITExtractor WITBuilder.swift
/host/spi-builder-workspace/Sources/WITExtractor/SwiftAPIDigester.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | /// A wrapper for the swift-api-digester tool.
[68/138] Compiling WITExtractor ConvertCase.swift
/host/spi-builder-workspace/Sources/WITExtractor/SwiftAPIDigester.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | /// A wrapper for the swift-api-digester tool.
[69/138] Compiling WITExtractor TypeMapping.swift
/host/spi-builder-workspace/Sources/WITExtractor/SwiftAPIDigester.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | /// A wrapper for the swift-api-digester tool.
[70/138] Compiling WITExtractor SourceSummary.swift
/host/spi-builder-workspace/Sources/WITExtractor/SwiftAPIDigester.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | /// A wrapper for the swift-api-digester tool.
/host/spi-builder-workspace/Sources/WIT/CanonicalABI/CanonicalABI.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | public enum CanonicalABI {
/host/spi-builder-workspace/Sources/WIT/CanonicalABI/CanonicalABI.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | public enum CanonicalABI {
[73/138] Compiling SystemPackage FilePathComponentView.swift
/host/spi-builder-workspace/Sources/WIT/CanonicalABI/CanonicalABI.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | public enum CanonicalABI {
[74/138] Compiling WITExtractor SwiftAPIDigester.swift
/host/spi-builder-workspace/Sources/WITExtractor/SwiftAPIDigester.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | /// A wrapper for the swift-api-digester tool.
[75/138] Compiling SystemPackage FileDescriptor.swift
/host/spi-builder-workspace/Sources/WIT/CanonicalABI/CanonicalABI.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | public enum CanonicalABI {
[76/138] Compiling SystemPackage FileHelpers.swift
/host/spi-builder-workspace/Sources/WIT/CanonicalABI/CanonicalABI.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | public enum CanonicalABI {
[77/138] Compiling SystemPackage Mocking.swift
/host/spi-builder-workspace/Sources/WIT/CanonicalABI/CanonicalABI.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | public enum CanonicalABI {
[78/138] Compiling SystemPackage Exports.swift
/host/spi-builder-workspace/Sources/WIT/CanonicalABI/CanonicalABI.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | public enum CanonicalABI {
[79/138] Compiling SystemPackage Errno.swift
/host/spi-builder-workspace/Sources/WIT/CanonicalABI/CanonicalABI.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | public enum CanonicalABI {
[80/138] Compiling SystemPackage ErrnoWindows.swift
/host/spi-builder-workspace/Sources/WIT/CanonicalABI/CanonicalABI.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | public enum CanonicalABI {
[81/138] Compiling SystemPackage Backcompat.swift
/host/spi-builder-workspace/Sources/WIT/CanonicalABI/CanonicalABI.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | public enum CanonicalABI {
[82/138] Compiling SystemPackage CInterop.swift
/host/spi-builder-workspace/Sources/WIT/CanonicalABI/CanonicalABI.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | public enum CanonicalABI {
[83/138] Compiling SystemPackage Constants.swift
/host/spi-builder-workspace/Sources/WIT/CanonicalABI/CanonicalABI.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | public enum CanonicalABI {
[84/138] Compiling SystemPackage FilePathTempWindows.swift
/host/spi-builder-workspace/Sources/WIT/CanonicalABI/CanonicalABI.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | public enum CanonicalABI {
[85/138] Compiling SystemPackage FilePathWindows.swift
/host/spi-builder-workspace/Sources/WIT/CanonicalABI/CanonicalABI.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | public enum CanonicalABI {
[86/138] Compiling SystemPackage FilePermissions.swift
/host/spi-builder-workspace/Sources/WIT/CanonicalABI/CanonicalABI.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | public enum CanonicalABI {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[87/138] Emitting module WIT
/host/spi-builder-workspace/Sources/WIT/CanonicalABI/CanonicalABI.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | public enum CanonicalABI {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[92/138] 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)
[97/141] Compiling WasmTypes WasmTypes.swift
[98/141] Emitting module WasmTypes
[100/142] Compiling ArgumentParserToolInfo ToolInfo.swift
[101/142] Emitting module ArgumentParserToolInfo
[103/143] Compiling SystemPackage MachPort.swift
[104/143] Compiling SystemPackage PlatformString.swift
[105/143] Compiling SystemPackage SystemString.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 |
/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 |
/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 |
/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 |
/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)
/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)
/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)
/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)
[122/143] Compiling SystemPackage Util+StringArray.swift
[123/143] Compiling SystemPackage Util.swift
[124/143] Compiling SystemPackage UtilConsumers.swift
BUILD FAILURE 6.2 wasm