Build Information
Successful build of WasmKit, reference 0.1.2 (2ce00c
), with Swift 6.0 for macOS (SPM) on 1 Nov 2024 04:50:14 UTC.
Swift 6 data race errors: 24
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swiftwasm/WasmKit.git
Reference: 0.1.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/swiftwasm/WasmKit
* tag 0.1.2 -> FETCH_HEAD
HEAD is now at 2ce00c8 Bump version to 0.1.2
Cloned https://github.com/swiftwasm/WasmKit.git
Revision (git rev-parse @):
2ce00c8cd20b6cda3ce9f62b6e36d19d29f3262b
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/swiftwasm/WasmKit.git at 0.1.2
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/apple/swift-system
[1/3901] Fetching swift-system
[1679/16233] Fetching swift-system, swift-argument-parser
Fetched https://github.com/apple/swift-system from cache (1.52s)
Fetched https://github.com/apple/swift-argument-parser from cache (1.52s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.3.2 (0.46s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (0.48s)
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.3.2
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.0
========================================
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",
"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",
"dependencies": [
{
"identity": "swift-argument-parser",
"name": "swift-argument-parser",
"url": "https://github.com/apple/swift-argument-parser",
"version": "1.5.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-argument-parser",
"dependencies": [
]
},
{
"identity": "swift-system",
"name": "swift-system",
"url": "https://github.com/apple/swift-system",
"version": "1.3.2",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-system",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/swiftwasm/WasmKit.git
[1/9585] Fetching wasmkit
Fetched https://github.com/swiftwasm/WasmKit.git from cache (1.24s)
Fetching https://github.com/apple/swift-argument-parser from cache
Fetching https://github.com/apple/swift-system from cache
Fetched https://github.com/apple/swift-system from cache (0.57s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.57s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.3.2 (0.03s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (0.04s)
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.3.2
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.0
Creating working copy for https://github.com/swiftwasm/WasmKit.git
Working copy of https://github.com/swiftwasm/WasmKit.git resolved at 0.1.2 (2ce00c8)
Found 2 product dependencies
- swift-argument-parser
- swift-system
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/swiftwasm/WasmKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/11] Write sources
[1/11] Write WITTool-tool-entitlement.plist
[5/11] Write sources
[7/11] Write swift-version--7754E27361AE5C74.txt
[9/46] Emitting module ArgumentParserToolInfo
[10/46] Compiling ArgumentParserToolInfo ToolInfo.swift
[11/85] Compiling ArgumentParser OptionGroup.swift
[12/85] Compiling ArgumentParser AsyncParsableCommand.swift
[13/87] Compiling ArgumentParser CommandConfiguration.swift
[14/87] Compiling ArgumentParser CommandGroup.swift
[15/87] Compiling ArgumentParser EnumerableFlag.swift
[16/87] Compiling ArgumentParser ExpressibleByArgument.swift
[17/91] Compiling WITExtractor SourcePrinter.swift
[18/91] Compiling WITExtractor ModuleTranslation.swift
[19/91] Compiling WIT ParseWorld.swift
[20/91] Compiling WIT Parser.swift
[21/91] Compiling ArgumentParser DumpHelpGenerator.swift
[22/91] Compiling ArgumentParser HelpCommand.swift
[23/91] Compiling ArgumentParser ParserError.swift
[24/91] Compiling ArgumentParser SplitArguments.swift
[25/91] Compiling WITExtractor Diagnostic.swift
[26/91] Emitting module WITExtractor
[27/91] Compiling ArgumentParser ZshCompletionsGenerator.swift
[28/91] Compiling ArgumentParser Argument.swift
[29/91] Compiling ArgumentParser ArgumentHelp.swift
[30/91] Compiling ArgumentParser ArgumentVisibility.swift
/Users/admin/builder/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
[31/91] Compiling ArgumentParser CompletionKind.swift
/Users/admin/builder/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
[32/91] Compiling ArgumentParser Errors.swift
/Users/admin/builder/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
[33/91] Compiling ArgumentParser NameSpecification.swift
[34/91] Compiling ArgumentParser Option.swift
[39/91] Compiling ArgumentParser Flag.swift
[40/91] Compiling ArgumentParser BashCompletionsGenerator.swift
[41/91] Compiling ArgumentParser CompletionsGenerator.swift
[42/91] Compiling ArgumentParser FishCompletionsGenerator.swift
[45/91] Compiling ArgumentParser ArgumentDefinition.swift
[46/91] Compiling ArgumentParser ArgumentSet.swift
[47/91] Compiling ArgumentParser CommandParser.swift
[48/91] Compiling ArgumentParser InputKey.swift
[49/91] Compiling ArgumentParser ParsableArguments.swift
[50/91] Compiling ArgumentParser ParsableArgumentsValidation.swift
[51/91] Compiling ArgumentParser ParsableCommand.swift
[52/91] Compiling ArgumentParser ArgumentDecoder.swift
[53/91] Emitting module ArgumentParser
[54/91] Compiling ArgumentParser Platform.swift
[55/91] Compiling ArgumentParser SequenceExtensions.swift
[56/91] Compiling ArgumentParser StringExtensions.swift
[57/91] Compiling ArgumentParser Tree.swift
[58/91] Compiling WITExtractor WITBuilder.swift
[59/91] Compiling WITExtractor WITExtractor.swift
[60/91] Compiling WITExtractor TypeMapping.swift
[61/91] Compiling WITExtractor SourceSummary.swift
[62/91] Compiling WITExtractor ConvertCase.swift
[63/91] Compiling WITExtractor SwiftAPIDigester.swift
/Users/admin/builder/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 {
/Users/admin/builder/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 {
[79/91] Compiling ArgumentParser Parsed.swift
[80/91] Compiling ArgumentParser ParsedValues.swift
[81/91] Compiling ArgumentParser HelpGenerator.swift
[82/91] Compiling ArgumentParser MessageInfo.swift
[83/91] Compiling ArgumentParser UsageGenerator.swift
[84/91] Compiling ArgumentParser CollectionExtensions.swift
[88/91] Emitting module WIT
/Users/admin/builder/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
/Users/admin/builder/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 {
[89/116] Compiling WITOverlayGenerator TypeAccessory.swift
[90/116] Compiling WITOverlayGenerator TypeDefinition.swift
[91/116] Compiling WITOverlayGenerator CanonicalName.swift
[92/116] Compiling WITOverlayGenerator CanonicalOperation.swift
[93/116] Compiling WITOverlayGenerator SignatureTranslation.swift
[94/116] Compiling WITOverlayGenerator SwiftName.swift
[95/116] Compiling WITOverlayGenerator TypeName.swift
[96/116] Compiling WITOverlayGenerator HostWorldGenerator.swift
[97/116] Compiling WITOverlayGenerator WasmKitSourcePrinter.swift
[98/116] Compiling WITOverlayGenerator ConvertCase.swift
[99/116] Compiling WITOverlayGenerator SourcePrinter.swift
[100/116] Compiling WITOverlayGenerator InterfaceTypeGenerator.swift
[101/116] Compiling WITOverlayGenerator StaticCanonicalDeallocation.swift
[102/116] Compiling WITOverlayGenerator StaticCanonicalLifting.swift
[103/116] Compiling WITOverlayGenerator StaticCanonicalLoading.swift
[104/116] Compiling WITOverlayGenerator StaticCanonicalLowering.swift
[105/116] Compiling WITOverlayGenerator StaticCanonicalStoring.swift
[106/116] Compiling WITOverlayGenerator DefinitionMapping.swift
[107/118] Compiling WITOverlayGenerator GuestWorldGenerator.swift
[108/118] Compiling WITOverlayGenerator HostExportFunction.swift
[109/118] Compiling WITOverlayGenerator HostExportInterface.swift
[110/118] Compiling WITOverlayGenerator GuestExportFunction.swift
[111/118] Compiling WITOverlayGenerator GuestExportInterface.swift
[112/118] Compiling WITOverlayGenerator GuestPrelude.swift
[113/118] Emitting module WITOverlayGenerator
[114/118] Compiling WITOverlayGenerator TypeGenerator.swift
[115/118] Compiling WITOverlayGenerator WITOverlayGen.swift
[116/121] Emitting module WITTool
[117/121] Compiling WITTool WITTool.swift
[118/121] Compiling WITTool Utilities.swift
[118/121] Write Objects.LinkFileList
[119/121] Linking WITTool-tool
[120/121] Applying WITTool-tool
Build of product 'WITTool' complete! (13.69s)
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateOverlayForTesting
[3/3] Compiling plugin WITExtractorPlugin
[4/4] Compiling plugin WITOverlayPlugin
Building for debugging...
[4/31] Write sources
[10/31] Write WITTool-entitlement.plist
[10/31] Write sources
[12/31] Write wasmkit-cli-entitlement.plist
[17/31] Write sources
[21/31] Compiling _CWasmKit _CWasmKit.c
[21/31] Compiling CSystem shims.c
[23/31] Compiling _CabiShims shims.c
[24/31] Write swift-version--7754E27361AE5C74.txt
[26/90] Compiling WasmTypes WasmTypes.swift
[27/90] Compiling WasmTypes GuestMemory.swift
[28/90] Emitting module WasmTypes
[29/90] Compiling WIT ParseFunctionDecl.swift
[30/90] Compiling WIT ParseInterface.swift
[33/92] Compiling SystemPackage Util.swift
[34/92] Compiling SystemPackage UtilConsumers.swift
[35/94] Compiling WIT Validation.swift
[36/94] Compiling WIT SyntaxNode.swift
[37/94] Compiling ArgumentParserToolInfo ToolInfo.swift
[38/94] Emitting module ArgumentParserToolInfo
[39/133] Compiling ArgumentParser CommandGroup.swift
[40/133] Compiling ArgumentParser EnumerableFlag.swift
[41/133] Compiling ArgumentParser AsyncParsableCommand.swift
[42/133] Compiling ArgumentParser CommandConfiguration.swift
[43/133] Compiling ArgumentParser ZshCompletionsGenerator.swift
[44/133] Compiling ArgumentParser Argument.swift
[45/133] Compiling ArgumentParser ParserError.swift
[46/133] Compiling ArgumentParser CompletionsGenerator.swift
/Users/admin/builder/spi-builder-workspace/Sources/WIT/Semantics/RequestEvaluator.swift:67:13: warning: stored property 'activeRequests' of 'Sendable'-conforming struct 'CyclicalRequestError' has non-sendable type '[any EvaluationRequest]'; this is an error in the Swift 6 language mode
1 | protocol EvaluationRequest: Hashable {
| `- note: protocol 'EvaluationRequest' does not conform to the 'Sendable' protocol
2 | associatedtype Output
3 |
:
65 | extension Evaluator {
66 | struct CyclicalRequestError: Error, CustomStringConvertible {
67 | let activeRequests: [any EvaluationRequest]
| `- warning: stored property 'activeRequests' of 'Sendable'-conforming struct 'CyclicalRequestError' has non-sendable type '[any EvaluationRequest]'; this is an error in the Swift 6 language mode
68 |
69 | var description: String {
[47/133] Compiling ArgumentParser FishCompletionsGenerator.swift
/Users/admin/builder/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 {
[48/133] Compiling ArgumentParser SplitArguments.swift
[49/133] Compiling ArgumentParser DumpHelpGenerator.swift
[50/133] Compiling ArgumentParser ArgumentHelp.swift
[51/133] Compiling ArgumentParser ArgumentVisibility.swift
[52/133] Compiling ArgumentParser CompletionKind.swift
[53/133] Compiling ArgumentParser Errors.swift
[54/133] Compiling ArgumentParser Flag.swift
[55/137] Compiling ArgumentParser ParsableArguments.swift
[56/137] Compiling ArgumentParser ParsableArgumentsValidation.swift
[57/137] Compiling ArgumentParser ParsableCommand.swift
[58/137] Compiling ArgumentParser ArgumentDecoder.swift
[62/137] Compiling ArgumentParser ExpressibleByArgument.swift
[63/137] Emitting module ArgumentParser
[64/137] Compiling ArgumentParser ArgumentDefinition.swift
[65/137] Compiling ArgumentParser ArgumentSet.swift
[66/137] Compiling ArgumentParser CommandParser.swift
[67/137] Compiling ArgumentParser InputKey.swift
[68/137] Compiling ArgumentParser HelpCommand.swift
[69/137] Compiling ArgumentParser NameSpecification.swift
[70/137] Compiling ArgumentParser Platform.swift
[71/137] Compiling ArgumentParser SequenceExtensions.swift
[72/137] Compiling ArgumentParser StringExtensions.swift
[73/137] Compiling ArgumentParser Tree.swift
[80/137] Compiling ArgumentParser CollectionExtensions.swift
[81/137] Compiling ArgumentParser InputOrigin.swift
[82/137] Compiling ArgumentParser Name.swift
[83/137] Compiling ArgumentParser Parsed.swift
[84/137] Compiling ArgumentParser ParsedValues.swift
[85/137] Compiling ArgumentParser BashCompletionsGenerator.swift
[87/137] Emitting module SystemPackage
[88/137] Compiling ArgumentParser HelpGenerator.swift
[89/137] Compiling ArgumentParser MessageInfo.swift
[90/137] Compiling ArgumentParser UsageGenerator.swift
[91/156] Compiling SystemExtras Clock.swift
[92/156] Compiling WasmParser ByteStream.swift
[93/156] Compiling WasmParser FileHandleStream.swift
/Users/admin/builder/spi-builder-workspace/Sources/WasmParser/WasmParser.swift:274:16: warning: static property 'unexpectedEnd' is not concurrency-safe because non-'Sendable' type 'WasmParserError.Message' may have shared mutable state; this is an error in the Swift 6 language mode
200 | public struct WasmParserError: Swift.Error {
201 | @usableFromInline
202 | struct Message {
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
203 | let text: String
204 |
:
272 | static let endOpcodeExpected = Self("`end` opcode expected but not found")
273 |
274 | static let unexpectedEnd = Self("Unexpected end of the stream")
| |- warning: static property 'unexpectedEnd' is not concurrency-safe because non-'Sendable' type 'WasmParserError.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unexpectedEnd' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
275 |
276 | static func sectionSizeMismatch(expected: Int, actual: Int) -> Self {
[94/156] Compiling WasmParser ParsingLimits.swift
[95/156] Compiling SystemExtras WindowsSyscallAdapter.swift
[96/156] Compiling SystemExtras Syscalls.swift
[97/156] Compiling SystemExtras Utils.swift
[98/156] Compiling SystemExtras Exports.swift
[99/156] Compiling WasmParser InstructionCode.swift
[100/156] Compiling WasmParser LEB.swift
[101/156] Emitting module SystemExtras
[102/156] Compiling WasmParser WasmTypes.swift
[103/156] Compiling SystemExtras FileAtOperations.swift
[104/156] Compiling SystemExtras Constants.swift
[105/156] Compiling SystemExtras FileOperations.swift
[106/168] Compiling WasmParser InstructionVisitor.swift
[107/168] Compiling WITExtractor WITBuilder.swift
[108/168] Compiling WITExtractor WITExtractor.swift
[109/168] Compiling WITExtractor TypeMapping.swift
[110/168] Compiling WITExtractor SourceSummary.swift
[111/168] Compiling WITExtractor ModuleTranslation.swift
[112/168] Compiling WITExtractor SourcePrinter.swift
[113/168] Compiling WITExtractor Diagnostic.swift
[114/168] Emitting module WITExtractor
[115/168] Compiling WITExtractor SwiftAPIDigester.swift
[116/168] Compiling WITExtractor ConvertCase.swift
[120/168] Compiling WASI Directory.swift
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
[124/168] Compiling ArgumentParser Option.swift
[125/168] Compiling ArgumentParser OptionGroup.swift
[140/168] Compiling WASI RandomBufferGenerator.swift
[141/168] Compiling WASI OpenParent.swift
[142/169] Compiling WASI SandboxPrimitives.swift
[143/169] Compiling WASI Open.swift
[144/169] Emitting module WIT
/Users/admin/builder/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
/Users/admin/builder/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 {
[145/169] Compiling WASI Clock.swift
[146/169] Compiling WASI FileSystem.swift
[147/169] Compiling WASI GuestMemorySupport.swift
[148/175] Compiling WITOverlayGenerator CanonicalName.swift
[149/175] Compiling WITOverlayGenerator CanonicalOperation.swift
[150/175] Compiling WITOverlayGenerator SignatureTranslation.swift
[151/175] Compiling WITOverlayGenerator SwiftName.swift
[152/194] Emitting module WasmParser
/Users/admin/builder/spi-builder-workspace/Sources/WasmParser/Stream/Stream.swift:2:10: warning: associated value 'unexpectedEnd(expected:)' of 'Sendable'-conforming generic enum 'StreamError' has non-sendable type 'Element'; this is an error in the Swift 6 language mode
1 | enum StreamError<Element>: Swift.Error, Equatable where Element: Hashable {
| `- note: consider making generic parameter 'Element' conform to the 'Sendable' protocol
2 | case unexpectedEnd(expected: Set<Element>?)
| `- warning: associated value 'unexpectedEnd(expected:)' of 'Sendable'-conforming generic enum 'StreamError' has non-sendable type 'Element'; this is an error in the Swift 6 language mode
3 | case unexpected(Element, index: Int, expected: Set<Element>?)
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/WasmParser/Stream/Stream.swift:3:10: warning: associated value 'unexpected(_:index:expected:)' of 'Sendable'-conforming generic enum 'StreamError' has non-sendable type 'Element'; this is an error in the Swift 6 language mode
1 | enum StreamError<Element>: Swift.Error, Equatable where Element: Hashable {
| `- note: consider making generic parameter 'Element' conform to the 'Sendable' protocol
2 | case unexpectedEnd(expected: Set<Element>?)
3 | case unexpected(Element, index: Int, expected: Set<Element>?)
| `- warning: associated value 'unexpected(_:index:expected:)' of 'Sendable'-conforming generic enum 'StreamError' has non-sendable type 'Element'; this is an error in the Swift 6 language mode
4 | }
5 |
/Users/admin/builder/spi-builder-workspace/Sources/WasmParser/Stream/Stream.swift:3:10: warning: associated value 'unexpected(_:index:expected:)' of 'Sendable'-conforming generic enum 'StreamError' has non-sendable type 'Element'; this is an error in the Swift 6 language mode
1 | enum StreamError<Element>: Swift.Error, Equatable where Element: Hashable {
| `- note: consider making generic parameter 'Element' conform to the 'Sendable' protocol
2 | case unexpectedEnd(expected: Set<Element>?)
3 | case unexpected(Element, index: Int, expected: Set<Element>?)
| `- warning: associated value 'unexpected(_:index:expected:)' of 'Sendable'-conforming generic enum 'StreamError' has non-sendable type 'Element'; this is an error in the Swift 6 language mode
4 | }
5 |
/Users/admin/builder/spi-builder-workspace/Sources/WasmParser/WasmParser.swift:194:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'WasmFeatureSet' may have shared mutable state; this is an error in the Swift 6 language mode
175 |
176 | /// Flags for enabling/disabling WebAssembly features
177 | public struct WasmFeatureSet: OptionSet {
| `- note: consider making struct 'WasmFeatureSet' conform to the 'Sendable' protocol
178 | /// The raw value of the feature set
179 | public let rawValue: Int
:
192 |
193 | /// The default feature set
194 | public static let `default`: WasmFeatureSet = [.referenceTypes]
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'WasmFeatureSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
195 | /// The feature set with all features enabled
196 | public static let all: WasmFeatureSet = [.memory64, .referenceTypes, .threads]
/Users/admin/builder/spi-builder-workspace/Sources/WasmParser/WasmParser.swift:187:23: warning: static property 'memory64' is not concurrency-safe because non-'Sendable' type 'WasmFeatureSet' may have shared mutable state; this is an error in the Swift 6 language mode
175 |
176 | /// Flags for enabling/disabling WebAssembly features
177 | public struct WasmFeatureSet: OptionSet {
| `- note: consider making struct 'WasmFeatureSet' conform to the 'Sendable' protocol
178 | /// The raw value of the feature set
179 | public let rawValue: Int
:
185 |
186 | /// The WebAssembly memory64 proposal
187 | public static let memory64 = WasmFeatureSet(rawValue: 1 << 0)
| |- warning: static property 'memory64' is not concurrency-safe because non-'Sendable' type 'WasmFeatureSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'memory64' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
188 | /// The WebAssembly reference types proposal
189 | public static let referenceTypes = WasmFeatureSet(rawValue: 1 << 1)
/Users/admin/builder/spi-builder-workspace/Sources/WasmParser/WasmParser.swift:189:23: warning: static property 'referenceTypes' is not concurrency-safe because non-'Sendable' type 'WasmFeatureSet' may have shared mutable state; this is an error in the Swift 6 language mode
175 |
176 | /// Flags for enabling/disabling WebAssembly features
177 | public struct WasmFeatureSet: OptionSet {
| `- note: consider making struct 'WasmFeatureSet' conform to the 'Sendable' protocol
178 | /// The raw value of the feature set
179 | public let rawValue: Int
:
187 | public static let memory64 = WasmFeatureSet(rawValue: 1 << 0)
188 | /// The WebAssembly reference types proposal
189 | public static let referenceTypes = WasmFeatureSet(rawValue: 1 << 1)
| |- warning: static property 'referenceTypes' is not concurrency-safe because non-'Sendable' type 'WasmFeatureSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'referenceTypes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
190 | /// The WebAssembly threads proposal
191 | public static let threads = WasmFeatureSet(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/WasmParser/WasmParser.swift:191:23: warning: static property 'threads' is not concurrency-safe because non-'Sendable' type 'WasmFeatureSet' may have shared mutable state; this is an error in the Swift 6 language mode
175 |
176 | /// Flags for enabling/disabling WebAssembly features
177 | public struct WasmFeatureSet: OptionSet {
| `- note: consider making struct 'WasmFeatureSet' conform to the 'Sendable' protocol
178 | /// The raw value of the feature set
179 | public let rawValue: Int
:
189 | public static let referenceTypes = WasmFeatureSet(rawValue: 1 << 1)
190 | /// The WebAssembly threads proposal
191 | public static let threads = WasmFeatureSet(rawValue: 1 << 2)
| |- warning: static property 'threads' is not concurrency-safe because non-'Sendable' type 'WasmFeatureSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'threads' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
192 |
193 | /// The default feature set
/Users/admin/builder/spi-builder-workspace/Sources/WasmParser/WasmParser.swift:196:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'WasmFeatureSet' may have shared mutable state; this is an error in the Swift 6 language mode
175 |
176 | /// Flags for enabling/disabling WebAssembly features
177 | public struct WasmFeatureSet: OptionSet {
| `- note: consider making struct 'WasmFeatureSet' conform to the 'Sendable' protocol
178 | /// The raw value of the feature set
179 | public let rawValue: Int
:
194 | public static let `default`: WasmFeatureSet = [.referenceTypes]
195 | /// The feature set with all features enabled
196 | public static let all: WasmFeatureSet = [.memory64, .referenceTypes, .threads]
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'WasmFeatureSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
197 | }
198 |
/Users/admin/builder/spi-builder-workspace/Sources/WasmParser/WasmParser.swift:210:9: warning: stored property 'message' of 'Sendable'-conforming struct 'WasmParserError' has non-sendable type 'WasmParserError.Message'; this is an error in the Swift 6 language mode
200 | public struct WasmParserError: Swift.Error {
201 | @usableFromInline
202 | struct Message {
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
203 | let text: String
204 |
:
208 | }
209 |
210 | let message: Message
| `- warning: stored property 'message' of 'Sendable'-conforming struct 'WasmParserError' has non-sendable type 'WasmParserError.Message'; this is an error in the Swift 6 language mode
211 | let offset: Int
212 |
/Users/admin/builder/spi-builder-workspace/Sources/WasmParser/WasmParser.swift:269:16: warning: static property 'integerRepresentationTooLong' is not concurrency-safe because non-'Sendable' type 'WasmParserError.Message' may have shared mutable state; this is an error in the Swift 6 language mode
200 | public struct WasmParserError: Swift.Error {
201 | @usableFromInline
202 | struct Message {
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
203 | let text: String
204 |
:
267 | }
268 |
269 | static let integerRepresentationTooLong = Self("Integer representation is too long")
| |- warning: static property 'integerRepresentationTooLong' is not concurrency-safe because non-'Sendable' type 'WasmParserError.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'integerRepresentationTooLong' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
270 |
271 | @usableFromInline
/Users/admin/builder/spi-builder-workspace/Sources/WasmParser/WasmParser.swift:272:16: warning: static property 'endOpcodeExpected' is not concurrency-safe because non-'Sendable' type 'WasmParserError.Message' may have shared mutable state; this is an error in the Swift 6 language mode
200 | public struct WasmParserError: Swift.Error {
201 | @usableFromInline
202 | struct Message {
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
203 | let text: String
204 |
:
270 |
271 | @usableFromInline
272 | static let endOpcodeExpected = Self("`end` opcode expected but not found")
| |- warning: static property 'endOpcodeExpected' is not concurrency-safe because non-'Sendable' type 'WasmParserError.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'endOpcodeExpected' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
273 |
274 | static let unexpectedEnd = Self("Unexpected end of the stream")
/Users/admin/builder/spi-builder-workspace/Sources/WasmParser/WasmParser.swift:274:16: warning: static property 'unexpectedEnd' is not concurrency-safe because non-'Sendable' type 'WasmParserError.Message' may have shared mutable state; this is an error in the Swift 6 language mode
200 | public struct WasmParserError: Swift.Error {
201 | @usableFromInline
202 | struct Message {
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
203 | let text: String
204 |
:
272 | static let endOpcodeExpected = Self("`end` opcode expected but not found")
273 |
274 | static let unexpectedEnd = Self("Unexpected end of the stream")
| |- warning: static property 'unexpectedEnd' is not concurrency-safe because non-'Sendable' type 'WasmParserError.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unexpectedEnd' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
275 |
276 | static func sectionSizeMismatch(expected: Int, actual: Int) -> Self {
/Users/admin/builder/spi-builder-workspace/Sources/WasmParser/WasmParser.swift:292:16: warning: static property 'sectionOutOfOrder' is not concurrency-safe because non-'Sendable' type 'WasmParserError.Message' may have shared mutable state; this is an error in the Swift 6 language mode
200 | public struct WasmParserError: Swift.Error {
201 | @usableFromInline
202 | struct Message {
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
203 | let text: String
204 |
:
290 | }
291 |
292 | static let sectionOutOfOrder = Self("Sections in the module are out of order")
| |- warning: static property 'sectionOutOfOrder' is not concurrency-safe because non-'Sendable' type 'WasmParserError.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sectionOutOfOrder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
293 |
294 | static func malformedLimit(_ byte: UInt8) -> Self {
/Users/admin/builder/spi-builder-workspace/Sources/WasmParser/WasmParser.swift:298:34: warning: static property 'malformedIndirectCall' is not concurrency-safe because non-'Sendable' type 'WasmParserError.Message' may have shared mutable state; this is an error in the Swift 6 language mode
200 | public struct WasmParserError: Swift.Error {
201 | @usableFromInline
202 | struct Message {
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
203 | let text: String
204 |
:
296 | }
297 |
298 | @usableFromInline static let malformedIndirectCall = Self("Malformed indirect call")
| |- warning: static property 'malformedIndirectCall' is not concurrency-safe because non-'Sendable' type 'WasmParserError.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'malformedIndirectCall' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
299 |
300 | static func malformedDataSegmentKind(_ kind: UInt32) -> Self {
[153/194] Compiling WASI File.swift
[154/194] Compiling WASI Entry.swift
[155/194] Compiling WASI PlatformTypes.swift
[160/194] Compiling WasmParser Stream.swift
/Users/admin/builder/spi-builder-workspace/Sources/WasmParser/Stream/Stream.swift:2:10: warning: associated value 'unexpectedEnd(expected:)' of 'Sendable'-conforming generic enum 'StreamError' has non-sendable type 'Element'; this is an error in the Swift 6 language mode
1 | enum StreamError<Element>: Swift.Error, Equatable where Element: Hashable {
| `- note: consider making generic parameter 'Element' conform to the 'Sendable' protocol
2 | case unexpectedEnd(expected: Set<Element>?)
| `- warning: associated value 'unexpectedEnd(expected:)' of 'Sendable'-conforming generic enum 'StreamError' has non-sendable type 'Element'; this is an error in the Swift 6 language mode
3 | case unexpected(Element, index: Int, expected: Set<Element>?)
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/WasmParser/Stream/Stream.swift:3:10: warning: associated value 'unexpected(_:index:expected:)' of 'Sendable'-conforming generic enum 'StreamError' has non-sendable type 'Element'; this is an error in the Swift 6 language mode
1 | enum StreamError<Element>: Swift.Error, Equatable where Element: Hashable {
| `- note: consider making generic parameter 'Element' conform to the 'Sendable' protocol
2 | case unexpectedEnd(expected: Set<Element>?)
3 | case unexpected(Element, index: Int, expected: Set<Element>?)
| `- warning: associated value 'unexpected(_:index:expected:)' of 'Sendable'-conforming generic enum 'StreamError' has non-sendable type 'Element'; this is an error in the Swift 6 language mode
4 | }
5 |
/Users/admin/builder/spi-builder-workspace/Sources/WasmParser/Stream/Stream.swift:3:10: warning: associated value 'unexpected(_:index:expected:)' of 'Sendable'-conforming generic enum 'StreamError' has non-sendable type 'Element'; this is an error in the Swift 6 language mode
1 | enum StreamError<Element>: Swift.Error, Equatable where Element: Hashable {
| `- note: consider making generic parameter 'Element' conform to the 'Sendable' protocol
2 | case unexpectedEnd(expected: Set<Element>?)
3 | case unexpected(Element, index: Int, expected: Set<Element>?)
| `- warning: associated value 'unexpected(_:index:expected:)' of 'Sendable'-conforming generic enum 'StreamError' has non-sendable type 'Element'; this is an error in the Swift 6 language mode
4 | }
5 |
[161/194] Compiling WasmParser WasmParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/WasmParser/WasmParser.swift:194:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'WasmFeatureSet' may have shared mutable state; this is an error in the Swift 6 language mode
175 |
176 | /// Flags for enabling/disabling WebAssembly features
177 | public struct WasmFeatureSet: OptionSet {
| `- note: consider making struct 'WasmFeatureSet' conform to the 'Sendable' protocol
178 | /// The raw value of the feature set
179 | public let rawValue: Int
:
192 |
193 | /// The default feature set
194 | public static let `default`: WasmFeatureSet = [.referenceTypes]
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'WasmFeatureSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
195 | /// The feature set with all features enabled
196 | public static let all: WasmFeatureSet = [.memory64, .referenceTypes, .threads]
/Users/admin/builder/spi-builder-workspace/Sources/WasmParser/WasmParser.swift:187:23: warning: static property 'memory64' is not concurrency-safe because non-'Sendable' type 'WasmFeatureSet' may have shared mutable state; this is an error in the Swift 6 language mode
175 |
176 | /// Flags for enabling/disabling WebAssembly features
177 | public struct WasmFeatureSet: OptionSet {
| `- note: consider making struct 'WasmFeatureSet' conform to the 'Sendable' protocol
178 | /// The raw value of the feature set
179 | public let rawValue: Int
:
185 |
186 | /// The WebAssembly memory64 proposal
187 | public static let memory64 = WasmFeatureSet(rawValue: 1 << 0)
| |- warning: static property 'memory64' is not concurrency-safe because non-'Sendable' type 'WasmFeatureSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'memory64' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
188 | /// The WebAssembly reference types proposal
189 | public static let referenceTypes = WasmFeatureSet(rawValue: 1 << 1)
/Users/admin/builder/spi-builder-workspace/Sources/WasmParser/WasmParser.swift:189:23: warning: static property 'referenceTypes' is not concurrency-safe because non-'Sendable' type 'WasmFeatureSet' may have shared mutable state; this is an error in the Swift 6 language mode
175 |
176 | /// Flags for enabling/disabling WebAssembly features
177 | public struct WasmFeatureSet: OptionSet {
| `- note: consider making struct 'WasmFeatureSet' conform to the 'Sendable' protocol
178 | /// The raw value of the feature set
179 | public let rawValue: Int
:
187 | public static let memory64 = WasmFeatureSet(rawValue: 1 << 0)
188 | /// The WebAssembly reference types proposal
189 | public static let referenceTypes = WasmFeatureSet(rawValue: 1 << 1)
| |- warning: static property 'referenceTypes' is not concurrency-safe because non-'Sendable' type 'WasmFeatureSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'referenceTypes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
190 | /// The WebAssembly threads proposal
191 | public static let threads = WasmFeatureSet(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/WasmParser/WasmParser.swift:191:23: warning: static property 'threads' is not concurrency-safe because non-'Sendable' type 'WasmFeatureSet' may have shared mutable state; this is an error in the Swift 6 language mode
175 |
176 | /// Flags for enabling/disabling WebAssembly features
177 | public struct WasmFeatureSet: OptionSet {
| `- note: consider making struct 'WasmFeatureSet' conform to the 'Sendable' protocol
178 | /// The raw value of the feature set
179 | public let rawValue: Int
:
189 | public static let referenceTypes = WasmFeatureSet(rawValue: 1 << 1)
190 | /// The WebAssembly threads proposal
191 | public static let threads = WasmFeatureSet(rawValue: 1 << 2)
| |- warning: static property 'threads' is not concurrency-safe because non-'Sendable' type 'WasmFeatureSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'threads' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
192 |
193 | /// The default feature set
/Users/admin/builder/spi-builder-workspace/Sources/WasmParser/WasmParser.swift:196:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'WasmFeatureSet' may have shared mutable state; this is an error in the Swift 6 language mode
175 |
176 | /// Flags for enabling/disabling WebAssembly features
177 | public struct WasmFeatureSet: OptionSet {
| `- note: consider making struct 'WasmFeatureSet' conform to the 'Sendable' protocol
178 | /// The raw value of the feature set
179 | public let rawValue: Int
:
194 | public static let `default`: WasmFeatureSet = [.referenceTypes]
195 | /// The feature set with all features enabled
196 | public static let all: WasmFeatureSet = [.memory64, .referenceTypes, .threads]
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'WasmFeatureSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
197 | }
198 |
/Users/admin/builder/spi-builder-workspace/Sources/WasmParser/WasmParser.swift:210:9: warning: stored property 'message' of 'Sendable'-conforming struct 'WasmParserError' has non-sendable type 'WasmParserError.Message'; this is an error in the Swift 6 language mode
200 | public struct WasmParserError: Swift.Error {
201 | @usableFromInline
202 | struct Message {
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
203 | let text: String
204 |
:
208 | }
209 |
210 | let message: Message
| `- warning: stored property 'message' of 'Sendable'-conforming struct 'WasmParserError' has non-sendable type 'WasmParserError.Message'; this is an error in the Swift 6 language mode
211 | let offset: Int
212 |
/Users/admin/builder/spi-builder-workspace/Sources/WasmParser/WasmParser.swift:269:16: warning: static property 'integerRepresentationTooLong' is not concurrency-safe because non-'Sendable' type 'WasmParserError.Message' may have shared mutable state; this is an error in the Swift 6 language mode
200 | public struct WasmParserError: Swift.Error {
201 | @usableFromInline
202 | struct Message {
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
203 | let text: String
204 |
:
267 | }
268 |
269 | static let integerRepresentationTooLong = Self("Integer representation is too long")
| |- warning: static property 'integerRepresentationTooLong' is not concurrency-safe because non-'Sendable' type 'WasmParserError.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'integerRepresentationTooLong' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
270 |
271 | @usableFromInline
/Users/admin/builder/spi-builder-workspace/Sources/WasmParser/WasmParser.swift:272:16: warning: static property 'endOpcodeExpected' is not concurrency-safe because non-'Sendable' type 'WasmParserError.Message' may have shared mutable state; this is an error in the Swift 6 language mode
200 | public struct WasmParserError: Swift.Error {
201 | @usableFromInline
202 | struct Message {
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
203 | let text: String
204 |
:
270 |
271 | @usableFromInline
272 | static let endOpcodeExpected = Self("`end` opcode expected but not found")
| |- warning: static property 'endOpcodeExpected' is not concurrency-safe because non-'Sendable' type 'WasmParserError.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'endOpcodeExpected' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
273 |
274 | static let unexpectedEnd = Self("Unexpected end of the stream")
/Users/admin/builder/spi-builder-workspace/Sources/WasmParser/WasmParser.swift:274:16: warning: static property 'unexpectedEnd' is not concurrency-safe because non-'Sendable' type 'WasmParserError.Message' may have shared mutable state; this is an error in the Swift 6 language mode
200 | public struct WasmParserError: Swift.Error {
201 | @usableFromInline
202 | struct Message {
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
203 | let text: String
204 |
:
272 | static let endOpcodeExpected = Self("`end` opcode expected but not found")
273 |
274 | static let unexpectedEnd = Self("Unexpected end of the stream")
| |- warning: static property 'unexpectedEnd' is not concurrency-safe because non-'Sendable' type 'WasmParserError.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unexpectedEnd' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
275 |
276 | static func sectionSizeMismatch(expected: Int, actual: Int) -> Self {
/Users/admin/builder/spi-builder-workspace/Sources/WasmParser/WasmParser.swift:292:16: warning: static property 'sectionOutOfOrder' is not concurrency-safe because non-'Sendable' type 'WasmParserError.Message' may have shared mutable state; this is an error in the Swift 6 language mode
200 | public struct WasmParserError: Swift.Error {
201 | @usableFromInline
202 | struct Message {
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
203 | let text: String
204 |
:
290 | }
291 |
292 | static let sectionOutOfOrder = Self("Sections in the module are out of order")
| |- warning: static property 'sectionOutOfOrder' is not concurrency-safe because non-'Sendable' type 'WasmParserError.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sectionOutOfOrder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
293 |
294 | static func malformedLimit(_ byte: UInt8) -> Self {
/Users/admin/builder/spi-builder-workspace/Sources/WasmParser/WasmParser.swift:298:34: warning: static property 'malformedIndirectCall' is not concurrency-safe because non-'Sendable' type 'WasmParserError.Message' may have shared mutable state; this is an error in the Swift 6 language mode
200 | public struct WasmParserError: Swift.Error {
201 | @usableFromInline
202 | struct Message {
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
203 | let text: String
204 |
:
296 | }
297 |
298 | @usableFromInline static let malformedIndirectCall = Self("Malformed indirect call")
| |- warning: static property 'malformedIndirectCall' is not concurrency-safe because non-'Sendable' type 'WasmParserError.Message' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'malformedIndirectCall' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
299 |
300 | static func malformedDataSegmentKind(_ kind: UInt32) -> Self {
[162/194] Emitting module WASI
[163/237] Compiling WasmKit CanonicalCall.swift
[164/237] Compiling WasmKit CanonicalLifting.swift
[165/237] Compiling WasmKit CanonicalLowering.swift
[166/239] Compiling WasmKit StoreAllocator.swift
[167/239] Compiling WasmKit UntypedValue.swift
[168/239] Compiling WasmKit Runtime.swift
[169/239] Compiling WasmKit SignpostTracer.swift
[170/239] Compiling WasmKit Store.swift
[171/239] Compiling WasmKit CanonicalOptions.swift
[172/239] Compiling WasmKit IO.swift
[173/239] Compiling WasmKit Execution.swift
[174/239] Compiling WasmKit Function.swift
[175/239] Compiling WasmKit Table.swift
[176/239] Compiling WasmKit EngineInterceptor.swift
[177/239] Compiling WasmKit Errors.swift
[178/239] Compiling WasmKit Instances.swift
[179/239] Compiling WasmKit Control.swift
[180/239] Compiling WasmKit Instruction.swift
[181/239] Compiling WasmKit NameRegistry.swift
[182/239] Compiling WasmKit Profiler.swift
[183/239] Compiling WasmKit ComponentTypes.swift
[184/239] Compiling WasmKit Engine.swift
[185/239] Compiling WasmKit ConstEvaluation.swift
[186/239] Compiling WasmKit DispatchInstruction.swift
[187/239] Compiling WITOverlayGenerator TypeGenerator.swift
[188/239] Compiling WITOverlayGenerator WITOverlayGen.swift
[189/239] Emitting module WITOverlayGenerator
[190/242] Compiling WAT ExpressionParser.swift
[191/242] Compiling WAT WastParser.swift
[192/242] Compiling WAT Lexer.swift
[193/242] Compiling WAT Parser.swift
/Users/admin/builder/spi-builder-workspace/Sources/WAT/Parser.swift:340:16: warning: stored property 'location' of 'Sendable'-conforming struct 'WatParserError' has non-sendable type 'Location?'; this is an error in the Swift 6 language mode
338 | public struct WatParserError: Error, CustomStringConvertible {
339 | public let message: String
340 | public let location: Location?
| `- warning: stored property 'location' of 'Sendable'-conforming struct 'WatParserError' has non-sendable type 'Location?'; this is an error in the Swift 6 language mode
341 |
342 | public var description: String {
/Users/admin/builder/spi-builder-workspace/Sources/WAT/Location.swift:2:15: note: consider making struct 'Location' conform to the 'Sendable' protocol
1 | /// A location in a WAT source file.
2 | public struct Location: Equatable, CustomDebugStringConvertible {
| `- note: consider making struct 'Location' conform to the 'Sendable' protocol
3 | let index: Lexer.Index
4 | let source: String.UnicodeScalarView
[194/242] Compiling WAT NameMapping.swift
[195/242] Compiling WAT Location.swift
[196/242] Compiling WAT ParseInstruction.swift
[197/242] Compiling WAT WatParser.swift
[201/246] Emitting module WITTool
[204/246] Emitting module WAT
/Users/admin/builder/spi-builder-workspace/Sources/WAT/Parser.swift:340:16: warning: stored property 'location' of 'Sendable'-conforming struct 'WatParserError' has non-sendable type 'Location?'; this is an error in the Swift 6 language mode
338 | public struct WatParserError: Error, CustomStringConvertible {
339 | public let message: String
340 | public let location: Location?
| `- warning: stored property 'location' of 'Sendable'-conforming struct 'WatParserError' has non-sendable type 'Location?'; this is an error in the Swift 6 language mode
341 |
342 | public var description: String {
/Users/admin/builder/spi-builder-workspace/Sources/WAT/Location.swift:2:15: note: consider making struct 'Location' conform to the 'Sendable' protocol
1 | /// A location in a WAT source file.
2 | public struct Location: Equatable, CustomDebugStringConvertible {
| `- note: consider making struct 'Location' conform to the 'Sendable' protocol
3 | let index: Lexer.Index
4 | let source: String.UnicodeScalarView
/Users/admin/builder/spi-builder-workspace/Sources/WAT/WAT.swift:9:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EncodeOptions' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Options for encoding a WebAssembly module into a binary format.
4 | public struct EncodeOptions {
| `- note: consider making struct 'EncodeOptions' conform to the 'Sendable' protocol
5 | /// Whether to include the name section.
6 | public var nameSection: Bool
7 |
8 | /// The default encoding options.
9 | public static let `default` = EncodeOptions()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EncodeOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 | /// Creates a new encoding options instance.
[205/246] Compiling WASI WASI.swift
[210/246] Compiling WAT WAT.swift
/Users/admin/builder/spi-builder-workspace/Sources/WAT/WAT.swift:9:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EncodeOptions' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Options for encoding a WebAssembly module into a binary format.
4 | public struct EncodeOptions {
| `- note: consider making struct 'EncodeOptions' conform to the 'Sendable' protocol
5 | /// Whether to include the name section.
6 | public var nameSection: Bool
7 |
8 | /// The default encoding options.
9 | public static let `default` = EncodeOptions()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EncodeOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 | /// Creates a new encoding options instance.
[211/246] Compiling WasmKit Imports.swift
[212/246] Compiling WasmKit Module.swift
[213/246] Compiling WasmKit ModuleParser.swift
[215/246] Compiling WasmKit Memory.swift
[216/246] Compiling WasmKit Misc.swift
<unknown>:0: warning: cannot form key path that captures non-sendable type 'KeyPath<GlobalEntity, Value>'; this is an error in the Swift 6 language mode
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | @objc deinit
3 | }
<unknown>:0: warning: cannot form key path that captures non-sendable type 'KeyPath<GlobalEntity, Value>'; this is an error in the Swift 6 language mode
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | @objc deinit
3 | }
<unknown>:0: warning: cannot form key path that captures non-sendable type 'KeyPath<GlobalEntity, Value>'; this is an error in the Swift 6 language mode
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | @objc deinit
3 | }
[220/246] Compiling WITTool Utilities.swift
[221/246] Compiling WITTool WITTool.swift
[221/246] Write Objects.LinkFileList
[223/246] Emitting module WasmKit
/Users/admin/builder/spi-builder-workspace/Sources/WasmKit/Component/ComponentTypes.swift:4:16: warning: stored property 'content' of 'Sendable'-conforming generic struct 'ComponentError' has non-sendable type 'Content'; this is an error in the Swift 6 language mode
1 | /// Error type raised from Component Model operations
2 | public struct ComponentError<Content>: Error {
| `- note: consider making generic parameter 'Content' conform to the 'Sendable' protocol
3 | /// The content of the error
4 | public let content: Content
| `- warning: stored property 'content' of 'Sendable'-conforming generic struct 'ComponentError' has non-sendable type 'Content'; this is an error in the Swift 6 language mode
5 |
6 | /// Initialize a new error with the given content
/Users/admin/builder/spi-builder-workspace/Sources/WasmKit/Execution/Errors.swift:34:22: warning: stored property 'backtrace' of 'Sendable'-conforming struct 'Trap' has non-sendable type 'Backtrace?'; this is an error in the Swift 6 language mode
4 |
5 | /// The backtrace of the trap.
6 | struct Backtrace: CustomStringConvertible {
| `- note: consider making struct 'Backtrace' conform to the 'Sendable' protocol
7 | /// A symbol in the backtrace.
8 | struct Symbol {
:
32 |
33 | /// The backtrace of the trap.
34 | private(set) var backtrace: Backtrace?
| `- warning: stored property 'backtrace' of 'Sendable'-conforming struct 'Trap' has non-sendable type 'Backtrace?'; this is an error in the Swift 6 language mode
35 |
36 | init(_ code: TrapReason, backtrace: Backtrace? = nil) {
/Users/admin/builder/spi-builder-workspace/Sources/WasmKit/Execution/Errors.swift:85:10: warning: associated value 'typeMismatchCall(actual:expected:)' of 'Sendable'-conforming enum 'TrapReason' has non-sendable type 'FunctionType'; this is an error in the Swift 6 language mode
83 | case indirectCallToNull(Int)
84 | /// Indirect call type mismatch
85 | case typeMismatchCall(actual: FunctionType, expected: FunctionType)
| `- warning: associated value 'typeMismatchCall(actual:expected:)' of 'Sendable'-conforming enum 'TrapReason' has non-sendable type 'FunctionType'; this is an error in the Swift 6 language mode
86 | /// Integer divided by zero
87 | case integerDividedByZero
/Users/admin/builder/spi-builder-workspace/Sources/WasmTypes/WasmTypes.swift:5:15: note: struct 'FunctionType' does not conform to the 'Sendable' protocol
3 | /// > Note:
4 | /// <https://webassembly.github.io/spec/core/syntax/types.html#function-types>
5 | public struct FunctionType: Equatable, Hashable {
| `- note: struct 'FunctionType' does not conform to the 'Sendable' protocol
6 | public init(parameters: [ValueType], results: [ValueType] = []) {
7 | self.parameters = parameters
/Users/admin/builder/spi-builder-workspace/Sources/WasmKit/Execution/Errors.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'WasmTypes'
1 | import WasmTypes
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'WasmTypes'
2 |
3 | import struct WasmParser.Import
/Users/admin/builder/spi-builder-workspace/Sources/WasmKit/Execution/Errors.swift:85:10: warning: associated value 'typeMismatchCall(actual:expected:)' of 'Sendable'-conforming enum 'TrapReason' has non-sendable type 'FunctionType'; this is an error in the Swift 6 language mode
83 | case indirectCallToNull(Int)
84 | /// Indirect call type mismatch
85 | case typeMismatchCall(actual: FunctionType, expected: FunctionType)
| `- warning: associated value 'typeMismatchCall(actual:expected:)' of 'Sendable'-conforming enum 'TrapReason' has non-sendable type 'FunctionType'; this is an error in the Swift 6 language mode
86 | /// Integer divided by zero
87 | case integerDividedByZero
/Users/admin/builder/spi-builder-workspace/Sources/WasmTypes/WasmTypes.swift:5:15: note: struct 'FunctionType' does not conform to the 'Sendable' protocol
3 | /// > Note:
4 | /// <https://webassembly.github.io/spec/core/syntax/types.html#function-types>
5 | public struct FunctionType: Equatable, Hashable {
| `- note: struct 'FunctionType' does not conform to the 'Sendable' protocol
6 | public init(parameters: [ValueType], results: [ValueType] = []) {
7 | self.parameters = parameters
[223/246] Linking WITTool
[224/246] Applying WITTool
/Users/admin/builder/spi-builder-workspace/Sources/WasmKit/Execution/Errors.swift:34:22: warning: stored property 'backtrace' of 'Sendable'-conforming struct 'Trap' has non-sendable type 'Backtrace?'; this is an error in the Swift 6 language mode
4 |
5 | /// The backtrace of the trap.
6 | struct Backtrace: CustomStringConvertible {
| `- note: consider making struct 'Backtrace' conform to the 'Sendable' protocol
7 | /// A symbol in the backtrace.
8 | struct Symbol {
:
32 |
33 | /// The backtrace of the trap.
34 | private(set) var backtrace: Backtrace?
| `- warning: stored property 'backtrace' of 'Sendable'-conforming struct 'Trap' has non-sendable type 'Backtrace?'; this is an error in the Swift 6 language mode
35 |
36 | init(_ code: TrapReason, backtrace: Backtrace? = nil) {
/Users/admin/builder/spi-builder-workspace/Sources/WasmKit/Execution/Errors.swift:85:10: warning: associated value 'typeMismatchCall(actual:expected:)' of 'Sendable'-conforming enum 'TrapReason' has non-sendable type 'FunctionType'; this is an error in the Swift 6 language mode
83 | case indirectCallToNull(Int)
84 | /// Indirect call type mismatch
85 | case typeMismatchCall(actual: FunctionType, expected: FunctionType)
| `- warning: associated value 'typeMismatchCall(actual:expected:)' of 'Sendable'-conforming enum 'TrapReason' has non-sendable type 'FunctionType'; this is an error in the Swift 6 language mode
86 | /// Integer divided by zero
87 | case integerDividedByZero
/Users/admin/builder/spi-builder-workspace/Sources/WasmTypes/WasmTypes.swift:5:15: note: struct 'FunctionType' does not conform to the 'Sendable' protocol
3 | /// > Note:
4 | /// <https://webassembly.github.io/spec/core/syntax/types.html#function-types>
5 | public struct FunctionType: Equatable, Hashable {
| `- note: struct 'FunctionType' does not conform to the 'Sendable' protocol
6 | public init(parameters: [ValueType], results: [ValueType] = []) {
7 | self.parameters = parameters
/Users/admin/builder/spi-builder-workspace/Sources/WasmKit/Execution/Errors.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'WasmTypes'
1 | import WasmTypes
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'WasmTypes'
2 |
3 | import struct WasmParser.Import
/Users/admin/builder/spi-builder-workspace/Sources/WasmKit/Execution/Errors.swift:85:10: warning: associated value 'typeMismatchCall(actual:expected:)' of 'Sendable'-conforming enum 'TrapReason' has non-sendable type 'FunctionType'; this is an error in the Swift 6 language mode
83 | case indirectCallToNull(Int)
84 | /// Indirect call type mismatch
85 | case typeMismatchCall(actual: FunctionType, expected: FunctionType)
| `- warning: associated value 'typeMismatchCall(actual:expected:)' of 'Sendable'-conforming enum 'TrapReason' has non-sendable type 'FunctionType'; this is an error in the Swift 6 language mode
86 | /// Integer divided by zero
87 | case integerDividedByZero
/Users/admin/builder/spi-builder-workspace/Sources/WasmTypes/WasmTypes.swift:5:15: note: struct 'FunctionType' does not conform to the 'Sendable' protocol
3 | /// > Note:
4 | /// <https://webassembly.github.io/spec/core/syntax/types.html#function-types>
5 | public struct FunctionType: Equatable, Hashable {
| `- note: struct 'FunctionType' does not conform to the 'Sendable' protocol
6 | public init(parameters: [ValueType], results: [ValueType] = []) {
7 | self.parameters = parameters
/Users/admin/builder/spi-builder-workspace/Sources/WasmKit/Execution/Errors.swift:34:22: warning: stored property 'backtrace' of 'Sendable'-conforming struct 'Trap' has non-sendable type 'Backtrace?'; this is an error in the Swift 6 language mode
4 |
5 | /// The backtrace of the trap.
6 | struct Backtrace: CustomStringConvertible {
| `- note: consider making struct 'Backtrace' conform to the 'Sendable' protocol
7 | /// A symbol in the backtrace.
8 | struct Symbol {
:
32 |
33 | /// The backtrace of the trap.
34 | private(set) var backtrace: Backtrace?
| `- warning: stored property 'backtrace' of 'Sendable'-conforming struct 'Trap' has non-sendable type 'Backtrace?'; this is an error in the Swift 6 language mode
35 |
36 | init(_ code: TrapReason, backtrace: Backtrace? = nil) {
/Users/admin/builder/spi-builder-workspace/Sources/WasmKit/Execution/Errors.swift:85:10: warning: associated value 'typeMismatchCall(actual:expected:)' of 'Sendable'-conforming enum 'TrapReason' has non-sendable type 'FunctionType'; this is an error in the Swift 6 language mode
83 | case indirectCallToNull(Int)
84 | /// Indirect call type mismatch
85 | case typeMismatchCall(actual: FunctionType, expected: FunctionType)
| `- warning: associated value 'typeMismatchCall(actual:expected:)' of 'Sendable'-conforming enum 'TrapReason' has non-sendable type 'FunctionType'; this is an error in the Swift 6 language mode
86 | /// Integer divided by zero
87 | case integerDividedByZero
/Users/admin/builder/spi-builder-workspace/Sources/WasmTypes/WasmTypes.swift:5:15: note: struct 'FunctionType' does not conform to the 'Sendable' protocol
3 | /// > Note:
4 | /// <https://webassembly.github.io/spec/core/syntax/types.html#function-types>
5 | public struct FunctionType: Equatable, Hashable {
| `- note: struct 'FunctionType' does not conform to the 'Sendable' protocol
6 | public init(parameters: [ValueType], results: [ValueType] = []) {
7 | self.parameters = parameters
/Users/admin/builder/spi-builder-workspace/Sources/WasmKit/Execution/Errors.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'WasmTypes'
1 | import WasmTypes
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'WasmTypes'
2 |
3 | import struct WasmParser.Import
/Users/admin/builder/spi-builder-workspace/Sources/WasmKit/Execution/Errors.swift:85:10: warning: associated value 'typeMismatchCall(actual:expected:)' of 'Sendable'-conforming enum 'TrapReason' has non-sendable type 'FunctionType'; this is an error in the Swift 6 language mode
83 | case indirectCallToNull(Int)
84 | /// Indirect call type mismatch
85 | case typeMismatchCall(actual: FunctionType, expected: FunctionType)
| `- warning: associated value 'typeMismatchCall(actual:expected:)' of 'Sendable'-conforming enum 'TrapReason' has non-sendable type 'FunctionType'; this is an error in the Swift 6 language mode
86 | /// Integer divided by zero
87 | case integerDividedByZero
/Users/admin/builder/spi-builder-workspace/Sources/WasmTypes/WasmTypes.swift:5:15: note: struct 'FunctionType' does not conform to the 'Sendable' protocol
3 | /// > Note:
4 | /// <https://webassembly.github.io/spec/core/syntax/types.html#function-types>
5 | public struct FunctionType: Equatable, Hashable {
| `- note: struct 'FunctionType' does not conform to the 'Sendable' protocol
6 | public init(parameters: [ValueType], results: [ValueType] = []) {
7 | self.parameters = parameters
/Users/admin/builder/spi-builder-workspace/Sources/WasmKit/Execution/Errors.swift:34:22: warning: stored property 'backtrace' of 'Sendable'-conforming struct 'Trap' has non-sendable type 'Backtrace?'; this is an error in the Swift 6 language mode
4 |
5 | /// The backtrace of the trap.
6 | struct Backtrace: CustomStringConvertible {
| `- note: consider making struct 'Backtrace' conform to the 'Sendable' protocol
7 | /// A symbol in the backtrace.
8 | struct Symbol {
:
32 |
33 | /// The backtrace of the trap.
34 | private(set) var backtrace: Backtrace?
| `- warning: stored property 'backtrace' of 'Sendable'-conforming struct 'Trap' has non-sendable type 'Backtrace?'; this is an error in the Swift 6 language mode
35 |
36 | init(_ code: TrapReason, backtrace: Backtrace? = nil) {
/Users/admin/builder/spi-builder-workspace/Sources/WasmKit/Execution/Errors.swift:85:10: warning: associated value 'typeMismatchCall(actual:expected:)' of 'Sendable'-conforming enum 'TrapReason' has non-sendable type 'FunctionType'; this is an error in the Swift 6 language mode
83 | case indirectCallToNull(Int)
84 | /// Indirect call type mismatch
85 | case typeMismatchCall(actual: FunctionType, expected: FunctionType)
| `- warning: associated value 'typeMismatchCall(actual:expected:)' of 'Sendable'-conforming enum 'TrapReason' has non-sendable type 'FunctionType'; this is an error in the Swift 6 language mode
86 | /// Integer divided by zero
87 | case integerDividedByZero
/Users/admin/builder/spi-builder-workspace/Sources/WasmTypes/WasmTypes.swift:5:15: note: struct 'FunctionType' does not conform to the 'Sendable' protocol
3 | /// > Note:
4 | /// <https://webassembly.github.io/spec/core/syntax/types.html#function-types>
5 | public struct FunctionType: Equatable, Hashable {
| `- note: struct 'FunctionType' does not conform to the 'Sendable' protocol
6 | public init(parameters: [ValueType], results: [ValueType] = []) {
7 | self.parameters = parameters
/Users/admin/builder/spi-builder-workspace/Sources/WasmKit/Execution/Errors.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'WasmTypes'
1 | import WasmTypes
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'WasmTypes'
2 |
3 | import struct WasmParser.Import
/Users/admin/builder/spi-builder-workspace/Sources/WasmKit/Execution/Errors.swift:85:10: warning: associated value 'typeMismatchCall(actual:expected:)' of 'Sendable'-conforming enum 'TrapReason' has non-sendable type 'FunctionType'; this is an error in the Swift 6 language mode
83 | case indirectCallToNull(Int)
84 | /// Indirect call type mismatch
85 | case typeMismatchCall(actual: FunctionType, expected: FunctionType)
| `- warning: associated value 'typeMismatchCall(actual:expected:)' of 'Sendable'-conforming enum 'TrapReason' has non-sendable type 'FunctionType'; this is an error in the Swift 6 language mode
86 | /// Integer divided by zero
87 | case integerDividedByZero
/Users/admin/builder/spi-builder-workspace/Sources/WasmTypes/WasmTypes.swift:5:15: note: struct 'FunctionType' does not conform to the 'Sendable' protocol
3 | /// > Note:
4 | /// <https://webassembly.github.io/spec/core/syntax/types.html#function-types>
5 | public struct FunctionType: Equatable, Hashable {
| `- note: struct 'FunctionType' does not conform to the 'Sendable' protocol
6 | public init(parameters: [ValueType], results: [ValueType] = []) {
7 | self.parameters = parameters
/Users/admin/builder/spi-builder-workspace/Sources/WasmKit/Execution/Errors.swift:34:22: warning: stored property 'backtrace' of 'Sendable'-conforming struct 'Trap' has non-sendable type 'Backtrace?'; this is an error in the Swift 6 language mode
4 |
5 | /// The backtrace of the trap.
6 | struct Backtrace: CustomStringConvertible {
| `- note: consider making struct 'Backtrace' conform to the 'Sendable' protocol
7 | /// A symbol in the backtrace.
8 | struct Symbol {
:
32 |
33 | /// The backtrace of the trap.
34 | private(set) var backtrace: Backtrace?
| `- warning: stored property 'backtrace' of 'Sendable'-conforming struct 'Trap' has non-sendable type 'Backtrace?'; this is an error in the Swift 6 language mode
35 |
36 | init(_ code: TrapReason, backtrace: Backtrace? = nil) {
/Users/admin/builder/spi-builder-workspace/Sources/WasmKit/Execution/Errors.swift:85:10: warning: associated value 'typeMismatchCall(actual:expected:)' of 'Sendable'-conforming enum 'TrapReason' has non-sendable type 'FunctionType'; this is an error in the Swift 6 language mode
83 | case indirectCallToNull(Int)
84 | /// Indirect call type mismatch
85 | case typeMismatchCall(actual: FunctionType, expected: FunctionType)
| `- warning: associated value 'typeMismatchCall(actual:expected:)' of 'Sendable'-conforming enum 'TrapReason' has non-sendable type 'FunctionType'; this is an error in the Swift 6 language mode
86 | /// Integer divided by zero
87 | case integerDividedByZero
/Users/admin/builder/spi-builder-workspace/Sources/WasmTypes/WasmTypes.swift:5:15: note: struct 'FunctionType' does not conform to the 'Sendable' protocol
3 | /// > Note:
4 | /// <https://webassembly.github.io/spec/core/syntax/types.html#function-types>
5 | public struct FunctionType: Equatable, Hashable {
| `- note: struct 'FunctionType' does not conform to the 'Sendable' protocol
6 | public init(parameters: [ValueType], results: [ValueType] = []) {
7 | self.parameters = parameters
/Users/admin/builder/spi-builder-workspace/Sources/WasmKit/Execution/Errors.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'WasmTypes'
1 | import WasmTypes
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'WasmTypes'
2 |
3 | import struct WasmParser.Import
/Users/admin/builder/spi-builder-workspace/Sources/WasmKit/Execution/Errors.swift:85:10: warning: associated value 'typeMismatchCall(actual:expected:)' of 'Sendable'-conforming enum 'TrapReason' has non-sendable type 'FunctionType'; this is an error in the Swift 6 language mode
83 | case indirectCallToNull(Int)
84 | /// Indirect call type mismatch
85 | case typeMismatchCall(actual: FunctionType, expected: FunctionType)
| `- warning: associated value 'typeMismatchCall(actual:expected:)' of 'Sendable'-conforming enum 'TrapReason' has non-sendable type 'FunctionType'; this is an error in the Swift 6 language mode
86 | /// Integer divided by zero
87 | case integerDividedByZero
/Users/admin/builder/spi-builder-workspace/Sources/WasmTypes/WasmTypes.swift:5:15: note: struct 'FunctionType' does not conform to the 'Sendable' protocol
3 | /// > Note:
4 | /// <https://webassembly.github.io/spec/core/syntax/types.html#function-types>
5 | public struct FunctionType: Equatable, Hashable {
| `- note: struct 'FunctionType' does not conform to the 'Sendable' protocol
6 | public init(parameters: [ValueType], results: [ValueType] = []) {
7 | self.parameters = parameters
/Users/admin/builder/spi-builder-workspace/Sources/WasmKit/Component/ComponentTypes.swift:4:16: warning: stored property 'content' of 'Sendable'-conforming generic struct 'ComponentError' has non-sendable type 'Content'; this is an error in the Swift 6 language mode
1 | /// Error type raised from Component Model operations
2 | public struct ComponentError<Content>: Error {
| `- note: consider making generic parameter 'Content' conform to the 'Sendable' protocol
3 | /// The content of the error
4 | public let content: Content
| `- warning: stored property 'content' of 'Sendable'-conforming generic struct 'ComponentError' has non-sendable type 'Content'; this is an error in the Swift 6 language mode
5 |
6 | /// Initialize a new error with the given content
/Users/admin/builder/spi-builder-workspace/Sources/WasmKit/Component/ComponentTypes.swift:4:16: warning: stored property 'content' of 'Sendable'-conforming generic struct 'ComponentError' has non-sendable type 'Content'; this is an error in the Swift 6 language mode
1 | /// Error type raised from Component Model operations
2 | public struct ComponentError<Content>: Error {
| `- note: consider making generic parameter 'Content' conform to the 'Sendable' protocol
3 | /// The content of the error
4 | public let content: Content
| `- warning: stored property 'content' of 'Sendable'-conforming generic struct 'ComponentError' has non-sendable type 'Content'; this is an error in the Swift 6 language mode
5 |
6 | /// Initialize a new error with the given content
/Users/admin/builder/spi-builder-workspace/Sources/WasmKit/Component/ComponentTypes.swift:4:16: warning: stored property 'content' of 'Sendable'-conforming generic struct 'ComponentError' has non-sendable type 'Content'; this is an error in the Swift 6 language mode
1 | /// Error type raised from Component Model operations
2 | public struct ComponentError<Content>: Error {
| `- note: consider making generic parameter 'Content' conform to the 'Sendable' protocol
3 | /// The content of the error
4 | public let content: Content
| `- warning: stored property 'content' of 'Sendable'-conforming generic struct 'ComponentError' has non-sendable type 'Content'; this is an error in the Swift 6 language mode
5 |
6 | /// Initialize a new error with the given content
/Users/admin/builder/spi-builder-workspace/Sources/WasmKit/Component/ComponentTypes.swift:4:16: warning: stored property 'content' of 'Sendable'-conforming generic struct 'ComponentError' has non-sendable type 'Content'; this is an error in the Swift 6 language mode
1 | /// Error type raised from Component Model operations
2 | public struct ComponentError<Content>: Error {
| `- note: consider making generic parameter 'Content' conform to the 'Sendable' protocol
3 | /// The content of the error
4 | public let content: Content
| `- warning: stored property 'content' of 'Sendable'-conforming generic struct 'ComponentError' has non-sendable type 'Content'; this is an error in the Swift 6 language mode
5 |
6 | /// Initialize a new error with the given content
[241/246] Compiling WasmKit ResourceLimiter.swift
[242/246] Compiling WasmKit Translator.swift
[243/246] Compiling WasmKit Validator.swift
[244/248] Compiling WasmKitWASI WASIBridgeToHost+WasmKit.swift
[245/248] Emitting module WasmKitWASI
[246/252] Compiling CLI Explore.swift
[247/252] Emitting module CLI
[248/252] Compiling CLI Run.swift
[249/252] Compiling CLI CLI.swift
[249/252] Write Objects.LinkFileList
[250/252] Linking wasmkit-cli
[251/252] Applying wasmkit-cli
Build complete! (44.13s)
Build complete.
{
"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" : "1.4.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-system"
}
],
"manifest_display_name" : "WasmKit",
"name" : "WasmKit",
"path" : "/Users/admin/builder/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" : [
"InstructionCode.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"
],
"type" : "test"
},
{
"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" : [
"WAT"
],
"sources" : [
"Encoder.swift",
"InstructionEncoder.swift",
"Lexer.swift",
"Location.swift",
"NameMapping.swift",
"ParseInstruction.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"
],
"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/Run.swift"
],
"target_dependencies" : [
"WasmKit",
"WasmKitWASI"
],
"type" : "executable"
}
],
"tools_version" : "5.8"
}
✅ Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path: $PWD/.docs/swiftwasm/wasmkit/0.1.2
Repository: swiftwasm/WasmKit
Swift version used: 6.0
Target: WasmKit
Extracting symbol information for 'WasmKit'...
Finished extracting symbol information for 'WasmKit'. (4.45s)
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: 'GuestMemory' doesn't exist at '/WasmKit'
--> Docs.md:113:5-113:16
111 | - ``Imports``
112 | - ``Caller``
113 + - ``GuestMemory``
| ╰─suggestion: Replace 'GuestMemory' with 'WasmKitGuestMemory'
114 | - ``UnsafeGuestPointer``
115 | - ``UnsafeGuestRawPointer``
warning: 'UnsafeGuestPointer' doesn't exist at '/WasmKit'
--> Docs.md:114:5-114:23
112 | - ``Caller``
113 | - ``GuestMemory``
114 + - ``UnsafeGuestPointer``
115 | - ``UnsafeGuestRawPointer``
116 | - ``UnsafeGuestBufferPointer``
warning: 'UnsafeGuestRawPointer' doesn't exist at '/WasmKit'
--> Docs.md:115:5-115:26
113 | - ``GuestMemory``
114 | - ``UnsafeGuestPointer``
115 + - ``UnsafeGuestRawPointer``
116 | - ``UnsafeGuestBufferPointer``
117 | - ``GuestPointee``
warning: 'UnsafeGuestBufferPointer' doesn't exist at '/WasmKit'
--> Docs.md:116:5-116:29
114 | - ``UnsafeGuestPointer``
115 | - ``UnsafeGuestRawPointer``
116 + - ``UnsafeGuestBufferPointer``
117 | - ``GuestPointee``
118 | - ``GuestPrimitivePointee``
warning: 'GuestPointee' doesn't exist at '/WasmKit'
--> Docs.md:117:5-117:17
115 | - ``UnsafeGuestRawPointer``
116 | - ``UnsafeGuestBufferPointer``
117 + - ``GuestPointee``
118 | - ``GuestPrimitivePointee``
119 |
warning: 'GuestPrimitivePointee' doesn't exist at '/WasmKit'
--> Docs.md:118:5-118:26
116 | - ``UnsafeGuestBufferPointer``
117 | - ``GuestPointee``
118 + - ``GuestPrimitivePointee``
119 |
120 | ### Component Model
warning: Parameter 'compilationMode' is missing documentation
--> ../Engine.swift:91:39-91:39
89 | /// - Parameter threadingModel: The threading model to use for the virtual
90 | /// machine interpreter. If `nil`, the default threading model for the
91 + /// current platform will be used.
| ╰─suggestion: Document 'compilationMode' parameter
92 | public init(threadingModel: ThreadingModel? = nil, compilationMode: CompilationMode? = nil, stackSize: Int? = nil) {
93 | self.threadingModel = threadingModel ?? .defaultForCurrentPlatform
warning: Parameter 'stackSize' is missing documentation
--> ../Engine.swift:91:39-91:39
89 | /// - Parameter threadingModel: The threading model to use for the virtual
90 | /// machine interpreter. If `nil`, the default threading model for the
91 + /// current platform will be used.
| ╰─suggestion: Document 'stackSize' parameter
92 | public init(threadingModel: ThreadingModel? = nil, compilationMode: CompilationMode? = nil, stackSize: Int? = nil) {
93 | self.threadingModel = threadingModel ?? .defaultForCurrentPlatformFinished building documentation for 'WasmKit' (0.23s)
Generated documentation archive at:
/Users/admin/builder/spi-builder-workspace/.docs/swiftwasm/wasmkit/0.1.2
Fetching https://github.com/swiftlang/swift-docc-plugin
Updating https://github.com/apple/swift-argument-parser
Updated https://github.com/apple/swift-argument-parser (0.56s)
[1/2038] Fetching swift-docc-plugin
Updating https://github.com/apple/swift-system
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.27s)
Updated https://github.com/apple/swift-system (0.55s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.3.2 (0.48s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (0.52s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.3 (0.68s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3153] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.33s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.69s)
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
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.3
Building for debugging...
[0/4] Write swift-version--7754E27361AE5C74.txt
[2/39] Emitting module ArgumentParserToolInfo
[3/39] Compiling ArgumentParserToolInfo ToolInfo.swift
[4/39] Compiling WITExtractor SourceSummary.swift
[5/78] Compiling ArgumentParser CommandParser.swift
[6/78] Compiling ArgumentParser InputKey.swift
[7/80] Compiling ArgumentParser ArgumentDefinition.swift
[8/80] Compiling ArgumentParser ArgumentSet.swift
[9/80] Compiling ArgumentParser DumpHelpGenerator.swift
[10/80] Compiling ArgumentParser HelpCommand.swift
[11/80] Compiling WITExtractor ModuleTranslation.swift
[12/80] Emitting module WITExtractor
[13/80] Compiling WITExtractor Diagnostic.swift
[14/80] Compiling WITExtractor WITExtractor.swift
[15/80] Compiling WITExtractor WITBuilder.swift
[16/80] Compiling WITExtractor TypeMapping.swift
[17/80] Compiling WITExtractor ConvertCase.swift
[18/80] Compiling WITExtractor SwiftAPIDigester.swift
[19/80] Compiling WITExtractor SourcePrinter.swift
[20/80] Compiling ArgumentParser AsyncParsableCommand.swift
[21/80] Compiling ArgumentParser ParserError.swift
[22/80] Compiling ArgumentParser SplitArguments.swift
[23/80] Compiling ArgumentParser Option.swift
[24/80] Compiling ArgumentParser OptionGroup.swift
[25/80] Compiling WIT ParseWorld.swift
[26/80] Compiling WIT Parser.swift
[27/80] Compiling ArgumentParser ArgumentVisibility.swift
[28/80] Compiling ArgumentParser CompletionKind.swift
[29/80] Compiling ArgumentParser ZshCompletionsGenerator.swift
[30/80] Compiling ArgumentParser Argument.swift
[31/80] Compiling ArgumentParser ArgumentHelp.swift
[32/80] Compiling ArgumentParser Errors.swift
[33/80] Compiling ArgumentParser Flag.swift
[34/80] Compiling ArgumentParser NameSpecification.swift
[40/80] Emitting module ArgumentParser
[41/84] Emitting module WIT
[42/84] Compiling ArgumentParser BashCompletionsGenerator.swift
[43/84] Compiling ArgumentParser CompletionsGenerator.swift
[44/84] Compiling ArgumentParser FishCompletionsGenerator.swift
[50/84] Compiling ArgumentParser ParsableArguments.swift
[51/84] Compiling ArgumentParser ParsableArgumentsValidation.swift
[52/84] Compiling ArgumentParser ParsableCommand.swift
[53/84] Compiling ArgumentParser ArgumentDecoder.swift
[54/84] Compiling ArgumentParser CommandConfiguration.swift
[55/84] Compiling ArgumentParser CommandGroup.swift
[56/84] Compiling ArgumentParser EnumerableFlag.swift
[57/84] Compiling ArgumentParser ExpressibleByArgument.swift
[58/84] Compiling ArgumentParser HelpGenerator.swift
[59/84] Compiling ArgumentParser MessageInfo.swift
[60/84] Compiling ArgumentParser UsageGenerator.swift
[61/84] Compiling ArgumentParser CollectionExtensions.swift
[64/84] Compiling ArgumentParser Parsed.swift
[65/84] Compiling ArgumentParser ParsedValues.swift
[66/108] Compiling WITOverlayGenerator TypeName.swift
[67/108] Compiling WITOverlayGenerator SourcePrinter.swift
[68/108] Compiling WITOverlayGenerator InterfaceTypeGenerator.swift
[69/108] Compiling WITOverlayGenerator TypeAccessory.swift
[70/108] Compiling WITOverlayGenerator TypeDefinition.swift
[71/108] Compiling WITOverlayGenerator StaticCanonicalLowering.swift
[72/108] Compiling WITOverlayGenerator StaticCanonicalStoring.swift
[73/109] Compiling WITOverlayGenerator DefinitionMapping.swift
[74/109] Compiling WITOverlayGenerator GuestWorldGenerator.swift
[75/109] Compiling WITOverlayGenerator HostExportFunction.swift
[76/109] Compiling WITOverlayGenerator HostExportInterface.swift
[77/109] Compiling WITOverlayGenerator GuestExportFunction.swift
[78/109] Compiling ArgumentParser Platform.swift
[79/109] Compiling ArgumentParser SequenceExtensions.swift
[80/109] Compiling ArgumentParser StringExtensions.swift
[81/109] Compiling ArgumentParser Tree.swift
[82/109] Compiling WITOverlayGenerator CanonicalName.swift
[83/109] Compiling WITOverlayGenerator CanonicalOperation.swift
[84/109] Compiling WITOverlayGenerator SignatureTranslation.swift
[85/111] Compiling WITOverlayGenerator StaticCanonicalDeallocation.swift
[86/111] Compiling WITOverlayGenerator StaticCanonicalLifting.swift
[87/111] Compiling WITOverlayGenerator StaticCanonicalLoading.swift
[95/111] Compiling WITOverlayGenerator GuestExportInterface.swift
[96/111] Compiling WITOverlayGenerator GuestPrelude.swift
[97/111] Emitting module WITOverlayGenerator
[98/111] Compiling WITOverlayGenerator HostWorldGenerator.swift
[99/111] Compiling WITOverlayGenerator WasmKitSourcePrinter.swift
[100/111] Compiling WITOverlayGenerator ConvertCase.swift
[105/111] Compiling WITOverlayGenerator SwiftName.swift
[107/111] Compiling WITOverlayGenerator TypeGenerator.swift
[108/111] Compiling WITOverlayGenerator WITOverlayGen.swift
[109/114] Compiling WITTool Utilities.swift
[110/114] Emitting module WITTool
[111/114] Compiling WITTool WITTool.swift
[111/113] Linking WITTool-tool
[112/113] Applying WITTool-tool
Build of product 'WITTool' complete! (3.84s)
Building for debugging...
[0/8] Write snippet-extract-tool-entitlement.plist
[1/8] Write sources
[4/8] Write swift-version--7754E27361AE5C74.txt
[6/53] Emitting module SymbolKit
[7/57] Compiling SymbolKit DeclarationFragments.swift
[8/57] Compiling SymbolKit Fragment.swift
[9/57] Compiling SymbolKit FragmentKind.swift
[10/57] Compiling SymbolKit FunctionParameter.swift
[11/57] Compiling SymbolKit FunctionSignature.swift
[12/57] Compiling SymbolKit GenericConstraint.swift
[13/57] Compiling SymbolKit GenericParameter.swift
[14/57] Compiling SymbolKit Generics.swift
[15/57] Compiling SymbolKit Namespace.swift
[16/57] Compiling SymbolKit Identifier.swift
[17/57] Compiling SymbolKit KindIdentifier.swift
[18/57] Compiling SymbolKit Location.swift
[19/57] Compiling SymbolKit Mutability.swift
[20/57] Compiling SymbolKit SemanticVersion.swift
[21/57] Compiling SymbolKit AccessControl.swift
[22/57] Compiling SymbolKit Availability.swift
[23/57] Compiling SymbolKit AvailabilityItem.swift
[24/57] Compiling SymbolKit Domain.swift
[25/57] Compiling SymbolKit Names.swift
[26/57] Compiling SymbolKit SPI.swift
[27/57] Compiling SymbolKit Snippet.swift
[28/57] Compiling SymbolKit Extension.swift
[29/57] Compiling SymbolKit SourceRange.swift
[30/57] Compiling SymbolKit Metadata.swift
[31/57] Compiling SymbolKit Module.swift
[32/57] Compiling SymbolKit OperatingSystem.swift
[33/57] Compiling SymbolKit Platform.swift
[34/57] Compiling SymbolKit Mixin+Equals.swift
[35/57] Compiling SymbolKit Mixin+Hash.swift
[36/57] Compiling SymbolKit Mixin.swift
[37/57] Compiling SymbolKit LineList.swift
[38/57] Compiling SymbolKit Position.swift
[39/57] Compiling SymbolKit Relationship.swift
[40/57] Compiling SymbolKit RelationshipKind.swift
[41/57] Compiling SymbolKit SourceOrigin.swift
[42/57] Compiling SymbolKit GenericConstraints.swift
[43/57] Compiling SymbolKit Swift.swift
[44/57] Compiling SymbolKit Symbol.swift
[45/57] Compiling SymbolKit SymbolKind.swift
[46/57] Compiling SymbolKit SymbolGraph.swift
[47/57] Compiling SymbolKit GraphCollector.swift
[48/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[49/57] Compiling SymbolKit UnifiedSymbol.swift
[50/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[51/57] Compiling SymbolKit UnifiedSymbolGraph.swift
[52/57] Compiling Snippets SnippetParser.swift
[53/57] Compiling Snippets Snippet.swift
[54/57] Emitting module Snippets
[55/61] Compiling snippet_extract URL+Status.swift
[56/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[57/61] Emitting module snippet_extract
[58/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (8.68s)
Building for debugging...
[0/3] Write swift-version--7754E27361AE5C74.txt
Build of product 'WITTool' complete! (0.23s)
Building for debugging...
[0/1] Write swift-version--7754E27361AE5C74.txt
[2/25] Compiling WasmTypes WasmTypes.swift
[3/25] Compiling WasmTypes GuestMemory.swift
[4/25] Emitting module WasmTypes
[5/25] Compiling SystemPackage Syscalls.swift
[6/25] Compiling SystemPackage WindowsSyscallAdapters.swift
[7/27] Compiling SystemPackage CInterop.swift
[8/27] Compiling SystemPackage Constants.swift
[9/27] Compiling SystemPackage PlatformString.swift
[10/27] Compiling SystemPackage SystemString.swift
[11/27] Compiling SystemPackage FilePathWindows.swift
[12/27] Compiling SystemPackage FilePermissions.swift
[13/27] Compiling SystemPackage Errno.swift
[14/27] Compiling SystemPackage FileDescriptor.swift
[15/27] Compiling SystemPackage FileHelpers.swift
[16/27] Emitting module SystemPackage
[17/27] Compiling SystemPackage FilePathString.swift
[18/27] Compiling SystemPackage FilePathSyntax.swift
[19/27] Compiling SystemPackage Exports.swift
[20/27] Compiling SystemPackage Mocking.swift
[21/27] Compiling SystemPackage FileOperations.swift
[22/27] Compiling SystemPackage FilePath.swift
[23/27] Compiling SystemPackage FilePathComponentView.swift
[24/27] Compiling SystemPackage FilePathComponents.swift
[25/27] Compiling SystemPackage FilePathParsing.swift
[26/27] Compiling SystemPackage Util.swift
[27/27] Compiling SystemPackage UtilConsumers.swift
[28/46] Compiling WasmParser Stream.swift
[29/46] Compiling WasmParser ParsingLimits.swift
[30/46] Compiling WasmParser ByteStream.swift
[31/46] Compiling WasmParser FileHandleStream.swift
[32/46] Compiling SystemExtras Exports.swift
[33/46] Compiling SystemExtras WindowsSyscallAdapter.swift
[34/46] Compiling SystemExtras Syscalls.swift
[35/46] Compiling SystemExtras Utils.swift
[36/46] Compiling SystemExtras FileAtOperations.swift
[37/46] Compiling SystemExtras Constants.swift
[38/46] Compiling SystemExtras Clock.swift
[39/46] Emitting module SystemExtras
[40/46] Compiling SystemExtras FileOperations.swift
[41/46] Compiling WasmParser LEB.swift
[42/46] Compiling WasmParser InstructionVisitor.swift
[43/46] Compiling WasmParser InstructionCode.swift
[44/46] Compiling WasmParser WasmTypes.swift
[45/46] Emitting module WasmParser
[46/46] Compiling WasmParser WasmParser.swift
[47/78] Compiling WasmKit CanonicalCall.swift
[48/78] Compiling WasmKit CanonicalLifting.swift
[49/78] Compiling WasmKit CanonicalLowering.swift
[50/78] Compiling WasmKit CanonicalOptions.swift
[51/81] Compiling WasmKit Runtime.swift
[52/81] Compiling WasmKit SignpostTracer.swift
[53/81] Compiling WasmKit Store.swift
[54/81] Emitting module WasmKit
[55/81] Compiling WasmKit Table.swift
[56/81] Compiling WasmKit NameRegistry.swift
[57/81] Compiling WasmKit Profiler.swift
[58/81] Compiling WasmKit Imports.swift
[59/81] Compiling WasmKit Module.swift
[60/81] Compiling WasmKit ModuleParser.swift
[61/81] Compiling WasmKit InstructionSupport.swift
[62/81] Compiling WasmKit Memory.swift
[63/81] Compiling WasmKit Misc.swift
[64/81] Compiling WasmKit ComponentTypes.swift
[65/81] Compiling WasmKit Engine.swift
[66/81] Compiling WasmKit ConstEvaluation.swift
[67/81] Compiling WasmKit DispatchInstruction.swift
[68/81] Compiling WasmKit EngineInterceptor.swift
[69/81] Compiling WasmKit Errors.swift
[70/81] Compiling WasmKit Execution.swift
[71/81] Compiling WasmKit Function.swift
[72/81] Compiling WasmKit StoreAllocator.swift
[73/81] Compiling WasmKit UntypedValue.swift
[74/81] Compiling WasmKit Value.swift
[75/81] Compiling WasmKit IO.swift
[76/81] Compiling WasmKit Instances.swift
[77/81] Compiling WasmKit Control.swift
[78/81] Compiling WasmKit Instruction.swift
[79/81] Compiling WasmKit ResourceLimiter.swift
[80/81] Compiling WasmKit Translator.swift
[81/81] Compiling WasmKit Validator.swift
Build of target: 'WasmKit' complete! (3.29s)
Target: WasmKitWASI
Extracting symbol information for 'WasmKitWASI'...
Finished extracting symbol information for 'WasmKitWASI'. (1.90s)
Building documentation for 'WasmKitWASI'...
Finished building documentation for 'WasmKitWASI' (0.05s)
Generated documentation archive at:
/Users/admin/builder/spi-builder-workspace/.docs/swiftwasm/wasmkit/0.1.2
Building for debugging...
[0/3] Write swift-version--7754E27361AE5C74.txt
Build of product 'WITTool' complete! (0.30s)
Building for debugging...
[0/3] Write swift-version--7754E27361AE5C74.txt
Build of product 'snippet-extract' complete! (0.60s)
Building for debugging...
[0/3] Write swift-version--7754E27361AE5C74.txt
Build of product 'WITTool' complete! (0.24s)
Building for debugging...
[0/1] Write swift-version--7754E27361AE5C74.txt
[2/13] Compiling WASI SandboxPrimitives.swift
[3/14] Compiling WASI RandomBufferGenerator.swift
[4/14] Compiling WASI OpenParent.swift
[5/14] Compiling WASI Open.swift
[6/14] Compiling WASI File.swift
[7/14] Compiling WASI Entry.swift
[8/14] Compiling WASI Clock.swift
[9/14] Compiling WASI FileSystem.swift
[10/14] Compiling WASI GuestMemorySupport.swift
[11/14] Compiling WASI Directory.swift
[12/14] Compiling WASI PlatformTypes.swift
[13/14] Emitting module WASI
[14/14] Compiling WASI WASI.swift
[15/16] Emitting module WasmKitWASI
[16/16] Compiling WasmKitWASI WASIBridgeToHost+WasmKit.swift
Build of target: 'WasmKitWASI' complete! (1.77s)
Successfully merged into /Users/admin/builder/spi-builder-workspace/.docs-staging/swiftwasm/wasmkit/0.1.2/index/index.json
Successfully merged into /Users/admin/builder/spi-builder-workspace/.docs-staging/swiftwasm/wasmkit/0.1.2/linkable-paths.json
Target: WasmParser
Extracting symbol information for 'WasmParser'...
Finished extracting symbol information for 'WasmParser'. (0.72s)
Building documentation for 'WasmParser'...
Finished building documentation for 'WasmParser' (0.32s)
Generated documentation archive at:
/Users/admin/builder/spi-builder-workspace/.docs/swiftwasm/wasmkit/0.1.2
Building for debugging...
[0/3] Write swift-version--7754E27361AE5C74.txt
Build of product 'WITTool' complete! (0.28s)
Building for debugging...
[0/3] Write swift-version--7754E27361AE5C74.txt
Build of product 'snippet-extract' complete! (0.58s)
Building for debugging...
[0/3] Write swift-version--7754E27361AE5C74.txt
Build of product 'WITTool' complete! (0.25s)
Building for debugging...
[0/1] Write swift-version--7754E27361AE5C74.txt
Build of target: 'WasmParser' complete! (0.55s)
Successfully merged into /Users/admin/builder/spi-builder-workspace/.docs-staging/swiftwasm/wasmkit/0.1.2/index/index.json
Successfully merged into /Users/admin/builder/spi-builder-workspace/.docs-staging/swiftwasm/wasmkit/0.1.2/linkable-paths.json
Target: WASI
Extracting symbol information for 'WASI'...
Finished extracting symbol information for 'WASI'. (0.66s)
Building documentation for 'WASI'...
Finished building documentation for 'WASI' (0.06s)
Generated documentation archive at:
/Users/admin/builder/spi-builder-workspace/.docs/swiftwasm/wasmkit/0.1.2
Building for debugging...
[0/3] Write swift-version--7754E27361AE5C74.txt
Build of product 'WITTool' complete! (0.27s)
Building for debugging...
[0/3] Write swift-version--7754E27361AE5C74.txt
Build of product 'snippet-extract' complete! (0.58s)
Building for debugging...
[0/3] Write swift-version--7754E27361AE5C74.txt
Build of product 'WITTool' complete! (0.25s)
Building for debugging...
[0/1] Write swift-version--7754E27361AE5C74.txt
Build of target: 'WASI' complete! (0.54s)
Successfully merged into /Users/admin/builder/spi-builder-workspace/.docs-staging/swiftwasm/wasmkit/0.1.2/index/index.json
Successfully merged into /Users/admin/builder/spi-builder-workspace/.docs-staging/swiftwasm/wasmkit/0.1.2/linkable-paths.json
Target: WAT
Extracting symbol information for 'WAT'...
Finished extracting symbol information for 'WAT'. (1.37s)
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:18:51-18:51
16 |
17 | /// Transforms a WebAssembly text format (WAT) string into a WebAssembly binary format byte array.
18 + /// - Parameter input: The WAT string to transform
| ╰─suggestion: Document 'options' parameter
19 | /// - Returns: The WebAssembly binary format byte array
20 | ///
warning: Parameter 'features' is missing documentation
--> ../WAT.swift:18:51-18:51
16 |
17 | /// Transforms a WebAssembly text format (WAT) string into a WebAssembly binary format byte array.
18 + /// - Parameter input: The WAT string to transform
| ╰─suggestion: Document 'features' parameter
19 | /// - Returns: The WebAssembly binary format byte array
20 | ///
warning: Parameter 'features' is missing documentation
--> ../WAT.swift:92:47-92:47
90 |
91 | /// Parses a WebAssembly text format (WAT) string into a `Wat` instance.
92 + /// - Parameter input: The WAT string to parse
| ╰─suggestion: Document 'features' parameter
93 | /// - Returns: The parsed `Wat` instance
94 | ///
warning: Parameter 'features' is missing documentation
--> ../WAT.swift:149:48-149:48
147 | /// Parses a WebAssembly script test format (WAST) string into a `Wast` instance.
148 | ///
149 + /// - Parameter input: The WAST string to parse
| ╰─suggestion: Document 'features' parameter
150 | /// - Returns: The parsed `Wast` instance
151 | ///Finished building documentation for 'WAT' (0.07s)
Generated documentation archive at:
/Users/admin/builder/spi-builder-workspace/.docs/swiftwasm/wasmkit/0.1.2
Building for debugging...
[0/3] Write swift-version--7754E27361AE5C74.txt
Build of product 'WITTool' complete! (0.26s)
Building for debugging...
[0/3] Write swift-version--7754E27361AE5C74.txt
Build of product 'snippet-extract' complete! (0.55s)
Building for debugging...
[0/3] Write swift-version--7754E27361AE5C74.txt
Build of product 'WITTool' complete! (0.23s)
Building for debugging...
[0/1] Write swift-version--7754E27361AE5C74.txt
[2/12] Compiling WAT WastParser.swift
[3/12] Compiling WAT WatParser.swift
[4/13] Compiling WAT WAT.swift
[5/13] Compiling WAT ExpressionParser.swift
[6/13] Compiling WAT Location.swift
[7/13] Compiling WAT NameMapping.swift
[8/13] Emitting module WAT
[9/13] Compiling WAT ParseInstruction.swift
[10/13] Compiling WAT Lexer.swift
[11/13] Compiling WAT Parser.swift
[12/13] Compiling WAT Encoder.swift
[13/13] Compiling WAT InstructionEncoder.swift
Build of target: 'WAT' complete! (1.26s)
Successfully merged into /Users/admin/builder/spi-builder-workspace/.docs-staging/swiftwasm/wasmkit/0.1.2/index/index.json
Successfully merged into /Users/admin/builder/spi-builder-workspace/.docs-staging/swiftwasm/wasmkit/0.1.2/linkable-paths.json
Target: WIT
Extracting symbol information for 'WIT'...
Finished extracting symbol information for 'WIT'. (2.63s)
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.27s)
Generated documentation archive at:
/Users/admin/builder/spi-builder-workspace/.docs/swiftwasm/wasmkit/0.1.2
Building for debugging...
[0/3] Write swift-version--7754E27361AE5C74.txt
Build of product 'WITTool' complete! (0.26s)
Building for debugging...
[0/3] Write swift-version--7754E27361AE5C74.txt
Build of product 'snippet-extract' complete! (0.55s)
Building for debugging...
[0/3] Write swift-version--7754E27361AE5C74.txt
Build of product 'WITTool' complete! (0.24s)
Building for debugging...
[0/1] Write swift-version--7754E27361AE5C74.txt
[2/24] Compiling WIT CanonicalDeallocation.swift
[3/24] Compiling WIT CanonicalLifting.swift
[4/24] Compiling WIT CanonicalLoading.swift
[5/26] Compiling WIT ParseTop.swift
[6/26] Compiling WIT ParseTypes.swift
[7/26] Compiling WIT CanonicalLowering.swift
[8/26] Compiling WIT CanonicalStoring.swift
[9/26] Compiling WIT Diagnostics.swift
[10/26] Compiling WIT Validation.swift
[11/26] Compiling WIT SyntaxNode.swift
[12/26] Compiling WIT PackageBuilder.swift
[13/26] Compiling WIT RequestEvaluator.swift
[14/26] Compiling WIT ParseFunctionDecl.swift
[15/26] Compiling WIT ParseInterface.swift
[16/26] Compiling WIT SemanticsContext.swift
[17/26] Compiling WIT Type.swift
[18/26] Emitting module WIT
[19/26] Compiling WIT Lexer.swift
[20/26] Compiling WIT PackageResolver.swift
[21/26] Compiling WIT NameLookup.swift
[22/26] Compiling WIT ParseWorld.swift
[23/26] Compiling WIT Parser.swift
[24/26] Compiling WIT AST.swift
[25/26] Compiling WIT ASTVisitor.swift
[26/26] Compiling WIT CanonicalABI.swift
Build of target: 'WIT' complete! (1.39s)
Successfully merged into /Users/admin/builder/spi-builder-workspace/.docs-staging/swiftwasm/wasmkit/0.1.2/index/index.json
Successfully merged into /Users/admin/builder/spi-builder-workspace/.docs-staging/swiftwasm/wasmkit/0.1.2/linkable-paths.json
Target: WITExtractor
Extracting symbol information for 'WITExtractor'...
Finished extracting symbol information for 'WITExtractor'. (1.26s)
Building documentation for 'WITExtractor'...
Finished building documentation for 'WITExtractor' (0.06s)
Generated documentation archive at:
/Users/admin/builder/spi-builder-workspace/.docs/swiftwasm/wasmkit/0.1.2
Building for debugging...
[0/3] Write swift-version--7754E27361AE5C74.txt
Build of product 'WITTool' complete! (0.26s)
Building for debugging...
[0/3] Write swift-version--7754E27361AE5C74.txt
Build of product 'snippet-extract' complete! (0.55s)
Building for debugging...
[0/3] Write swift-version--7754E27361AE5C74.txt
Build of product 'WITTool' complete! (0.25s)
Building for debugging...
[0/1] Write swift-version--7754E27361AE5C74.txt
[2/11] Compiling WITExtractor WITExtractor.swift
[3/11] Compiling WITExtractor TypeMapping.swift
[4/11] Compiling WITExtractor WITBuilder.swift
[5/11] Compiling WITExtractor ConvertCase.swift
[6/11] Compiling WITExtractor SourceSummary.swift
[7/11] Compiling WITExtractor SourcePrinter.swift
[8/11] Compiling WITExtractor ModuleTranslation.swift
[9/11] Emitting module WITExtractor
[10/11] Compiling WITExtractor Diagnostic.swift
[11/11] Compiling WITExtractor SwiftAPIDigester.swift
Build of target: 'WITExtractor' complete! (1.10s)
Successfully merged into /Users/admin/builder/spi-builder-workspace/.docs-staging/swiftwasm/wasmkit/0.1.2/index/index.json
Successfully merged into /Users/admin/builder/spi-builder-workspace/.docs-staging/swiftwasm/wasmkit/0.1.2/linkable-paths.json
Target: WITOverlayGenerator
Extracting symbol information for 'WITOverlayGenerator'...
Finished extracting symbol information for 'WITOverlayGenerator'. (1.44s)
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.1.2
Building for debugging...
[0/3] Write swift-version--7754E27361AE5C74.txt
Build of product 'WITTool' complete! (0.26s)
Building for debugging...
[0/3] Write swift-version--7754E27361AE5C74.txt
Build of product 'snippet-extract' complete! (0.56s)
Building for debugging...
[0/3] Write swift-version--7754E27361AE5C74.txt
Build of product 'WITTool' complete! (0.24s)
Building for debugging...
[0/1] Write swift-version--7754E27361AE5C74.txt
[2/26] Compiling WITOverlayGenerator SourcePrinter.swift
[3/26] Compiling WITOverlayGenerator InterfaceTypeGenerator.swift
[4/28] Compiling WITOverlayGenerator HostWorldGenerator.swift
[5/28] Compiling WITOverlayGenerator WasmKitSourcePrinter.swift
[6/28] Compiling WITOverlayGenerator ConvertCase.swift
[7/28] Compiling WITOverlayGenerator CanonicalName.swift
[8/28] Compiling WITOverlayGenerator CanonicalOperation.swift
[9/28] Compiling WITOverlayGenerator SignatureTranslation.swift
[10/28] Compiling WITOverlayGenerator StaticCanonicalDeallocation.swift
[11/28] Compiling WITOverlayGenerator StaticCanonicalLifting.swift
[12/28] Compiling WITOverlayGenerator StaticCanonicalLoading.swift
[13/28] Emitting module WITOverlayGenerator
[14/28] Compiling WITOverlayGenerator SwiftName.swift
[15/28] Compiling WITOverlayGenerator TypeName.swift
[16/28] Compiling WITOverlayGenerator GuestExportFunction.swift
[17/28] Compiling WITOverlayGenerator GuestExportInterface.swift
[18/28] Compiling WITOverlayGenerator GuestPrelude.swift
[19/28] Compiling WITOverlayGenerator StaticCanonicalLowering.swift
[20/28] Compiling WITOverlayGenerator StaticCanonicalStoring.swift
[21/28] Compiling WITOverlayGenerator DefinitionMapping.swift
[22/28] Compiling WITOverlayGenerator TypeAccessory.swift
[23/28] Compiling WITOverlayGenerator TypeDefinition.swift
[24/28] Compiling WITOverlayGenerator GuestWorldGenerator.swift
[25/28] Compiling WITOverlayGenerator HostExportFunction.swift
[26/28] Compiling WITOverlayGenerator HostExportInterface.swift
[27/28] Compiling WITOverlayGenerator TypeGenerator.swift
[28/28] Compiling WITOverlayGenerator WITOverlayGen.swift
Build of target: 'WITOverlayGenerator' complete! (1.27s)
Successfully merged into /Users/admin/builder/spi-builder-workspace/.docs-staging/swiftwasm/wasmkit/0.1.2/index/index.json
Successfully merged into /Users/admin/builder/spi-builder-workspace/.docs-staging/swiftwasm/wasmkit/0.1.2/linkable-paths.json
Target: WITTool
Extracting symbol information for 'WITTool'...
Finished extracting symbol information for 'WITTool'. (2.42s)
Building documentation for 'WITTool'...
Finished building documentation for 'WITTool' (0.11s)
Generated documentation archive at:
/Users/admin/builder/spi-builder-workspace/.docs/swiftwasm/wasmkit/0.1.2
Building for debugging...
[0/3] Write swift-version--7754E27361AE5C74.txt
Build of product 'WITTool' complete! (0.28s)
Building for debugging...
[0/3] Write swift-version--7754E27361AE5C74.txt
Build of product 'snippet-extract' complete! (0.59s)
Building for debugging...
[0/3] Write swift-version--7754E27361AE5C74.txt
Build of product 'WITTool' complete! (0.24s)
Building for debugging...
[0/1] Write swift-version--7754E27361AE5C74.txt
[2/3] Emitting module ArgumentParserToolInfo
[3/3] Compiling ArgumentParserToolInfo ToolInfo.swift
[4/42] Compiling ArgumentParser InputOrigin.swift
[5/42] Compiling ArgumentParser Name.swift
[6/42] Compiling ArgumentParser Parsed.swift
[7/42] Compiling ArgumentParser ParsedValues.swift
[8/46] Emitting module ArgumentParser
[9/46] Compiling ArgumentParser NameSpecification.swift
[10/46] Compiling ArgumentParser Option.swift
[11/46] Compiling ArgumentParser OptionGroup.swift
[12/46] Compiling ArgumentParser AsyncParsableCommand.swift
[13/46] Compiling ArgumentParser ParsableArguments.swift
[14/46] Compiling ArgumentParser ParsableArgumentsValidation.swift
[15/46] Compiling ArgumentParser ParsableCommand.swift
[16/46] Compiling ArgumentParser ArgumentDecoder.swift
[17/46] Compiling ArgumentParser ArgumentHelp.swift
[18/46] Compiling ArgumentParser ArgumentVisibility.swift
[19/46] Compiling ArgumentParser CompletionKind.swift
[20/46] Compiling ArgumentParser Errors.swift
[21/46] Compiling ArgumentParser Flag.swift
[22/46] Compiling ArgumentParser ParserError.swift
[23/46] Compiling ArgumentParser SplitArguments.swift
[24/46] Compiling ArgumentParser DumpHelpGenerator.swift
[25/46] Compiling ArgumentParser HelpCommand.swift
[26/46] Compiling ArgumentParser CommandConfiguration.swift
[27/46] Compiling ArgumentParser CommandGroup.swift
[28/46] Compiling ArgumentParser EnumerableFlag.swift
[29/46] Compiling ArgumentParser ExpressibleByArgument.swift
[30/46] Compiling ArgumentParser HelpGenerator.swift
[31/46] Compiling ArgumentParser MessageInfo.swift
[32/46] Compiling ArgumentParser UsageGenerator.swift
[33/46] Compiling ArgumentParser CollectionExtensions.swift
[34/46] Compiling ArgumentParser BashCompletionsGenerator.swift
[35/46] Compiling ArgumentParser CompletionsGenerator.swift
[36/46] Compiling ArgumentParser FishCompletionsGenerator.swift
[37/46] Compiling ArgumentParser ZshCompletionsGenerator.swift
[38/46] Compiling ArgumentParser Argument.swift
[39/46] Compiling ArgumentParser ArgumentDefinition.swift
[40/46] Compiling ArgumentParser ArgumentSet.swift
[41/46] Compiling ArgumentParser CommandParser.swift
[42/46] Compiling ArgumentParser InputKey.swift
[43/46] Compiling ArgumentParser Platform.swift
[44/46] Compiling ArgumentParser SequenceExtensions.swift
[45/46] Compiling ArgumentParser StringExtensions.swift
[46/46] Compiling ArgumentParser Tree.swift
[47/49] Compiling WITTool Utilities.swift
[48/49] Emitting module WITTool
[49/49] Compiling WITTool WITTool.swift
Build of target: 'WITTool' complete! (2.23s)
Successfully merged into /Users/admin/builder/spi-builder-workspace/.docs-staging/swiftwasm/wasmkit/0.1.2/index/index.json
Successfully merged into /Users/admin/builder/spi-builder-workspace/.docs-staging/swiftwasm/wasmkit/0.1.2/linkable-paths.json
3680
20 /Users/admin/builder/spi-builder-workspace/.docs/swiftwasm/wasmkit/0.1.2
✅ Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/swiftwasm/wasmkit/0.1.2
File count: 3680
Doc size: 20.0MB
Preparing doc bundle ...
Uploading prod-swiftwasm-wasmkit-0.1.2-80b96787.zip to s3://spi-docs-inbox/prod-swiftwasm-wasmkit-0.1.2-80b96787.zip
Copying... [10%]
Copying... [21%]
Copying... [31%]
Copying... [40%]
Copying... [51%]
Copying... [61%]
Copying... [70%]
Copying... [81%]
Copying... [91%]
Copying... [100%]
Done.