Build Information
Successful build of WasmKit, reference main (3e84a7
), with Swift 6.0 for Linux on 1 Nov 2024 04:42:03 UTC.
Swift 6 data race errors: 25
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swiftwasm/WasmKit.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/swiftwasm/WasmKit
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 3e84a79 CI: Remove parallel-fuzzing hack
Cloned https://github.com/swiftwasm/WasmKit.git
Revision (git rev-parse @):
3e84a79970b25314ef3807b9f3587f4cc82ec160
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/swiftwasm/WasmKit.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/swiftwasm/WasmKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/apple/swift-system
[1/3901] Fetching swift-system
[3902/16233] Fetching swift-system, swift-argument-parser
Fetched https://github.com/apple/swift-system from cache (0.40s)
[1850/12332] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (0.67s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.3.2 (0.38s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (0.43s)
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
Building for debugging...
[0/15] Write sources
[6/15] Write swift-version-24593BA9C3E375BF.txt
[8/48] Emitting module WITExtractor
[9/49] Compiling WITExtractor TypeMapping.swift
[10/49] Compiling ArgumentParserToolInfo ToolInfo.swift
[11/49] Emitting module ArgumentParserToolInfo
[13/50] Compiling WIT Type.swift
[14/50] Compiling WIT Validation.swift
[15/50] Compiling WIT SyntaxNode.swift
[16/53] Compiling WITExtractor SourcePrinter.swift
[17/53] Compiling WITExtractor SourceSummary.swift
[18/53] Compiling WIT PackageBuilder.swift
/host/spi-builder-workspace/Sources/WIT/Semantics/RequestEvaluator.swift:67:13: warning: stored property 'activeRequests' of 'Sendable'-conforming struct 'CyclicalRequestError' has non-sendable type '[any EvaluationRequest]'; this is an error in the Swift 6 language mode
1 | protocol EvaluationRequest: Hashable {
| `- note: protocol 'EvaluationRequest' does not conform to the 'Sendable' protocol
2 | associatedtype Output
3 |
:
65 | extension Evaluator {
66 | struct CyclicalRequestError: Error, CustomStringConvertible {
67 | let activeRequests: [any EvaluationRequest]
| `- warning: stored property 'activeRequests' of 'Sendable'-conforming struct 'CyclicalRequestError' has non-sendable type '[any EvaluationRequest]'; this is an error in the Swift 6 language mode
68 |
69 | var description: String {
[19/53] Compiling WIT RequestEvaluator.swift
/host/spi-builder-workspace/Sources/WIT/Semantics/RequestEvaluator.swift:67:13: warning: stored property 'activeRequests' of 'Sendable'-conforming struct 'CyclicalRequestError' has non-sendable type '[any EvaluationRequest]'; this is an error in the Swift 6 language mode
1 | protocol EvaluationRequest: Hashable {
| `- note: protocol 'EvaluationRequest' does not conform to the 'Sendable' protocol
2 | associatedtype Output
3 |
:
65 | extension Evaluator {
66 | struct CyclicalRequestError: Error, CustomStringConvertible {
67 | let activeRequests: [any EvaluationRequest]
| `- warning: stored property 'activeRequests' of 'Sendable'-conforming struct 'CyclicalRequestError' has non-sendable type '[any EvaluationRequest]'; this is an error in the Swift 6 language mode
68 |
69 | var description: String {
[20/53] Compiling WIT SemanticsContext.swift
/host/spi-builder-workspace/Sources/WIT/Semantics/RequestEvaluator.swift:67:13: warning: stored property 'activeRequests' of 'Sendable'-conforming struct 'CyclicalRequestError' has non-sendable type '[any EvaluationRequest]'; this is an error in the Swift 6 language mode
1 | protocol EvaluationRequest: Hashable {
| `- note: protocol 'EvaluationRequest' does not conform to the 'Sendable' protocol
2 | associatedtype Output
3 |
:
65 | extension Evaluator {
66 | struct CyclicalRequestError: Error, CustomStringConvertible {
67 | let activeRequests: [any EvaluationRequest]
| `- warning: stored property 'activeRequests' of 'Sendable'-conforming struct 'CyclicalRequestError' has non-sendable type '[any EvaluationRequest]'; this is an error in the Swift 6 language mode
68 |
69 | var description: String {
[20/53] Wrapping AST for ArgumentParserToolInfo for debugging
[22/53] Compiling WITExtractor WITBuilder.swift
[23/53] Compiling WITExtractor Diagnostic.swift
[24/53] Compiling WITExtractor ModuleTranslation.swift
[25/53] Compiling WITExtractor ConvertCase.swift
[26/53] Compiling WIT ParseFunctionDecl.swift
[27/53] Compiling WIT ParseInterface.swift
[28/53] Compiling WIT ParseTop.swift
[29/91] Compiling ArgumentParser EnumerableFlag.swift
[30/91] Compiling ArgumentParser Name.swift
[31/91] Compiling ArgumentParser Parsed.swift
[32/91] Emitting module ArgumentParser
[33/96] Compiling WITExtractor SwiftAPIDigester.swift
[34/96] Compiling WITExtractor WITExtractor.swift
[35/97] Emitting module WIT
/host/spi-builder-workspace/Sources/WIT/Diagnostics.swift:6:9: warning: stored property 'diagnostic' of 'Sendable'-conforming struct 'DiagnosticError' has non-sendable type 'Diagnostic'; this is an error in the Swift 6 language mode
4 |
5 | struct DiagnosticError: Error {
6 | let diagnostic: Diagnostic
| `- warning: stored property 'diagnostic' of 'Sendable'-conforming struct 'DiagnosticError' has non-sendable type 'Diagnostic'; this is an error in the Swift 6 language mode
7 | }
8 |
9 | public struct Diagnostic {
| `- note: consider making struct 'Diagnostic' conform to the 'Sendable' protocol
10 |
11 | public let message: String
/host/spi-builder-workspace/Sources/WIT/Semantics/RequestEvaluator.swift:67:13: warning: stored property 'activeRequests' of 'Sendable'-conforming struct 'CyclicalRequestError' has non-sendable type '[any EvaluationRequest]'; this is an error in the Swift 6 language mode
1 | protocol EvaluationRequest: Hashable {
| `- note: protocol 'EvaluationRequest' does not conform to the 'Sendable' protocol
2 | associatedtype Output
3 |
:
65 | extension Evaluator {
66 | struct CyclicalRequestError: Error, CustomStringConvertible {
67 | let activeRequests: [any EvaluationRequest]
| `- warning: stored property 'activeRequests' of 'Sendable'-conforming struct 'CyclicalRequestError' has non-sendable type '[any EvaluationRequest]'; this is an error in the Swift 6 language mode
68 |
69 | var description: String {
[36/97] Compiling ArgumentParser BashCompletionsGenerator.swift
[37/97] Compiling ArgumentParser CompletionsGenerator.swift
[38/97] Compiling ArgumentParser FishCompletionsGenerator.swift
[39/97] Compiling ArgumentParser ArgumentVisibility.swift
[40/97] Compiling ArgumentParser CompletionKind.swift
[41/97] Compiling ArgumentParser Errors.swift
[42/97] Compiling ArgumentParser Flag.swift
[43/97] Compiling ArgumentParser NameSpecification.swift
[44/97] Compiling ArgumentParser Option.swift
[48/97] Compiling ArgumentParser ZshCompletionsGenerator.swift
[49/97] Compiling ArgumentParser Argument.swift
[50/97] Compiling ArgumentParser ArgumentHelp.swift
[52/97] Compiling ArgumentParser CollectionExtensions.swift
[53/97] Compiling ArgumentParser Platform.swift
[54/97] Compiling ArgumentParser SequenceExtensions.swift
[55/97] Compiling ArgumentParser StringExtensions.swift
[56/97] Compiling ArgumentParser Tree.swift
/host/spi-builder-workspace/Sources/WIT/Diagnostics.swift:6:9: warning: stored property 'diagnostic' of 'Sendable'-conforming struct 'DiagnosticError' has non-sendable type 'Diagnostic'; this is an error in the Swift 6 language mode
4 |
5 | struct DiagnosticError: Error {
6 | let diagnostic: Diagnostic
| `- warning: stored property 'diagnostic' of 'Sendable'-conforming struct 'DiagnosticError' has non-sendable type 'Diagnostic'; this is an error in the Swift 6 language mode
7 | }
8 |
9 | public struct Diagnostic {
| `- note: consider making struct 'Diagnostic' conform to the 'Sendable' protocol
10 |
11 | public let message: String
/host/spi-builder-workspace/Sources/WIT/Diagnostics.swift:6:9: warning: stored property 'diagnostic' of 'Sendable'-conforming struct 'DiagnosticError' has non-sendable type 'Diagnostic'; this is an error in the Swift 6 language mode
4 |
5 | struct DiagnosticError: Error {
6 | let diagnostic: Diagnostic
| `- warning: stored property 'diagnostic' of 'Sendable'-conforming struct 'DiagnosticError' has non-sendable type 'Diagnostic'; this is an error in the Swift 6 language mode
7 | }
8 |
9 | public struct Diagnostic {
| `- note: consider making struct 'Diagnostic' conform to the 'Sendable' protocol
10 |
11 | public let message: String
/host/spi-builder-workspace/Sources/WIT/Diagnostics.swift:6:9: warning: stored property 'diagnostic' of 'Sendable'-conforming struct 'DiagnosticError' has non-sendable type 'Diagnostic'; this is an error in the Swift 6 language mode
4 |
5 | struct DiagnosticError: Error {
6 | let diagnostic: Diagnostic
| `- warning: stored property 'diagnostic' of 'Sendable'-conforming struct 'DiagnosticError' has non-sendable type 'Diagnostic'; this is an error in the Swift 6 language mode
7 | }
8 |
9 | public struct Diagnostic {
| `- note: consider making struct 'Diagnostic' conform to the 'Sendable' protocol
10 |
11 | public let message: String
[65/98] Wrapping AST for WITExtractor for debugging
[70/98] Compiling ArgumentParser ParsedValues.swift
[71/98] Compiling ArgumentParser ParserError.swift
[72/98] Compiling ArgumentParser SplitArguments.swift
[73/98] Compiling ArgumentParser OptionGroup.swift
[74/98] Compiling ArgumentParser AsyncParsableCommand.swift
[75/98] Compiling ArgumentParser CommandConfiguration.swift
[76/98] Compiling ArgumentParser CommandGroup.swift
[78/98] Compiling ArgumentParser ArgumentDefinition.swift
[79/98] Compiling ArgumentParser ArgumentSet.swift
[80/98] Compiling ArgumentParser CommandParser.swift
[81/98] Compiling ArgumentParser InputKey.swift
[82/98] Compiling ArgumentParser InputOrigin.swift
[82/98] Wrapping AST for WIT for debugging
[84/122] Compiling WITOverlayGenerator SwiftName.swift
[85/122] Compiling WITOverlayGenerator TypeName.swift
[86/122] Compiling WITOverlayGenerator HostExportInterface.swift
[87/122] Compiling WITOverlayGenerator HostWorldGenerator.swift
[88/122] Compiling WITOverlayGenerator WasmKitSourcePrinter.swift
[89/122] Compiling ArgumentParser DumpHelpGenerator.swift
[90/122] Compiling ArgumentParser HelpCommand.swift
[91/122] Compiling ArgumentParser HelpGenerator.swift
[92/122] Compiling ArgumentParser MessageInfo.swift
[93/122] Compiling ArgumentParser UsageGenerator.swift
[95/123] Compiling WITOverlayGenerator SourcePrinter.swift
[96/123] Compiling WITOverlayGenerator InterfaceTypeGenerator.swift
[97/123] Compiling WITOverlayGenerator TypeAccessory.swift
[97/126] Wrapping AST for ArgumentParser for debugging
[102/126] Compiling WITOverlayGenerator ConvertCase.swift
[105/126] Emitting module WITOverlayGenerator
[106/126] Compiling WITOverlayGenerator DefinitionMapping.swift
[107/126] Compiling WITOverlayGenerator GuestExportFunction.swift
[108/126] Compiling WITOverlayGenerator GuestExportInterface.swift
[109/126] Compiling WITOverlayGenerator GuestPrelude.swift
[110/126] Compiling WITOverlayGenerator GuestWorldGenerator.swift
[111/126] Compiling WITOverlayGenerator HostExportFunction.swift
[112/126] Compiling WITOverlayGenerator CanonicalName.swift
[113/126] Compiling WITOverlayGenerator CanonicalOperation.swift
[114/126] Compiling WITOverlayGenerator SignatureTranslation.swift
[115/126] Compiling WITOverlayGenerator StaticCanonicalDeallocation.swift
[116/126] Compiling WITOverlayGenerator StaticCanonicalLifting.swift
[117/126] Compiling WITOverlayGenerator StaticCanonicalLoading.swift
[118/126] Compiling WITOverlayGenerator StaticCanonicalLowering.swift
[119/126] Compiling WITOverlayGenerator StaticCanonicalStoring.swift
[120/126] Compiling WITOverlayGenerator TypeDefinition.swift
[121/126] Compiling WITOverlayGenerator TypeGenerator.swift
[122/126] Compiling WITOverlayGenerator WITOverlayGen.swift
[123/127] Wrapping AST for WITOverlayGenerator for debugging
[125/130] Emitting module WITTool
[126/130] Compiling WITTool Utilities.swift
[127/130] Compiling WITTool WITTool.swift
[128/131] Wrapping AST for WITTool for debugging
[129/131] Write Objects.LinkFileList
[130/131] Linking WITTool-tool
Build of product 'WITTool' complete! (26.58s)
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateOverlayForTesting
[3/3] Compiling plugin WITExtractorPlugin
[4/4] Compiling plugin WITOverlayPlugin
Building for debugging...
[4/42] Write sources
[20/42] Compiling _CWasmKit _CWasmKit.c
[20/42] Compiling _CabiShims shims.c
[22/42] Compiling CSystem shims.c
[23/42] Write swift-version-24593BA9C3E375BF.txt
[25/99] Emitting module SystemPackage
[26/101] Emitting module WIT
/host/spi-builder-workspace/Sources/WIT/Diagnostics.swift:6:9: warning: stored property 'diagnostic' of 'Sendable'-conforming struct 'DiagnosticError' has non-sendable type 'Diagnostic'; this is an error in the Swift 6 language mode
4 |
5 | struct DiagnosticError: Error {
6 | let diagnostic: Diagnostic
| `- warning: stored property 'diagnostic' of 'Sendable'-conforming struct 'DiagnosticError' has non-sendable type 'Diagnostic'; this is an error in the Swift 6 language mode
7 | }
8 |
9 | public struct Diagnostic {
| `- note: consider making struct 'Diagnostic' conform to the 'Sendable' protocol
10 |
11 | public let message: String
/host/spi-builder-workspace/Sources/WIT/Semantics/RequestEvaluator.swift:67:13: warning: stored property 'activeRequests' of 'Sendable'-conforming struct 'CyclicalRequestError' has non-sendable type '[any EvaluationRequest]'; this is an error in the Swift 6 language mode
1 | protocol EvaluationRequest: Hashable {
| `- note: protocol 'EvaluationRequest' does not conform to the 'Sendable' protocol
2 | associatedtype Output
3 |
:
65 | extension Evaluator {
66 | struct CyclicalRequestError: Error, CustomStringConvertible {
67 | let activeRequests: [any EvaluationRequest]
| `- warning: stored property 'activeRequests' of 'Sendable'-conforming struct 'CyclicalRequestError' has non-sendable type '[any EvaluationRequest]'; this is an error in the Swift 6 language mode
68 |
69 | var description: String {
[27/104] Compiling WITExtractor WITBuilder.swift
[28/105] Compiling WITExtractor SourcePrinter.swift
[29/105] Compiling WIT ParseTypes.swift
[30/105] Compiling WIT ParseWorld.swift
[31/105] Compiling WIT Parser.swift
[32/105] Compiling WasmTypes WasmTypes.swift
[33/105] Compiling SystemPackage Errno.swift
/host/spi-builder-workspace/Sources/WIT/Semantics/RequestEvaluator.swift:67:13: warning: stored property 'activeRequests' of 'Sendable'-conforming struct 'CyclicalRequestError' has non-sendable type '[any EvaluationRequest]'; this is an error in the Swift 6 language mode
1 | protocol EvaluationRequest: Hashable {
| `- note: protocol 'EvaluationRequest' does not conform to the 'Sendable' protocol
2 | associatedtype Output
3 |
:
65 | extension Evaluator {
66 | struct CyclicalRequestError: Error, CustomStringConvertible {
67 | let activeRequests: [any EvaluationRequest]
| `- warning: stored property 'activeRequests' of 'Sendable'-conforming struct 'CyclicalRequestError' has non-sendable type '[any EvaluationRequest]'; this is an error in the Swift 6 language mode
68 |
69 | var description: String {
[34/105] Compiling SystemPackage FileDescriptor.swift
/host/spi-builder-workspace/Sources/WIT/Semantics/RequestEvaluator.swift:67:13: warning: stored property 'activeRequests' of 'Sendable'-conforming struct 'CyclicalRequestError' has non-sendable type '[any EvaluationRequest]'; this is an error in the Swift 6 language mode
1 | protocol EvaluationRequest: Hashable {
| `- note: protocol 'EvaluationRequest' does not conform to the 'Sendable' protocol
2 | associatedtype Output
3 |
:
65 | extension Evaluator {
66 | struct CyclicalRequestError: Error, CustomStringConvertible {
67 | let activeRequests: [any EvaluationRequest]
| `- warning: stored property 'activeRequests' of 'Sendable'-conforming struct 'CyclicalRequestError' has non-sendable type '[any EvaluationRequest]'; this is an error in the Swift 6 language mode
68 |
69 | var description: String {
[35/105] Compiling SystemPackage FileHelpers.swift
/host/spi-builder-workspace/Sources/WIT/Semantics/RequestEvaluator.swift:67:13: warning: stored property 'activeRequests' of 'Sendable'-conforming struct 'CyclicalRequestError' has non-sendable type '[any EvaluationRequest]'; this is an error in the Swift 6 language mode
1 | protocol EvaluationRequest: Hashable {
| `- note: protocol 'EvaluationRequest' does not conform to the 'Sendable' protocol
2 | associatedtype Output
3 |
:
65 | extension Evaluator {
66 | struct CyclicalRequestError: Error, CustomStringConvertible {
67 | let activeRequests: [any EvaluationRequest]
| `- warning: stored property 'activeRequests' of 'Sendable'-conforming struct 'CyclicalRequestError' has non-sendable type '[any EvaluationRequest]'; this is an error in the Swift 6 language mode
68 |
69 | var description: String {
[36/105] Compiling SystemPackage PlatformString.swift
[37/105] Compiling SystemPackage SystemString.swift
[38/105] Compiling SystemPackage Util.swift
[39/105] Emitting module WasmTypes
[40/105] Compiling WasmTypes GuestMemory.swift
[43/105] Compiling WITExtractor ConvertCase.swift
[44/105] Compiling SystemPackage FileOperations.swift
[45/105] Compiling SystemPackage FilePath.swift
[46/105] Emitting module WITExtractor
[47/105] Compiling SystemPackage Mocking.swift
[48/105] Compiling SystemPackage Syscalls.swift
[49/105] Compiling SystemPackage WindowsSyscallAdapters.swift
[50/105] Compiling WITExtractor TypeMapping.swift
[51/106] Compiling SystemPackage FilePathComponents.swift
/host/spi-builder-workspace/Sources/WIT/Diagnostics.swift:6:9: warning: stored property 'diagnostic' of 'Sendable'-conforming struct 'DiagnosticError' has non-sendable type 'Diagnostic'; this is an error in the Swift 6 language mode
4 |
5 | struct DiagnosticError: Error {
6 | let diagnostic: Diagnostic
| `- warning: stored property 'diagnostic' of 'Sendable'-conforming struct 'DiagnosticError' has non-sendable type 'Diagnostic'; this is an error in the Swift 6 language mode
7 | }
8 |
9 | public struct Diagnostic {
| `- note: consider making struct 'Diagnostic' conform to the 'Sendable' protocol
10 |
11 | public let message: String
[52/106] Compiling SystemPackage FilePathParsing.swift
/host/spi-builder-workspace/Sources/WIT/Diagnostics.swift:6:9: warning: stored property 'diagnostic' of 'Sendable'-conforming struct 'DiagnosticError' has non-sendable type 'Diagnostic'; this is an error in the Swift 6 language mode
4 |
5 | struct DiagnosticError: Error {
6 | let diagnostic: Diagnostic
| `- warning: stored property 'diagnostic' of 'Sendable'-conforming struct 'DiagnosticError' has non-sendable type 'Diagnostic'; this is an error in the Swift 6 language mode
7 | }
8 |
9 | public struct Diagnostic {
| `- note: consider making struct 'Diagnostic' conform to the 'Sendable' protocol
10 |
11 | public let message: String
[53/106] Compiling SystemPackage FilePathString.swift
/host/spi-builder-workspace/Sources/WIT/Diagnostics.swift:6:9: warning: stored property 'diagnostic' of 'Sendable'-conforming struct 'DiagnosticError' has non-sendable type 'Diagnostic'; this is an error in the Swift 6 language mode
4 |
5 | struct DiagnosticError: Error {
6 | let diagnostic: Diagnostic
| `- warning: stored property 'diagnostic' of 'Sendable'-conforming struct 'DiagnosticError' has non-sendable type 'Diagnostic'; this is an error in the Swift 6 language mode
7 | }
8 |
9 | public struct Diagnostic {
| `- note: consider making struct 'Diagnostic' conform to the 'Sendable' protocol
10 |
11 | public let message: String
[54/106] Emitting module ArgumentParserToolInfo
[55/106] Compiling ArgumentParserToolInfo ToolInfo.swift
[59/107] Wrapping AST for ArgumentParserToolInfo for debugging
[60/107] Wrapping AST for WasmTypes for debugging
[62/145] Compiling ArgumentParser ZshCompletionsGenerator.swift
[63/145] Compiling ArgumentParser Argument.swift
[64/145] Compiling ArgumentParser ArgumentHelp.swift
[65/145] Compiling ArgumentParser BashCompletionsGenerator.swift
[66/145] Compiling ArgumentParser CompletionsGenerator.swift
[67/145] Compiling ArgumentParser FishCompletionsGenerator.swift
[68/145] Compiling ArgumentParser CommandGroup.swift
[69/145] Compiling ArgumentParser EnumerableFlag.swift
[70/145] Compiling ArgumentParser ArgumentDefinition.swift
[71/145] Compiling ArgumentParser InputOrigin.swift
[72/145] Compiling ArgumentParser ExpressibleByArgument.swift
[73/145] Compiling ArgumentParser ParsableArguments.swift
[74/145] Compiling ArgumentParser OptionGroup.swift
[75/145] Compiling ArgumentParser AsyncParsableCommand.swift
[76/145] Compiling ArgumentParser CommandConfiguration.swift
[77/145] Compiling ArgumentParser ArgumentSet.swift
[78/145] Compiling ArgumentParser CommandParser.swift
[79/145] Compiling ArgumentParser InputKey.swift
[80/146] Wrapping AST for SystemPackage for debugging
[82/163] Compiling SystemExtras Syscalls.swift
[83/164] Compiling SystemExtras Clock.swift
[84/164] Compiling SystemExtras WindowsSyscallAdapter.swift
[85/164] Compiling SystemExtras Exports.swift
[86/164] Compiling SystemExtras Utils.swift
[87/164] Compiling SystemExtras Constants.swift
[88/164] Compiling WasmParser ByteStream.swift
[89/164] Compiling WasmParser ParsingLimits.swift
[90/164] Compiling WasmParser FileHandleStream.swift
/host/spi-builder-workspace/Sources/WasmParser/WasmParser.swift:287: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
205 | public struct WasmParserError: Swift.Error {
206 | @usableFromInline
207 | struct Message {
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
208 | let text: String
209 |
:
285 |
286 | @usableFromInline
287 | 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
288 |
289 | @usableFromInline
[91/165] Compiling WasmParser LEB.swift
[98/165] Emitting module ArgumentParser
[99/170] Compiling SystemExtras FileAtOperations.swift
[100/170] Compiling SystemExtras FileOperations.swift
[101/170] Emitting module SystemExtras
[102/171] Compiling WasmParser InstructionCode.swift
[103/171] Compiling WasmParser InstructionVisitor.swift
[111/172] Compiling ArgumentParser Name.swift
[112/172] Compiling ArgumentParser Parsed.swift
[113/172] Compiling ArgumentParser ParsedValues.swift
[114/172] Compiling ArgumentParser ParserError.swift
[115/172] Compiling ArgumentParser SplitArguments.swift
[116/172] Compiling WITExtractor SourceSummary.swift
[117/172] Compiling WITExtractor SwiftAPIDigester.swift
[118/172] Compiling ArgumentParser ArgumentVisibility.swift
[119/172] Compiling ArgumentParser CompletionKind.swift
[120/172] Compiling ArgumentParser Errors.swift
[121/172] Compiling ArgumentParser Flag.swift
[122/172] Compiling ArgumentParser NameSpecification.swift
[123/172] Compiling ArgumentParser Option.swift
[124/172] Compiling WITExtractor WITExtractor.swift
[127/173] Wrapping AST for SystemExtras for debugging
[128/173] Wrapping AST for WIT for debugging
[129/173] Wrapping AST for WITExtractor for debugging
[131/194] Compiling WASI Clock.swift
[132/194] Compiling WASI FileSystem.swift
[133/209] Compiling WASI RandomBufferGenerator.swift
[134/209] Compiling WASI OpenParent.swift
[135/210] Compiling WasmParser WasmTypes.swift
/host/spi-builder-workspace/Sources/WasmParser/WasmTypes.swift:208:38: warning: static property 'isPassiveOrDeclarative' is not concurrency-safe because non-'Sendable' type 'ElementSegment.Flag' may have shared mutable state; this is an error in the Swift 6 language mode
190 | public struct ElementSegment: Equatable {
191 | @usableFromInline
192 | struct Flag: OptionSet {
| `- note: consider making struct 'Flag' conform to the 'Sendable' protocol
193 | @usableFromInline let rawValue: UInt32
194 |
:
206 | }
207 |
208 | @usableFromInline static let isPassiveOrDeclarative = Flag(rawValue: 1 << 0)
| |- warning: static property 'isPassiveOrDeclarative' is not concurrency-safe because non-'Sendable' type 'ElementSegment.Flag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'isPassiveOrDeclarative' 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
209 | @usableFromInline static let isDeclarative = Flag(rawValue: 1 << 1)
210 | @usableFromInline static let hasTableIndex = Flag(rawValue: 1 << 1)
/host/spi-builder-workspace/Sources/WasmParser/WasmTypes.swift:209:38: warning: static property 'isDeclarative' is not concurrency-safe because non-'Sendable' type 'ElementSegment.Flag' may have shared mutable state; this is an error in the Swift 6 language mode
190 | public struct ElementSegment: Equatable {
191 | @usableFromInline
192 | struct Flag: OptionSet {
| `- note: consider making struct 'Flag' conform to the 'Sendable' protocol
193 | @usableFromInline let rawValue: UInt32
194 |
:
207 |
208 | @usableFromInline static let isPassiveOrDeclarative = Flag(rawValue: 1 << 0)
209 | @usableFromInline static let isDeclarative = Flag(rawValue: 1 << 1)
| |- warning: static property 'isDeclarative' is not concurrency-safe because non-'Sendable' type 'ElementSegment.Flag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'isDeclarative' 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
210 | @usableFromInline static let hasTableIndex = Flag(rawValue: 1 << 1)
211 | @usableFromInline static let usesExpressions = Flag(rawValue: 1 << 2)
/host/spi-builder-workspace/Sources/WasmParser/WasmTypes.swift:210:38: warning: static property 'hasTableIndex' is not concurrency-safe because non-'Sendable' type 'ElementSegment.Flag' may have shared mutable state; this is an error in the Swift 6 language mode
190 | public struct ElementSegment: Equatable {
191 | @usableFromInline
192 | struct Flag: OptionSet {
| `- note: consider making struct 'Flag' conform to the 'Sendable' protocol
193 | @usableFromInline let rawValue: UInt32
194 |
:
208 | @usableFromInline static let isPassiveOrDeclarative = Flag(rawValue: 1 << 0)
209 | @usableFromInline static let isDeclarative = Flag(rawValue: 1 << 1)
210 | @usableFromInline static let hasTableIndex = Flag(rawValue: 1 << 1)
| |- warning: static property 'hasTableIndex' is not concurrency-safe because non-'Sendable' type 'ElementSegment.Flag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'hasTableIndex' 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
211 | @usableFromInline static let usesExpressions = Flag(rawValue: 1 << 2)
212 | }
/host/spi-builder-workspace/Sources/WasmParser/WasmTypes.swift:211:38: warning: static property 'usesExpressions' is not concurrency-safe because non-'Sendable' type 'ElementSegment.Flag' may have shared mutable state; this is an error in the Swift 6 language mode
190 | public struct ElementSegment: Equatable {
191 | @usableFromInline
192 | struct Flag: OptionSet {
| `- note: consider making struct 'Flag' conform to the 'Sendable' protocol
193 | @usableFromInline let rawValue: UInt32
194 |
:
209 | @usableFromInline static let isDeclarative = Flag(rawValue: 1 << 1)
210 | @usableFromInline static let hasTableIndex = Flag(rawValue: 1 << 1)
211 | @usableFromInline static let usesExpressions = Flag(rawValue: 1 << 2)
| |- warning: static property 'usesExpressions' is not concurrency-safe because non-'Sendable' type 'ElementSegment.Flag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'usesExpressions' 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
212 | }
213 |
[136/210] Compiling WITOverlayGenerator WasmKitSourcePrinter.swift
[137/210] Compiling WITOverlayGenerator ConvertCase.swift
[138/210] Compiling WITOverlayGenerator SwiftName.swift
[139/210] Compiling WITOverlayGenerator TypeName.swift
[140/210] Compiling WITOverlayGenerator SourcePrinter.swift
[141/210] Compiling WASI PlatformTypes.swift
[142/210] Compiling WASI SandboxPrimitives.swift
[143/210] Compiling WITOverlayGenerator StaticCanonicalLoading.swift
[144/210] Compiling WITOverlayGenerator StaticCanonicalLowering.swift
[145/210] Compiling WITOverlayGenerator StaticCanonicalStoring.swift
[146/210] Compiling WITOverlayGenerator GuestPrelude.swift
[147/210] Compiling WITOverlayGenerator GuestWorldGenerator.swift
[148/210] Compiling WITOverlayGenerator HostExportFunction.swift
[149/210] Compiling WITOverlayGenerator HostExportInterface.swift
[150/210] Compiling WITOverlayGenerator HostWorldGenerator.swift
[153/210] Compiling WASI Entry.swift
[154/210] Compiling WASI File.swift
[155/210] Compiling WASI GuestMemorySupport.swift
[156/210] Compiling WASI Directory.swift
[157/210] Compiling ArgumentParser CollectionExtensions.swift
[158/210] Compiling ArgumentParser Platform.swift
[159/210] Compiling ArgumentParser SequenceExtensions.swift
[160/210] Compiling ArgumentParser StringExtensions.swift
[161/210] Compiling ArgumentParser Tree.swift
[162/210] Compiling WASI Open.swift
[163/210] Compiling ArgumentParser DumpHelpGenerator.swift
[164/210] Compiling ArgumentParser HelpCommand.swift
[165/210] Compiling ArgumentParser HelpGenerator.swift
[166/210] Compiling ArgumentParser MessageInfo.swift
[167/210] Compiling ArgumentParser UsageGenerator.swift
[172/214] Compiling WITOverlayGenerator InterfaceTypeGenerator.swift
[173/214] Compiling WITOverlayGenerator TypeAccessory.swift
[177/214] Emitting module WASI
[178/214] Emitting module WasmParser
/host/spi-builder-workspace/Sources/WasmParser/Stream/Stream.swift:3: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 | @usableFromInline
2 | enum StreamError<Element>: Swift.Error, Equatable where Element: Hashable {
| `- note: consider making generic parameter 'Element' conform to the 'Sendable' protocol
3 | 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
4 | case unexpected(Element, index: Int, expected: Set<Element>?)
5 | }
/host/spi-builder-workspace/Sources/WasmParser/Stream/Stream.swift:4: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 | @usableFromInline
2 | enum StreamError<Element>: Swift.Error, Equatable where Element: Hashable {
| `- note: consider making generic parameter 'Element' conform to the 'Sendable' protocol
3 | case unexpectedEnd(expected: Set<Element>?)
4 | 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
5 | }
6 |
/host/spi-builder-workspace/Sources/WasmParser/Stream/Stream.swift:4: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 | @usableFromInline
2 | enum StreamError<Element>: Swift.Error, Equatable where Element: Hashable {
| `- note: consider making generic parameter 'Element' conform to the 'Sendable' protocol
3 | case unexpectedEnd(expected: Set<Element>?)
4 | 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
5 | }
6 |
/host/spi-builder-workspace/Sources/WasmParser/WasmParser.swift:199: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
177 |
178 | /// Flags for enabling/disabling WebAssembly features
179 | public struct WasmFeatureSet: OptionSet {
| `- note: consider making struct 'WasmFeatureSet' conform to the 'Sendable' protocol
180 | /// The raw value of the feature set
181 | public let rawValue: Int
:
197 |
198 | /// The default feature set
199 | 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
200 | /// The feature set with all features enabled
201 | public static let all: WasmFeatureSet = [.memory64, .referenceTypes, .threads]
/host/spi-builder-workspace/Sources/WasmParser/WasmParser.swift:201: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
177 |
178 | /// Flags for enabling/disabling WebAssembly features
179 | public struct WasmFeatureSet: OptionSet {
| `- note: consider making struct 'WasmFeatureSet' conform to the 'Sendable' protocol
180 | /// The raw value of the feature set
181 | public let rawValue: Int
:
199 | public static let `default`: WasmFeatureSet = [.referenceTypes]
200 | /// The feature set with all features enabled
201 | 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
202 | }
203 |
/host/spi-builder-workspace/Sources/WasmParser/WasmParser.swift:215: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
205 | public struct WasmParserError: Swift.Error {
206 | @usableFromInline
207 | struct Message {
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
208 | let text: String
209 |
:
213 | }
214 |
215 | 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
216 | let offset: Int
217 |
/host/spi-builder-workspace/Sources/WasmParser/WasmParser.swift:281: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
205 | public struct WasmParserError: Swift.Error {
206 | @usableFromInline
207 | struct Message {
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
208 | let text: String
209 |
:
279 |
280 | @usableFromInline
281 | 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
282 |
283 | @usableFromInline
/host/spi-builder-workspace/Sources/WasmParser/WasmParser.swift:284: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
205 | public struct WasmParserError: Swift.Error {
206 | @usableFromInline
207 | struct Message {
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
208 | let text: String
209 |
:
282 |
283 | @usableFromInline
284 | 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
285 |
286 | @usableFromInline
/host/spi-builder-workspace/Sources/WasmParser/WasmParser.swift:287: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
205 | public struct WasmParserError: Swift.Error {
206 | @usableFromInline
207 | struct Message {
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
208 | let text: String
209 |
:
285 |
286 | @usableFromInline
287 | 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
288 |
289 | @usableFromInline
/host/spi-builder-workspace/Sources/WasmParser/WasmParser.swift:309: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
205 | public struct WasmParserError: Swift.Error {
206 | @usableFromInline
207 | struct Message {
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
208 | let text: String
209 |
:
307 |
308 | @usableFromInline
309 | 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
310 |
311 | @usableFromInline
/host/spi-builder-workspace/Sources/WasmParser/WasmParser.swift:316: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
205 | public struct WasmParserError: Swift.Error {
206 | @usableFromInline
207 | struct Message {
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
208 | let text: String
209 |
:
314 | }
315 |
316 | @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
317 |
318 | @usableFromInline static func malformedDataSegmentKind(_ kind: UInt32) -> Self {
/host/spi-builder-workspace/Sources/WasmParser/WasmTypes.swift:208:38: warning: static property 'isPassiveOrDeclarative' is not concurrency-safe because non-'Sendable' type 'ElementSegment.Flag' may have shared mutable state; this is an error in the Swift 6 language mode
190 | public struct ElementSegment: Equatable {
191 | @usableFromInline
192 | struct Flag: OptionSet {
| `- note: consider making struct 'Flag' conform to the 'Sendable' protocol
193 | @usableFromInline let rawValue: UInt32
194 |
:
206 | }
207 |
208 | @usableFromInline static let isPassiveOrDeclarative = Flag(rawValue: 1 << 0)
| |- warning: static property 'isPassiveOrDeclarative' is not concurrency-safe because non-'Sendable' type 'ElementSegment.Flag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'isPassiveOrDeclarative' 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
209 | @usableFromInline static let isDeclarative = Flag(rawValue: 1 << 1)
210 | @usableFromInline static let hasTableIndex = Flag(rawValue: 1 << 1)
/host/spi-builder-workspace/Sources/WasmParser/WasmTypes.swift:209:38: warning: static property 'isDeclarative' is not concurrency-safe because non-'Sendable' type 'ElementSegment.Flag' may have shared mutable state; this is an error in the Swift 6 language mode
190 | public struct ElementSegment: Equatable {
191 | @usableFromInline
192 | struct Flag: OptionSet {
| `- note: consider making struct 'Flag' conform to the 'Sendable' protocol
193 | @usableFromInline let rawValue: UInt32
194 |
:
207 |
208 | @usableFromInline static let isPassiveOrDeclarative = Flag(rawValue: 1 << 0)
209 | @usableFromInline static let isDeclarative = Flag(rawValue: 1 << 1)
| |- warning: static property 'isDeclarative' is not concurrency-safe because non-'Sendable' type 'ElementSegment.Flag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'isDeclarative' 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
210 | @usableFromInline static let hasTableIndex = Flag(rawValue: 1 << 1)
211 | @usableFromInline static let usesExpressions = Flag(rawValue: 1 << 2)
/host/spi-builder-workspace/Sources/WasmParser/WasmTypes.swift:210:38: warning: static property 'hasTableIndex' is not concurrency-safe because non-'Sendable' type 'ElementSegment.Flag' may have shared mutable state; this is an error in the Swift 6 language mode
190 | public struct ElementSegment: Equatable {
191 | @usableFromInline
192 | struct Flag: OptionSet {
| `- note: consider making struct 'Flag' conform to the 'Sendable' protocol
193 | @usableFromInline let rawValue: UInt32
194 |
:
208 | @usableFromInline static let isPassiveOrDeclarative = Flag(rawValue: 1 << 0)
209 | @usableFromInline static let isDeclarative = Flag(rawValue: 1 << 1)
210 | @usableFromInline static let hasTableIndex = Flag(rawValue: 1 << 1)
| |- warning: static property 'hasTableIndex' is not concurrency-safe because non-'Sendable' type 'ElementSegment.Flag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'hasTableIndex' 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
211 | @usableFromInline static let usesExpressions = Flag(rawValue: 1 << 2)
212 | }
/host/spi-builder-workspace/Sources/WasmParser/WasmTypes.swift:211:38: warning: static property 'usesExpressions' is not concurrency-safe because non-'Sendable' type 'ElementSegment.Flag' may have shared mutable state; this is an error in the Swift 6 language mode
190 | public struct ElementSegment: Equatable {
191 | @usableFromInline
192 | struct Flag: OptionSet {
| `- note: consider making struct 'Flag' conform to the 'Sendable' protocol
193 | @usableFromInline let rawValue: UInt32
194 |
:
209 | @usableFromInline static let isDeclarative = Flag(rawValue: 1 << 1)
210 | @usableFromInline static let hasTableIndex = Flag(rawValue: 1 << 1)
211 | @usableFromInline static let usesExpressions = Flag(rawValue: 1 << 2)
| |- warning: static property 'usesExpressions' is not concurrency-safe because non-'Sendable' type 'ElementSegment.Flag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'usesExpressions' 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
212 | }
213 |
[178/214] Wrapping AST for ArgumentParser for debugging
[183/214] Compiling WasmParser Stream.swift
/host/spi-builder-workspace/Sources/WasmParser/Stream/Stream.swift:3: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 | @usableFromInline
2 | enum StreamError<Element>: Swift.Error, Equatable where Element: Hashable {
| `- note: consider making generic parameter 'Element' conform to the 'Sendable' protocol
3 | 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
4 | case unexpected(Element, index: Int, expected: Set<Element>?)
5 | }
/host/spi-builder-workspace/Sources/WasmParser/Stream/Stream.swift:4: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 | @usableFromInline
2 | enum StreamError<Element>: Swift.Error, Equatable where Element: Hashable {
| `- note: consider making generic parameter 'Element' conform to the 'Sendable' protocol
3 | case unexpectedEnd(expected: Set<Element>?)
4 | 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
5 | }
6 |
/host/spi-builder-workspace/Sources/WasmParser/Stream/Stream.swift:4: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 | @usableFromInline
2 | enum StreamError<Element>: Swift.Error, Equatable where Element: Hashable {
| `- note: consider making generic parameter 'Element' conform to the 'Sendable' protocol
3 | case unexpectedEnd(expected: Set<Element>?)
4 | 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
5 | }
6 |
[184/214] Compiling WasmParser WasmParser.swift
/host/spi-builder-workspace/Sources/WasmParser/WasmParser.swift:199: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
177 |
178 | /// Flags for enabling/disabling WebAssembly features
179 | public struct WasmFeatureSet: OptionSet {
| `- note: consider making struct 'WasmFeatureSet' conform to the 'Sendable' protocol
180 | /// The raw value of the feature set
181 | public let rawValue: Int
:
197 |
198 | /// The default feature set
199 | 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
200 | /// The feature set with all features enabled
201 | public static let all: WasmFeatureSet = [.memory64, .referenceTypes, .threads]
/host/spi-builder-workspace/Sources/WasmParser/WasmParser.swift:201: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
177 |
178 | /// Flags for enabling/disabling WebAssembly features
179 | public struct WasmFeatureSet: OptionSet {
| `- note: consider making struct 'WasmFeatureSet' conform to the 'Sendable' protocol
180 | /// The raw value of the feature set
181 | public let rawValue: Int
:
199 | public static let `default`: WasmFeatureSet = [.referenceTypes]
200 | /// The feature set with all features enabled
201 | 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
202 | }
203 |
/host/spi-builder-workspace/Sources/WasmParser/WasmParser.swift:215: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
205 | public struct WasmParserError: Swift.Error {
206 | @usableFromInline
207 | struct Message {
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
208 | let text: String
209 |
:
213 | }
214 |
215 | 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
216 | let offset: Int
217 |
/host/spi-builder-workspace/Sources/WasmParser/WasmParser.swift:281: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
205 | public struct WasmParserError: Swift.Error {
206 | @usableFromInline
207 | struct Message {
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
208 | let text: String
209 |
:
279 |
280 | @usableFromInline
281 | 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
282 |
283 | @usableFromInline
/host/spi-builder-workspace/Sources/WasmParser/WasmParser.swift:284: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
205 | public struct WasmParserError: Swift.Error {
206 | @usableFromInline
207 | struct Message {
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
208 | let text: String
209 |
:
282 |
283 | @usableFromInline
284 | 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
285 |
286 | @usableFromInline
/host/spi-builder-workspace/Sources/WasmParser/WasmParser.swift:287: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
205 | public struct WasmParserError: Swift.Error {
206 | @usableFromInline
207 | struct Message {
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
208 | let text: String
209 |
:
285 |
286 | @usableFromInline
287 | 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
288 |
289 | @usableFromInline
/host/spi-builder-workspace/Sources/WasmParser/WasmParser.swift:309: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
205 | public struct WasmParserError: Swift.Error {
206 | @usableFromInline
207 | struct Message {
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
208 | let text: String
209 |
:
307 |
308 | @usableFromInline
309 | 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
310 |
311 | @usableFromInline
/host/spi-builder-workspace/Sources/WasmParser/WasmParser.swift:316: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
205 | public struct WasmParserError: Swift.Error {
206 | @usableFromInline
207 | struct Message {
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
208 | let text: String
209 |
:
314 | }
315 |
316 | @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
317 |
318 | @usableFromInline static func malformedDataSegmentKind(_ kind: UInt32) -> Self {
/host/spi-builder-workspace/Sources/WasmParser/WasmTypes.swift:208:38: warning: static property 'isPassiveOrDeclarative' is not concurrency-safe because non-'Sendable' type 'ElementSegment.Flag' may have shared mutable state; this is an error in the Swift 6 language mode
190 | public struct ElementSegment: Equatable {
191 | @usableFromInline
192 | struct Flag: OptionSet {
| `- note: consider making struct 'Flag' conform to the 'Sendable' protocol
193 | @usableFromInline let rawValue: UInt32
194 |
:
206 | }
207 |
208 | @usableFromInline static let isPassiveOrDeclarative = Flag(rawValue: 1 << 0)
| |- warning: static property 'isPassiveOrDeclarative' is not concurrency-safe because non-'Sendable' type 'ElementSegment.Flag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'isPassiveOrDeclarative' 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
209 | @usableFromInline static let isDeclarative = Flag(rawValue: 1 << 1)
210 | @usableFromInline static let hasTableIndex = Flag(rawValue: 1 << 1)
/host/spi-builder-workspace/Sources/WasmParser/WasmTypes.swift:209:38: warning: static property 'isDeclarative' is not concurrency-safe because non-'Sendable' type 'ElementSegment.Flag' may have shared mutable state; this is an error in the Swift 6 language mode
190 | public struct ElementSegment: Equatable {
191 | @usableFromInline
192 | struct Flag: OptionSet {
| `- note: consider making struct 'Flag' conform to the 'Sendable' protocol
193 | @usableFromInline let rawValue: UInt32
194 |
:
207 |
208 | @usableFromInline static let isPassiveOrDeclarative = Flag(rawValue: 1 << 0)
209 | @usableFromInline static let isDeclarative = Flag(rawValue: 1 << 1)
| |- warning: static property 'isDeclarative' is not concurrency-safe because non-'Sendable' type 'ElementSegment.Flag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'isDeclarative' 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
210 | @usableFromInline static let hasTableIndex = Flag(rawValue: 1 << 1)
211 | @usableFromInline static let usesExpressions = Flag(rawValue: 1 << 2)
/host/spi-builder-workspace/Sources/WasmParser/WasmTypes.swift:210:38: warning: static property 'hasTableIndex' is not concurrency-safe because non-'Sendable' type 'ElementSegment.Flag' may have shared mutable state; this is an error in the Swift 6 language mode
190 | public struct ElementSegment: Equatable {
191 | @usableFromInline
192 | struct Flag: OptionSet {
| `- note: consider making struct 'Flag' conform to the 'Sendable' protocol
193 | @usableFromInline let rawValue: UInt32
194 |
:
208 | @usableFromInline static let isPassiveOrDeclarative = Flag(rawValue: 1 << 0)
209 | @usableFromInline static let isDeclarative = Flag(rawValue: 1 << 1)
210 | @usableFromInline static let hasTableIndex = Flag(rawValue: 1 << 1)
| |- warning: static property 'hasTableIndex' is not concurrency-safe because non-'Sendable' type 'ElementSegment.Flag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'hasTableIndex' 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
211 | @usableFromInline static let usesExpressions = Flag(rawValue: 1 << 2)
212 | }
/host/spi-builder-workspace/Sources/WasmParser/WasmTypes.swift:211:38: warning: static property 'usesExpressions' is not concurrency-safe because non-'Sendable' type 'ElementSegment.Flag' may have shared mutable state; this is an error in the Swift 6 language mode
190 | public struct ElementSegment: Equatable {
191 | @usableFromInline
192 | struct Flag: OptionSet {
| `- note: consider making struct 'Flag' conform to the 'Sendable' protocol
193 | @usableFromInline let rawValue: UInt32
194 |
:
209 | @usableFromInline static let isDeclarative = Flag(rawValue: 1 << 1)
210 | @usableFromInline static let hasTableIndex = Flag(rawValue: 1 << 1)
211 | @usableFromInline static let usesExpressions = Flag(rawValue: 1 << 2)
| |- warning: static property 'usesExpressions' is not concurrency-safe because non-'Sendable' type 'ElementSegment.Flag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'usesExpressions' 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
212 | }
213 |
[189/215] Emitting module WITOverlayGenerator
[200/215] Wrapping AST for WasmParser for debugging
[202/257] Compiling WasmKit SignpostTracer.swift
[203/257] Compiling WasmKit Store.swift
[204/257] Compiling WasmKit StoreAllocator.swift
[205/258] Wrapping AST for WITOverlayGenerator for debugging
[207/261] Compiling WAT WastParser.swift
[208/262] Compiling WITTool Utilities.swift
[209/262] Compiling WAT ExpressionParser.swift
[210/262] Emitting module WITTool
[211/262] Emitting module WAT
/host/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 {
/host/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
/host/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.
[212/262] Compiling WasmKit CanonicalCall.swift
[213/262] Compiling WasmKit CanonicalLifting.swift
[214/262] Compiling WASI WASI.swift
[215/263] Compiling WAT WAT.swift
/host/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.
[216/263] Compiling WAT WatParser.swift
[217/263] Compiling WITTool WITTool.swift
[219/264] Compiling WasmKit Misc.swift
[220/264] Compiling WasmKit Table.swift
[221/264] Compiling WasmKit NameRegistry.swift
[222/264] Compiling WasmKit Profiler.swift
[223/268] Compiling WasmKit ComponentTypes.swift
[224/268] Compiling WasmKit Execution.swift
[225/268] Compiling WasmKit CanonicalLowering.swift
[226/268] Compiling WasmKit CanonicalOptions.swift
[227/268] Compiling WAT Parser.swift
/host/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 {
/host/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
[229/269] Emitting module WasmKit
/host/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
/host/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) {
/host/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
/host/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
/host/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
/host/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
/host/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
[230/269] Wrapping AST for WASI for debugging
[231/269] Wrapping AST for WITTool for debugging
[232/269] Write Objects.LinkFileList
[234/269] Compiling WasmKit Runtime.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 | 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 | 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 | 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 | deinit
3 | }
[238/269] Compiling WasmKit UntypedValue.swift
[239/269] Compiling WasmKit Value.swift
[240/269] Compiling WasmKit Imports.swift
[241/269] Compiling WasmKit Module.swift
[241/269] Linking WITTool
[244/269] Compiling WasmKit Function.swift
[245/269] Compiling WasmKit IO.swift
[246/269] Compiling WasmKit Instances.swift
[247/269] Compiling WasmKit Control.swift
[248/269] Compiling WasmKit Instruction.swift
[249/269] Compiling WasmKit InstructionSupport.swift
[250/269] Compiling WasmKit Memory.swift
/host/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
/host/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
/host/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
/host/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
/host/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
[256/269] Compiling WasmKit Engine.swift
/host/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) {
/host/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
/host/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
/host/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
/host/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
/host/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
[257/269] Compiling WasmKit ConstEvaluation.swift
/host/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) {
/host/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
/host/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
/host/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
/host/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
/host/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
[258/269] Compiling WasmKit DispatchInstruction.swift
/host/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) {
/host/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
/host/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
/host/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
/host/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
/host/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
[259/269] Compiling WasmKit EngineInterceptor.swift
/host/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) {
/host/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
/host/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
/host/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
/host/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
/host/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
[260/269] Compiling WasmKit Errors.swift
/host/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) {
/host/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
/host/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
/host/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
/host/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
/host/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
[261/269] Compiling WasmKit ModuleParser.swift
[262/269] Compiling WasmKit ResourceLimiter.swift
[263/269] Compiling WasmKit Translator.swift
[264/269] Compiling WasmKit Validator.swift
[265/270] Wrapping AST for WasmKit for debugging
[267/274] Emitting module WasmKitWASI
[268/274] Compiling WasmKitWASI WASIBridgeToHost+WasmKit.swift
[269/275] Compiling WasmKitFuzzing WasmKitFuzzing.swift
[270/275] Emitting module WasmKitFuzzing
[271/276] Wrapping AST for WasmKitWASI for debugging
[274/280] Compiling CLI CLI.swift
[275/280] Compiling CLI Explore.swift
[276/280] Emitting module CLI
[277/280] Compiling CLI Run.swift
[278/281] Wrapping AST for CLI for debugging
[279/281] Write Objects.LinkFileList
[280/281] Linking wasmkit-cli
Build complete! (67.04s)
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" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.13"
},
{
"name" : "ios",
"version" : "12.0"
}
],
"products" : [
{
"name" : "wasmkit-cli",
"targets" : [
"CLI"
],
"type" : {
"executable" : null
}
},
{
"name" : "WasmKit",
"targets" : [
"WasmKit"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "WasmKitWASI",
"targets" : [
"WasmKitWASI"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "WASI",
"targets" : [
"WASI"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "WasmParser",
"targets" : [
"WasmParser"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "WAT",
"targets" : [
"WAT"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "WIT",
"targets" : [
"WIT"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "_CabiShims",
"targets" : [
"_CabiShims"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "WITOverlayPlugin",
"targets" : [
"WITOverlayPlugin"
],
"type" : {
"plugin" : null
}
},
{
"name" : "WITExtractorPlugin",
"targets" : [
"WITExtractorPlugin"
],
"type" : {
"plugin" : null
}
},
{
"name" : "WITTool",
"targets" : [
"WITTool"
],
"type" : {
"executable" : null
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "_CabiShims",
"module_type" : "ClangTarget",
"name" : "_CabiShims",
"path" : "Sources/_CabiShims",
"product_memberships" : [
"_CabiShims"
],
"sources" : [
"shims.c"
],
"type" : "library"
},
{
"c99name" : "_CWasmKit",
"module_type" : "ClangTarget",
"name" : "_CWasmKit",
"path" : "Sources/_CWasmKit",
"product_memberships" : [
"wasmkit-cli",
"WasmKit",
"WasmKitWASI"
],
"sources" : [
"_CWasmKit.c"
],
"type" : "library"
},
{
"c99name" : "WasmTypes",
"module_type" : "SwiftTarget",
"name" : "WasmTypes",
"path" : "Sources/WasmTypes",
"product_memberships" : [
"wasmkit-cli",
"WasmKit",
"WasmKitWASI",
"WASI",
"WasmParser",
"WAT"
],
"sources" : [
"GuestMemory.swift",
"WasmTypes.swift"
],
"type" : "library"
},
{
"c99name" : "WasmParserTests",
"module_type" : "SwiftTarget",
"name" : "WasmParserTests",
"path" : "Tests/WasmParserTests",
"sources" : [
"LEBTests.swift"
],
"target_dependencies" : [
"WasmParser"
],
"type" : "test"
},
{
"c99name" : "WasmParser",
"module_type" : "SwiftTarget",
"name" : "WasmParser",
"path" : "Sources/WasmParser",
"product_dependencies" : [
"SystemPackage"
],
"product_memberships" : [
"wasmkit-cli",
"WasmKit",
"WasmKitWASI",
"WasmParser",
"WAT"
],
"sources" : [
"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",
"WasmKitFuzzing"
],
"type" : "test"
},
{
"c99name" : "WasmKitFuzzing",
"module_type" : "SwiftTarget",
"name" : "WasmKitFuzzing",
"path" : "FuzzTesting/Sources/WasmKitFuzzing",
"sources" : [
"WasmKitFuzzing.swift"
],
"target_dependencies" : [
"WasmKit"
],
"type" : "library"
},
{
"c99name" : "WasmKit",
"module_type" : "SwiftTarget",
"name" : "WasmKit",
"path" : "Sources/WasmKit",
"product_dependencies" : [
"SystemPackage"
],
"product_memberships" : [
"wasmkit-cli",
"WasmKit",
"WasmKitWASI"
],
"sources" : [
"Component/CanonicalCall.swift",
"Component/CanonicalLifting.swift",
"Component/CanonicalLowering.swift",
"Component/CanonicalOptions.swift",
"Component/ComponentTypes.swift",
"Engine.swift",
"Execution/ConstEvaluation.swift",
"Execution/DispatchInstruction.swift",
"Execution/EngineInterceptor.swift",
"Execution/Errors.swift",
"Execution/Execution.swift",
"Execution/Function.swift",
"Execution/IO.swift",
"Execution/Instances.swift",
"Execution/Instructions/Control.swift",
"Execution/Instructions/Instruction.swift",
"Execution/Instructions/InstructionSupport.swift",
"Execution/Instructions/Memory.swift",
"Execution/Instructions/Misc.swift",
"Execution/Instructions/Table.swift",
"Execution/NameRegistry.swift",
"Execution/Profiler.swift",
"Execution/Runtime.swift",
"Execution/SignpostTracer.swift",
"Execution/Store.swift",
"Execution/StoreAllocator.swift",
"Execution/UntypedValue.swift",
"Execution/Value.swift",
"Imports.swift",
"Module.swift",
"ModuleParser.swift",
"ResourceLimiter.swift",
"Translator.swift",
"Validator.swift"
],
"target_dependencies" : [
"_CWasmKit",
"WasmParser",
"WasmTypes",
"SystemExtras"
],
"type" : "library"
},
{
"c99name" : "WITTool",
"module_type" : "SwiftTarget",
"name" : "WITTool",
"path" : "Sources/WITTool",
"product_dependencies" : [
"ArgumentParser"
],
"product_memberships" : [
"WITOverlayPlugin",
"WITExtractorPlugin",
"WITTool"
],
"sources" : [
"Utilities.swift",
"WITTool.swift"
],
"target_dependencies" : [
"WIT",
"WITOverlayGenerator",
"WITExtractor"
],
"type" : "executable"
},
{
"c99name" : "WITTests",
"module_type" : "SwiftTarget",
"name" : "WITTests",
"path" : "Tests/WITTests",
"sources" : [
"LexerTests.swift",
"PackageResolverTests.swift",
"Semantics/NameLookupTests.swift",
"Semantics/RequestEvaluatorTests.swift",
"Semantics/ValidationTests.swift",
"TextParser/ParseFunctionDeclTests.swift",
"TextParser/ParseInterfaceTests.swift",
"TextParser/ParseTopTests.swift",
"TextParser/ParseTypesTests.swift",
"TextParser/ParseVersionTests.swift",
"TextParser/ParseWorldTests.swift"
],
"target_dependencies" : [
"WIT"
],
"type" : "test"
},
{
"c99name" : "WITOverlayPlugin",
"module_type" : "PluginTarget",
"name" : "WITOverlayPlugin",
"path" : "Plugins/WITOverlayPlugin",
"plugin_capability" : {
"type" : "buildTool"
},
"product_memberships" : [
"WITOverlayPlugin"
],
"sources" : [
"Plugin.swift"
],
"target_dependencies" : [
"WITTool"
],
"type" : "plugin"
},
{
"c99name" : "WITOverlayGeneratorTests",
"module_type" : "SwiftTarget",
"name" : "WITOverlayGeneratorTests",
"path" : "Tests/WITOverlayGeneratorTests",
"sources" : [
"HostGeneratorTests.swift",
"Runtime/RuntimeSmokeTests.swift",
"Runtime/RuntimeTestHarness.swift",
"Runtime/RuntimeTypesTests.swift"
],
"target_dependencies" : [
"WITOverlayGenerator",
"WasmKit",
"WasmKitWASI",
"GenerateOverlayForTesting"
],
"type" : "test"
},
{
"c99name" : "WITOverlayGenerator",
"module_type" : "SwiftTarget",
"name" : "WITOverlayGenerator",
"path" : "Sources/WITOverlayGenerator",
"product_memberships" : [
"WITOverlayPlugin",
"WITExtractorPlugin",
"WITTool"
],
"sources" : [
"CanonicalABI/CanonicalName.swift",
"CanonicalABI/CanonicalOperation.swift",
"CanonicalABI/SignatureTranslation.swift",
"CanonicalABI/StaticCanonicalDeallocation.swift",
"CanonicalABI/StaticCanonicalLifting.swift",
"CanonicalABI/StaticCanonicalLoading.swift",
"CanonicalABI/StaticCanonicalLowering.swift",
"CanonicalABI/StaticCanonicalStoring.swift",
"DefinitionMapping.swift",
"GuestGenerators/GuestExportFunction.swift",
"GuestGenerators/GuestExportInterface.swift",
"GuestGenerators/GuestPrelude.swift",
"GuestGenerators/GuestWorldGenerator.swift",
"HostGenerators/HostExportFunction.swift",
"HostGenerators/HostExportInterface.swift",
"HostGenerators/HostWorldGenerator.swift",
"HostGenerators/WasmKitSourcePrinter.swift",
"Naming/ConvertCase.swift",
"Naming/SwiftName.swift",
"Naming/TypeName.swift",
"SourcePrinter.swift",
"TypeGenerators/InterfaceTypeGenerator.swift",
"TypeGenerators/TypeAccessory.swift",
"TypeGenerators/TypeDefinition.swift",
"TypeGenerators/TypeGenerator.swift",
"WITOverlayGen.swift"
],
"target_dependencies" : [
"WIT"
],
"type" : "library"
},
{
"c99name" : "WITExtractorTests",
"module_type" : "SwiftTarget",
"name" : "WITExtractorTests",
"path" : "Tests/WITExtractorTests",
"sources" : [
"ConvertCaseTests.swift",
"ExportFunctionTests.swift",
"TestSupport.swift",
"TypeTranslationTests.swift"
],
"target_dependencies" : [
"WITExtractor",
"WIT"
],
"type" : "test"
},
{
"c99name" : "WITExtractorPluginTests",
"module_type" : "SwiftTarget",
"name" : "WITExtractorPluginTests",
"path" : "Tests/WITExtractorPluginTests",
"sources" : [
"PluginSmokeTests.swift",
"TestSupport.swift"
],
"type" : "test"
},
{
"c99name" : "WITExtractorPlugin",
"module_type" : "PluginTarget",
"name" : "WITExtractorPlugin",
"path" : "Plugins/WITExtractorPlugin",
"plugin_capability" : {
"intent" : {
"description" : "Extract WIT definition from Swift module",
"type" : "custom",
"verb" : "extract-wit"
},
"permissions" : [
],
"type" : "command"
},
"product_memberships" : [
"WITExtractorPlugin"
],
"sources" : [
"Plugin.swift"
],
"target_dependencies" : [
"WITTool"
],
"type" : "plugin"
},
{
"c99name" : "WITExtractor",
"module_type" : "SwiftTarget",
"name" : "WITExtractor",
"path" : "Sources/WITExtractor",
"product_memberships" : [
"WITOverlayPlugin",
"WITExtractorPlugin",
"WITTool"
],
"sources" : [
"Diagnostic.swift",
"ModuleTranslation.swift",
"Naming/ConvertCase.swift",
"SourcePrinter.swift",
"SourceSummary.swift",
"SwiftAPIDigester.swift",
"TypeMapping.swift",
"WITBuilder.swift",
"WITExtractor.swift"
],
"type" : "library"
},
{
"c99name" : "WIT",
"module_type" : "SwiftTarget",
"name" : "WIT",
"path" : "Sources/WIT",
"product_memberships" : [
"WIT",
"WITOverlayPlugin",
"WITExtractorPlugin",
"WITTool"
],
"sources" : [
"AST.swift",
"ASTVisitor.swift",
"CanonicalABI/CanonicalABI.swift",
"CanonicalABI/CanonicalDeallocation.swift",
"CanonicalABI/CanonicalLifting.swift",
"CanonicalABI/CanonicalLoading.swift",
"CanonicalABI/CanonicalLowering.swift",
"CanonicalABI/CanonicalStoring.swift",
"Diagnostics.swift",
"Lexer.swift",
"PackageResolver.swift",
"Semantics/NameLookup.swift",
"Semantics/PackageBuilder.swift",
"Semantics/RequestEvaluator.swift",
"Semantics/SemanticsContext.swift",
"Semantics/Type.swift",
"Semantics/Validation.swift",
"SyntaxNode.swift",
"TextParser/ParseFunctionDecl.swift",
"TextParser/ParseInterface.swift",
"TextParser/ParseTop.swift",
"TextParser/ParseTypes.swift",
"TextParser/ParseWorld.swift",
"TextParser/Parser.swift"
],
"type" : "library"
},
{
"c99name" : "WATTests",
"module_type" : "SwiftTarget",
"name" : "WATTests",
"path" : "Tests/WATTests",
"sources" : [
"EncoderTests.swift",
"LexerTests.swift",
"ParserTests.swift",
"Spectest.swift",
"TestSupport.swift"
],
"target_dependencies" : [
"WAT"
],
"type" : "test"
},
{
"c99name" : "WAT",
"module_type" : "SwiftTarget",
"name" : "WAT",
"path" : "Sources/WAT",
"product_memberships" : [
"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",
"TestSupport.swift",
"WASITests.swift"
],
"target_dependencies" : [
"WASI",
"WasmKitWASI"
],
"type" : "test"
},
{
"c99name" : "WASI",
"module_type" : "SwiftTarget",
"name" : "WASI",
"path" : "Sources/WASI",
"product_memberships" : [
"wasmkit-cli",
"WasmKitWASI",
"WASI"
],
"sources" : [
"Clock.swift",
"FileSystem.swift",
"GuestMemorySupport.swift",
"Platform/Directory.swift",
"Platform/Entry.swift",
"Platform/File.swift",
"Platform/PlatformTypes.swift",
"Platform/SandboxPrimitives.swift",
"Platform/SandboxPrimitives/Open.swift",
"Platform/SandboxPrimitives/OpenParent.swift",
"RandomBufferGenerator.swift",
"WASI.swift"
],
"target_dependencies" : [
"WasmTypes",
"SystemExtras"
],
"type" : "library"
},
{
"c99name" : "SystemExtras",
"module_type" : "SwiftTarget",
"name" : "SystemExtras",
"path" : "Sources/SystemExtras",
"product_dependencies" : [
"SystemPackage"
],
"product_memberships" : [
"wasmkit-cli",
"WasmKit",
"WasmKitWASI",
"WASI"
],
"sources" : [
"Clock.swift",
"Constants.swift",
"FileAtOperations.swift",
"FileOperations.swift",
"Syscalls.swift",
"Vendor/Exports.swift",
"Vendor/Utils.swift",
"Vendor/WindowsSyscallAdapter.swift"
],
"type" : "library"
},
{
"c99name" : "GenerateOverlayForTesting",
"module_type" : "PluginTarget",
"name" : "GenerateOverlayForTesting",
"path" : "Plugins/GenerateOverlayForTesting",
"plugin_capability" : {
"type" : "buildTool"
},
"sources" : [
"Plugin.swift"
],
"target_dependencies" : [
"WITTool"
],
"type" : "plugin"
},
{
"c99name" : "CLI",
"module_type" : "SwiftTarget",
"name" : "CLI",
"path" : "Sources/CLI",
"product_dependencies" : [
"ArgumentParser",
"SystemPackage"
],
"product_memberships" : [
"wasmkit-cli"
],
"sources" : [
"CLI.swift",
"Commands/Explore.swift",
"Commands/Run.swift"
],
"target_dependencies" : [
"WasmKit",
"WasmKitWASI"
],
"type" : "executable"
}
],
"tools_version" : "5.8"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.