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 0.1.6 (827056), with Swift 6.1 for Wasm on 12 Jul 2025 18:53:25 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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.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.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-4609320-1":/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-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.16s)
Fetched https://github.com/apple/swift-argument-parser from cache (1.17s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.5.0 (1.82s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.6.1 (0.67s)
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
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] Compiling ArgumentParserToolInfo ToolInfo.swift
[10/51] Emitting module ArgumentParserToolInfo
[11/51] Compiling WIT ParseFunctionDecl.swift
[12/51] Compiling WIT ParseInterface.swift
[13/51] Compiling WIT ParseTop.swift
[14/51] Compiling WITExtractor SourcePrinter.swift
[15/53] Compiling WITExtractor TypeMapping.swift
[16/53] Compiling WITExtractor WITBuilder.swift
[17/53] Compiling WIT CanonicalDeallocation.swift
[18/53] Compiling WIT CanonicalLifting.swift
[19/53] Compiling WIT CanonicalLoading.swift
[20/53] Compiling WIT ParseTypes.swift
[21/53] Compiling WIT ParseWorld.swift
[22/53] Compiling WIT Parser.swift
[23/53] Compiling WITExtractor ConvertCase.swift
[24/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 {
[25/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 {
[26/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 {
[27/53] Compiling WIT Type.swift
[28/53] Compiling WIT Validation.swift
[29/53] Compiling WIT SyntaxNode.swift
[30/53] Emitting module WITExtractor
[31/53] Compiling WITExtractor Diagnostic.swift
[32/53] Compiling WITExtractor ModuleTranslation.swift
[33/53] Wrapping AST for ArgumentParserToolInfo for debugging
[35/97] Compiling ArgumentParser OptionGroup.swift
[36/97] Compiling ArgumentParser AsyncParsableCommand.swift
[37/97] Compiling ArgumentParser CommandConfiguration.swift
[38/97] Compiling ArgumentParser CommandGroup.swift
[39/97] Compiling ArgumentParser EnumerableFlag.swift
[40/97] Compiling ArgumentParser ExpressibleByArgument.swift
[41/103] Emitting module ArgumentParser
[42/103] Compiling ArgumentParser Tree.swift
[43/103] Compiling ArgumentParser CodingKeyValidator.swift
[44/103] Compiling ArgumentParser NonsenseFlagsValidator.swift
[45/103] Compiling ArgumentParser ParsableArgumentsValidation.swift
[46/103] Compiling ArgumentParser PositionalArgumentsValidator.swift
[47/103] Compiling ArgumentParser UniqueNamesValidator.swift
[48/103] Compiling ArgumentParser ArgumentVisibility.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
[49/103] Compiling ArgumentParser CompletionKind.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
[50/103] Compiling ArgumentParser Errors.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
[51/103] Compiling ArgumentParser Flag.swift
[52/103] Compiling ArgumentParser NameSpecification.swift
[53/103] Compiling ArgumentParser Option.swift
[57/103] Compiling WITExtractor SourceSummary.swift
[58/103] Compiling WITExtractor SwiftAPIDigester.swift
[59/104] Compiling WITExtractor WITExtractor.swift
[61/105] Compiling ArgumentParser CollectionExtensions.swift
[62/105] Compiling ArgumentParser Mutex.swift
[63/105] Compiling ArgumentParser Platform.swift
[64/105] Compiling ArgumentParser SequenceExtensions.swift
[65/105] Compiling ArgumentParser StringExtensions.swift
[66/105] Compiling ArgumentParser SwiftExtensions.swift
[74/105] Compiling ArgumentParser BashCompletionsGenerator.swift
[75/105] Compiling ArgumentParser CompletionsGenerator.swift
[76/105] Compiling ArgumentParser FishCompletionsGenerator.swift
[77/105] Compiling ArgumentParser ZshCompletionsGenerator.swift
[78/105] Compiling ArgumentParser Argument.swift
[79/105] Compiling ArgumentParser ArgumentDiscussion.swift
[80/105] Compiling ArgumentParser ArgumentHelp.swift
[80/105] Wrapping AST for WIT for debugging
[81/109] Wrapping AST for WITExtractor for debugging
[83/129] Compiling ArgumentParser InputKey.swift
[84/129] Compiling ArgumentParser InputOrigin.swift
[85/129] Compiling ArgumentParser Name.swift
[86/129] Compiling ArgumentParser Parsed.swift
[87/129] Compiling ArgumentParser ParsedValues.swift
[88/129] Compiling ArgumentParser ParserError.swift
[89/129] Compiling ArgumentParser SplitArguments.swift
[90/129] Compiling ArgumentParser DumpHelpGenerator.swift
[91/129] Compiling ArgumentParser HelpCommand.swift
[92/129] Compiling ArgumentParser HelpGenerator.swift
[93/129] Compiling ArgumentParser MessageInfo.swift
[94/129] Compiling ArgumentParser UsageGenerator.swift
[95/129] Emitting module WITOverlayGenerator
[96/132] Compiling WITOverlayGenerator GuestPrelude.swift
[97/132] Compiling WITOverlayGenerator GuestWorldGenerator.swift
[98/132] Compiling WITOverlayGenerator HostExportFunction.swift
[99/132] Compiling WITOverlayGenerator ConvertCase.swift
[100/132] Compiling WITOverlayGenerator SwiftName.swift
[101/132] Compiling WITOverlayGenerator TypeName.swift
[102/132] Compiling WITOverlayGenerator SourcePrinter.swift
[103/132] Compiling WITOverlayGenerator InterfaceTypeGenerator.swift
[104/132] Compiling WITOverlayGenerator TypeAccessory.swift
[105/132] Compiling WITOverlayGenerator HostExportInterface.swift
[106/132] Compiling WITOverlayGenerator HostWorldGenerator.swift
[107/132] Compiling WITOverlayGenerator WasmKitSourcePrinter.swift
[108/132] Compiling WITOverlayGenerator CanonicalName.swift
[109/132] Compiling WITOverlayGenerator CanonicalOperation.swift
[110/132] Compiling WITOverlayGenerator SignatureTranslation.swift
[111/132] Compiling WITOverlayGenerator StaticCanonicalDeallocation.swift
[112/132] Compiling WITOverlayGenerator StaticCanonicalLifting.swift
[113/132] Compiling WITOverlayGenerator StaticCanonicalLoading.swift
[114/132] Compiling WITOverlayGenerator StaticCanonicalLowering.swift
[115/132] Compiling WITOverlayGenerator StaticCanonicalStoring.swift
[116/132] Compiling WITOverlayGenerator DefinitionMapping.swift
[117/132] Compiling WITOverlayGenerator GuestExportFunction.swift
[118/132] Compiling WITOverlayGenerator GuestExportInterface.swift
[123/132] Compiling WITOverlayGenerator TypeDefinition.swift
[124/132] Compiling WITOverlayGenerator TypeGenerator.swift
[128/133] Compiling WITOverlayGenerator WITOverlayGen.swift
[128/134] Wrapping AST for ArgumentParser for debugging
[130/134] Wrapping AST for WITOverlayGenerator for debugging
[132/137] Emitting module WITTool
[133/137] Compiling WITTool Utilities.swift
[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
[36/127] Wrapping AST for WITExtractor for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[38/127] 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)
[38/130] Wrapping AST for ArgumentParserToolInfo for debugging
[40/131] 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 {
[42/132] Emitting module ArgumentParser
[42/133] Wrapping AST for WIT for debugging
[44/134] Wrapping AST for ArgumentParser for debugging
[46/134] Compiling WITExtractor TypeMapping.swift
[47/134] Compiling WITExtractor WITBuilder.swift
[48/135] Emitting module WITExtractor
[49/135] Compiling SystemPackage Errno.swift
[50/135] Compiling SystemPackage ErrnoWindows.swift
[51/135] Emitting module WasmTypes
[52/135] Compiling WasmTypes GuestMemory.swift
[53/135] Compiling WasmTypes WasmTypes.swift
[54/135] Compiling ArgumentParserToolInfo ToolInfo.swift
[55/137] Compiling SystemPackage SystemString.swift
[56/137] Compiling SystemPackage Mocking.swift
[57/137] Compiling SystemPackage RawBuffer.swift
[58/140] Compiling SystemPackage Util+StringArray.swift
[59/140] Compiling SystemPackage Util.swift
[60/140] Compiling SystemPackage UtilConsumers.swift
[61/140] Compiling SystemPackage MachPort.swift
[62/140] Compiling SystemPackage PlatformString.swift
[64/140] Compiling SystemPackage FileOperations.swift
[65/140] Compiling SystemPackage FilePath.swift
[66/140] Compiling SystemPackage FilePathComponentView.swift
[67/140] Compiling SystemPackage FilePathComponents.swift
[71/140] Compiling SystemPackage FileDescriptor.swift
[72/140] Compiling SystemPackage FileHelpers.swift
[74/140] Emitting module WITOverlayGenerator
[74/141] Wrapping AST for WasmTypes for debugging
[75/141] Wrapping AST for ArgumentParserToolInfo for debugging
[77/141] 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 {
[78/185] Wrapping AST for WITOverlayGenerator for debugging
[80/185] Compiling ArgumentParser ArgumentHelp.swift
[81/185] Compiling ArgumentParser ParsableArguments.swift
[82/185] Compiling ArgumentParser ParsableCommand.swift
[83/185] Compiling ArgumentParser ArgumentDecoder.swift
[84/185] 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)
[85/185] 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)
[86/185] 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)
[87/185] Compiling ArgumentParser ArgumentDiscussion.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)
[88/185] Compiling ArgumentParser EnumerableFlag.swift
[89/185] Compiling ArgumentParser ExpressibleByArgument.swift
[90/185] Compiling ArgumentParser InputKey.swift
[91/185] Compiling ArgumentParser InputOrigin.swift
[92/185] Compiling ArgumentParser OptionGroup.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 |
[93/185] Compiling ArgumentParser AsyncParsableCommand.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 |
[94/185] Compiling ArgumentParser CommandConfiguration.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 |
[95/185] Compiling ArgumentParser CommandGroup.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 |
[99/185] Compiling ArgumentParser Flag.swift
[100/185] Compiling ArgumentParser NameSpecification.swift
[101/185] Compiling ArgumentParser Option.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
/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/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
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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 ConvertCase.swift
[3/43] Compiling WIT PackageBuilder.swift
[4/43] Compiling WIT RequestEvaluator.swift
[5/43] Compiling WIT SemanticsContext.swift
[6/46] Compiling WITExtractor WITBuilder.swift
[7/46] Compiling WITExtractor SourcePrinter.swift
[8/46] Compiling WITExtractor Diagnostic.swift
[9/46] Compiling WITExtractor ModuleTranslation.swift
[10/46] Compiling WITExtractor TypeMapping.swift
[11/46] Emitting module WITExtractor
[12/46] Compiling WIT ParseFunctionDecl.swift
[13/46] Compiling WIT ParseInterface.swift
[14/46] Compiling WIT ParseTop.swift
[15/46] Compiling WITExtractor WITExtractor.swift
[16/46] Compiling WITExtractor SwiftAPIDigester.swift
[17/46] Compiling WITExtractor SourceSummary.swift
[19/47] Compiling WIT ParseTypes.swift
[20/47] Compiling WIT ParseWorld.swift
[21/47] Compiling WIT Parser.swift
[21/47] Wrapping AST for WITExtractor for debugging
[23/47] Compiling ArgumentParserToolInfo ToolInfo.swift
[24/47] Emitting module ArgumentParserToolInfo
[25/48] Compiling WIT Type.swift
[26/48] Compiling WIT Validation.swift
[27/48] Compiling WIT SyntaxNode.swift
[29/48] Compiling WIT Lexer.swift
[30/48] Compiling WIT PackageResolver.swift
[31/48] Compiling WIT NameLookup.swift
[32/48] Compiling WIT CanonicalLowering.swift
[33/48] Compiling WIT CanonicalStoring.swift
[34/48] Compiling WIT Diagnostics.swift
[35/48] Compiling WIT CanonicalDeallocation.swift
[36/48] Compiling WIT CanonicalLifting.swift
[37/48] Compiling WIT CanonicalLoading.swift
[37/48] Wrapping AST for ArgumentParserToolInfo for debugging
[39/92] Emitting module WIT
[40/92] Compiling ArgumentParser BashCompletionsGenerator.swift
[41/92] Compiling ArgumentParser CompletionsGenerator.swift
[42/92] Compiling ArgumentParser FishCompletionsGenerator.swift
[43/93] Compiling ArgumentParser CollectionExtensions.swift
[44/93] Compiling ArgumentParser Mutex.swift
[45/93] Compiling ArgumentParser Platform.swift
[46/93] Compiling ArgumentParser SequenceExtensions.swift
[47/93] Compiling ArgumentParser StringExtensions.swift
[48/93] Compiling ArgumentParser SwiftExtensions.swift
[50/99] Emitting module ArgumentParser
[50/99] Wrapping AST for WIT for debugging
[52/123] Compiling WITOverlayGenerator CanonicalName.swift
[53/123] Compiling WITOverlayGenerator CanonicalOperation.swift
[54/123] Compiling WITOverlayGenerator SignatureTranslation.swift
[55/123] Compiling WITOverlayGenerator StaticCanonicalDeallocation.swift
[56/123] Compiling WITOverlayGenerator SourcePrinter.swift
[57/123] Compiling WITOverlayGenerator InterfaceTypeGenerator.swift
[58/123] Compiling WITOverlayGenerator TypeAccessory.swift
[59/126] Compiling WITOverlayGenerator HostExportInterface.swift
[60/126] Compiling WITOverlayGenerator HostWorldGenerator.swift
[61/126] Compiling WITOverlayGenerator WasmKitSourcePrinter.swift
[62/126] Compiling WITOverlayGenerator GuestPrelude.swift
[63/126] Compiling WITOverlayGenerator GuestWorldGenerator.swift
[64/126] Compiling WITOverlayGenerator HostExportFunction.swift
[69/126] Compiling WITOverlayGenerator StaticCanonicalLifting.swift
[70/126] Compiling WITOverlayGenerator StaticCanonicalLoading.swift
[71/126] Compiling WITOverlayGenerator StaticCanonicalLowering.swift
[72/126] Compiling ArgumentParser Tree.swift
[73/126] Compiling ArgumentParser CodingKeyValidator.swift
[74/126] Compiling ArgumentParser NonsenseFlagsValidator.swift
[75/126] Compiling ArgumentParser ParsableArgumentsValidation.swift
[76/126] Compiling ArgumentParser PositionalArgumentsValidator.swift
[77/126] Compiling ArgumentParser UniqueNamesValidator.swift
[78/126] Compiling WITOverlayGenerator ConvertCase.swift
[79/126] Compiling WITOverlayGenerator SwiftName.swift
[80/126] Compiling WITOverlayGenerator TypeName.swift
[81/126] Emitting module WITOverlayGenerator
[85/126] Compiling WITOverlayGenerator StaticCanonicalStoring.swift
[86/126] Compiling WITOverlayGenerator DefinitionMapping.swift
[87/126] Compiling WITOverlayGenerator GuestExportFunction.swift
[88/126] Compiling WITOverlayGenerator GuestExportInterface.swift
[89/126] Compiling WITOverlayGenerator TypeDefinition.swift
[90/126] Compiling WITOverlayGenerator TypeGenerator.swift
[91/126] Compiling WITOverlayGenerator WITOverlayGen.swift
[106/127] Compiling ArgumentParser CompletionKind.swift
[107/127] Compiling ArgumentParser Errors.swift
[108/127] Compiling ArgumentParser Flag.swift
[109/127] Compiling ArgumentParser NameSpecification.swift
[110/127] Compiling ArgumentParser Option.swift
[117/127] Compiling ArgumentParser InputKey.swift
[118/127] Compiling ArgumentParser InputOrigin.swift
[119/127] Compiling ArgumentParser Name.swift
[120/127] Compiling ArgumentParser Parsed.swift
[121/127] Compiling ArgumentParser ParsedValues.swift
[122/127] Compiling ArgumentParser ParserError.swift
[122/127] Wrapping AST for WITOverlayGenerator for debugging
[124/128] Wrapping AST for ArgumentParser for debugging
[126/131] Compiling WITTool WITTool.swift
[127/131] Compiling WITTool Utilities.swift
[128/131] Emitting module WITTool
[129/132] Wrapping AST for WITTool for debugging
[130/132] Write Objects.LinkFileList
[131/132] 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
[5/5] Compiling plugin GenerateDoccReference
Building for debugging...
[5/33] Write swift-version-24593BA9C3E375BF.txt
[7/72] Compiling WasmTypes WasmTypes.swift
[8/100] Emitting module WasmTypes
[9/100] Emitting module ArgumentParserToolInfo
[10/101] Emitting module WITExtractor
[11/102] Compiling WITExtractor TypeMapping.swift
[12/102] Emitting module WITExtractor
[14/103] Compiling SystemPackage Backcompat.swift
[15/103] Compiling SystemPackage CInterop.swift
[16/103] Compiling SystemPackage Constants.swift
[17/103] Compiling SystemPackage Exports.swift
[18/106] Compiling WITExtractor ConvertCase.swift
[19/106] Compiling WITExtractor SourcePrinter.swift
[21/106] Compiling SystemPackage FilePathParsing.swift
[22/106] Compiling SystemPackage FilePathString.swift
[23/106] Compiling SystemPackage FilePathSyntax.swift
[24/109] Compiling WITExtractor WITBuilder.swift
[25/109] Compiling WasmTypes GuestMemory.swift
[26/109] Compiling SystemPackage FilePathTempPosix.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
    |                                                         `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
    |                              `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
[27/109] Compiling SystemPackage FilePathTempWindows.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
    |                                                         `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
    |                              `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
[28/109] Compiling SystemPackage FilePathWindows.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
    |                                                         `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
    |                              `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
[29/109] Compiling SystemPackage FilePermissions.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
    |                                                         `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
    |                              `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
[30/110] Compiling SystemPackage Errno.swift
[31/110] Compiling SystemPackage ErrnoWindows.swift
[31/110] Wrapping AST for ArgumentParserToolInfo for debugging
[33/111] Wrapping AST for WITExtractor for debugging
[35/111] Emitting module WIT
[36/111] Emitting module ArgumentParser
[37/112] Compiling WITExtractor SourceSummary.swift
[38/112] 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
[40/112] Emitting module WIT
[41/112] Emitting module ArgumentParserToolInfo
[42/112] Compiling ArgumentParserToolInfo ToolInfo.swift
[43/114] Compiling WIT ParseTypes.swift
[44/114] Compiling WIT ParseWorld.swift
[45/114] Compiling WIT Parser.swift
[47/114] Compiling SystemPackage Mocking.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
    |                              `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
    |                                                         `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:252:10: error: cannot find 'umask' in scope
250 |   _ mode: CInterop.Mode
251 | ) -> CInterop.Mode {
252 |   return umask(mode)
    |          `- error: cannot find 'umask' in scope
253 | }
254 |
/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 |
[51/114] Compiling SystemPackage MachPort.swift
[52/114] Compiling SystemPackage PlatformString.swift
[53/114] Compiling SystemPackage SystemString.swift
[54/114] Compiling WITExtractor WITExtractor.swift
[58/114] Compiling SystemPackage FilePathTemp.swift
[60/114] Compiling SystemPackage Util+StringArray.swift
[61/114] Compiling SystemPackage Util.swift
[62/114] Compiling SystemPackage UtilConsumers.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[71/114] Compiling SystemPackage FileDescriptor.swift
[72/114] Compiling SystemPackage FileHelpers.swift
[73/114] Compiling SystemPackage FileOperations.swift
[74/114] Compiling SystemPackage FilePath.swift
[75/114] Compiling SystemPackage FilePathComponentView.swift
[76/114] Compiling SystemPackage FilePathComponents.swift
[77/114] 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)
BUILD FAILURE 6.1 wasm