Build Information
Successful build of WasmKit, reference 0.4.2 (a7455c), with Swift 6.4 for macOS (SPM) on 13 Oct 2026 10:47:22 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 5.1.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swiftwasm/WasmKit.git
Reference: 0.4.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/swiftwasm/WasmKit
* tag 0.4.2 -> FETCH_HEAD
HEAD is now at a7455cb Bump version to 0.4.2 (#503)
Cloned https://github.com/swiftwasm/WasmKit.git
Revision (git rev-parse @):
a7455cb8474b96b2c58f0adc1f70d0270b8010bf
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/swiftwasm/WasmKit.git at 0.4.2
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/apple/swift-argument-parser
[1/19112] Fetching swift-argument-parser
[19113/99602] Fetching swift-argument-parser, swift-syntax
Fetched https://github.com/apple/swift-argument-parser (5.68s)
Fetched https://github.com/swiftlang/swift-syntax (5.68s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 604.0.0 (8.09s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.58s)
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 604.0.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.8.2
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/604.0.0/swiftlang-6.4.0.34.1-macosx27.0-MacroSupport.zip
Downloaded https://download.swift.org/prebuilts/swift-syntax/604.0.0/swiftlang-6.4.0.34.1-macosx27.0-MacroSupport.zip (1.30s)
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"traits": [
"default"
],
"dependencies": [
{
"identity": "wasmkit",
"name": "WasmKit",
"url": "https://github.com/swiftwasm/WasmKit.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/WasmKit",
"traits": [
"FileSystem",
"MultiThread",
"Disassembler"
],
"dependencies": [
{
"identity": "swift-argument-parser",
"name": "swift-argument-parser",
"url": "https://github.com/apple/swift-argument-parser",
"version": "1.8.2",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-argument-parser",
"traits": [
"default"
],
"dependencies": [
]
},
{
"identity": "swift-syntax",
"name": "swift-syntax",
"url": "https://github.com/swiftlang/swift-syntax",
"version": "604.0.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-syntax",
"traits": [
"default"
],
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/swiftwasm/WasmKit.git
[1/22092] Fetching wasmkit
Fetched https://github.com/swiftwasm/WasmKit.git (2.89s)
Fetching https://github.com/swiftlang/swift-syntax from cache
Fetching https://github.com/apple/swift-argument-parser from cache
Fetched https://github.com/swiftlang/swift-syntax from cache (1.00s)
Fetched https://github.com/apple/swift-argument-parser from cache (1.06s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 604.0.0 (1.14s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.03s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.8.2
Creating working copy for https://github.com/swiftwasm/WasmKit.git
Working copy of https://github.com/swiftwasm/WasmKit.git resolved at 0.4.2 (a7455cb)
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 604.0.0
Found 2 product dependencies
- swift-argument-parser
- swift-syntax
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.4
Building package at path: $PWD
https://github.com/swiftwasm/WasmKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0.app xcrun swift build --arch arm64
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 969]
[Planning deferred tasks]
[152 / 339]
[163 / 345] _CabiShims
[169 / 362]
[185 / 380] WasmTypes
[211 / 380] ArgumentParserToolInfo
[222 / 380]
[225 / 423]
[235 / 423] GDBRemoteProtocol
[246 / 423] _CWasmKit
[256 / 427] ArgumentParserToolInfo
[269 / 431] ArgumentParserToolInfo
[276 / 453]
[279 / 453] ComponentModel
[281 / 482]
[291 / 482]
[294 / 482]
[299 / 482]
[303 / 482]
[309 / 482] WASI
[318 / 482]
[325 / 482] WasmParser
[335 / 482]
[339 / 482]
[340 / 482]
[343 / 484] WasmParser
[351 / 484] WAT
[360 / 495]
[362 / 507] WAT
[364 / 507] WasmKit
[374 / 507] WasmKit
[375 / 507] WasmKit
[378 / 507] WasmKit
[379 / 507] ArgumentParser
[382 / 507] WIT
[384 / 507] WIT
[397 / 507] WIT
[400 / 507] WIT
[401 / 507] WIT
[403 / 507] WIT-product
[406 / 507] WAT-product
[409 / 507] WIT
[412 / 507] WasmKit
[418 / 507] WasmKitFuzzing
[419 / 507] WasmKitWASIThreads
[420 / 507] ArgumentParser-product
[423 / 507] ArgumentParser-product
[424 / 507]
[426 / 509]
[431 / 510]
[437 / 518] WAT-product
[445 / 518] WasmKitWASI
[457 / 522] WAT-product
[468 / 526] WasmKitFuzzing
[482 / 532] ComponentLinker
[500 / 535] ArgumentParser
[507 / 535] CLICommands
[514 / 543] WASTRunner
[517 / 543] CLICommands
[526 / 544] CLICommands
[526 / 544] wasmkit-cli-product
[530 / 546] wasmkit-cli-product
[531 / 546] WasmKit
[538 / 546]
[544 / 546] wasmkit-cli-product
Build complete! (16.14 sec)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.5.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser"
},
{
"identity" : "swift-syntax",
"requirement" : {
"range" : [
{
"lower_bound" : "600.0.0",
"upper_bound" : "605.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swiftlang/swift-syntax"
}
],
"manifest_display_name" : "WasmKit",
"name" : "WasmKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "15.0"
},
{
"name" : "ios",
"version" : "18.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" : "WasmKitWASIThreads",
"targets" : [
"WasmKitWASIThreads"
],
"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" : "WITMarker",
"targets" : [
"WITMarker"
],
"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
}
}
],
"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",
"WasmKitWASIThreads"
],
"sources" : [
"TrapGuard.c",
"_CWasmKit.c"
],
"type" : "library"
},
{
"c99name" : "WasmTypes",
"module_type" : "SwiftTarget",
"name" : "WasmTypes",
"path" : "Sources/WasmTypes",
"product_memberships" : [
"wasmkit-cli",
"WasmKit",
"WasmKitWASI",
"WasmKitWASIThreads",
"WASI",
"WasmParser",
"WAT"
],
"sources" : [
"Description.swift",
"GuestMemory.swift",
"WasmTypes.swift"
],
"type" : "library"
},
{
"c99name" : "WasmTools",
"module_type" : "SwiftTarget",
"name" : "WasmTools",
"path" : "Sources/WasmTools",
"sources" : [
"WasmTools.swift"
],
"target_dependencies" : [
"WasmKit",
"WasmKitWASI"
],
"type" : "library"
},
{
"c99name" : "WasmParserTests",
"module_type" : "SwiftTarget",
"name" : "WasmParserTests",
"path" : "Tests/WasmParserTests",
"sources" : [
"GCInstructionDecodingTests.swift",
"LEBTests.swift",
"WasmFileTypeTests.swift"
],
"target_dependencies" : [
"WasmParser"
],
"type" : "test"
},
{
"c99name" : "WasmParser",
"module_type" : "SwiftTarget",
"name" : "WasmParser",
"path" : "Sources/WasmParser",
"product_memberships" : [
"wasmkit-cli",
"WasmKit",
"WasmKitWASI",
"WasmKitWASIThreads",
"WasmParser",
"WAT"
],
"sources" : [
"BinaryInstructionDecoder.swift",
"ComponentParser.swift",
"InstructionVisitor.swift",
"LEB.swift",
"ParsingLimits.swift",
"Platform/FileIO.swift",
"Stream/ByteStream.swift",
"Stream/FileHandleStream.swift",
"WasmParser.swift",
"WasmParserError.swift",
"WasmTypes.swift"
],
"target_dependencies" : [
"WasmTypes"
],
"type" : "library"
},
{
"c99name" : "WasmKitWASIThreadsTests",
"module_type" : "SwiftTarget",
"name" : "WasmKitWASIThreadsTests",
"path" : "Tests/WasmKitWASIThreadsTests",
"sources" : [
"WASIThreadsSubprocessTests.swift",
"WASIThreadsTests.swift"
],
"target_dependencies" : [
"WasmKitWASIThreads",
"WasmKit",
"WAT",
"CLICommands"
],
"type" : "test"
},
{
"c99name" : "WasmKitWASIThreads",
"module_type" : "SwiftTarget",
"name" : "WasmKitWASIThreads",
"path" : "Sources/WasmKitWASIThreads",
"product_memberships" : [
"wasmkit-cli",
"WasmKitWASIThreads"
],
"sources" : [
"PlatformThread.swift",
"WASIThreads.swift"
],
"target_dependencies" : [
"WasmKit",
"CWasmKitWASIThreads"
],
"type" : "library"
},
{
"c99name" : "WasmKitWASI",
"module_type" : "SwiftTarget",
"name" : "WasmKitWASI",
"path" : "Sources/WasmKitWASI",
"product_memberships" : [
"wasmkit-cli",
"WasmKitWASI"
],
"sources" : [
"WASIBridgeToHost+WasmKit.swift",
"WASIConfiguration.swift"
],
"target_dependencies" : [
"WasmKit",
"WASI"
],
"type" : "library"
},
{
"c99name" : "WasmKitTests",
"module_type" : "SwiftTarget",
"name" : "WasmKitTests",
"path" : "Tests/WasmKitTests",
"sources" : [
"AtomicParkingLotTests.swift",
"Debugger/DebuggerGlobalTests.swift",
"Debugger/DebuggerHostCallStepTests.swift",
"Debugger/DebuggerStepControlFlowTests.swift",
"Debugger/DebuggerStepIntoTests.swift",
"Debugger/DebuggerTests.swift",
"Debugger/DebuggerVariableTests.swift",
"DumpFunctionsTests.swift",
"Execution/ComponentLoaderTests.swift",
"Execution/HostModuleTests.swift",
"Execution/Runtime/StoreAllocatorTests.swift",
"ExecutionTests.swift",
"FuelTests.swift",
"FuzzTranslatorRegressionTests.swift",
"GuestControlledSizeTests.swift",
"MemoryPageLimitTests.swift",
"MprotectBoundsCheckingTests.swift",
"SharedMemoryStorageTests.swift",
"SpectestTests.swift",
"ThreadingModels.swift",
"Trait+Platform.swift",
"WASTRunnerTests.swift"
],
"target_dependencies" : [
"WasmKit",
"WAT",
"WasmKitFuzzing",
"WASTRunner"
],
"type" : "test"
},
{
"c99name" : "WasmKitGDBHandlerTests",
"module_type" : "SwiftTarget",
"name" : "WasmKitGDBHandlerTests",
"path" : "Tests/WasmKitGDBHandlerTests",
"sources" : [
"ExitTests.swift",
"MemoryRegionTests.swift",
"MemoryWriteTests.swift",
"TestHandler.swift",
"TrapTests.swift",
"WasmKitGDBHandlerTests.swift"
],
"target_dependencies" : [
"WasmKitGDBHandler",
"WAT"
],
"type" : "test"
},
{
"c99name" : "WasmKitGDBHandler",
"module_type" : "SwiftTarget",
"name" : "WasmKitGDBHandler",
"path" : "Sources/WasmKitGDBHandler",
"sources" : [
"DebuggerMemoryView.swift",
"MemoryAlignment.swift",
"WasmKitGDBHandler.swift"
],
"target_dependencies" : [
"WASI",
"WasmKit",
"WasmKitWASI",
"GDBRemoteProtocol"
],
"type" : "library"
},
{
"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_memberships" : [
"wasmkit-cli",
"WasmKit",
"WasmKitWASI",
"WasmKitWASIThreads"
],
"sources" : [
"Component/CanonicalCall.swift",
"Component/CanonicalLifting.swift",
"Component/CanonicalLowering.swift",
"Component/CanonicalOptions.swift",
"Component/ComponentTypes.swift",
"Component/WAVEInvocation.swift",
"Engine.swift",
"Execution/ComponentModel/ComponentInstance.swift",
"Execution/ComponentModel/ComponentLoader.swift",
"Execution/ComponentModel/Lift+Lower.swift",
"Execution/ConstEvaluation.swift",
"Execution/Debugger.swift",
"Execution/DebuggerInstructionMapping.swift",
"Execution/DispatchInstruction.swift",
"Execution/EngineInterceptor.swift",
"Execution/Errors.swift",
"Execution/Execution.swift",
"Execution/ExecutionStack.swift",
"Execution/FailableAllocation.swift",
"Execution/Function.swift",
"Execution/Instances.swift",
"Execution/Instructions/Control.swift",
"Execution/Instructions/ControlAccumulator.swift",
"Execution/Instructions/ControlAccumulatorFloat.swift",
"Execution/Instructions/ControlFusedAnd.swift",
"Execution/Instructions/ControlFusedFloat.swift",
"Execution/Instructions/ControlFusedImm.swift",
"Execution/Instructions/ExceptionHandling.swift",
"Execution/Instructions/Fuel.swift",
"Execution/Instructions/Instruction.swift",
"Execution/Instructions/InstructionSupport.swift",
"Execution/Instructions/IntegerImmediate.swift",
"Execution/Instructions/Memory.swift",
"Execution/Instructions/Misc.swift",
"Execution/Instructions/SIMDCore.swift",
"Execution/Instructions/SIMDMemoryAndLane.swift",
"Execution/Instructions/SIMDNumeric.swift",
"Execution/Instructions/Table.swift",
"Execution/Instructions/V128Lanes.swift",
"Execution/MprotectLinearMemory.swift",
"Execution/MprotectTrapGuard.swift",
"Execution/NameRegistry.swift",
"Execution/ParsedComponentBuilder.swift",
"Execution/Profiler.swift",
"Execution/Runtime.swift",
"Execution/SharedMemory.swift",
"Execution/SharedMemoryStorage.swift",
"Execution/SignpostTracer.swift",
"Execution/StatsCollector.swift",
"Execution/Store.swift",
"Execution/StoreAllocator.swift",
"Execution/UntypedValue.swift",
"Execution/V128Storage.swift",
"Execution/Value.swift",
"Imports.swift",
"Module.swift",
"ModuleParser+FileSystem.swift",
"ModuleParser.swift",
"Platform/AtomicParkingLot.swift",
"Platform/Cell.swift",
"Platform/PlatformMutex.swift",
"Platform/SystemVirtualMemory.swift",
"ResourceLimiter.swift",
"SIMDOpcode.swift",
"Translator.swift",
"TypeCanonicalization.swift",
"TypeMatching.swift",
"Validator.swift",
"WasmKitError.swift"
],
"target_dependencies" : [
"_CWasmKit",
"WasmParser",
"WasmTypes"
],
"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",
"OverlayQualificationTests.swift",
"Runtime/RuntimeSmokeTests.swift",
"Runtime/RuntimeTestHarness.swift",
"Runtime/RuntimeTypesTests.swift",
"TestEnvironmentTraits.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" : "WITMarker",
"module_type" : "SwiftTarget",
"name" : "WITMarker",
"path" : "Sources/WITMarker",
"product_memberships" : [
"WITMarker"
],
"sources" : [
"WITMarker.swift"
],
"type" : "library"
},
{
"c99name" : "WITExtractorTests",
"module_type" : "SwiftTarget",
"name" : "WITExtractorTests",
"path" : "Tests/WITExtractorTests",
"sources" : [
"ConvertCaseTests.swift",
"DeclInventoryTests.swift",
"ExportFunctionTests.swift",
"InlineClosureTests.swift",
"NameCollisionTests.swift",
"SourceSummaryTests.swift",
"TestSupport.swift",
"TypeResolverTests.swift",
"TypeTranslationTests.swift",
"WITSymbolTableTests.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_dependencies" : [
"SwiftParser",
"SwiftSyntax"
],
"product_memberships" : [
"WITOverlayPlugin",
"WITExtractorPlugin",
"WITTool"
],
"sources" : [
"DeclInventory.swift",
"Diagnostic.swift",
"InlineClosure.swift",
"ModuleTranslation.swift",
"Naming/ConvertCase.swift",
"SourcePrinter.swift",
"SourceSummary.swift",
"SyntaxSelection.swift",
"TypeResolver.swift",
"WITBuilder.swift",
"WITDeclCollector.swift",
"WITExtractor.swift",
"WITSymbolTable.swift",
"WITSymbolTableBuilder.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",
"WITTypeConverter.swift"
],
"type" : "library"
},
{
"c99name" : "WAVETests",
"module_type" : "SwiftTarget",
"name" : "WAVETests",
"path" : "Tests/WAVETests",
"sources" : [
"GoldenTests.swift",
"WAVETests.swift"
],
"target_dependencies" : [
"WAVE",
"WIT"
],
"type" : "test"
},
{
"c99name" : "WAVE",
"module_type" : "SwiftTarget",
"name" : "WAVE",
"path" : "Sources/WAVE",
"sources" : [
"WAVEFormatter.swift",
"WAVELexer.swift",
"WAVEParser.swift"
],
"type" : "library"
},
{
"c99name" : "WATTests",
"module_type" : "SwiftTarget",
"name" : "WATTests",
"path" : "Tests/WATTests",
"sources" : [
"ComponentTests.swift",
"EncoderTests.swift",
"LexerTests.swift",
"ParseOnlyTests.swift",
"ParserTests.swift",
"Spectest.swift",
"TestSupport.swift",
"UntrustedTextTests.swift"
],
"target_dependencies" : [
"WAT",
"WASTRunner"
],
"type" : "test"
},
{
"c99name" : "WAT",
"module_type" : "SwiftTarget",
"name" : "WAT",
"path" : "Sources/WAT",
"product_memberships" : [
"wasmkit-cli",
"WAT"
],
"sources" : [
"BinaryEncoding/BinaryInstructionEncoder.swift",
"BinaryEncoding/ComponentEncoder.swift",
"BinaryEncoding/Encoder.swift",
"Lexer.swift",
"Location.swift",
"NameMapping.swift",
"ParseTextInstruction.swift",
"Parser.swift",
"Parser/ComponentDef.swift",
"Parser/ComponentWASTParser.swift",
"Parser/ComponentWatParser.swift",
"Parser/ExpressionParser.swift",
"Parser/NormalizedDefinition.swift",
"Parser/WASTParser.swift",
"Parser/WatParser.swift",
"WAT.swift",
"WatParserError.swift"
],
"target_dependencies" : [
"WasmParser"
],
"type" : "library"
},
{
"c99name" : "WASTRunner",
"module_type" : "SwiftTarget",
"name" : "WASTRunner",
"path" : "Sources/WASTRunner",
"product_memberships" : [
"wasmkit-cli"
],
"sources" : [
"Spectest.swift",
"TestCase.swift"
],
"target_dependencies" : [
"WasmKit",
"WAT",
"WasmParser"
],
"type" : "library"
},
{
"c99name" : "WASITests",
"module_type" : "SwiftTarget",
"name" : "WASITests",
"path" : "Tests/WASITests",
"sources" : [
"CleanupFailureTests.swift",
"CustomPlatformInjectionTests.swift",
"GuestPathJoinTests.swift",
"IntegrationTests.swift",
"MemoryFileSystemPathTests.swift",
"Platform/GuestPathTests.swift",
"Platform/PAL/PALPollTests.swift",
"Platform/SandboxPrimitives/OpenParentTests.swift",
"PlatformTypesTests.swift",
"ProbeError.swift",
"RandomBufferGeneratorTests.swift",
"TestSupport.swift",
"ThrowingDeferTests.swift",
"WASIAccessModeTests.swift",
"WASIArgumentValidationTests.swift",
"WASIBridgeToHostTests.swift",
"WASICapabilityIntegrationTests.swift",
"WASICapabilityTests.swift",
"WASIFdLifetimeTests.swift",
"WASIFdRenumberTests.swift",
"WASIMemoryFileSystemConcurrencyTests.swift",
"WASIPollTests.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" : [
"CleanupFailure.swift",
"Clock.swift",
"FileSystem.swift",
"GuestBuffers.swift",
"GuestMemorySupport.swift",
"MemoryFileSystem/MemoryDirEntry.swift",
"MemoryFileSystem/MemoryFSNodes.swift",
"MemoryFileSystem/MemoryFileEntry.swift",
"MemoryFileSystem/MemoryFileSystem.swift",
"Platform/Directory.swift",
"Platform/Entry.swift",
"Platform/File.swift",
"Platform/GuestPath.swift",
"Platform/HostFileSystem.swift",
"Platform/PAL/PALClock.swift",
"Platform/PAL/PALErrnoMapping.swift",
"Platform/PAL/PALFileDescriptor.swift",
"Platform/PAL/PALPoll.swift",
"Platform/PAL/PALSystemClocks.swift",
"Platform/PAL/PALTypes.swift",
"Platform/PlatformMutex.swift",
"Platform/PlatformTypes.swift",
"Platform/SandboxPrimitives.swift",
"Platform/SandboxPrimitives/Open.swift",
"Platform/SandboxPrimitives/OpenParent.swift",
"Platform/SandboxPrimitives/Readlink.swift",
"Poll.swift",
"RandomBufferGenerator.swift",
"ThrowingDefer.swift",
"WASI.swift",
"WASIBridgeToHost.swift",
"WASICapability.swift"
],
"target_dependencies" : [
"WasmTypes",
"CWASIPlatform"
],
"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" : "GDBRemoteProtocolTests",
"module_type" : "SwiftTarget",
"name" : "GDBRemoteProtocolTests",
"path" : "Tests/GDBRemoteProtocolTests",
"sources" : [
"GDBRemoteProtocolTests.swift"
],
"target_dependencies" : [
"GDBRemoteProtocol"
],
"type" : "test"
},
{
"c99name" : "GDBRemoteProtocol",
"module_type" : "SwiftTarget",
"name" : "GDBRemoteProtocol",
"path" : "Sources/GDBRemoteProtocol",
"sources" : [
"GDBHostCommand.swift",
"GDBHostCommandDecoder.swift",
"GDBLogger.swift",
"GDBPacket.swift",
"GDBTargetResponse.swift",
"GDBTargetResponseEncoder.swift",
"HexEncoding.swift"
],
"type" : "library"
},
{
"c99name" : "ComponentModel",
"module_type" : "SwiftTarget",
"name" : "ComponentModel",
"path" : "Sources/ComponentModel",
"sources" : [
"ComponentBinaryFormat.swift",
"ComponentRepresentation.swift",
"ComponentType.swift"
],
"target_dependencies" : [
"WasmTypes"
],
"type" : "library"
},
{
"c99name" : "ComponentLinkerTests",
"module_type" : "SwiftTarget",
"name" : "ComponentLinkerTests",
"path" : "Tests/ComponentLinkerTests",
"sources" : [
"ComponentTypeSerializerTests.swift"
],
"target_dependencies" : [
"ComponentLinker",
"WasmParser",
"WIT"
],
"type" : "test"
},
{
"c99name" : "ComponentLinker",
"module_type" : "SwiftTarget",
"name" : "ComponentLinker",
"path" : "Sources/ComponentLinker",
"sources" : [
"ComponentTypeSerializer.swift"
],
"target_dependencies" : [
"WAT",
"WIT"
],
"type" : "library"
},
{
"c99name" : "CWasmKitWASIThreads",
"module_type" : "ClangTarget",
"name" : "CWasmKitWASIThreads",
"path" : "Sources/CWasmKitWASIThreads",
"product_memberships" : [
"wasmkit-cli",
"WasmKitWASIThreads"
],
"sources" : [
"Thread.c"
],
"type" : "library"
},
{
"c99name" : "CWASIPlatform",
"module_type" : "ClangTarget",
"name" : "CWASIPlatform",
"path" : "Sources/CWASIPlatform",
"product_memberships" : [
"wasmkit-cli",
"WasmKitWASI",
"WASI"
],
"sources" : [
"CWASIPlatform.c"
],
"type" : "library"
},
{
"c99name" : "CLICommandsTests",
"module_type" : "SwiftTarget",
"name" : "CLICommandsTests",
"path" : "Tests/CLICommandsTests",
"product_dependencies" : [
"ArgumentParser"
],
"sources" : [
"AsyncThrowingDefer.swift",
"DebuggerWASIConfigurationTests.swift",
"PreopenFixture.swift",
"PreopenFixtureTests.swift",
"RunOptionsTests.swift",
"RunWASIConfigurationTests.swift"
],
"target_dependencies" : [
"CLICommands",
"WasmTypes",
"WAT",
"WASI",
"WasmKit",
"WasmKitWASI"
],
"type" : "test"
},
{
"c99name" : "CLICommands",
"module_type" : "SwiftTarget",
"name" : "CLICommands",
"path" : "Sources/CLICommands",
"product_dependencies" : [
"ArgumentParser"
],
"product_memberships" : [
"wasmkit-cli"
],
"sources" : [
"DebuggerServer.swift",
"Explore.swift",
"Platform.swift",
"Run.swift",
"TCPListener.swift",
"WAST.swift",
"Wat2wasm.swift"
],
"target_dependencies" : [
"WASI",
"WASTRunner",
"WAT",
"WasmKit",
"WasmKitWASI",
"WasmKitWASIThreads"
],
"type" : "library"
},
{
"c99name" : "CLI",
"module_type" : "SwiftTarget",
"name" : "CLI",
"path" : "Sources/CLI",
"product_memberships" : [
"wasmkit-cli"
],
"sources" : [
"CLI.swift"
],
"target_dependencies" : [
"CLICommands"
],
"type" : "executable"
}
],
"tools_version" : "6.3"
}
✅ Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path: $PWD/.docs/swiftwasm/wasmkit/0.4.2
Repository: swiftwasm/WasmKit
Swift version used: 6.4
Target: WasmKit
Extracting symbol information for 'WasmKit'...
Finished extracting symbol information for 'WasmKit'. (12.01s)
Building documentation for 'WasmKit'...
warning: Parameter 'memoryBase' not found in type method declaration
--> ../Component/CanonicalLifting.swift:10:11-10:99
8 | /// - elementSize: A byte size of an element of the array value in lowered representation.
9 | /// - loadElement: A closure that loads an element from the given pointer.
10 + /// - memoryBase: A base address of the guest memory region. Can be `nil` if length is zero.
| ╰─suggestion: Remove 'memoryBase' parameter documentation
11 | /// - Returns: A lifted Swift Array value with the given element type.
12 | public static func liftList<Element>(
warning: Parameter 'context' is missing documentation
--> ../Component/CanonicalLifting.swift:10:99-10:99
8 | /// - elementSize: A byte size of an element of the array value in lowered representation.
9 | /// - loadElement: A closure that loads an element from the given pointer.
10 + /// - memoryBase: A base address of the guest memory region. Can be `nil` if length is zero.
| ╰─suggestion: Document 'context' parameter
11 | /// - Returns: A lifted Swift Array value with the given element type.
12 | public static func liftList<Element>(
warning: 'parseWasm(bytes:features:)' is ambiguous at '/WasmKit'
--> Docs.md:101:5-101:31
99 | ### Binary Parser
100 |
101 + - ``parseWasm(bytes:features:)``
| ├─suggestion: Insert '-(ArraySlice<UInt8>,_)' for 'func parseWasm(bytes: ArraySlice<UInt8>, features: WasmFeatureSet = .default) throws -> Module'
| ╰─suggestion: Insert '-([UInt8],_)' for 'func parseWasm(bytes: [UInt8], features: WasmFeatureSet = .default) throws(WasmKitError) -> Module'
102 | - ``parseWasm(filePath:features:)``
103 |
warning: Parameter 'memoryBoundsChecking' is missing documentation
--> ../Engine.swift:196:68-196:68
194 | /// modules running on this engine.
195 | /// - Parameter fuelMetering: Whether translated code consumes fuel as it
| ╰─suggestion: Document 'memoryBoundsChecking' parameter
196 + /// runs, so that execution can be bounded with ``Store/fuel``.
197 | public init(
198 | threadingModel: ThreadingModel? = nil,
warning: 'parseWasm(bytes:features:)' is ambiguous at '/WasmKit'
--> ../Module.swift:53:25-53:51
51 |
52 | /// A unit of stateless WebAssembly code, which is a direct representation of a module file. You can get one
53 + /// by calling either ``parseWasm(bytes:features:)`` or ``parseWasm(filePath:features:)``.
| ├─suggestion: Insert '-(ArraySlice<UInt8>,_)' for 'func parseWasm(bytes: ArraySlice<UInt8>, features: WasmFeatureSet = .default) throws -> Module'
| ╰─suggestion: Insert '-([UInt8],_)' for 'func parseWasm(bytes: [UInt8], features: WasmFeatureSet = .default) throws(WasmKitError) -> Module'
54 | /// > Note:
55 | /// <https://webassembly.github.io/spec/core/syntax/modules.html#modules>
Finished building documentation for 'WasmKit' (0.43s)
Generated documentation archive at:
/Users/admin/builder/spi-builder-workspace/.docs/swiftwasm/wasmkit/0.4.2
Updating https://github.com/swiftlang/swift-syntax
Fetching https://github.com/swiftlang/swift-docc-plugin
Updating https://github.com/apple/swift-argument-parser
[1/2345] Fetching swift-docc-plugin
Updated https://github.com/swiftlang/swift-syntax (1.32s)
Updated https://github.com/apple/swift-argument-parser (1.32s)
Fetched https://github.com/swiftlang/swift-docc-plugin (1.32s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 604.0.0 (2.11s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.56s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.5.0 (0.66s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3837] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit (1.30s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (2.03s)
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.5.0
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Building for debugging...
[Planning deferred tasks]
[18 / 41]
[20 / 43] Snippets
[30 / 92]
[35 / 92]
[38 / 92]
[39 / 92]
[43 / 92]
[45 / 92]
[48 / 92]
[51 / 92]
[53 / 92]
[54 / 92]
[65 / 92] SymbolKit
[66 / 92] Snippets
[84 / 93] SymbolKit
[86 / 93] snippet-extract-product
[92 / 97] snippet-extract-product
[93 / 97] snippet-extract-product
[95 / 97] snippet-extract-product
Build complete! (4.48 sec)
Building for debugging...
[Pre-planning 1 / 182]
[Planning deferred tasks]
[8 / 52] WasmTypes
[17 / 52] ComponentModel
[24 / 49] WasmParser
[34 / 60] WasmParser
[35 / 60] WasmParser
[39 / 64] WasmParser
[39 / 64] WAVE
[44 / 63] WasmParser
[44 / 63] WAVE
[46 / 63] WasmParser
[55 / 63] WasmKit
[66 / 74] WasmKit
[71 / 73] WasmKit
Build complete! (10.61 sec)
Target: WasmKitWASI
Extracting symbol information for 'WasmKitWASI'...
Finished extracting symbol information for 'WasmKitWASI'. (3.66s)
Building documentation for 'WasmKitWASI'...
warning: Parameter 'imports' is missing documentation
--> Sources/WasmKitWASI/WASIBridgeToHost+WasmKit.swift:37:80-37:80
35 | /// linked capability provides are registered as stubs returning
36 | /// `ENOSYS`. Guests import a fixed list regardless of what they call,
37 + /// so turning this off risks instantiation failures on unused imports.
38 | public func link(
39 | to imports: inout Imports,
warning: Parameter 'store' is missing documentation
--> Sources/WasmKitWASI/WASIBridgeToHost+WasmKit.swift:37:80-37:80
35 | /// linked capability provides are registered as stubs returning
36 | /// `ENOSYS`. Guests import a fixed list regardless of what they call,
37 + /// so turning this off risks instantiation failures on unused imports.
38 | public func link(
39 | to imports: inout Imports,
Finished building documentation for 'WasmKitWASI' (0.07s)
Generated documentation archive at:
/Users/admin/builder/spi-builder-workspace/.docs/swiftwasm/wasmkit/0.4.2
Building for debugging...
[1 / 11]
Build complete! (0.40 sec)
Building for debugging...
[Pre-planning 1 / 240]
[Planning deferred tasks]
[3 / 20] WASI
[14 / 31] WASI
[18 / 28] WASI
[22 / 30] WasmKitWASI
Build complete! (2.27 sec)
Successfully merged into /Users/admin/builder/spi-builder-workspace/.docs-staging/swiftwasm/wasmkit/0.4.2/index/index.json
Successfully merged into /Users/admin/builder/spi-builder-workspace/.docs-staging/swiftwasm/wasmkit/0.4.2/linkable-paths.json
Target: WasmParser
Extracting symbol information for 'WasmParser'...
Finished extracting symbol information for 'WasmParser'. (2.05s)
Building documentation for 'WasmParser'...
Finished building documentation for 'WasmParser' (0.90s)
Generated documentation archive at:
/Users/admin/builder/spi-builder-workspace/.docs/swiftwasm/wasmkit/0.4.2
Building for debugging...
[1 / 11]
Build complete! (0.57 sec)
Building for debugging...
[Planning deferred tasks]
[1 / 12]
Build complete! (0.70 sec)
Successfully merged into /Users/admin/builder/spi-builder-workspace/.docs-staging/swiftwasm/wasmkit/0.4.2/index/index.json
Successfully merged into /Users/admin/builder/spi-builder-workspace/.docs-staging/swiftwasm/wasmkit/0.4.2/linkable-paths.json
Target: WasmTypes
Extracting symbol information for 'WasmTypes'...
Finished extracting symbol information for 'WasmTypes'. (1.85s)
Building documentation for 'WasmTypes'...
Finished building documentation for 'WasmTypes' (0.18s)
Generated documentation archive at:
/Users/admin/builder/spi-builder-workspace/.docs/swiftwasm/wasmkit/0.4.2
Building for debugging...
[1 / 11]
Build complete! (0.39 sec)
Building for debugging...
[Planning deferred tasks]
Build complete! (0.46 sec)
Successfully merged into /Users/admin/builder/spi-builder-workspace/.docs-staging/swiftwasm/wasmkit/0.4.2/index/index.json
Successfully merged into /Users/admin/builder/spi-builder-workspace/.docs-staging/swiftwasm/wasmkit/0.4.2/linkable-paths.json
Target: WASI
Extracting symbol information for 'WASI'...
Finished extracting symbol information for 'WASI'. (1.82s)
Building documentation for 'WASI'...
warning: Parameter 'capabilities' is missing documentation
--> Sources/WASI/WASIBridgeToHost.swift:161:63-161:63
159 | /// - Parameter stubUnlinked: When true (the default), preview1 functions no
| ╰─suggestion: Document 'capabilities' parameter
160 | /// linked capability provides are defined as stubs returning `ENOSYS`, so
161 + /// a guest that merely imports them still instantiates.
162 | public func hostFunctions<M: GuestMemory & SendableMetatype>(
163 | capabilities: [WASICapability<M>],
warning: External name 'fileSystem' used to document parameter
--> Sources/WASI/WASIBridgeToHost.swift:318:13-318:23
316 | /// - args: Command-line arguments to pass to the WASI module. Defaults to an empty array.
317 | /// - environment: Environment variables to expose to the WASI module. Defaults to an empty dictionary.
318 + /// - fileSystem: Configuration for the file system implementation. Defaults to `.host()`.
| ╰─suggestion: Replace 'fileSystem' with 'fileSystemOptions'
319 | /// - wallClock: Clock for wall-clock time queries. Defaults to `SystemWallClock()`.
320 | /// - monotonicClock: Clock for monotonic time queries. Defaults to `SystemMonotonicClock()`.
Finished building documentation for 'WASI' (0.09s)
Generated documentation archive at:
/Users/admin/builder/spi-builder-workspace/.docs/swiftwasm/wasmkit/0.4.2
Building for debugging...
[1 / 11]
Build complete! (0.57 sec)
Building for debugging...
[Planning deferred tasks]
Build complete! (0.48 sec)
Successfully merged into /Users/admin/builder/spi-builder-workspace/.docs-staging/swiftwasm/wasmkit/0.4.2/index/index.json
Successfully merged into /Users/admin/builder/spi-builder-workspace/.docs-staging/swiftwasm/wasmkit/0.4.2/linkable-paths.json
Target: WAT
Extracting symbol information for 'WAT'...
Finished extracting symbol information for 'WAT'. (3.68s)
Building documentation for 'WAT'...
warning: 'wat2wasm(_:features:)' doesn't exist at '/WAT'
--> Docs.md:63:5-63:26
61 | ### Encode to binary format
62 |
63 + - ``wat2wasm(_:features:)``
| ╰─suggestion: Replace 'wat2wasm(_:features:)' with 'wat2wasm(_:features:options:)'
64 |
65 | ### WAST structures
warning: Parameter 'options' is missing documentation
--> ../WAT.swift:56:51-56:51
54 | /// trait is enabled). It looks ahead to determine whether the input is a component or core module.
55 | ///
56 + /// - Parameter input: The WAT string to transform
| ╰─suggestion: Document 'options' parameter
57 | /// - Returns: The WebAssembly binary format byte array
58 | ///
warning: Parameter 'features' is missing documentation
--> ../WAT.swift:56:51-56:51
54 | /// trait is enabled). It looks ahead to determine whether the input is a component or core module.
55 | ///
56 + /// - Parameter input: The WAT string to transform
| ╰─suggestion: Document 'features' parameter
57 | /// - Returns: The WebAssembly binary format byte array
58 | ///
warning: Parameter 'features' is missing documentation
--> ../WAT.swift:177:47-177:47
175 |
176 | /// Parses a WebAssembly text format (WAT) string into a `Wat` instance.
177 + /// - Parameter input: The WAT string to parse
| ╰─suggestion: Document 'features' parameter
178 | /// - Returns: The parsed `Wat` instance
179 | ///
warning: Parameter 'features' is missing documentation
--> ../WAT.swift:294:48-294:48
292 | /// Parses a WebAssembly script test format (WAST) string into a `WAST` instance.
293 | ///
294 + /// - Parameter input: The WAST string to parse
| ╰─suggestion: Document 'features' parameter
295 | /// - Returns: The parsed `WAST` instance
296 | ///
Finished building documentation for 'WAT' (0.12s)
Generated documentation archive at:
/Users/admin/builder/spi-builder-workspace/.docs/swiftwasm/wasmkit/0.4.2
Building for debugging...
[1 / 11]
Build complete! (0.56 sec)
Building for debugging...
[Planning 119 / 123]
[Planning deferred tasks]
[3 / 11] WAT
[14 / 22] WAT
[19 / 21] WAT
Build complete! (2.32 sec)
Successfully merged into /Users/admin/builder/spi-builder-workspace/.docs-staging/swiftwasm/wasmkit/0.4.2/index/index.json
Successfully merged into /Users/admin/builder/spi-builder-workspace/.docs-staging/swiftwasm/wasmkit/0.4.2/linkable-paths.json
Target: WIT
Extracting symbol information for 'WIT'...
Finished extracting symbol information for 'WIT'. (3.49s)
Building documentation for 'WIT'...
warning: Parameter 'wrapped' is missing documentation
--> Sources/WIT/CanonicalABI/CanonicalLifting.swift:59:83-59:83
57 | /// - Parameters:
58 | /// - discriminant: A core i32 value that represents a discriminant.
59 + /// - liftPayload: A closure that lifts a payload core value to a WIT value.
| ╰─suggestion: Document 'wrapped' parameter
60 | func liftOption(
61 | discriminant: Operand, wrapped: WITType, liftPayload: () throws -> Operand
warning: Parameter 'ok' is missing documentation
--> Sources/WIT/CanonicalABI/CanonicalLifting.swift:69:105-69:105
67 | /// - discriminant: A core i32 value that represents a discriminant.
68 | /// - liftPayload: A closure that lifts a payload core value to a WIT value.
| ╰─suggestion: Document 'ok' parameter
69 + /// It takes a boolean value that indicates whether the payload is an error or not.
70 | func liftResult(
71 | discriminant: Operand, ok: WITType?, error: WITType?, liftPayload: (_ isError: Bool) throws -> Operand?
warning: Parameter 'type' is missing documentation
--> Sources/WIT/CanonicalABI/CanonicalLifting.swift:79:76-79:76
77 | /// - discriminant: A core i32 value that represents a discriminant.
78 | /// - liftPayload: A closure that lifts a payload core value to a WIT value.
| ╰─suggestion: Document 'type' parameter
79 + /// It takes a case index of the variant to be lifted.
80 | func liftVariant(
81 | discriminant: Operand, type: WITVariant, liftPayload: (Int) throws -> Operand?
Finished building documentation for 'WIT' (0.34s)
Generated documentation archive at:
/Users/admin/builder/spi-builder-workspace/.docs/swiftwasm/wasmkit/0.4.2
Building for debugging...
[1 / 11]
Build complete! (0.57 sec)
Building for debugging...
[Planning deferred tasks]
[1 / 17]
[3 / 11] WIT
[14 / 22] WIT
[19 / 21] WIT
Build complete! (2.17 sec)
Successfully merged into /Users/admin/builder/spi-builder-workspace/.docs-staging/swiftwasm/wasmkit/0.4.2/index/index.json
Successfully merged into /Users/admin/builder/spi-builder-workspace/.docs-staging/swiftwasm/wasmkit/0.4.2/linkable-paths.json
Target: WITExtractor
Extracting symbol information for 'WITExtractor'...
Finished extracting symbol information for 'WITExtractor'. (15.29s)
Building documentation for 'WITExtractor'...
Finished building documentation for 'WITExtractor' (0.04s)
Generated documentation archive at:
/Users/admin/builder/spi-builder-workspace/.docs/swiftwasm/wasmkit/0.4.2
Building for debugging...
[1 / 11]
Build complete! (0.56 sec)
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 329]
[Planning deferred tasks]
[78 / 163] SwiftSyntax604
[126 / 177] SwiftSyntax600
[157 / 191] SwiftSyntax510
[161 / 191]
[163 / 191] SwiftSyntax
[175 / 203] _SwiftSyntaxCShims
[177 / 203] _SwiftSyntaxCShims
[177 / 203] SwiftSyntax
[185 / 204] SwiftParser
[194 / 215] SwiftParser
[195 / 215] SwiftParser
[196 / 215] SwiftParser
[204 / 216] SwiftParser
[212 / 227] WITExtractor
[221 / 227] WITExtractor
[222 / 227] SwiftSyntax
[223 / 227] SwiftSyntax
[225 / 227] SwiftSyntax
Build complete! (13.98 sec)
Successfully merged into /Users/admin/builder/spi-builder-workspace/.docs-staging/swiftwasm/wasmkit/0.4.2/index/index.json
Successfully merged into /Users/admin/builder/spi-builder-workspace/.docs-staging/swiftwasm/wasmkit/0.4.2/linkable-paths.json
Target: WITOverlayGenerator
Extracting symbol information for 'WITOverlayGenerator'...
Finished extracting symbol information for 'WITOverlayGenerator'. (2.96s)
Building documentation for 'WITOverlayGenerator'...
Finished building documentation for 'WITOverlayGenerator' (0.05s)
Generated documentation archive at:
/Users/admin/builder/spi-builder-workspace/.docs/swiftwasm/wasmkit/0.4.2
Building for debugging...
[1 / 11]
Build complete! (0.56 sec)
Building for debugging...
[Planning deferred tasks]
[9 / 17] WITOverlayGenerator
[20 / 28] WITOverlayGenerator
[26 / 28] WITOverlayGenerator
Build complete! (1.59 sec)
Successfully merged into /Users/admin/builder/spi-builder-workspace/.docs-staging/swiftwasm/wasmkit/0.4.2/index/index.json
Successfully merged into /Users/admin/builder/spi-builder-workspace/.docs-staging/swiftwasm/wasmkit/0.4.2/linkable-paths.json
Target: WITTool
Extracting symbol information for 'WITTool'...
Finished extracting symbol information for 'WITTool'. (15.42s)
Building documentation for 'WITTool'...
Finished building documentation for 'WITTool' (0.12s)
Generated documentation archive at:
/Users/admin/builder/spi-builder-workspace/.docs/swiftwasm/wasmkit/0.4.2
Building for debugging...
[1 / 11]
Build complete! (0.55 sec)
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 533]
[Planning deferred tasks]
[6 / 73] ArgumentParserToolInfo
[7 / 73]
[22 / 87] SwiftSyntax603
[38 / 100] SwiftSyntax603
[56 / 103] SwiftSyntax603
[65 / 104] WasmTypes
[70 / 107] ArgumentParserToolInfo
[74 / 107] ComponentModel
[83 / 117] ComponentModel
[86 / 129] SwiftSyntax
[88 / 129] SwiftSyntax
[92 / 129] SwiftSyntax
[97 / 137] WIT
[100 / 137] WIT
[102 / 139] WITOverlayGenerator
[105 / 139] WIT
[108 / 150] WITOverlayGenerator
[110 / 150] WITOverlayGenerator
[112 / 150] WITOverlayGenerator
[116 / 150] WITOverlayGenerator
[120 / 150] WIT
[124 / 150] SwiftSyntax
[126 / 150] WITOverlayGenerator
[128 / 150] WIT
[128 / 148] SwiftSyntax
[128 / 148] ArgumentParser
[129 / 147] SwiftSyntax
[132 / 149] SwiftParser
[142 / 160] SwiftParser
[143 / 160] SwiftParser
[146 / 162] WITExtractor
[155 / 173] WITExtractor
[158 / 173] WITExtractor
[165 / 174] WITTool-product
[168 / 177] WITTool-product
[169 / 177] WITTool-product
[170 / 177] SwiftSyntax
[172 / 174] WITTool-product
Build complete! (14.01 sec)
Successfully merged into /Users/admin/builder/spi-builder-workspace/.docs-staging/swiftwasm/wasmkit/0.4.2/index/index.json
Successfully merged into /Users/admin/builder/spi-builder-workspace/.docs-staging/swiftwasm/wasmkit/0.4.2/linkable-paths.json
6892
36 /Users/admin/builder/spi-builder-workspace/.docs/swiftwasm/wasmkit/0.4.2
✅ Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/swiftwasm/wasmkit/0.4.2
File count: 6892
Doc size: 36.0MB
Preparing doc bundle ...
Using presigned URL upload - AWS credentials not required
Uploading -swiftwasm-wasmkit-0.4.2-5ea24a24.zip to presigned URL
Starting upload of 7939637 bytes...
Upload completed successfully
Done.