The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build WasmKit, reference main (d258b7), with Swift 6.1 for Wasm on 17 Jun 2025 02:18:40 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swiftwasm/WasmKit.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/swiftwasm/WasmKit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at d258b76 ./Utilities/format.py
Cloned https://github.com/swiftwasm/WasmKit.git
Revision (git rev-parse @):
d258b76e3acefe3884b4a622a304a74a23ae7219
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/swiftwasm/WasmKit.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/swiftwasm/WasmKit.git
https://github.com/swiftwasm/WasmKit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.2.2",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    },
    {
      "identity" : "swift-system",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.3.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-system"
    }
  ],
  "manifest_display_name" : "WasmKit",
  "name" : "WasmKit",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.13"
    },
    {
      "name" : "ios",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "wasmkit-cli",
      "targets" : [
        "CLI"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "WasmKit",
      "targets" : [
        "WasmKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "WasmKitWASI",
      "targets" : [
        "WasmKitWASI"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "WASI",
      "targets" : [
        "WASI"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "WasmParser",
      "targets" : [
        "WasmParser"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "WAT",
      "targets" : [
        "WAT"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "WIT",
      "targets" : [
        "WIT"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "_CabiShims",
      "targets" : [
        "_CabiShims"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "WITOverlayPlugin",
      "targets" : [
        "WITOverlayPlugin"
      ],
      "type" : {
        "plugin" : null
      }
    },
    {
      "name" : "WITExtractorPlugin",
      "targets" : [
        "WITExtractorPlugin"
      ],
      "type" : {
        "plugin" : null
      }
    },
    {
      "name" : "WITTool",
      "targets" : [
        "WITTool"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "_CabiShims",
      "module_type" : "ClangTarget",
      "name" : "_CabiShims",
      "path" : "Sources/_CabiShims",
      "product_memberships" : [
        "_CabiShims"
      ],
      "sources" : [
        "shims.c"
      ],
      "type" : "library"
    },
    {
      "c99name" : "_CWasmKit",
      "module_type" : "ClangTarget",
      "name" : "_CWasmKit",
      "path" : "Sources/_CWasmKit",
      "product_memberships" : [
        "wasmkit-cli",
        "WasmKit",
        "WasmKitWASI"
      ],
      "sources" : [
        "_CWasmKit.c"
      ],
      "type" : "library"
    },
    {
      "c99name" : "WasmTypes",
      "module_type" : "SwiftTarget",
      "name" : "WasmTypes",
      "path" : "Sources/WasmTypes",
      "product_memberships" : [
        "wasmkit-cli",
        "WasmKit",
        "WasmKitWASI",
        "WASI",
        "WasmParser",
        "WAT"
      ],
      "sources" : [
        "GuestMemory.swift",
        "WasmTypes.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "WasmParserTests",
      "module_type" : "SwiftTarget",
      "name" : "WasmParserTests",
      "path" : "Tests/WasmParserTests",
      "sources" : [
        "LEBTests.swift"
      ],
      "target_dependencies" : [
        "WasmParser"
      ],
      "type" : "test"
    },
    {
      "c99name" : "WasmParser",
      "module_type" : "SwiftTarget",
      "name" : "WasmParser",
      "path" : "Sources/WasmParser",
      "product_dependencies" : [
        "SystemPackage"
      ],
      "product_memberships" : [
        "wasmkit-cli",
        "WasmKit",
        "WasmKitWASI",
        "WasmParser",
        "WAT"
      ],
      "sources" : [
        "BinaryInstructionDecoder.swift",
        "InstructionVisitor.swift",
        "LEB.swift",
        "ParsingLimits.swift",
        "Stream/ByteStream.swift",
        "Stream/FileHandleStream.swift",
        "Stream/Stream.swift",
        "WasmParser.swift",
        "WasmTypes.swift"
      ],
      "target_dependencies" : [
        "WasmTypes"
      ],
      "type" : "library"
    },
    {
      "c99name" : "WasmKitWASI",
      "module_type" : "SwiftTarget",
      "name" : "WasmKitWASI",
      "path" : "Sources/WasmKitWASI",
      "product_memberships" : [
        "wasmkit-cli",
        "WasmKitWASI"
      ],
      "sources" : [
        "WASIBridgeToHost+WasmKit.swift"
      ],
      "target_dependencies" : [
        "WasmKit",
        "WASI"
      ],
      "type" : "library"
    },
    {
      "c99name" : "WasmKitTests",
      "module_type" : "SwiftTarget",
      "name" : "WasmKitTests",
      "path" : "Tests/WasmKitTests",
      "sources" : [
        "Execution/HostModuleTests.swift",
        "Execution/Runtime/StoreAllocatorTests.swift",
        "ExecutionTests.swift",
        "FuzzTranslatorRegressionTests.swift",
        "Spectest/Spectest.swift",
        "Spectest/TestCase.swift",
        "SpectestTests.swift"
      ],
      "target_dependencies" : [
        "WasmKit",
        "WAT",
        "WasmKitFuzzing"
      ],
      "type" : "test"
    },
    {
      "c99name" : "WasmKitFuzzing",
      "module_type" : "SwiftTarget",
      "name" : "WasmKitFuzzing",
      "path" : "FuzzTesting/Sources/WasmKitFuzzing",
      "sources" : [
        "WasmKitFuzzing.swift"
      ],
      "target_dependencies" : [
        "WasmKit"
      ],
      "type" : "library"
    },
    {
      "c99name" : "WasmKit",
      "module_type" : "SwiftTarget",
      "name" : "WasmKit",
      "path" : "Sources/WasmKit",
      "product_dependencies" : [
        "SystemPackage"
      ],
      "product_memberships" : [
        "wasmkit-cli",
        "WasmKit",
        "WasmKitWASI"
      ],
      "sources" : [
        "Component/CanonicalCall.swift",
        "Component/CanonicalLifting.swift",
        "Component/CanonicalLowering.swift",
        "Component/CanonicalOptions.swift",
        "Component/ComponentTypes.swift",
        "Engine.swift",
        "Execution/ConstEvaluation.swift",
        "Execution/DispatchInstruction.swift",
        "Execution/EngineInterceptor.swift",
        "Execution/Errors.swift",
        "Execution/Execution.swift",
        "Execution/Function.swift",
        "Execution/IO.swift",
        "Execution/Instances.swift",
        "Execution/Instructions/Control.swift",
        "Execution/Instructions/Instruction.swift",
        "Execution/Instructions/InstructionSupport.swift",
        "Execution/Instructions/Memory.swift",
        "Execution/Instructions/Misc.swift",
        "Execution/Instructions/Table.swift",
        "Execution/NameRegistry.swift",
        "Execution/Profiler.swift",
        "Execution/Runtime.swift",
        "Execution/SignpostTracer.swift",
        "Execution/Store.swift",
        "Execution/StoreAllocator.swift",
        "Execution/UntypedValue.swift",
        "Execution/Value.swift",
        "Imports.swift",
        "Module.swift",
        "ModuleParser.swift",
        "ResourceLimiter.swift",
        "Translator.swift",
        "Validator.swift"
      ],
      "target_dependencies" : [
        "_CWasmKit",
        "WasmParser",
        "WasmTypes",
        "SystemExtras"
      ],
      "type" : "library"
    },
    {
      "c99name" : "WITTool",
      "module_type" : "SwiftTarget",
      "name" : "WITTool",
      "path" : "Sources/WITTool",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "product_memberships" : [
        "WITOverlayPlugin",
        "WITExtractorPlugin",
        "WITTool"
      ],
      "sources" : [
        "Utilities.swift",
        "WITTool.swift"
      ],
      "target_dependencies" : [
        "WIT",
        "WITOverlayGenerator",
        "WITExtractor"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "WITTests",
      "module_type" : "SwiftTarget",
      "name" : "WITTests",
      "path" : "Tests/WITTests",
      "sources" : [
        "LexerTests.swift",
        "PackageResolverTests.swift",
        "Semantics/NameLookupTests.swift",
        "Semantics/RequestEvaluatorTests.swift",
        "Semantics/ValidationTests.swift",
        "TextParser/ParseFunctionDeclTests.swift",
        "TextParser/ParseInterfaceTests.swift",
        "TextParser/ParseTopTests.swift",
        "TextParser/ParseTypesTests.swift",
        "TextParser/ParseVersionTests.swift",
        "TextParser/ParseWorldTests.swift"
      ],
      "target_dependencies" : [
        "WIT"
      ],
      "type" : "test"
    },
    {
      "c99name" : "WITOverlayPlugin",
      "module_type" : "PluginTarget",
      "name" : "WITOverlayPlugin",
      "path" : "Plugins/WITOverlayPlugin",
      "plugin_capability" : {
        "type" : "buildTool"
      },
      "product_memberships" : [
        "WITOverlayPlugin"
      ],
      "sources" : [
        "Plugin.swift"
      ],
      "target_dependencies" : [
        "WITTool"
      ],
      "type" : "plugin"
    },
    {
      "c99name" : "WITOverlayGeneratorTests",
      "module_type" : "SwiftTarget",
      "name" : "WITOverlayGeneratorTests",
      "path" : "Tests/WITOverlayGeneratorTests",
      "sources" : [
        "HostGeneratorTests.swift",
        "Runtime/RuntimeSmokeTests.swift",
        "Runtime/RuntimeTestHarness.swift",
        "Runtime/RuntimeTypesTests.swift"
      ],
      "target_dependencies" : [
        "WITOverlayGenerator",
        "WasmKit",
        "WasmKitWASI",
        "GenerateOverlayForTesting"
      ],
      "type" : "test"
    },
    {
      "c99name" : "WITOverlayGenerator",
      "module_type" : "SwiftTarget",
      "name" : "WITOverlayGenerator",
      "path" : "Sources/WITOverlayGenerator",
      "product_memberships" : [
        "WITOverlayPlugin",
        "WITExtractorPlugin",
        "WITTool"
      ],
      "sources" : [
        "CanonicalABI/CanonicalName.swift",
        "CanonicalABI/CanonicalOperation.swift",
        "CanonicalABI/SignatureTranslation.swift",
        "CanonicalABI/StaticCanonicalDeallocation.swift",
        "CanonicalABI/StaticCanonicalLifting.swift",
        "CanonicalABI/StaticCanonicalLoading.swift",
        "CanonicalABI/StaticCanonicalLowering.swift",
        "CanonicalABI/StaticCanonicalStoring.swift",
        "DefinitionMapping.swift",
        "GuestGenerators/GuestExportFunction.swift",
        "GuestGenerators/GuestExportInterface.swift",
        "GuestGenerators/GuestPrelude.swift",
        "GuestGenerators/GuestWorldGenerator.swift",
        "HostGenerators/HostExportFunction.swift",
        "HostGenerators/HostExportInterface.swift",
        "HostGenerators/HostWorldGenerator.swift",
        "HostGenerators/WasmKitSourcePrinter.swift",
        "Naming/ConvertCase.swift",
        "Naming/SwiftName.swift",
        "Naming/TypeName.swift",
        "SourcePrinter.swift",
        "TypeGenerators/InterfaceTypeGenerator.swift",
        "TypeGenerators/TypeAccessory.swift",
        "TypeGenerators/TypeDefinition.swift",
        "TypeGenerators/TypeGenerator.swift",
        "WITOverlayGen.swift"
      ],
      "target_dependencies" : [
        "WIT"
      ],
      "type" : "library"
    },
    {
      "c99name" : "WITExtractorTests",
      "module_type" : "SwiftTarget",
      "name" : "WITExtractorTests",
      "path" : "Tests/WITExtractorTests",
      "sources" : [
        "ConvertCaseTests.swift",
        "ExportFunctionTests.swift",
        "TestSupport.swift",
        "TypeTranslationTests.swift"
      ],
      "target_dependencies" : [
        "WITExtractor",
        "WIT"
      ],
      "type" : "test"
    },
    {
      "c99name" : "WITExtractorPluginTests",
      "module_type" : "SwiftTarget",
      "name" : "WITExtractorPluginTests",
      "path" : "Tests/WITExtractorPluginTests",
      "sources" : [
        "PluginSmokeTests.swift",
        "TestSupport.swift"
      ],
      "type" : "test"
    },
    {
      "c99name" : "WITExtractorPlugin",
      "module_type" : "PluginTarget",
      "name" : "WITExtractorPlugin",
      "path" : "Plugins/WITExtractorPlugin",
      "plugin_capability" : {
        "intent" : {
          "description" : "Extract WIT definition from Swift module",
          "type" : "custom",
          "verb" : "extract-wit"
        },
        "permissions" : [
        ],
        "type" : "command"
      },
      "product_memberships" : [
        "WITExtractorPlugin"
      ],
      "sources" : [
        "Plugin.swift"
      ],
      "target_dependencies" : [
        "WITTool"
      ],
      "type" : "plugin"
    },
    {
      "c99name" : "WITExtractor",
      "module_type" : "SwiftTarget",
      "name" : "WITExtractor",
      "path" : "Sources/WITExtractor",
      "product_memberships" : [
        "WITOverlayPlugin",
        "WITExtractorPlugin",
        "WITTool"
      ],
      "sources" : [
        "Diagnostic.swift",
        "ModuleTranslation.swift",
        "Naming/ConvertCase.swift",
        "SourcePrinter.swift",
        "SourceSummary.swift",
        "SwiftAPIDigester.swift",
        "TypeMapping.swift",
        "WITBuilder.swift",
        "WITExtractor.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "WIT",
      "module_type" : "SwiftTarget",
      "name" : "WIT",
      "path" : "Sources/WIT",
      "product_memberships" : [
        "WIT",
        "WITOverlayPlugin",
        "WITExtractorPlugin",
        "WITTool"
      ],
      "sources" : [
        "AST.swift",
        "ASTVisitor.swift",
        "CanonicalABI/CanonicalABI.swift",
        "CanonicalABI/CanonicalDeallocation.swift",
        "CanonicalABI/CanonicalLifting.swift",
        "CanonicalABI/CanonicalLoading.swift",
        "CanonicalABI/CanonicalLowering.swift",
        "CanonicalABI/CanonicalStoring.swift",
        "Diagnostics.swift",
        "Lexer.swift",
        "PackageResolver.swift",
        "Semantics/NameLookup.swift",
        "Semantics/PackageBuilder.swift",
        "Semantics/RequestEvaluator.swift",
        "Semantics/SemanticsContext.swift",
        "Semantics/Type.swift",
        "Semantics/Validation.swift",
        "SyntaxNode.swift",
        "TextParser/ParseFunctionDecl.swift",
        "TextParser/ParseInterface.swift",
        "TextParser/ParseTop.swift",
        "TextParser/ParseTypes.swift",
        "TextParser/ParseWorld.swift",
        "TextParser/Parser.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "WATTests",
      "module_type" : "SwiftTarget",
      "name" : "WATTests",
      "path" : "Tests/WATTests",
      "sources" : [
        "EncoderTests.swift",
        "LexerTests.swift",
        "ParserTests.swift",
        "Spectest.swift",
        "TestSupport.swift"
      ],
      "target_dependencies" : [
        "WAT"
      ],
      "type" : "test"
    },
    {
      "c99name" : "WAT",
      "module_type" : "SwiftTarget",
      "name" : "WAT",
      "path" : "Sources/WAT",
      "product_memberships" : [
        "wasmkit-cli",
        "WAT"
      ],
      "sources" : [
        "BinaryInstructionEncoder.swift",
        "Encoder.swift",
        "Lexer.swift",
        "Location.swift",
        "NameMapping.swift",
        "ParseTextInstruction.swift",
        "Parser.swift",
        "Parser/ExpressionParser.swift",
        "Parser/WastParser.swift",
        "Parser/WatParser.swift",
        "WAT.swift"
      ],
      "target_dependencies" : [
        "WasmParser"
      ],
      "type" : "library"
    },
    {
      "c99name" : "WASITests",
      "module_type" : "SwiftTarget",
      "name" : "WASITests",
      "path" : "Tests/WASITests",
      "sources" : [
        "IntegrationTests.swift",
        "Platform/SandboxPrimitives/OpenParentTests.swift",
        "RandomBufferGeneratorTests.swift",
        "TestSupport.swift",
        "WASITests.swift"
      ],
      "target_dependencies" : [
        "WASI",
        "WasmKitWASI"
      ],
      "type" : "test"
    },
    {
      "c99name" : "WASI",
      "module_type" : "SwiftTarget",
      "name" : "WASI",
      "path" : "Sources/WASI",
      "product_memberships" : [
        "wasmkit-cli",
        "WasmKitWASI",
        "WASI"
      ],
      "sources" : [
        "Clock.swift",
        "FileSystem.swift",
        "GuestMemorySupport.swift",
        "Platform/Directory.swift",
        "Platform/Entry.swift",
        "Platform/File.swift",
        "Platform/PlatformTypes.swift",
        "Platform/SandboxPrimitives.swift",
        "Platform/SandboxPrimitives/Open.swift",
        "Platform/SandboxPrimitives/OpenParent.swift",
        "RandomBufferGenerator.swift",
        "WASI.swift"
      ],
      "target_dependencies" : [
        "WasmTypes",
        "SystemExtras"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SystemExtras",
      "module_type" : "SwiftTarget",
      "name" : "SystemExtras",
      "path" : "Sources/SystemExtras",
      "product_dependencies" : [
        "SystemPackage"
      ],
      "product_memberships" : [
        "wasmkit-cli",
        "WasmKit",
        "WasmKitWASI",
        "WASI"
      ],
      "sources" : [
        "Clock.swift",
        "Constants.swift",
        "FileAtOperations.swift",
        "FileOperations.swift",
        "Syscalls.swift",
        "Vendor/Exports.swift",
        "Vendor/Utils.swift",
        "Vendor/WindowsSyscallAdapter.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "GenerateOverlayForTesting",
      "module_type" : "PluginTarget",
      "name" : "GenerateOverlayForTesting",
      "path" : "Plugins/GenerateOverlayForTesting",
      "plugin_capability" : {
        "type" : "buildTool"
      },
      "sources" : [
        "Plugin.swift"
      ],
      "target_dependencies" : [
        "WITTool"
      ],
      "type" : "plugin"
    },
    {
      "c99name" : "CLI",
      "module_type" : "SwiftTarget",
      "name" : "CLI",
      "path" : "Sources/CLI",
      "product_dependencies" : [
        "ArgumentParser",
        "SystemPackage"
      ],
      "product_memberships" : [
        "wasmkit-cli"
      ],
      "sources" : [
        "CLI.swift",
        "Commands/Explore.swift",
        "Commands/Parse.swift",
        "Commands/Run.swift"
      ],
      "target_dependencies" : [
        "WAT",
        "WasmKit",
        "WasmKitWASI"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.8"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:8f9255989265d824b88e7d572b1a334a0dc9b701075ede1970390db95d315c35
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
[1/4428] Fetching swift-system
[4429/19808] Fetching swift-system, swift-argument-parser
Fetched https://github.com/apple/swift-system from cache (0.43s)
[308/15380] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (0.84s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.5.0 (1.35s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.1 (0.50s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser 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/15] Write sources
[6/15] Write swift-version-24593BA9C3E375BF.txt
[8/48] Emitting module WIT
/host/spi-builder-workspace/Sources/WIT/Diagnostics.swift:6:9: warning: stored property 'diagnostic' of 'Sendable'-conforming struct 'DiagnosticError' has non-sendable type 'Diagnostic'; this is an error in the Swift 6 language mode
 4 |
 5 | struct DiagnosticError: Error {
 6 |     let diagnostic: Diagnostic
   |         `- warning: stored property 'diagnostic' of 'Sendable'-conforming struct 'DiagnosticError' has non-sendable type 'Diagnostic'; this is an error in the Swift 6 language mode
 7 | }
 8 |
 9 | public struct Diagnostic {
   |               `- note: consider making struct 'Diagnostic' conform to the 'Sendable' protocol
10 |
11 |     public let message: String
/host/spi-builder-workspace/Sources/WIT/Semantics/RequestEvaluator.swift:67:13: warning: stored property 'activeRequests' of 'Sendable'-conforming struct 'CyclicalRequestError' has non-sendable type '[any EvaluationRequest]'; this is an error in the Swift 6 language mode
 1 | protocol EvaluationRequest: Hashable {
   |          `- note: protocol 'EvaluationRequest' does not conform to the 'Sendable' protocol
 2 |     associatedtype Output
 3 |
   :
65 | extension Evaluator {
66 |     struct CyclicalRequestError: Error, CustomStringConvertible {
67 |         let activeRequests: [any EvaluationRequest]
   |             `- warning: stored property 'activeRequests' of 'Sendable'-conforming struct 'CyclicalRequestError' has non-sendable type '[any EvaluationRequest]'; this is an error in the Swift 6 language mode
68 |
69 |         var description: String {
[9/51] Emitting module ArgumentParserToolInfo
[10/51] Compiling ArgumentParserToolInfo ToolInfo.swift
[12/52] Compiling WITExtractor WITBuilder.swift
[13/53] Compiling WIT ParseTypes.swift
[14/53] Compiling WIT ParseWorld.swift
[15/53] Compiling WIT Parser.swift
[16/53] Compiling WIT Type.swift
[17/53] Compiling WIT Validation.swift
[18/53] Compiling WIT SyntaxNode.swift
[19/53] Compiling WIT PackageBuilder.swift
/host/spi-builder-workspace/Sources/WIT/Semantics/RequestEvaluator.swift:67:13: warning: stored property 'activeRequests' of 'Sendable'-conforming struct 'CyclicalRequestError' has non-sendable type '[any EvaluationRequest]'; this is an error in the Swift 6 language mode
 1 | protocol EvaluationRequest: Hashable {
   |          `- note: protocol 'EvaluationRequest' does not conform to the 'Sendable' protocol
 2 |     associatedtype Output
 3 |
   :
65 | extension Evaluator {
66 |     struct CyclicalRequestError: Error, CustomStringConvertible {
67 |         let activeRequests: [any EvaluationRequest]
   |             `- warning: stored property 'activeRequests' of 'Sendable'-conforming struct 'CyclicalRequestError' has non-sendable type '[any EvaluationRequest]'; this is an error in the Swift 6 language mode
68 |
69 |         var description: String {
[20/53] Compiling WIT RequestEvaluator.swift
/host/spi-builder-workspace/Sources/WIT/Semantics/RequestEvaluator.swift:67:13: warning: stored property 'activeRequests' of 'Sendable'-conforming struct 'CyclicalRequestError' has non-sendable type '[any EvaluationRequest]'; this is an error in the Swift 6 language mode
 1 | protocol EvaluationRequest: Hashable {
   |          `- note: protocol 'EvaluationRequest' does not conform to the 'Sendable' protocol
 2 |     associatedtype Output
 3 |
   :
65 | extension Evaluator {
66 |     struct CyclicalRequestError: Error, CustomStringConvertible {
67 |         let activeRequests: [any EvaluationRequest]
   |             `- warning: stored property 'activeRequests' of 'Sendable'-conforming struct 'CyclicalRequestError' has non-sendable type '[any EvaluationRequest]'; this is an error in the Swift 6 language mode
68 |
69 |         var description: String {
[21/53] Compiling WIT SemanticsContext.swift
/host/spi-builder-workspace/Sources/WIT/Semantics/RequestEvaluator.swift:67:13: warning: stored property 'activeRequests' of 'Sendable'-conforming struct 'CyclicalRequestError' has non-sendable type '[any EvaluationRequest]'; this is an error in the Swift 6 language mode
 1 | protocol EvaluationRequest: Hashable {
   |          `- note: protocol 'EvaluationRequest' does not conform to the 'Sendable' protocol
 2 |     associatedtype Output
 3 |
   :
65 | extension Evaluator {
66 |     struct CyclicalRequestError: Error, CustomStringConvertible {
67 |         let activeRequests: [any EvaluationRequest]
   |             `- warning: stored property 'activeRequests' of 'Sendable'-conforming struct 'CyclicalRequestError' has non-sendable type '[any EvaluationRequest]'; this is an error in the Swift 6 language mode
68 |
69 |         var description: String {
[22/53] Compiling WIT ParseFunctionDecl.swift
[23/53] Compiling WIT ParseInterface.swift
[24/53] Compiling WIT ParseTop.swift
[25/53] Compiling WIT CanonicalDeallocation.swift
[26/53] Compiling WIT CanonicalLifting.swift
[27/53] Compiling WIT CanonicalLoading.swift
[27/53] Wrapping AST for ArgumentParserToolInfo for debugging
[29/91] Emitting module ArgumentParser
[30/96] Compiling WITExtractor SourceSummary.swift
[31/96] Emitting module WITExtractor
[32/96] Compiling WITExtractor SourcePrinter.swift
[33/96] Compiling ArgumentParser BashCompletionsGenerator.swift
[34/96] Compiling ArgumentParser CompletionsGenerator.swift
[35/96] Compiling WITExtractor TypeMapping.swift
[36/96] Compiling WITExtractor SwiftAPIDigester.swift
[37/96] Compiling WITExtractor ConvertCase.swift
[38/96] Compiling ArgumentParser ZshCompletionsGenerator.swift
/host/spi-builder-workspace/Sources/WIT/Diagnostics.swift:6:9: warning: stored property 'diagnostic' of 'Sendable'-conforming struct 'DiagnosticError' has non-sendable type 'Diagnostic'; this is an error in the Swift 6 language mode
 4 |
 5 | struct DiagnosticError: Error {
 6 |     let diagnostic: Diagnostic
   |         `- warning: stored property 'diagnostic' of 'Sendable'-conforming struct 'DiagnosticError' has non-sendable type 'Diagnostic'; this is an error in the Swift 6 language mode
 7 | }
 8 |
 9 | public struct Diagnostic {
   |               `- note: consider making struct 'Diagnostic' conform to the 'Sendable' protocol
10 |
11 |     public let message: String
[39/96] Compiling ArgumentParser Argument.swift
/host/spi-builder-workspace/Sources/WIT/Diagnostics.swift:6:9: warning: stored property 'diagnostic' of 'Sendable'-conforming struct 'DiagnosticError' has non-sendable type 'Diagnostic'; this is an error in the Swift 6 language mode
 4 |
 5 | struct DiagnosticError: Error {
 6 |     let diagnostic: Diagnostic
   |         `- warning: stored property 'diagnostic' of 'Sendable'-conforming struct 'DiagnosticError' has non-sendable type 'Diagnostic'; this is an error in the Swift 6 language mode
 7 | }
 8 |
 9 | public struct Diagnostic {
   |               `- note: consider making struct 'Diagnostic' conform to the 'Sendable' protocol
10 |
11 |     public let message: String
[40/96] Compiling ArgumentParser ArgumentHelp.swift
/host/spi-builder-workspace/Sources/WIT/Diagnostics.swift:6:9: warning: stored property 'diagnostic' of 'Sendable'-conforming struct 'DiagnosticError' has non-sendable type 'Diagnostic'; this is an error in the Swift 6 language mode
 4 |
 5 | struct DiagnosticError: Error {
 6 |     let diagnostic: Diagnostic
   |         `- warning: stored property 'diagnostic' of 'Sendable'-conforming struct 'DiagnosticError' has non-sendable type 'Diagnostic'; this is an error in the Swift 6 language mode
 7 | }
 8 |
 9 | public struct Diagnostic {
   |               `- note: consider making struct 'Diagnostic' conform to the 'Sendable' protocol
10 |
11 |     public let message: String
[43/96] Compiling ArgumentParser FishCompletionsGenerator.swift
[44/96] Compiling ArgumentParser CommandGroup.swift
[45/96] Compiling ArgumentParser EnumerableFlag.swift
[46/96] Compiling ArgumentParser ArgumentVisibility.swift
[47/96] Compiling WITExtractor WITExtractor.swift
[56/98] Compiling ArgumentParser CollectionExtensions.swift
[57/98] Compiling ArgumentParser Platform.swift
[58/98] Compiling ArgumentParser SequenceExtensions.swift
[59/98] Compiling ArgumentParser StringExtensions.swift
[60/98] Compiling ArgumentParser Tree.swift
[62/98] Compiling ArgumentParser CompletionKind.swift
[63/98] Compiling ArgumentParser Errors.swift
[64/98] Compiling ArgumentParser Flag.swift
[65/98] Compiling ArgumentParser NameSpecification.swift
[66/98] Compiling ArgumentParser Option.swift
[67/98] Compiling ArgumentParser OptionGroup.swift
[68/98] Compiling ArgumentParser AsyncParsableCommand.swift
[69/98] Compiling ArgumentParser CommandConfiguration.swift
[71/98] Wrapping AST for WIT for debugging
[72/98] Wrapping AST for WITExtractor for debugging
[74/122] Compiling ArgumentParser Name.swift
[75/122] Compiling ArgumentParser Parsed.swift
[76/122] Compiling ArgumentParser ParsedValues.swift
[77/122] Compiling ArgumentParser ParserError.swift
[78/122] Compiling ArgumentParser SplitArguments.swift
[79/122] Compiling ArgumentParser DumpHelpGenerator.swift
[80/122] Compiling ArgumentParser HelpCommand.swift
[81/122] Compiling ArgumentParser HelpGenerator.swift
[82/122] Compiling ArgumentParser MessageInfo.swift
[83/122] Compiling ArgumentParser UsageGenerator.swift
[84/122] Compiling WITOverlayGenerator HostExportInterface.swift
[85/122] Compiling WITOverlayGenerator HostWorldGenerator.swift
[86/122] Compiling WITOverlayGenerator WasmKitSourcePrinter.swift
[87/122] Compiling WITOverlayGenerator SourcePrinter.swift
[88/122] Compiling WITOverlayGenerator InterfaceTypeGenerator.swift
[89/122] Compiling WITOverlayGenerator TypeAccessory.swift
[90/122] Compiling ArgumentParser ArgumentSet.swift
[91/122] Compiling ArgumentParser CommandParser.swift
[92/122] Compiling ArgumentParser InputKey.swift
[93/122] Compiling ArgumentParser InputOrigin.swift
[94/123] Wrapping AST for ArgumentParser for debugging
[96/123] Compiling WITOverlayGenerator ConvertCase.swift
[97/123] Compiling WITOverlayGenerator SwiftName.swift
[98/123] Compiling WITOverlayGenerator TypeName.swift
[99/126] Compiling WITOverlayGenerator CanonicalName.swift
[100/126] Compiling WITOverlayGenerator CanonicalOperation.swift
[101/126] Compiling WITOverlayGenerator SignatureTranslation.swift
[102/126] Compiling WITOverlayGenerator StaticCanonicalDeallocation.swift
[103/126] Emitting module WITOverlayGenerator
[107/126] Compiling WITOverlayGenerator GuestPrelude.swift
[108/126] Compiling WITOverlayGenerator GuestWorldGenerator.swift
[109/126] Compiling WITOverlayGenerator HostExportFunction.swift
[113/126] Compiling WITOverlayGenerator DefinitionMapping.swift
[114/126] Compiling WITOverlayGenerator GuestExportFunction.swift
[115/126] Compiling WITOverlayGenerator GuestExportInterface.swift
[116/126] Compiling WITOverlayGenerator StaticCanonicalLifting.swift
[117/126] Compiling WITOverlayGenerator StaticCanonicalLoading.swift
[118/126] Compiling WITOverlayGenerator StaticCanonicalLowering.swift
[119/126] Compiling WITOverlayGenerator StaticCanonicalStoring.swift
[120/126] Compiling WITOverlayGenerator TypeDefinition.swift
[121/126] Compiling WITOverlayGenerator TypeGenerator.swift
[122/126] Compiling WITOverlayGenerator WITOverlayGen.swift
[123/127] Wrapping AST for WITOverlayGenerator for debugging
[125/130] Compiling WITTool WITTool.swift
[126/130] Compiling WITTool Utilities.swift
[127/130] Emitting module WITTool
[128/131] Wrapping AST for WITTool for debugging
[129/131] Write Objects.LinkFileList
[130/131] Linking WITTool-tool
[1/1] Compiling plugin GenerateOverlayForTesting
[2/2] Compiling plugin WITExtractorPlugin
[3/3] Compiling plugin WITOverlayPlugin
[4/4] Compiling plugin GenerateManual
Building for debugging...
[4/57] Write sources
[26/57] Compiling _CWasmKit _CWasmKit.c
[27/57] Compiling CSystem shims.c
[28/57] Compiling _CabiShims shims.c
[29/57] Write swift-version-24593BA9C3E375BF.txt
[31/124] Emitting module ArgumentParserToolInfo
[32/125] Emitting module WITExtractor
[34/126] Wrapping AST for ArgumentParserToolInfo for debugging
[35/127] Wrapping AST for WITExtractor for debugging
[37/127] Emitting module WIT
/host/spi-builder-workspace/Sources/WIT/Diagnostics.swift:6:9: warning: stored property 'diagnostic' of 'Sendable'-conforming struct 'DiagnosticError' has non-sendable type 'Diagnostic'; this is an error in the Swift 6 language mode
 4 |
 5 | struct DiagnosticError: Error {
 6 |     let diagnostic: Diagnostic
   |         `- warning: stored property 'diagnostic' of 'Sendable'-conforming struct 'DiagnosticError' has non-sendable type 'Diagnostic'; this is an error in the Swift 6 language mode
 7 | }
 8 |
 9 | public struct Diagnostic {
   |               `- note: consider making struct 'Diagnostic' conform to the 'Sendable' protocol
10 |
11 |     public let message: String
/host/spi-builder-workspace/Sources/WIT/Semantics/RequestEvaluator.swift:67:13: warning: stored property 'activeRequests' of 'Sendable'-conforming struct 'CyclicalRequestError' has non-sendable type '[any EvaluationRequest]'; this is an error in the Swift 6 language mode
 1 | protocol EvaluationRequest: Hashable {
   |          `- note: protocol 'EvaluationRequest' does not conform to the 'Sendable' protocol
 2 |     associatedtype Output
 3 |
   :
65 | extension Evaluator {
66 |     struct CyclicalRequestError: Error, CustomStringConvertible {
67 |         let activeRequests: [any EvaluationRequest]
   |             `- warning: stored property 'activeRequests' of 'Sendable'-conforming struct 'CyclicalRequestError' has non-sendable type '[any EvaluationRequest]'; this is an error in the Swift 6 language mode
68 |
69 |         var description: String {
[38/128] Wrapping AST for WIT for debugging
[40/129] Emitting module ArgumentParser
[41/130] Wrapping AST for ArgumentParser for debugging
[43/130] Emitting module WITOverlayGenerator
[44/131] Wrapping AST for WITOverlayGenerator for debugging
[46/132] Emitting module WIT
/host/spi-builder-workspace/Sources/WIT/Diagnostics.swift:6:9: warning: stored property 'diagnostic' of 'Sendable'-conforming struct 'DiagnosticError' has non-sendable type 'Diagnostic'; this is an error in the Swift 6 language mode
 4 |
 5 | struct DiagnosticError: Error {
 6 |     let diagnostic: Diagnostic
   |         `- warning: stored property 'diagnostic' of 'Sendable'-conforming struct 'DiagnosticError' has non-sendable type 'Diagnostic'; this is an error in the Swift 6 language mode
 7 | }
 8 |
 9 | public struct Diagnostic {
   |               `- note: consider making struct 'Diagnostic' conform to the 'Sendable' protocol
10 |
11 |     public let message: String
/host/spi-builder-workspace/Sources/WIT/Semantics/RequestEvaluator.swift:67:13: warning: stored property 'activeRequests' of 'Sendable'-conforming struct 'CyclicalRequestError' has non-sendable type '[any EvaluationRequest]'; this is an error in the Swift 6 language mode
 1 | protocol EvaluationRequest: Hashable {
   |          `- note: protocol 'EvaluationRequest' does not conform to the 'Sendable' protocol
 2 |     associatedtype Output
 3 |
   :
65 | extension Evaluator {
66 |     struct CyclicalRequestError: Error, CustomStringConvertible {
67 |         let activeRequests: [any EvaluationRequest]
   |             `- warning: stored property 'activeRequests' of 'Sendable'-conforming struct 'CyclicalRequestError' has non-sendable type '[any EvaluationRequest]'; this is an error in the Swift 6 language mode
68 |
69 |         var description: String {
[47/135] Emitting module WITTool
[48/136] Wrapping AST for WITTool for debugging
[49/136] Write Objects.LinkFileList
[51/136] Compiling WIT CanonicalLowering.swift
/host/spi-builder-workspace/Sources/WIT/Diagnostics.swift:6:9: warning: stored property 'diagnostic' of 'Sendable'-conforming struct 'DiagnosticError' has non-sendable type 'Diagnostic'; this is an error in the Swift 6 language mode
 4 |
 5 | struct DiagnosticError: Error {
 6 |     let diagnostic: Diagnostic
   |         `- warning: stored property 'diagnostic' of 'Sendable'-conforming struct 'DiagnosticError' has non-sendable type 'Diagnostic'; this is an error in the Swift 6 language mode
 7 | }
 8 |
 9 | public struct Diagnostic {
   |               `- note: consider making struct 'Diagnostic' conform to the 'Sendable' protocol
10 |
11 |     public let message: String
[52/136] Compiling WIT CanonicalStoring.swift
/host/spi-builder-workspace/Sources/WIT/Diagnostics.swift:6:9: warning: stored property 'diagnostic' of 'Sendable'-conforming struct 'DiagnosticError' has non-sendable type 'Diagnostic'; this is an error in the Swift 6 language mode
 4 |
 5 | struct DiagnosticError: Error {
 6 |     let diagnostic: Diagnostic
   |         `- warning: stored property 'diagnostic' of 'Sendable'-conforming struct 'DiagnosticError' has non-sendable type 'Diagnostic'; this is an error in the Swift 6 language mode
 7 | }
 8 |
 9 | public struct Diagnostic {
   |               `- note: consider making struct 'Diagnostic' conform to the 'Sendable' protocol
10 |
11 |     public let message: String
[53/136] Compiling WIT Diagnostics.swift
/host/spi-builder-workspace/Sources/WIT/Diagnostics.swift:6:9: warning: stored property 'diagnostic' of 'Sendable'-conforming struct 'DiagnosticError' has non-sendable type 'Diagnostic'; this is an error in the Swift 6 language mode
 4 |
 5 | struct DiagnosticError: Error {
 6 |     let diagnostic: Diagnostic
   |         `- warning: stored property 'diagnostic' of 'Sendable'-conforming struct 'DiagnosticError' has non-sendable type 'Diagnostic'; this is an error in the Swift 6 language mode
 7 | }
 8 |
 9 | public struct Diagnostic {
   |               `- note: consider making struct 'Diagnostic' conform to the 'Sendable' protocol
10 |
11 |     public let message: String
[54/136] Compiling WITExtractor WITBuilder.swift
[55/137] Compiling WITExtractor TypeMapping.swift
[56/137] Compiling WIT ParseTypes.swift
[57/137] Compiling WIT ParseWorld.swift
[58/137] Compiling WIT Parser.swift
[59/137] Compiling WasmTypes GuestMemory.swift
[60/137] Emitting module WasmTypes
[61/137] Compiling WasmTypes WasmTypes.swift
[62/137] Emitting module WITExtractor
[63/138] Compiling WIT AST.swift
[64/138] Compiling WIT ASTVisitor.swift
[65/138] Emitting module ArgumentParserToolInfo
[66/138] Compiling ArgumentParserToolInfo ToolInfo.swift
[67/139] Compiling WIT Type.swift
[68/139] Compiling WIT Validation.swift
[69/139] Compiling WIT SyntaxNode.swift
[70/139] Compiling WIT PackageBuilder.swift
/host/spi-builder-workspace/Sources/WIT/Semantics/RequestEvaluator.swift:67:13: warning: stored property 'activeRequests' of 'Sendable'-conforming struct 'CyclicalRequestError' has non-sendable type '[any EvaluationRequest]'; this is an error in the Swift 6 language mode
 1 | protocol EvaluationRequest: Hashable {
   |          `- note: protocol 'EvaluationRequest' does not conform to the 'Sendable' protocol
 2 |     associatedtype Output
 3 |
   :
65 | extension Evaluator {
66 |     struct CyclicalRequestError: Error, CustomStringConvertible {
67 |         let activeRequests: [any EvaluationRequest]
   |             `- warning: stored property 'activeRequests' of 'Sendable'-conforming struct 'CyclicalRequestError' has non-sendable type '[any EvaluationRequest]'; this is an error in the Swift 6 language mode
68 |
69 |         var description: String {
[71/139] Compiling WIT RequestEvaluator.swift
/host/spi-builder-workspace/Sources/WIT/Semantics/RequestEvaluator.swift:67:13: warning: stored property 'activeRequests' of 'Sendable'-conforming struct 'CyclicalRequestError' has non-sendable type '[any EvaluationRequest]'; this is an error in the Swift 6 language mode
 1 | protocol EvaluationRequest: Hashable {
   |          `- note: protocol 'EvaluationRequest' does not conform to the 'Sendable' protocol
 2 |     associatedtype Output
 3 |
   :
65 | extension Evaluator {
66 |     struct CyclicalRequestError: Error, CustomStringConvertible {
67 |         let activeRequests: [any EvaluationRequest]
   |             `- warning: stored property 'activeRequests' of 'Sendable'-conforming struct 'CyclicalRequestError' has non-sendable type '[any EvaluationRequest]'; this is an error in the Swift 6 language mode
68 |
69 |         var description: String {
[72/139] Compiling WIT SemanticsContext.swift
/host/spi-builder-workspace/Sources/WIT/Semantics/RequestEvaluator.swift:67:13: warning: stored property 'activeRequests' of 'Sendable'-conforming struct 'CyclicalRequestError' has non-sendable type '[any EvaluationRequest]'; this is an error in the Swift 6 language mode
 1 | protocol EvaluationRequest: Hashable {
   |          `- note: protocol 'EvaluationRequest' does not conform to the 'Sendable' protocol
 2 |     associatedtype Output
 3 |
   :
65 | extension Evaluator {
66 |     struct CyclicalRequestError: Error, CustomStringConvertible {
67 |         let activeRequests: [any EvaluationRequest]
   |             `- warning: stored property 'activeRequests' of 'Sendable'-conforming struct 'CyclicalRequestError' has non-sendable type '[any EvaluationRequest]'; this is an error in the Swift 6 language mode
68 |
69 |         var description: String {
[73/139] Compiling WIT ParseFunctionDecl.swift
[74/139] Compiling WIT ParseInterface.swift
[75/139] Compiling WIT ParseTop.swift
[76/139] Compiling WITExtractor SourcePrinter.swift
[77/139] Compiling WITExtractor ConvertCase.swift
[78/139] Compiling SystemPackage MachPort.swift
[79/139] Compiling SystemPackage PlatformString.swift
[80/139] Compiling SystemPackage SystemString.swift
[82/139] Compiling WIT Lexer.swift
[83/139] Compiling WIT PackageResolver.swift
[84/139] Compiling WIT NameLookup.swift
[87/139] Compiling WIT CanonicalABI.swift
[88/139] Compiling WIT CanonicalDeallocation.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)
/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)
[95/142] Compiling WIT CanonicalLifting.swift
[96/142] Compiling WIT CanonicalLoading.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[97/142] 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)
[102/142] Wrapping AST for WasmTypes for debugging
[103/142] Wrapping AST for ArgumentParserToolInfo for debugging
[105/180] Compiling ArgumentParser InputKey.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 |
[106/180] Compiling ArgumentParser InputOrigin.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 |
[107/180] Compiling ArgumentParser ExpressibleByArgument.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 |
[108/180] Compiling ArgumentParser ParsableArguments.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 |
[109/180] Compiling ArgumentParser EnumerableFlag.swift
[110/180] Compiling ArgumentParser ArgumentDefinition.swift
[111/180] Compiling ArgumentParser ArgumentSet.swift
[112/180] Compiling ArgumentParser CommandParser.swift
[112/180] Linking WITTool-tool
[114/180] Compiling ArgumentParser Name.swift
[115/180] Compiling ArgumentParser Parsed.swift
[116/180] Compiling ArgumentParser ParsedValues.swift
[117/180] Compiling WITExtractor SwiftAPIDigester.swift
/host/spi-builder-workspace/Sources/WITExtractor/SwiftAPIDigester.swift:131:27: error: cannot find 'Process' in scope
129 |             ]
130 |             args += arguments
131 |             let process = Process()
    |                           `- error: cannot find 'Process' in scope
132 |             process.executableURL = executableURL
133 |             process.arguments = args
[118/180] Compiling WITExtractor SourceSummary.swift
[119/180] Compiling ArgumentParser Flag.swift
[120/180] Compiling ArgumentParser NameSpecification.swift
[121/180] Compiling ArgumentParser Option.swift
[122/180] Compiling WITExtractor WITExtractor.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:8f9255989265d824b88e7d572b1a334a0dc9b701075ede1970390db95d315c35
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/9] Write swift-version-24593BA9C3E375BF.txt
[2/42] Compiling WITExtractor SourcePrinter.swift
[3/43] Emitting module WITExtractor
[4/43] Compiling WITExtractor SourceSummary.swift
[5/43] Compiling WIT CanonicalLowering.swift
[6/43] Compiling WIT CanonicalStoring.swift
[7/43] Compiling WIT Diagnostics.swift
[8/46] Compiling WIT CanonicalDeallocation.swift
[9/46] Compiling WIT CanonicalLifting.swift
[10/46] Compiling WITExtractor ConvertCase.swift
[11/46] Compiling WITExtractor WITExtractor.swift
[12/46] Compiling WITExtractor WITBuilder.swift
[13/46] Compiling WITExtractor TypeMapping.swift
[14/46] Compiling WITExtractor SwiftAPIDigester.swift
[15/47] Compiling WIT ParseFunctionDecl.swift
[16/47] Compiling WIT ParseInterface.swift
[17/47] Compiling WIT ParseTop.swift
[21/47] Compiling WIT CanonicalLoading.swift
[22/47] Emitting module ArgumentParserToolInfo
[23/47] Compiling ArgumentParserToolInfo ToolInfo.swift
[23/47] Wrapping AST for WITExtractor for debugging
[25/48] Compiling WIT ParseTypes.swift
[26/48] Compiling WIT ParseWorld.swift
[27/48] Compiling WIT Parser.swift
[29/48] Compiling WIT PackageBuilder.swift
[30/48] Compiling WIT RequestEvaluator.swift
[31/48] Compiling WIT SemanticsContext.swift
[32/48] Compiling WIT Type.swift
[33/48] Compiling WIT Validation.swift
[34/48] Compiling WIT SyntaxNode.swift
[34/48] Wrapping AST for ArgumentParserToolInfo for debugging
[36/48] Compiling WIT Lexer.swift
[37/48] Compiling WIT PackageResolver.swift
[38/48] Compiling WIT NameLookup.swift
[39/86] Compiling ArgumentParser OptionGroup.swift
[40/86] Compiling ArgumentParser AsyncParsableCommand.swift
[41/86] Compiling ArgumentParser CommandConfiguration.swift
[42/86] Compiling ArgumentParser CommandGroup.swift
[43/86] Compiling ArgumentParser EnumerableFlag.swift
[44/91] Compiling ArgumentParser CollectionExtensions.swift
[45/91] Compiling ArgumentParser Platform.swift
[46/91] Compiling ArgumentParser SequenceExtensions.swift
[47/91] Compiling ArgumentParser StringExtensions.swift
[48/91] Compiling ArgumentParser Tree.swift
[49/91] Compiling ArgumentParser ArgumentVisibility.swift
[50/91] Compiling ArgumentParser CompletionKind.swift
[51/91] Compiling ArgumentParser Errors.swift
[52/91] Compiling ArgumentParser Flag.swift
[53/91] Compiling ArgumentParser NameSpecification.swift
[54/91] Compiling ArgumentParser Option.swift
[55/91] Emitting module WIT
[56/91] Compiling ArgumentParser ZshCompletionsGenerator.swift
[57/91] Compiling ArgumentParser Argument.swift
[58/91] Compiling ArgumentParser ArgumentHelp.swift
[60/92] Emitting module ArgumentParser
[61/92] Compiling ArgumentParser BashCompletionsGenerator.swift
[62/92] Compiling ArgumentParser CompletionsGenerator.swift
[63/92] Compiling ArgumentParser FishCompletionsGenerator.swift
[67/92] Compiling ArgumentParser Name.swift
[68/92] Compiling ArgumentParser Parsed.swift
[69/92] Compiling ArgumentParser ParsedValues.swift
[70/92] Compiling ArgumentParser ParserError.swift
[71/92] Compiling ArgumentParser SplitArguments.swift
[72/92] Compiling ArgumentParser DumpHelpGenerator.swift
[73/92] Compiling ArgumentParser HelpCommand.swift
[74/92] Compiling ArgumentParser HelpGenerator.swift
[75/92] Compiling ArgumentParser MessageInfo.swift
[76/92] Compiling ArgumentParser UsageGenerator.swift
[76/92] Wrapping AST for WIT for debugging
[78/116] Compiling WITOverlayGenerator GuestPrelude.swift
[79/116] Compiling WITOverlayGenerator GuestWorldGenerator.swift
[80/116] Compiling WITOverlayGenerator HostExportFunction.swift
[81/116] Compiling WITOverlayGenerator ConvertCase.swift
[82/116] Compiling WITOverlayGenerator SwiftName.swift
[83/116] Compiling ArgumentParser ExpressibleByArgument.swift
[84/116] Compiling ArgumentParser ParsableArguments.swift
[85/116] Compiling ArgumentParser ParsableArgumentsValidation.swift
[86/116] Compiling ArgumentParser ParsableCommand.swift
[87/116] Compiling ArgumentParser ArgumentDecoder.swift
[91/117] Compiling WITOverlayGenerator TypeName.swift
[91/120] Wrapping AST for ArgumentParser for debugging
[96/120] Compiling WITOverlayGenerator CanonicalName.swift
[97/120] Compiling WITOverlayGenerator CanonicalOperation.swift
[98/120] Compiling WITOverlayGenerator SignatureTranslation.swift
[99/120] Compiling WITOverlayGenerator StaticCanonicalDeallocation.swift
[100/120] Compiling WITOverlayGenerator DefinitionMapping.swift
[101/120] Compiling WITOverlayGenerator GuestExportFunction.swift
[102/120] Compiling WITOverlayGenerator GuestExportInterface.swift
[103/120] Compiling WITOverlayGenerator SourcePrinter.swift
[104/120] Compiling WITOverlayGenerator InterfaceTypeGenerator.swift
[105/120] Compiling WITOverlayGenerator TypeAccessory.swift
[106/120] Compiling WITOverlayGenerator StaticCanonicalLifting.swift
[107/120] Compiling WITOverlayGenerator StaticCanonicalLoading.swift
[108/120] Compiling WITOverlayGenerator StaticCanonicalLowering.swift
[109/120] Compiling WITOverlayGenerator StaticCanonicalStoring.swift
[110/120] Compiling WITOverlayGenerator HostExportInterface.swift
[111/120] Compiling WITOverlayGenerator HostWorldGenerator.swift
[112/120] Compiling WITOverlayGenerator WasmKitSourcePrinter.swift
[113/120] Emitting module WITOverlayGenerator
[114/120] Compiling WITOverlayGenerator TypeDefinition.swift
[115/120] Compiling WITOverlayGenerator TypeGenerator.swift
[116/120] Compiling WITOverlayGenerator WITOverlayGen.swift
[117/121] Wrapping AST for WITOverlayGenerator for debugging
[119/124] Compiling WITTool Utilities.swift
[120/124] Emitting module WITTool
[121/124] Compiling WITTool WITTool.swift
[122/125] Wrapping AST for WITTool for debugging
[123/125] Write Objects.LinkFileList
[124/125] Linking WITTool-tool
[0/1] Planning build
[1/1] Compiling plugin GenerateOverlayForTesting
[2/2] Compiling plugin WITExtractorPlugin
[3/3] Compiling plugin WITOverlayPlugin
[4/4] Compiling plugin GenerateManual
Building for debugging...
[4/32] Write swift-version-24593BA9C3E375BF.txt
[6/99] Emitting module ArgumentParserToolInfo
[8/100] Emitting module WasmTypes
[9/100] Emitting module WITExtractor
[11/101] Compiling WasmTypes GuestMemory.swift
[12/101] Compiling WasmTypes WasmTypes.swift
[13/101] Emitting module WIT
[14/102] Compiling WITExtractor ConvertCase.swift
[15/104] Compiling WITExtractor SwiftAPIDigester.swift
/host/spi-builder-workspace/Sources/WITExtractor/SwiftAPIDigester.swift:131:27: error: cannot find 'Process' in scope
129 |             ]
130 |             args += arguments
131 |             let process = Process()
    |                           `- error: cannot find 'Process' in scope
132 |             process.executableURL = executableURL
133 |             process.arguments = args
[18/105] Compiling WITExtractor TypeMapping.swift
[19/105] Compiling WITExtractor WITBuilder.swift
[20/105] Compiling ArgumentParserToolInfo ToolInfo.swift
[21/105] Emitting module ArgumentParserToolInfo
[22/106] Compiling WITExtractor SourcePrinter.swift
[23/106] Compiling SystemPackage FileOperations.swift
[24/106] Compiling SystemPackage FilePath.swift
[25/106] Emitting module WITExtractor
[26/106] Compiling WITExtractor SourceSummary.swift
[28/106] Emitting module ArgumentParser
[28/107] Wrapping AST for ArgumentParserToolInfo for debugging
[30/107] Compiling WITExtractor WITExtractor.swift
[31/107] Wrapping AST for WITExtractor for debugging
[33/107] Compiling SystemPackage MachPort.swift
[34/107] Compiling SystemPackage PlatformString.swift
[35/107] Compiling SystemPackage SystemString.swift
[36/110] Compiling SystemPackage Backcompat.swift
[37/110] Compiling SystemPackage CInterop.swift
[38/110] Compiling SystemPackage Constants.swift
[39/110] Compiling SystemPackage Exports.swift
[39/109] Wrapping AST for WIT for debugging
[41/109] Compiling SystemPackage FilePathComponents.swift
[42/109] Compiling SystemPackage Errno.swift
[43/109] Compiling SystemPackage ErrnoWindows.swift
[44/109] Compiling SystemPackage FileDescriptor.swift
[45/109] Compiling SystemPackage FileHelpers.swift
[46/109] Compiling SystemPackage FilePathParsing.swift
[47/145] Compiling ArgumentParser ParsableCommand.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 |
[48/145] Compiling ArgumentParser ArgumentDecoder.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 |
[49/145] Compiling ArgumentParser DumpHelpGenerator.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 |
[50/145] Compiling ArgumentParser HelpCommand.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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[51/150] 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)
[52/150] Compiling ArgumentParser CompletionsGenerator.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)
[53/150] Compiling ArgumentParser FishCompletionsGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
    |                                                         `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
    |                              `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
[54/150] Compiling ArgumentParser ZshCompletionsGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
    |                                                         `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
    |                              `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
[55/150] Compiling ArgumentParser Argument.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)
BUILD FAILURE 6.1 wasm