The Swift Package Index logo.Swift Package Index

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

Build Information

Failed to build SwiftGodot, reference main (7d9241), with Swift 6.1 for Wasm on 21 Aug 2025 20:40:59 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[149/155] Compiling SwiftSyntax SyntaxNodesQRS.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[150/155] Compiling SwiftSyntax SyntaxNodesTUVWXYZ.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[151/156] Wrapping AST for SwiftSyntax for debugging
[153/197] Compiling SwiftParser LexemeSequence.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[154/197] Compiling SwiftParser Lexer.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[155/197] Compiling SwiftParser RegexLiteralLexer.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[156/197] Compiling SwiftParser UnicodeScalarExtensions.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[157/197] Compiling SwiftParser Lookahead.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[158/197] Compiling SwiftParser LoopProgressCondition.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[159/202] Emitting module SwiftParser
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[160/202] Compiling SwiftParser SwiftParserCompatibility.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[161/202] Compiling SwiftParser SwiftVersion.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[162/202] Compiling SwiftParser SyntaxUtils.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[163/202] Compiling SwiftParser TokenConsumer.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[164/202] Compiling SwiftParser TokenPrecedence.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[165/202] Compiling SwiftParser TokenSpec.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[166/202] Compiling SwiftParser TokenSpecSet.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[167/202] Compiling SwiftParser TopLevel.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[168/202] Compiling SwiftParser TriviaParser.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[169/202] Compiling SwiftParser Types.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[170/202] Compiling SwiftParser Patterns.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[171/202] Compiling SwiftParser Recovery.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[172/202] Compiling SwiftParser Specifiers.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[173/202] Compiling SwiftParser Statements.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[174/202] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[175/202] Compiling SwiftParser StringLiterals.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[176/202] Compiling SwiftParser Modifiers.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[177/202] Compiling SwiftParser Names.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[178/202] Compiling SwiftParser Nominals.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[179/202] Compiling SwiftParser Parameters.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[180/202] Compiling SwiftParser ParseSourceFile.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[181/202] Compiling SwiftParser Parser.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[182/202] Compiling SwiftParser Attributes.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[183/202] Compiling SwiftParser Availability.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[184/202] Compiling SwiftParser CharacterInfo.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[185/202] Compiling SwiftParser CollectionNodes+Parsable.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[186/202] Compiling SwiftParser Declarations.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[187/202] Compiling SwiftParser Directives.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[188/202] Compiling SwiftParser ExpressionInterpretedAsVersionTuple.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[189/202] Compiling SwiftParser Expressions.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[190/202] Compiling SwiftParser IncrementalParseTransition.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[191/202] Compiling SwiftParser IsValidIdentifier.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[192/202] Compiling SwiftParser Cursor.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[193/202] Compiling SwiftParser Lexeme.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[194/202] Compiling SwiftParser ExperimentalFeatures.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[195/202] Compiling SwiftParser IsLexerClassified.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[196/202] Compiling SwiftParser LayoutNodes+Parsable.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[197/202] Compiling SwiftParser Parser+TokenSpecSet.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[198/202] Compiling SwiftParser TokenSpecStaticMembers.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[199/203] Wrapping AST for SwiftParser for debugging
[201/206] Emitting module EntryPointGenerator
[202/206] Compiling EntryPointGenerator EntryPointGenerator.swift
/host/spi-builder-workspace/Sources/EntryPointGenerator/EntryPointGenerator.swift:25:23: error: type of expression is ambiguous without a type annotation
23 |
24 |     mutating func run() throws {
25 |         let visitor = GodotMacroSearchingVisitor(viewMode: .all, logger: verbose ? logVerbose : nil)
   |                       `- error: type of expression is ambiguous without a type annotation
26 |
27 |         logVerbose("Scanning source files...")
/host/spi-builder-workspace/Sources/EntryPointGenerator/EntryPointGenerator.swift:52:70: error: cannot infer contextual base in reference to member 'utf8'
50 |         logVerbose("Writing \(count) to '\(outputFile)'...")
51 |         let outputURL = URL(fileURLWithPath: outputFile)
52 |         try source.write(to: outputURL, atomically: true, encoding: .utf8)
   |                                                                      `- error: cannot infer contextual base in reference to member 'utf8'
53 |         log("Generated swift_entry_point, registering \(count) classes, in \(outputURL.lastPathComponent).")
54 |     }
[203/206] Compiling EntryPointGenerator GodotMacroSearchingVisitor.swift
[206/226] Write sources
[212/226] Write swift-version-24593BA9C3E375BF.txt
[214/240] Compiling SwiftDiagnostics Message.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[215/241] Compiling ExtensionApi ApiJsonModel+Extra.swift
[216/241] Compiling SwiftBasicFormat Syntax+Extensions.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[217/241] Emitting module SwiftBasicFormat
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[218/241] Emitting module SwiftDiagnostics
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[219/241] Compiling SwiftDiagnostics Convenience.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[220/241] Compiling SwiftDiagnostics Diagnostic.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[221/241] Compiling SwiftDiagnostics ANSIDiagnosticDecorator.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[222/241] Compiling SwiftDiagnostics BasicDiagnosticDecorator.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[223/241] Compiling SwiftDiagnostics Note.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[224/241] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[225/241] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[226/241] Compiling SwiftBasicFormat InferIndentation.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[227/241] Compiling SwiftDiagnostics FixIt.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[228/241] Compiling SwiftDiagnostics GroupedDiagnostics.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[229/241] Compiling SwiftDiagnostics DiagnosticDecorator.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[230/241] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[232/242] Compiling SwiftBasicFormat BasicFormat.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[233/243] Wrapping AST for SwiftDiagnostics for debugging
[234/243] Wrapping AST for SwiftBasicFormat for debugging
[236/256] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[237/257] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[238/257] Emitting module SwiftParserDiagnostics
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[239/257] Compiling SwiftParserDiagnostics DiagnosticExtensions.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[240/257] Compiling SwiftParserDiagnostics LexerDiagnosticMessages.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[241/257] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[242/257] Compiling SwiftParserDiagnostics Utils.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[243/257] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[244/257] Emitting module ExtensionApi
/host/spi-builder-workspace/Sources/ExtensionApi/ApiJsonModel.swift:567:7: warning: non-final class 'JSONCodingKey' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
565 | }
566 |
567 | class JSONCodingKey: CodingKey {
    |       `- warning: non-final class 'JSONCodingKey' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
568 |     let key: String
569 |
[245/257] Compiling ExtensionApi ApiJsonModel.swift
/host/spi-builder-workspace/Sources/ExtensionApi/ApiJsonModel.swift:567:7: warning: non-final class 'JSONCodingKey' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
565 | }
566 |
567 | class JSONCodingKey: CodingKey {
    |       `- warning: non-final class 'JSONCodingKey' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
568 |     let key: String
569 |
[247/258] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[248/258] Compiling SwiftParserDiagnostics PresenceUtils.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[248/258] Wrapping AST for ExtensionApi for debugging
[250/258] Compiling SwiftParserDiagnostics MissingNodesError.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[251/258] Compiling SwiftParserDiagnostics MissingTokenError.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[252/258] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[253/258] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[254/259] Wrapping AST for SwiftParserDiagnostics for debugging
[256/274] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[257/274] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[258/275] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[259/275] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[260/275] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[261/275] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[262/275] Compiling SwiftSyntaxBuilder Indenter.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[263/275] Compiling SwiftSyntaxBuilder ListBuilder.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[264/275] Emitting module SwiftSyntaxBuilder
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[265/275] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[266/275] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[267/275] Compiling SwiftSyntaxBuilder BuildableNodes.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[268/275] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[269/275] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[270/275] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[271/275] Compiling SwiftSyntaxBuilder ResultBuilders.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[272/276] Wrapping AST for SwiftSyntaxBuilder for debugging
[274/290] Compiling Generator UtilityGen.swift
/host/spi-builder-workspace/Generator/Generator/UtilityGen.swift:12:41: warning: non-sendable result type 'Printer' cannot be sent from actor-isolated context in call to instance method 'initPrinter(_:withPreamble:)'; this is an error in the Swift 6 language mode
10 |
11 | func generateUtility(values: [JGodotUtilityFunction], outputDir: String?) async {
12 |     let p = await PrinterFactory.shared.initPrinter("utility", withPreamble: true)
   |                                         `- warning: non-sendable result type 'Printer' cannot be sent from actor-isolated context in call to instance method 'initPrinter(_:withPreamble:)'; this is an error in the Swift 6 language mode
13 |     defer {
14 |         if let outputDir {
/host/spi-builder-workspace/Generator/Generator/Printer.swift:10:7: note: class 'Printer' does not conform to the 'Sendable' protocol
  8 | import Foundation
  9 |
 10 | class Printer {
    |       `- note: class 'Printer' does not conform to the 'Sendable' protocol
 11 |     let name: String
 12 |     // Where we accumulate our output for the p/b routines
[275/291] Compiling Generator TypeHelpers.swift
/host/spi-builder-workspace/Generator/Generator/TypeHelpers.swift:98:5: warning: var 'core_types' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 96 | }
 97 |
 98 | var core_types = [
    |     |- warning: var 'core_types' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: convert 'core_types' to a 'let' constant to make 'Sendable' shared state immutable
    |     |- note: add '@MainActor' to make var 'core_types' part of global actor 'MainActor'
    |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 99 |               "String",
100 |               "Vector2",
/host/spi-builder-workspace/Generator/Generator/TypeHelpers.swift:243:5: warning: var 'mapStringToSwift' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
241 | }
242 |
243 | var mapStringToSwift = true
    |     |- warning: var 'mapStringToSwift' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: convert 'mapStringToSwift' to a 'let' constant to make 'Sendable' shared state immutable
    |     |- note: add '@MainActor' to make var 'mapStringToSwift' part of global actor 'MainActor'
    |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
244 |
245 | /// Given a type definition with its metadata, and the context where the type is being
/host/spi-builder-workspace/Generator/Generator/TypeHelpers.swift:64:28: error: main actor-isolated var 'globalEnums' can not be referenced from a nonisolated context
 43 | /// enum value, or nil if it can not be found.
 44 | /// Example type: "ArrowDirection", value: "0" would return ".up"
 45 | func mapEnumValue (enumDef: String, value: String) -> String? {
    |      `- note: add '@MainActor' to make global function 'mapEnumValue(enumDef:value:)' part of global actor 'MainActor'
 46 |     func findEnumMatch (element:  JGodotGlobalEnumElement) -> String? {
 47 |         let enumCasePrefix = element.values.commonPrefix()
    :
 62 |     }
 63 |     let t = enumDef.dropFirst(6)
 64 |     if let globalEnumDef = globalEnums [String (t)]  {
    |                            `- error: main actor-isolated var 'globalEnums' can not be referenced from a nonisolated context
 65 |         return findEnumMatch(element: globalEnumDef)
 66 |     }
/host/spi-builder-workspace/Generator/Generator/main.swift:88:5: note: var declared here
 86 | }
 87 |
 88 | var globalEnums: [String: JGodotGlobalEnumElement] = [:]
    |     `- note: var declared here
 89 |
 90 | // Maps from a the class name to its definition
/host/spi-builder-workspace/Generator/Generator/TypeHelpers.swift:73:19: error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
 43 | /// enum value, or nil if it can not be found.
 44 | /// Example type: "ArrowDirection", value: "0" would return ".up"
 45 | func mapEnumValue (enumDef: String, value: String) -> String? {
    |      `- note: add '@MainActor' to make global function 'mapEnumValue(enumDef:value:)' part of global actor 'MainActor'
 46 |     func findEnumMatch (element:  JGodotGlobalEnumElement) -> String? {
 47 |         let enumCasePrefix = element.values.commonPrefix()
    :
 71 |     let type = t [t.startIndex..<p]
 72 |     let enumt = t [t.index(p, offsetBy: 1)...]
 73 |     guard let x = classMap [String (type)] else {
    |                   `- error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
 74 |         print ("WARNING: Enum, could not find type \(type) for \(enumDef)")
 75 |         return nil
/host/spi-builder-workspace/Generator/Generator/main.swift:91:5: note: var declared here
 89 |
 90 | // Maps from a the class name to its definition
 91 | var classMap: [String: JGodotExtensionAPIClass] = [:]
    |     `- note: var declared here
 92 |
 93 | // Tracks whether a Godot type has subclasses, we want to use this
/host/spi-builder-workspace/Generator/Generator/TypeHelpers.swift:355:16: error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
247 | ///
248 | ///
249 | func getGodotType (_ t: TypeWithMeta?, kind: ArgumentKind = .classes) -> String {
    |      `- note: add '@MainActor' to make global function 'getGodotType(_:kind:)' part of global actor 'MainActor'
250 |     guard let t else {
251 |         return ""
    :
353 |             let nested = SimpleType(type: nestedTypeName, meta: nil)
354 |
355 |             if classMap [nestedTypeName] != nil {
    |                `- error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
356 |                 return "TypedArray<\(getGodotType (nested))?>"
357 |             } else {
/host/spi-builder-workspace/Generator/Generator/main.swift:91:5: note: var declared here
 89 |
 90 | // Maps from a the class name to its definition
 91 | var classMap: [String: JGodotExtensionAPIClass] = [:]
    |     `- note: var declared here
 92 |
 93 | // Tracks whether a Godot type has subclasses, we want to use this
/host/spi-builder-workspace/Generator/Generator/TypeHelpers.swift:373:22: error: main actor-isolated var 'builtinSizes' can not be referenced from a nonisolated context
370 | /// containing the Swift-type that is used to store this, and a suitable initialization
371 | /// value for it.
372 | func getBuiltinStorage (_ name: String, asComputedProperty: Bool) -> (String, String) {
    |      `- note: add '@MainActor' to make global function 'getBuiltinStorage(_:asComputedProperty:)' part of global actor 'MainActor'
373 |     guard let size = builtinSizes [name] else {
    |                      `- error: main actor-isolated var 'builtinSizes' can not be referenced from a nonisolated context
374 |         fatalError()
375 |     }
/host/spi-builder-workspace/Generator/Generator/main.swift:132:5: note: var declared here
130 |
131 | let buildConfiguration: String = "float_64"
132 | var builtinSizes: [String: Int] = [:]
    |     `- note: var declared here
133 | for cs in jsonApi.builtinClassSizes {
134 |     if cs.buildConfiguration == buildConfiguration {
[276/291] Compiling Generator UnsafePointerHelpers.swift
/host/spi-builder-workspace/Generator/Generator/TypeHelpers.swift:98:5: warning: var 'core_types' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 96 | }
 97 |
 98 | var core_types = [
    |     |- warning: var 'core_types' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: convert 'core_types' to a 'let' constant to make 'Sendable' shared state immutable
    |     |- note: add '@MainActor' to make var 'core_types' part of global actor 'MainActor'
    |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 99 |               "String",
100 |               "Vector2",
/host/spi-builder-workspace/Generator/Generator/TypeHelpers.swift:243:5: warning: var 'mapStringToSwift' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
241 | }
242 |
243 | var mapStringToSwift = true
    |     |- warning: var 'mapStringToSwift' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: convert 'mapStringToSwift' to a 'let' constant to make 'Sendable' shared state immutable
    |     |- note: add '@MainActor' to make var 'mapStringToSwift' part of global actor 'MainActor'
    |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
244 |
245 | /// Given a type definition with its metadata, and the context where the type is being
/host/spi-builder-workspace/Generator/Generator/TypeHelpers.swift:64:28: error: main actor-isolated var 'globalEnums' can not be referenced from a nonisolated context
 43 | /// enum value, or nil if it can not be found.
 44 | /// Example type: "ArrowDirection", value: "0" would return ".up"
 45 | func mapEnumValue (enumDef: String, value: String) -> String? {
    |      `- note: add '@MainActor' to make global function 'mapEnumValue(enumDef:value:)' part of global actor 'MainActor'
 46 |     func findEnumMatch (element:  JGodotGlobalEnumElement) -> String? {
 47 |         let enumCasePrefix = element.values.commonPrefix()
    :
 62 |     }
 63 |     let t = enumDef.dropFirst(6)
 64 |     if let globalEnumDef = globalEnums [String (t)]  {
    |                            `- error: main actor-isolated var 'globalEnums' can not be referenced from a nonisolated context
 65 |         return findEnumMatch(element: globalEnumDef)
 66 |     }
/host/spi-builder-workspace/Generator/Generator/main.swift:88:5: note: var declared here
 86 | }
 87 |
 88 | var globalEnums: [String: JGodotGlobalEnumElement] = [:]
    |     `- note: var declared here
 89 |
 90 | // Maps from a the class name to its definition
/host/spi-builder-workspace/Generator/Generator/TypeHelpers.swift:73:19: error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
 43 | /// enum value, or nil if it can not be found.
 44 | /// Example type: "ArrowDirection", value: "0" would return ".up"
 45 | func mapEnumValue (enumDef: String, value: String) -> String? {
    |      `- note: add '@MainActor' to make global function 'mapEnumValue(enumDef:value:)' part of global actor 'MainActor'
 46 |     func findEnumMatch (element:  JGodotGlobalEnumElement) -> String? {
 47 |         let enumCasePrefix = element.values.commonPrefix()
    :
 71 |     let type = t [t.startIndex..<p]
 72 |     let enumt = t [t.index(p, offsetBy: 1)...]
 73 |     guard let x = classMap [String (type)] else {
    |                   `- error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
 74 |         print ("WARNING: Enum, could not find type \(type) for \(enumDef)")
 75 |         return nil
/host/spi-builder-workspace/Generator/Generator/main.swift:91:5: note: var declared here
 89 |
 90 | // Maps from a the class name to its definition
 91 | var classMap: [String: JGodotExtensionAPIClass] = [:]
    |     `- note: var declared here
 92 |
 93 | // Tracks whether a Godot type has subclasses, we want to use this
/host/spi-builder-workspace/Generator/Generator/TypeHelpers.swift:355:16: error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
247 | ///
248 | ///
249 | func getGodotType (_ t: TypeWithMeta?, kind: ArgumentKind = .classes) -> String {
    |      `- note: add '@MainActor' to make global function 'getGodotType(_:kind:)' part of global actor 'MainActor'
250 |     guard let t else {
251 |         return ""
    :
353 |             let nested = SimpleType(type: nestedTypeName, meta: nil)
354 |
355 |             if classMap [nestedTypeName] != nil {
    |                `- error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
356 |                 return "TypedArray<\(getGodotType (nested))?>"
357 |             } else {
/host/spi-builder-workspace/Generator/Generator/main.swift:91:5: note: var declared here
 89 |
 90 | // Maps from a the class name to its definition
 91 | var classMap: [String: JGodotExtensionAPIClass] = [:]
    |     `- note: var declared here
 92 |
 93 | // Tracks whether a Godot type has subclasses, we want to use this
/host/spi-builder-workspace/Generator/Generator/TypeHelpers.swift:373:22: error: main actor-isolated var 'builtinSizes' can not be referenced from a nonisolated context
370 | /// containing the Swift-type that is used to store this, and a suitable initialization
371 | /// value for it.
372 | func getBuiltinStorage (_ name: String, asComputedProperty: Bool) -> (String, String) {
    |      `- note: add '@MainActor' to make global function 'getBuiltinStorage(_:asComputedProperty:)' part of global actor 'MainActor'
373 |     guard let size = builtinSizes [name] else {
    |                      `- error: main actor-isolated var 'builtinSizes' can not be referenced from a nonisolated context
374 |         fatalError()
375 |     }
/host/spi-builder-workspace/Generator/Generator/main.swift:132:5: note: var declared here
130 |
131 | let buildConfiguration: String = "float_64"
132 | var builtinSizes: [String: Int] = [:]
    |     `- note: var declared here
133 | for cs in jsonApi.builtinClassSizes {
134 |     if cs.buildConfiguration == buildConfiguration {
[277/291] Compiling Generator DocModel.swift
/host/spi-builder-workspace/Generator/Generator/DocModel.swift:12:5: warning: let 'rxConstantParam' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
 10 |
 11 | @available(macOS 13.0, iOS 16.0, *)
 12 | let rxConstantParam: Regex<(Substring,Substring,Substring)> = try! Regex ("\\[(constant|param) ([\\w\\._@]+)\\]")
    |     |- warning: let 'rxConstantParam' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: add '@MainActor' to make let 'rxConstantParam' part of global actor 'MainActor'
    |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 13 | @available(macOS 13.0, iOS 16.0, *)
 14 | let rxEnumMethodMember: Regex<(Substring,Substring,Substring)> = try! Regex ("\\[(enum|method|member) ([\\w\\.@_/]+)\\]")
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
  |               `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 |     public var regex: Regex<Output> { get }
4 |     @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/host/spi-builder-workspace/Generator/Generator/DocModel.swift:14:5: warning: let 'rxEnumMethodMember' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
 12 | let rxConstantParam: Regex<(Substring,Substring,Substring)> = try! Regex ("\\[(constant|param) ([\\w\\._@]+)\\]")
 13 | @available(macOS 13.0, iOS 16.0, *)
 14 | let rxEnumMethodMember: Regex<(Substring,Substring,Substring)> = try! Regex ("\\[(enum|method|member) ([\\w\\.@_/]+)\\]")
    |     |- warning: let 'rxEnumMethodMember' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: add '@MainActor' to make let 'rxEnumMethodMember' part of global actor 'MainActor'
    |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 15 | @available(macOS 13.0, iOS 16.0, *)
 16 | let rxTypeName: Regex<(Substring, Substring)> = try! Regex ("\\[([A-Z]\\w+)\\]")
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
  |               `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 |     public var regex: Regex<Output> { get }
4 |     @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/host/spi-builder-workspace/Generator/Generator/DocModel.swift:16:5: warning: let 'rxTypeName' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
 14 | let rxEnumMethodMember: Regex<(Substring,Substring,Substring)> = try! Regex ("\\[(enum|method|member) ([\\w\\.@_/]+)\\]")
 15 | @available(macOS 13.0, iOS 16.0, *)
 16 | let rxTypeName: Regex<(Substring, Substring)> = try! Regex ("\\[([A-Z]\\w+)\\]")
    |     |- warning: let 'rxTypeName' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: add '@MainActor' to make let 'rxTypeName' part of global actor 'MainActor'
    |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 17 | @available(macOS 13.0, iOS 16.0, *)
 18 | let rxEmptyLeading: Regex<Substring> = try! Regex ("\\s+")
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
  |               `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 |     public var regex: Regex<Output> { get }
4 |     @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/host/spi-builder-workspace/Generator/Generator/DocModel.swift:18:5: warning: let 'rxEmptyLeading' is not concurrency-safe because non-'Sendable' type 'Regex<Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
 16 | let rxTypeName: Regex<(Substring, Substring)> = try! Regex ("\\[([A-Z]\\w+)\\]")
 17 | @available(macOS 13.0, iOS 16.0, *)
 18 | let rxEmptyLeading: Regex<Substring> = try! Regex ("\\s+")
    |     |- warning: let 'rxEmptyLeading' is not concurrency-safe because non-'Sendable' type 'Regex<Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: add '@MainActor' to make let 'rxEmptyLeading' part of global actor 'MainActor'
    |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 19 | @available(macOS 13.0, iOS 16.0, *)
 20 | let rxUrl: Regex<(Substring,Substring)> = try! Regex ("\\[url=(.*?)\\]")
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
  |               `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 |     public var regex: Regex<Output> { get }
4 |     @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/host/spi-builder-workspace/Generator/Generator/DocModel.swift:20:5: warning: let 'rxUrl' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
 18 | let rxEmptyLeading: Regex<Substring> = try! Regex ("\\s+")
 19 | @available(macOS 13.0, iOS 16.0, *)
 20 | let rxUrl: Regex<(Substring,Substring)> = try! Regex ("\\[url=(.*?)\\]")
    |     |- warning: let 'rxUrl' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: add '@MainActor' to make let 'rxUrl' part of global actor 'MainActor'
    |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 21 |
 22 | // If the string contains a ".", it will return a pair
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
  |               `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 |     public var regex: Regex<Output> { get }
4 |     @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/host/spi-builder-workspace/Generator/Generator/DocModel.swift:89:19: warning: main actor-isolated let 'jsonApi' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 46 | //    }
 47 |
 48 |     func lookupConstant (_ txt: String.SubSequence) -> String {
    |          `- note: add '@MainActor' to make local function 'lookupConstant' part of global actor 'MainActor'
 49 |         func lookInDef (def: JClassInfo, match: String, local: Bool) -> String? {
 50 |             // TODO: for builtins, we wont have a cdef
    :
 87 |             }
 88 |         }
 89 |         for ed in jsonApi.globalEnums {
    |                   `- warning: main actor-isolated let 'jsonApi' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 90 |             for ev in ed.values {
 91 |                 if ev.name == txt {
/host/spi-builder-workspace/Generator/Generator/main.swift:66:5: note: let declared here
 64 |
 65 | let jsonData = try! Data(url: URL(fileURLWithPath: jsonFile))
 66 | let jsonApi = try! JSONDecoder().decode(JGodotExtensionAPI.self, from: jsonData)
    |     `- note: let declared here
 67 |
 68 | func dropMatchingPrefix(_ enumName: String, _ enumKey: String) -> String {
/host/spi-builder-workspace/Generator/Generator/DocModel.swift:107:27: error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
 46 | //    }
 47 |
 48 |     func lookupConstant (_ txt: String.SubSequence) -> String {
    |          `- note: add '@MainActor' to make local function 'lookupConstant' part of global actor 'MainActor'
 49 |         func lookInDef (def: JClassInfo, match: String, local: Bool) -> String? {
 50 |             // TODO: for builtins, we wont have a cdef
    :
105 |         let (type, name) = splitAtLastDot(str: txt)
106 |         if type != "" {
107 |             if let ldef = classMap [type] {
    |                           `- error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
108 |                 if let r = lookInDef(def: ldef, match: name, local: false) {
109 |                     return "``\(getGodotType(SimpleType (type: type)) + "/" + r)``"
/host/spi-builder-workspace/Generator/Generator/main.swift:91:5: note: var declared here
 89 |
 90 | // Maps from a the class name to its definition
 91 | var classMap: [String: JGodotExtensionAPIClass] = [:]
    |     `- note: var declared here
 92 |
 93 | // Tracks whether a Godot type has subclasses, we want to use this
/host/spi-builder-workspace/Generator/Generator/DocModel.swift:111:34: error: main actor-isolated var 'builtinMap' can not be referenced from a nonisolated context
 46 | //    }
 47 |
 48 |     func lookupConstant (_ txt: String.SubSequence) -> String {
    |          `- note: add '@MainActor' to make local function 'lookupConstant' part of global actor 'MainActor'
 49 |         func lookInDef (def: JClassInfo, match: String, local: Bool) -> String? {
 50 |             // TODO: for builtins, we wont have a cdef
    :
109 |                     return "``\(getGodotType(SimpleType (type: type)) + "/" + r)``"
110 |                 }
111 |             } else if let ldef = builtinMap[type] {
    |                                  `- error: main actor-isolated var 'builtinMap' can not be referenced from a nonisolated context
112 |                 if let r = lookInDef(def: ldef, match: name, local: false) {
113 |                     return "``\(getGodotType(SimpleType (type: type)) + "/" + r)``"
/host/spi-builder-workspace/Generator/Generator/main.swift:122:5: note: var declared here
120 | func isStruct(_ type: String) -> Bool { structTypes.contains(type) }
121 |
122 | var builtinMap: [String: JGodotBuiltinClass] = [:]
    |     `- note: var declared here
123 |
124 | for x in jsonApi.builtinClasses {
/host/spi-builder-workspace/Generator/Generator/DocModel.swift:169:24: error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
147 |     }
148 |
149 |     func convertMethod (_ txt: String.SubSequence) -> String {
    |          `- note: add '@MainActor' to make local function 'convertMethod' part of global actor 'MainActor'
150 |         if txt.starts(with: "@") {
151 |             // TODO, examples:
    :
167 |         var args = ""
168 |         if let type {
169 |             if let m = classMap [type] {
    |                        `- error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
170 |                 if let method = findMethod (name: member, on: m) {
171 |                     args = assembleArgs (method, method.arguments)
/host/spi-builder-workspace/Generator/Generator/main.swift:91:5: note: var declared here
 89 |
 90 | // Maps from a the class name to its definition
 91 | var classMap: [String: JGodotExtensionAPIClass] = [:]
    |     `- note: var declared here
 92 |
 93 | // Tracks whether a Godot type has subclasses, we want to use this
/host/spi-builder-workspace/Generator/Generator/DocModel.swift:173:31: error: main actor-isolated var 'builtinMap' can not be referenced from a nonisolated context
147 |     }
148 |
149 |     func convertMethod (_ txt: String.SubSequence) -> String {
    |          `- note: add '@MainActor' to make local function 'convertMethod' part of global actor 'MainActor'
150 |         if txt.starts(with: "@") {
151 |             // TODO, examples:
    :
171 |                     args = assembleArgs (method, method.arguments)
172 |                 }
173 |             } else if let m = builtinMap [type] {
    |                               `- error: main actor-isolated var 'builtinMap' can not be referenced from a nonisolated context
174 |                 if let method = findMethod (name: member, on: m) {
175 |                     args = assembleArgs(nil, method.arguments)
/host/spi-builder-workspace/Generator/Generator/main.swift:122:5: note: var declared here
120 | func isStruct(_ type: String) -> Bool { structTypes.contains(type) }
121 |
122 | var builtinMap: [String: JGodotBuiltinClass] = [:]
    |     `- note: var declared here
123 |
124 | for x in jsonApi.builtinClasses {
/host/spi-builder-workspace/Generator/Generator/Enums.swift:23:22: error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
 10 |
 11 | // The name of the form 'bitfield::'
 12 | func findEnumDef (name: String) -> JGodotGlobalEnumElement? {
    |      `- note: add '@MainActor' to make global function 'findEnumDef(name:)' part of global actor 'MainActor'
 13 |     guard name.starts(with: "bitfield::") else {
 14 |         return nil
    :
 21 |     }
 22 |     let type = full [full.startIndex..<split]
 23 |     guard let cdef = classMap [String (type)] else {
    |                      `- error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
 24 |         print ("Could not find class \(type) for \(name)")
 25 |         return nil
/host/spi-builder-workspace/Generator/Generator/main.swift:91:5: note: var declared here
 89 |
 90 | // Maps from a the class name to its definition
 91 | var classMap: [String: JGodotExtensionAPIClass] = [:]
    |     `- note: var declared here
 92 |
 93 | // Tracks whether a Godot type has subclasses, we want to use this
/host/spi-builder-workspace/Generator/Generator/Enums.swift:139:13: error: main actor-isolated var 'globalEnums' can not be mutated from a nonisolated context
 43 | ]
 44 |
 45 | func generateEnums (_ p: Printer, cdef: JClassInfo?, values: [JGodotGlobalEnumElement], prefix: String?) {
    |      `- note: add '@MainActor' to make global function 'generateEnums(_:cdef:values:prefix:)' part of global actor 'MainActor'
 46 |     for enumDef in values {
 47 |         let isBitField = enumDef.isBitfield ?? false
    :
137 |         }
138 |         if let prefix {
139 |             globalEnums [prefix + enumDef.name] = enumDef
    |             `- error: main actor-isolated var 'globalEnums' can not be mutated from a nonisolated context
140 |         }
141 |     }
/host/spi-builder-workspace/Generator/Generator/main.swift:88:5: note: mutation of this var is only permitted within the actor
 86 | }
 87 |
 88 | var globalEnums: [String: JGodotGlobalEnumElement] = [:]
    |     `- note: mutation of this var is only permitted within the actor
 89 |
 90 | // Maps from a the class name to its definition
[278/291] Compiling Generator Enums.swift
/host/spi-builder-workspace/Generator/Generator/DocModel.swift:12:5: warning: let 'rxConstantParam' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
 10 |
 11 | @available(macOS 13.0, iOS 16.0, *)
 12 | let rxConstantParam: Regex<(Substring,Substring,Substring)> = try! Regex ("\\[(constant|param) ([\\w\\._@]+)\\]")
    |     |- warning: let 'rxConstantParam' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: add '@MainActor' to make let 'rxConstantParam' part of global actor 'MainActor'
    |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 13 | @available(macOS 13.0, iOS 16.0, *)
 14 | let rxEnumMethodMember: Regex<(Substring,Substring,Substring)> = try! Regex ("\\[(enum|method|member) ([\\w\\.@_/]+)\\]")
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
  |               `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 |     public var regex: Regex<Output> { get }
4 |     @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/host/spi-builder-workspace/Generator/Generator/DocModel.swift:14:5: warning: let 'rxEnumMethodMember' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
 12 | let rxConstantParam: Regex<(Substring,Substring,Substring)> = try! Regex ("\\[(constant|param) ([\\w\\._@]+)\\]")
 13 | @available(macOS 13.0, iOS 16.0, *)
 14 | let rxEnumMethodMember: Regex<(Substring,Substring,Substring)> = try! Regex ("\\[(enum|method|member) ([\\w\\.@_/]+)\\]")
    |     |- warning: let 'rxEnumMethodMember' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: add '@MainActor' to make let 'rxEnumMethodMember' part of global actor 'MainActor'
    |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 15 | @available(macOS 13.0, iOS 16.0, *)
 16 | let rxTypeName: Regex<(Substring, Substring)> = try! Regex ("\\[([A-Z]\\w+)\\]")
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
  |               `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 |     public var regex: Regex<Output> { get }
4 |     @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/host/spi-builder-workspace/Generator/Generator/DocModel.swift:16:5: warning: let 'rxTypeName' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
 14 | let rxEnumMethodMember: Regex<(Substring,Substring,Substring)> = try! Regex ("\\[(enum|method|member) ([\\w\\.@_/]+)\\]")
 15 | @available(macOS 13.0, iOS 16.0, *)
 16 | let rxTypeName: Regex<(Substring, Substring)> = try! Regex ("\\[([A-Z]\\w+)\\]")
    |     |- warning: let 'rxTypeName' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: add '@MainActor' to make let 'rxTypeName' part of global actor 'MainActor'
    |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 17 | @available(macOS 13.0, iOS 16.0, *)
 18 | let rxEmptyLeading: Regex<Substring> = try! Regex ("\\s+")
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
  |               `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 |     public var regex: Regex<Output> { get }
4 |     @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/host/spi-builder-workspace/Generator/Generator/DocModel.swift:18:5: warning: let 'rxEmptyLeading' is not concurrency-safe because non-'Sendable' type 'Regex<Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
 16 | let rxTypeName: Regex<(Substring, Substring)> = try! Regex ("\\[([A-Z]\\w+)\\]")
 17 | @available(macOS 13.0, iOS 16.0, *)
 18 | let rxEmptyLeading: Regex<Substring> = try! Regex ("\\s+")
    |     |- warning: let 'rxEmptyLeading' is not concurrency-safe because non-'Sendable' type 'Regex<Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: add '@MainActor' to make let 'rxEmptyLeading' part of global actor 'MainActor'
    |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 19 | @available(macOS 13.0, iOS 16.0, *)
 20 | let rxUrl: Regex<(Substring,Substring)> = try! Regex ("\\[url=(.*?)\\]")
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
  |               `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 |     public var regex: Regex<Output> { get }
4 |     @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/host/spi-builder-workspace/Generator/Generator/DocModel.swift:20:5: warning: let 'rxUrl' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
 18 | let rxEmptyLeading: Regex<Substring> = try! Regex ("\\s+")
 19 | @available(macOS 13.0, iOS 16.0, *)
 20 | let rxUrl: Regex<(Substring,Substring)> = try! Regex ("\\[url=(.*?)\\]")
    |     |- warning: let 'rxUrl' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: add '@MainActor' to make let 'rxUrl' part of global actor 'MainActor'
    |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 21 |
 22 | // If the string contains a ".", it will return a pair
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
  |               `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 |     public var regex: Regex<Output> { get }
4 |     @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/host/spi-builder-workspace/Generator/Generator/DocModel.swift:89:19: warning: main actor-isolated let 'jsonApi' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 46 | //    }
 47 |
 48 |     func lookupConstant (_ txt: String.SubSequence) -> String {
    |          `- note: add '@MainActor' to make local function 'lookupConstant' part of global actor 'MainActor'
 49 |         func lookInDef (def: JClassInfo, match: String, local: Bool) -> String? {
 50 |             // TODO: for builtins, we wont have a cdef
    :
 87 |             }
 88 |         }
 89 |         for ed in jsonApi.globalEnums {
    |                   `- warning: main actor-isolated let 'jsonApi' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 90 |             for ev in ed.values {
 91 |                 if ev.name == txt {
/host/spi-builder-workspace/Generator/Generator/main.swift:66:5: note: let declared here
 64 |
 65 | let jsonData = try! Data(url: URL(fileURLWithPath: jsonFile))
 66 | let jsonApi = try! JSONDecoder().decode(JGodotExtensionAPI.self, from: jsonData)
    |     `- note: let declared here
 67 |
 68 | func dropMatchingPrefix(_ enumName: String, _ enumKey: String) -> String {
/host/spi-builder-workspace/Generator/Generator/DocModel.swift:107:27: error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
 46 | //    }
 47 |
 48 |     func lookupConstant (_ txt: String.SubSequence) -> String {
    |          `- note: add '@MainActor' to make local function 'lookupConstant' part of global actor 'MainActor'
 49 |         func lookInDef (def: JClassInfo, match: String, local: Bool) -> String? {
 50 |             // TODO: for builtins, we wont have a cdef
    :
105 |         let (type, name) = splitAtLastDot(str: txt)
106 |         if type != "" {
107 |             if let ldef = classMap [type] {
    |                           `- error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
108 |                 if let r = lookInDef(def: ldef, match: name, local: false) {
109 |                     return "``\(getGodotType(SimpleType (type: type)) + "/" + r)``"
/host/spi-builder-workspace/Generator/Generator/main.swift:91:5: note: var declared here
 89 |
 90 | // Maps from a the class name to its definition
 91 | var classMap: [String: JGodotExtensionAPIClass] = [:]
    |     `- note: var declared here
 92 |
 93 | // Tracks whether a Godot type has subclasses, we want to use this
/host/spi-builder-workspace/Generator/Generator/DocModel.swift:111:34: error: main actor-isolated var 'builtinMap' can not be referenced from a nonisolated context
 46 | //    }
 47 |
 48 |     func lookupConstant (_ txt: String.SubSequence) -> String {
    |          `- note: add '@MainActor' to make local function 'lookupConstant' part of global actor 'MainActor'
 49 |         func lookInDef (def: JClassInfo, match: String, local: Bool) -> String? {
 50 |             // TODO: for builtins, we wont have a cdef
    :
109 |                     return "``\(getGodotType(SimpleType (type: type)) + "/" + r)``"
110 |                 }
111 |             } else if let ldef = builtinMap[type] {
    |                                  `- error: main actor-isolated var 'builtinMap' can not be referenced from a nonisolated context
112 |                 if let r = lookInDef(def: ldef, match: name, local: false) {
113 |                     return "``\(getGodotType(SimpleType (type: type)) + "/" + r)``"
/host/spi-builder-workspace/Generator/Generator/main.swift:122:5: note: var declared here
120 | func isStruct(_ type: String) -> Bool { structTypes.contains(type) }
121 |
122 | var builtinMap: [String: JGodotBuiltinClass] = [:]
    |     `- note: var declared here
123 |
124 | for x in jsonApi.builtinClasses {
/host/spi-builder-workspace/Generator/Generator/DocModel.swift:169:24: error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
147 |     }
148 |
149 |     func convertMethod (_ txt: String.SubSequence) -> String {
    |          `- note: add '@MainActor' to make local function 'convertMethod' part of global actor 'MainActor'
150 |         if txt.starts(with: "@") {
151 |             // TODO, examples:
    :
167 |         var args = ""
168 |         if let type {
169 |             if let m = classMap [type] {
    |                        `- error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
170 |                 if let method = findMethod (name: member, on: m) {
171 |                     args = assembleArgs (method, method.arguments)
/host/spi-builder-workspace/Generator/Generator/main.swift:91:5: note: var declared here
 89 |
 90 | // Maps from a the class name to its definition
 91 | var classMap: [String: JGodotExtensionAPIClass] = [:]
    |     `- note: var declared here
 92 |
 93 | // Tracks whether a Godot type has subclasses, we want to use this
/host/spi-builder-workspace/Generator/Generator/DocModel.swift:173:31: error: main actor-isolated var 'builtinMap' can not be referenced from a nonisolated context
147 |     }
148 |
149 |     func convertMethod (_ txt: String.SubSequence) -> String {
    |          `- note: add '@MainActor' to make local function 'convertMethod' part of global actor 'MainActor'
150 |         if txt.starts(with: "@") {
151 |             // TODO, examples:
    :
171 |                     args = assembleArgs (method, method.arguments)
172 |                 }
173 |             } else if let m = builtinMap [type] {
    |                               `- error: main actor-isolated var 'builtinMap' can not be referenced from a nonisolated context
174 |                 if let method = findMethod (name: member, on: m) {
175 |                     args = assembleArgs(nil, method.arguments)
/host/spi-builder-workspace/Generator/Generator/main.swift:122:5: note: var declared here
120 | func isStruct(_ type: String) -> Bool { structTypes.contains(type) }
121 |
122 | var builtinMap: [String: JGodotBuiltinClass] = [:]
    |     `- note: var declared here
123 |
124 | for x in jsonApi.builtinClasses {
/host/spi-builder-workspace/Generator/Generator/Enums.swift:23:22: error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
 10 |
 11 | // The name of the form 'bitfield::'
 12 | func findEnumDef (name: String) -> JGodotGlobalEnumElement? {
    |      `- note: add '@MainActor' to make global function 'findEnumDef(name:)' part of global actor 'MainActor'
 13 |     guard name.starts(with: "bitfield::") else {
 14 |         return nil
    :
 21 |     }
 22 |     let type = full [full.startIndex..<split]
 23 |     guard let cdef = classMap [String (type)] else {
    |                      `- error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
 24 |         print ("Could not find class \(type) for \(name)")
 25 |         return nil
/host/spi-builder-workspace/Generator/Generator/main.swift:91:5: note: var declared here
 89 |
 90 | // Maps from a the class name to its definition
 91 | var classMap: [String: JGodotExtensionAPIClass] = [:]
    |     `- note: var declared here
 92 |
 93 | // Tracks whether a Godot type has subclasses, we want to use this
/host/spi-builder-workspace/Generator/Generator/Enums.swift:139:13: error: main actor-isolated var 'globalEnums' can not be mutated from a nonisolated context
 43 | ]
 44 |
 45 | func generateEnums (_ p: Printer, cdef: JClassInfo?, values: [JGodotGlobalEnumElement], prefix: String?) {
    |      `- note: add '@MainActor' to make global function 'generateEnums(_:cdef:values:prefix:)' part of global actor 'MainActor'
 46 |     for enumDef in values {
 47 |         let isBitField = enumDef.isBitfield ?? false
    :
137 |         }
138 |         if let prefix {
139 |             globalEnums [prefix + enumDef.name] = enumDef
    |             `- error: main actor-isolated var 'globalEnums' can not be mutated from a nonisolated context
140 |         }
141 |     }
/host/spi-builder-workspace/Generator/Generator/main.swift:88:5: note: mutation of this var is only permitted within the actor
 86 | }
 87 |
 88 | var globalEnums: [String: JGodotGlobalEnumElement] = [:]
    |     `- note: mutation of this var is only permitted within the actor
 89 |
 90 | // Maps from a the class name to its definition
[279/291] Compiling Generator main.swift
/host/spi-builder-workspace/Generator/Generator/main.swift:120:41: error: main actor-isolated var 'structTypes' can not be referenced from a nonisolated context
104 | }
105 |
106 | private var structTypes: Set<String> = [
    |             `- note: var declared here
107 |     "const void*",
108 |     "AudioFrame*",
    :
118 | /// - parameter type: A type name as found in `extension_api.json`.
119 | /// - returns: True if the type is represented in Swift as simple `struct` with fields (or as a built-in Swift type), not wrapping a handle (pointer) to a native Godot object.
120 | func isStruct(_ type: String) -> Bool { structTypes.contains(type) }
    |      |                                  `- error: main actor-isolated var 'structTypes' can not be referenced from a nonisolated context
    |      `- note: add '@MainActor' to make global function 'isStruct' part of global actor 'MainActor'
121 |
122 | var builtinMap: [String: JGodotBuiltinClass] = [:]
/host/spi-builder-workspace/Generator/Generator/main.swift:170:58: warning: non-sendable result type 'Printer' cannot be sent from actor-isolated context in call to instance method 'initPrinter(_:withPreamble:)'; this is an error in the Swift 6 language mode
168 | struct Generator {
169 |     func run() async throws {
170 |         let coreDefPrinter = await PrinterFactory.shared.initPrinter("core-defs", withPreamble: true)
    |                                                          `- warning: non-sendable result type 'Printer' cannot be sent from actor-isolated context in call to instance method 'initPrinter(_:withPreamble:)'; this is an error in the Swift 6 language mode
171 |         generateUnsafePointerHelpers(coreDefPrinter)
172 |         generateEnums(coreDefPrinter, cdef: nil, values: jsonApi.globalEnums, prefix: "")
/host/spi-builder-workspace/Generator/Generator/Printer.swift:10:7: note: class 'Printer' does not conform to the 'Sendable' protocol
  8 | import Foundation
  9 |
 10 | class Printer {
    |       `- note: class 'Printer' does not conform to the 'Sendable' protocol
 11 |     let name: String
 12 |     // Where we accumulate our output for the p/b routines
/host/spi-builder-workspace/Generator/Generator/main.swift:172:58: warning: non-sendable type 'JGodotExtensionAPI' of let 'jsonApi' cannot exit main actor-isolated context; this is an error in the Swift 6 language mode
170 |         let coreDefPrinter = await PrinterFactory.shared.initPrinter("core-defs", withPreamble: true)
171 |         generateUnsafePointerHelpers(coreDefPrinter)
172 |         generateEnums(coreDefPrinter, cdef: nil, values: jsonApi.globalEnums, prefix: "")
    |                                                          `- warning: non-sendable type 'JGodotExtensionAPI' of let 'jsonApi' cannot exit main actor-isolated context; this is an error in the Swift 6 language mode
173 |         await generateBuiltinClasses(values: jsonApi.builtinClasses, outputDir: generatedBuiltinDir)
174 |         await generateUtility(values: jsonApi.utilityFunctions, outputDir: generatedBuiltinDir)
/host/spi-builder-workspace/Sources/ExtensionApi/ApiJsonModel.swift:9:15: note: struct 'JGodotExtensionAPI' does not conform to the 'Sendable' protocol
  7 |
  8 | // MARK: - JGodotExtensionAPI
  9 | public struct JGodotExtensionAPI: Codable {
    |               `- note: struct 'JGodotExtensionAPI' does not conform to the 'Sendable' protocol
 10 |     public let header: JGodotHeader
 11 |     public let builtinClassSizes: [JGodotBuiltinClassSize]
/host/spi-builder-workspace/Generator/Generator/main.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ExtensionApi'
  1 | import ExtensionApi
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ExtensionApi'
  2 | //  main.swift
  3 | //  SwiftGodot/Generator
/host/spi-builder-workspace/Generator/Generator/main.swift:173:46: warning: non-sendable type 'JGodotExtensionAPI' of let 'jsonApi' cannot exit main actor-isolated context; this is an error in the Swift 6 language mode
171 |         generateUnsafePointerHelpers(coreDefPrinter)
172 |         generateEnums(coreDefPrinter, cdef: nil, values: jsonApi.globalEnums, prefix: "")
173 |         await generateBuiltinClasses(values: jsonApi.builtinClasses, outputDir: generatedBuiltinDir)
    |                                              `- warning: non-sendable type 'JGodotExtensionAPI' of let 'jsonApi' cannot exit main actor-isolated context; this is an error in the Swift 6 language mode
174 |         await generateUtility(values: jsonApi.utilityFunctions, outputDir: generatedBuiltinDir)
175 |         await generateClasses(values: jsonApi.classes, outputDir: generatedDir)
/host/spi-builder-workspace/Sources/ExtensionApi/ApiJsonModel.swift:9:15: note: struct 'JGodotExtensionAPI' does not conform to the 'Sendable' protocol
  7 |
  8 | // MARK: - JGodotExtensionAPI
  9 | public struct JGodotExtensionAPI: Codable {
    |               `- note: struct 'JGodotExtensionAPI' does not conform to the 'Sendable' protocol
 10 |     public let header: JGodotHeader
 11 |     public let builtinClassSizes: [JGodotBuiltinClassSize]
/host/spi-builder-workspace/Generator/Generator/main.swift:174:39: warning: non-sendable type 'JGodotExtensionAPI' of let 'jsonApi' cannot exit main actor-isolated context; this is an error in the Swift 6 language mode
172 |         generateEnums(coreDefPrinter, cdef: nil, values: jsonApi.globalEnums, prefix: "")
173 |         await generateBuiltinClasses(values: jsonApi.builtinClasses, outputDir: generatedBuiltinDir)
174 |         await generateUtility(values: jsonApi.utilityFunctions, outputDir: generatedBuiltinDir)
    |                                       `- warning: non-sendable type 'JGodotExtensionAPI' of let 'jsonApi' cannot exit main actor-isolated context; this is an error in the Swift 6 language mode
175 |         await generateClasses(values: jsonApi.classes, outputDir: generatedDir)
176 |
/host/spi-builder-workspace/Sources/ExtensionApi/ApiJsonModel.swift:9:15: note: struct 'JGodotExtensionAPI' does not conform to the 'Sendable' protocol
  7 |
  8 | // MARK: - JGodotExtensionAPI
  9 | public struct JGodotExtensionAPI: Codable {
    |               `- note: struct 'JGodotExtensionAPI' does not conform to the 'Sendable' protocol
 10 |     public let header: JGodotHeader
 11 |     public let builtinClassSizes: [JGodotBuiltinClassSize]
/host/spi-builder-workspace/Generator/Generator/main.swift:175:39: warning: non-sendable type 'JGodotExtensionAPI' of let 'jsonApi' cannot exit main actor-isolated context; this is an error in the Swift 6 language mode
173 |         await generateBuiltinClasses(values: jsonApi.builtinClasses, outputDir: generatedBuiltinDir)
174 |         await generateUtility(values: jsonApi.utilityFunctions, outputDir: generatedBuiltinDir)
175 |         await generateClasses(values: jsonApi.classes, outputDir: generatedDir)
    |                                       `- warning: non-sendable type 'JGodotExtensionAPI' of let 'jsonApi' cannot exit main actor-isolated context; this is an error in the Swift 6 language mode
176 |
177 |         generateVariantGodotInterface(coreDefPrinter)
/host/spi-builder-workspace/Sources/ExtensionApi/ApiJsonModel.swift:9:15: note: struct 'JGodotExtensionAPI' does not conform to the 'Sendable' protocol
  7 |
  8 | // MARK: - JGodotExtensionAPI
  9 | public struct JGodotExtensionAPI: Codable {
    |               `- note: struct 'JGodotExtensionAPI' does not conform to the 'Sendable' protocol
 10 |     public let header: JGodotHeader
 11 |     public let builtinClassSizes: [JGodotBuiltinClassSize]
/host/spi-builder-workspace/Generator/Generator/main.swift:179:58: warning: non-sendable type 'JGodotExtensionAPI' of let 'jsonApi' cannot exit main actor-isolated context; this is an error in the Swift 6 language mode
177 |         generateVariantGodotInterface(coreDefPrinter)
178 |         generateCtorPointers(coreDefPrinter)
179 |         generateNativeStructures(coreDefPrinter, values: jsonApi.nativeStructures)
    |                                                          `- warning: non-sendable type 'JGodotExtensionAPI' of let 'jsonApi' cannot exit main actor-isolated context; this is an error in the Swift 6 language mode
180 |
181 |         if let generatedBuiltinDir {
/host/spi-builder-workspace/Sources/ExtensionApi/ApiJsonModel.swift:9:15: note: struct 'JGodotExtensionAPI' does not conform to the 'Sendable' protocol
  7 |
  8 | // MARK: - JGodotExtensionAPI
  9 | public struct JGodotExtensionAPI: Codable {
    |               `- note: struct 'JGodotExtensionAPI' does not conform to the 'Sendable' protocol
 10 |     public let header: JGodotHeader
 11 |     public let builtinClassSizes: [JGodotBuiltinClassSize]
/host/spi-builder-workspace/Generator/Generator/main.swift:172:9: warning: expression is 'async' but is not marked with 'await'; this is an error in the Swift 6 language mode
170 |         let coreDefPrinter = await PrinterFactory.shared.initPrinter("core-defs", withPreamble: true)
171 |         generateUnsafePointerHelpers(coreDefPrinter)
172 |         generateEnums(coreDefPrinter, cdef: nil, values: jsonApi.globalEnums, prefix: "")
    |         |                                                `- note: property access is 'async'
    |         `- warning: expression is 'async' but is not marked with 'await'; this is an error in the Swift 6 language mode
173 |         await generateBuiltinClasses(values: jsonApi.builtinClasses, outputDir: generatedBuiltinDir)
174 |         await generateUtility(values: jsonApi.utilityFunctions, outputDir: generatedBuiltinDir)
/host/spi-builder-workspace/Generator/Generator/main.swift:179:9: warning: expression is 'async' but is not marked with 'await'; this is an error in the Swift 6 language mode
177 |         generateVariantGodotInterface(coreDefPrinter)
178 |         generateCtorPointers(coreDefPrinter)
179 |         generateNativeStructures(coreDefPrinter, values: jsonApi.nativeStructures)
    |         |                                                `- note: property access is 'async'
    |         `- warning: expression is 'async' but is not marked with 'await'; this is an error in the Swift 6 language mode
180 |
181 |         if let generatedBuiltinDir {
/host/spi-builder-workspace/Generator/Generator/main.swift:185:12: error: expression is 'async' but is not marked with 'await'
183 |         }
184 |
185 |         if combineOutput {
    |            |- error: expression is 'async' but is not marked with 'await'
    |            `- note: property access is 'async'
186 |             await PrinterFactory.shared.saveMultiplexed(outputDir)
187 |         }
[280/291] Compiling Generator MethodGen.swift
/host/spi-builder-workspace/Generator/Generator/MethodGen.swift:216:28: error: main actor-isolated var 'builtinSizes' can not be referenced from a nonisolated context
214 |                         translation = .direct
215 |                     } else {
216 |                         if builtinSizes[src.type] != nil && src.type != "Object" {
    |                            `- error: main actor-isolated var 'builtinSizes' can not be referenced from a nonisolated context
217 |                             translation = .contentRef
218 |                         } else if classMap[src.type] != nil {
/host/spi-builder-workspace/Generator/Generator/main.swift:132:5: note: var declared here
130 |
131 | let buildConfiguration: String = "float_64"
132 | var builtinSizes: [String: Int] = [:]
    |     `- note: var declared here
133 | for cs in jsonApi.builtinClassSizes {
134 |     if cs.buildConfiguration == buildConfiguration {
/host/spi-builder-workspace/Generator/Generator/MethodGen.swift:218:35: error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
216 |                         if builtinSizes[src.type] != nil && src.type != "Object" {
217 |                             translation = .contentRef
218 |                         } else if classMap[src.type] != nil {
    |                                   `- error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
219 |                             if options.contains(.nonOptionalObjects) {
220 |                                 translation = .objectRef(isOptional: false)
/host/spi-builder-workspace/Generator/Generator/main.swift:91:5: note: var declared here
 89 |
 90 | // Maps from a the class name to its definition
 91 | var classMap: [String: JGodotExtensionAPIClass] = [:]
    |     `- note: var declared here
 92 |
 93 | // Tracks whether a Godot type has subclasses, we want to use this
/host/spi-builder-workspace/Generator/Generator/MethodGen.swift:558:42: error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
450 | ///  - usedMethods: a set of methods that have been referenced by properties, to determine whether we make this public or private
451 | /// - Returns: nil, or the method we surfaced that needs to have the virtual supporting infrastructured wired up
452 | func generateMethod(_ p: Printer, method: MethodDefinition, className: String, cdef: JClassInfo?, usedMethods: Set<String>, generatedMethodKind: GeneratedMethodKind, asSingleton: Bool) throws -> String? {
    |      `- note: add '@MainActor' to make global function 'generateMethod(_:method:className:cdef:usedMethods:generatedMethodKind:asSingleton:)' part of global actor 'MainActor'
453 |
454 |     let arguments = method.arguments ?? []
    :
556 |     var signatureArgs: [String] = []
557 |     let godotReturnType = method.returnValue?.type
558 |     let godotReturnTypeIsReferenceType = classMap [godotReturnType ?? ""] != nil
    |                                          `- error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
559 |     let returnOptional = godotReturnType == "Variant" || godotReturnTypeIsReferenceType && isReturnOptional(className: className, method: method.name)
560 |     let returnType = getGodotType(method.returnValue) + (returnOptional ? "?" : "")
/host/spi-builder-workspace/Generator/Generator/main.swift:91:5: note: var declared here
 89 |
 90 | // Maps from a the class name to its definition
 91 | var classMap: [String: JGodotExtensionAPIClass] = [:]
    |     `- note: var declared here
 92 |
 93 | // Tracks whether a Godot type has subclasses, we want to use this
/host/spi-builder-workspace/Generator/Generator/MethodGen.swift:630:27: error: main actor-isolated var 'builtinSizes' can not be referenced from a nonisolated context
606 |     }
607 |
608 |     func getCallResultArgument() -> String {
    |          `- note: add '@MainActor' to make local function 'getCallResultArgument()' part of global actor 'MainActor'
609 |         let ptrResult: String
610 |         if returnType != "" {
    :
628 |                 } else if frameworkType {
629 |                     ptrResult = "&_result"
630 |                 } else if builtinSizes [godotReturnType] != nil {
    |                           `- error: main actor-isolated var 'builtinSizes' can not be referenced from a nonisolated context
631 |                     ptrResult = "&_result.content"
632 |                 } else {
/host/spi-builder-workspace/Generator/Generator/main.swift:132:5: note: var declared here
130 |
131 | let buildConfiguration: String = "float_64"
132 | var builtinSizes: [String: Int] = [:]
    |     `- note: var declared here
133 | for cs in jsonApi.builtinClassSizes {
134 |     if cs.buildConfiguration == buildConfiguration {
/host/spi-builder-workspace/Generator/Generator/MethodGen.swift:698:16: error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
450 | ///  - usedMethods: a set of methods that have been referenced by properties, to determine whether we make this public or private
451 | /// - Returns: nil, or the method we surfaced that needs to have the virtual supporting infrastructured wired up
452 | func generateMethod(_ p: Printer, method: MethodDefinition, className: String, cdef: JClassInfo?, usedMethods: Set<String>, generatedMethodKind: GeneratedMethodKind, asSingleton: Bool) throws -> String? {
    |      `- note: add '@MainActor' to make global function 'generateMethod(_:method:className:cdef:usedMethods:generatedMethodKind:asSingleton:)' part of global actor 'MainActor'
453 |
454 |     let arguments = method.arguments ?? []
    :
696 |             isOptional = true
697 |         } else {
698 |             if classMap [arg.type] != nil {
    |                `- error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
699 |                 isOptional = isMethodArgumentOptional(className: className, method: method.name, arg: arg.name)
700 |             } else {
/host/spi-builder-workspace/Generator/Generator/main.swift:91:5: note: var declared here
 89 |
 90 | // Maps from a the class name to its definition
 91 | var classMap: [String: JGodotExtensionAPIClass] = [:]
    |     `- note: var declared here
 92 |
 93 | // Tracks whether a Godot type has subclasses, we want to use this
[281/291] Compiling Generator NativeStructures.swift
/host/spi-builder-workspace/Generator/Generator/MethodGen.swift:216:28: error: main actor-isolated var 'builtinSizes' can not be referenced from a nonisolated context
214 |                         translation = .direct
215 |                     } else {
216 |                         if builtinSizes[src.type] != nil && src.type != "Object" {
    |                            `- error: main actor-isolated var 'builtinSizes' can not be referenced from a nonisolated context
217 |                             translation = .contentRef
218 |                         } else if classMap[src.type] != nil {
/host/spi-builder-workspace/Generator/Generator/main.swift:132:5: note: var declared here
130 |
131 | let buildConfiguration: String = "float_64"
132 | var builtinSizes: [String: Int] = [:]
    |     `- note: var declared here
133 | for cs in jsonApi.builtinClassSizes {
134 |     if cs.buildConfiguration == buildConfiguration {
/host/spi-builder-workspace/Generator/Generator/MethodGen.swift:218:35: error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
216 |                         if builtinSizes[src.type] != nil && src.type != "Object" {
217 |                             translation = .contentRef
218 |                         } else if classMap[src.type] != nil {
    |                                   `- error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
219 |                             if options.contains(.nonOptionalObjects) {
220 |                                 translation = .objectRef(isOptional: false)
/host/spi-builder-workspace/Generator/Generator/main.swift:91:5: note: var declared here
 89 |
 90 | // Maps from a the class name to its definition
 91 | var classMap: [String: JGodotExtensionAPIClass] = [:]
    |     `- note: var declared here
 92 |
 93 | // Tracks whether a Godot type has subclasses, we want to use this
/host/spi-builder-workspace/Generator/Generator/MethodGen.swift:558:42: error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
450 | ///  - usedMethods: a set of methods that have been referenced by properties, to determine whether we make this public or private
451 | /// - Returns: nil, or the method we surfaced that needs to have the virtual supporting infrastructured wired up
452 | func generateMethod(_ p: Printer, method: MethodDefinition, className: String, cdef: JClassInfo?, usedMethods: Set<String>, generatedMethodKind: GeneratedMethodKind, asSingleton: Bool) throws -> String? {
    |      `- note: add '@MainActor' to make global function 'generateMethod(_:method:className:cdef:usedMethods:generatedMethodKind:asSingleton:)' part of global actor 'MainActor'
453 |
454 |     let arguments = method.arguments ?? []
    :
556 |     var signatureArgs: [String] = []
557 |     let godotReturnType = method.returnValue?.type
558 |     let godotReturnTypeIsReferenceType = classMap [godotReturnType ?? ""] != nil
    |                                          `- error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
559 |     let returnOptional = godotReturnType == "Variant" || godotReturnTypeIsReferenceType && isReturnOptional(className: className, method: method.name)
560 |     let returnType = getGodotType(method.returnValue) + (returnOptional ? "?" : "")
/host/spi-builder-workspace/Generator/Generator/main.swift:91:5: note: var declared here
 89 |
 90 | // Maps from a the class name to its definition
 91 | var classMap: [String: JGodotExtensionAPIClass] = [:]
    |     `- note: var declared here
 92 |
 93 | // Tracks whether a Godot type has subclasses, we want to use this
/host/spi-builder-workspace/Generator/Generator/MethodGen.swift:630:27: error: main actor-isolated var 'builtinSizes' can not be referenced from a nonisolated context
606 |     }
607 |
608 |     func getCallResultArgument() -> String {
    |          `- note: add '@MainActor' to make local function 'getCallResultArgument()' part of global actor 'MainActor'
609 |         let ptrResult: String
610 |         if returnType != "" {
    :
628 |                 } else if frameworkType {
629 |                     ptrResult = "&_result"
630 |                 } else if builtinSizes [godotReturnType] != nil {
    |                           `- error: main actor-isolated var 'builtinSizes' can not be referenced from a nonisolated context
631 |                     ptrResult = "&_result.content"
632 |                 } else {
/host/spi-builder-workspace/Generator/Generator/main.swift:132:5: note: var declared here
130 |
131 | let buildConfiguration: String = "float_64"
132 | var builtinSizes: [String: Int] = [:]
    |     `- note: var declared here
133 | for cs in jsonApi.builtinClassSizes {
134 |     if cs.buildConfiguration == buildConfiguration {
/host/spi-builder-workspace/Generator/Generator/MethodGen.swift:698:16: error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
450 | ///  - usedMethods: a set of methods that have been referenced by properties, to determine whether we make this public or private
451 | /// - Returns: nil, or the method we surfaced that needs to have the virtual supporting infrastructured wired up
452 | func generateMethod(_ p: Printer, method: MethodDefinition, className: String, cdef: JClassInfo?, usedMethods: Set<String>, generatedMethodKind: GeneratedMethodKind, asSingleton: Bool) throws -> String? {
    |      `- note: add '@MainActor' to make global function 'generateMethod(_:method:className:cdef:usedMethods:generatedMethodKind:asSingleton:)' part of global actor 'MainActor'
453 |
454 |     let arguments = method.arguments ?? []
    :
696 |             isOptional = true
697 |         } else {
698 |             if classMap [arg.type] != nil {
    |                `- error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
699 |                 isOptional = isMethodArgumentOptional(className: className, method: method.name, arg: arg.name)
700 |             } else {
/host/spi-builder-workspace/Generator/Generator/main.swift:91:5: note: var declared here
 89 |
 90 | // Maps from a the class name to its definition
 91 | var classMap: [String: JGodotExtensionAPIClass] = [:]
    |     `- note: var declared here
 92 |
 93 | // Tracks whether a Godot type has subclasses, we want to use this
[282/291] Emitting module Generator
/host/spi-builder-workspace/Generator/Generator/BuiltinGen.swift:601:5: warning: var 'builtinGodotTypeNames' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 599 |     case isClass
 600 | }
 601 | var builtinGodotTypeNames: [String:BKind] = ["Variant": .isClass]
     |     |- warning: var 'builtinGodotTypeNames' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |     |- note: convert 'builtinGodotTypeNames' to a 'let' constant to make 'Sendable' shared state immutable
     |     |- note: add '@MainActor' to make var 'builtinGodotTypeNames' part of global actor 'MainActor'
     |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 602 | var builtinClassStorage: [String:String] = [:]
 603 |
/host/spi-builder-workspace/Generator/Generator/BuiltinGen.swift:602:5: warning: var 'builtinClassStorage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 600 | }
 601 | var builtinGodotTypeNames: [String:BKind] = ["Variant": .isClass]
 602 | var builtinClassStorage: [String:String] = [:]
     |     |- warning: var 'builtinClassStorage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |     |- note: convert 'builtinClassStorage' to a 'let' constant to make 'Sendable' shared state immutable
     |     |- note: add '@MainActor' to make var 'builtinClassStorage' part of global actor 'MainActor'
     |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 603 |
 604 | func generateBuiltinClasses (values: [JGodotBuiltinClass], outputDir: String?) async {
/host/spi-builder-workspace/Generator/Generator/ClassGen.swift:462:5: warning: var 'okList' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
460 | var skipList = Set<String>()
461 | #else
462 | var okList = Set<String>()
    |     |- warning: var 'okList' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: convert 'okList' to a 'let' constant to make 'Sendable' shared state immutable
    |     |- note: add '@MainActor' to make var 'okList' part of global actor 'MainActor'
    |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
463 | var skipList = Set<String>()
464 | #endif
/host/spi-builder-workspace/Generator/Generator/ClassGen.swift:463:5: warning: var 'skipList' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
461 | #else
462 | var okList = Set<String>()
463 | var skipList = Set<String>()
    |     |- warning: var 'skipList' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: convert 'skipList' to a 'let' constant to make 'Sendable' shared state immutable
    |     |- note: add '@MainActor' to make var 'skipList' part of global actor 'MainActor'
    |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
464 | #endif
465 |
/host/spi-builder-workspace/Generator/Generator/DocModel.swift:12:5: warning: let 'rxConstantParam' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
 10 |
 11 | @available(macOS 13.0, iOS 16.0, *)
 12 | let rxConstantParam: Regex<(Substring,Substring,Substring)> = try! Regex ("\\[(constant|param) ([\\w\\._@]+)\\]")
    |     |- warning: let 'rxConstantParam' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: add '@MainActor' to make let 'rxConstantParam' part of global actor 'MainActor'
    |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 13 | @available(macOS 13.0, iOS 16.0, *)
 14 | let rxEnumMethodMember: Regex<(Substring,Substring,Substring)> = try! Regex ("\\[(enum|method|member) ([\\w\\.@_/]+)\\]")
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
  |               `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 |     public var regex: Regex<Output> { get }
4 |     @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/host/spi-builder-workspace/Generator/Generator/DocModel.swift:14:5: warning: let 'rxEnumMethodMember' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
 12 | let rxConstantParam: Regex<(Substring,Substring,Substring)> = try! Regex ("\\[(constant|param) ([\\w\\._@]+)\\]")
 13 | @available(macOS 13.0, iOS 16.0, *)
 14 | let rxEnumMethodMember: Regex<(Substring,Substring,Substring)> = try! Regex ("\\[(enum|method|member) ([\\w\\.@_/]+)\\]")
    |     |- warning: let 'rxEnumMethodMember' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: add '@MainActor' to make let 'rxEnumMethodMember' part of global actor 'MainActor'
    |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 15 | @available(macOS 13.0, iOS 16.0, *)
 16 | let rxTypeName: Regex<(Substring, Substring)> = try! Regex ("\\[([A-Z]\\w+)\\]")
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
  |               `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 |     public var regex: Regex<Output> { get }
4 |     @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/host/spi-builder-workspace/Generator/Generator/DocModel.swift:16:5: warning: let 'rxTypeName' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
 14 | let rxEnumMethodMember: Regex<(Substring,Substring,Substring)> = try! Regex ("\\[(enum|method|member) ([\\w\\.@_/]+)\\]")
 15 | @available(macOS 13.0, iOS 16.0, *)
 16 | let rxTypeName: Regex<(Substring, Substring)> = try! Regex ("\\[([A-Z]\\w+)\\]")
    |     |- warning: let 'rxTypeName' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: add '@MainActor' to make let 'rxTypeName' part of global actor 'MainActor'
    |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 17 | @available(macOS 13.0, iOS 16.0, *)
 18 | let rxEmptyLeading: Regex<Substring> = try! Regex ("\\s+")
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
  |               `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 |     public var regex: Regex<Output> { get }
4 |     @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/host/spi-builder-workspace/Generator/Generator/DocModel.swift:18:5: warning: let 'rxEmptyLeading' is not concurrency-safe because non-'Sendable' type 'Regex<Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
 16 | let rxTypeName: Regex<(Substring, Substring)> = try! Regex ("\\[([A-Z]\\w+)\\]")
 17 | @available(macOS 13.0, iOS 16.0, *)
 18 | let rxEmptyLeading: Regex<Substring> = try! Regex ("\\s+")
    |     |- warning: let 'rxEmptyLeading' is not concurrency-safe because non-'Sendable' type 'Regex<Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: add '@MainActor' to make let 'rxEmptyLeading' part of global actor 'MainActor'
    |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 19 | @available(macOS 13.0, iOS 16.0, *)
 20 | let rxUrl: Regex<(Substring,Substring)> = try! Regex ("\\[url=(.*?)\\]")
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
  |               `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 |     public var regex: Regex<Output> { get }
4 |     @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/host/spi-builder-workspace/Generator/Generator/DocModel.swift:20:5: warning: let 'rxUrl' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
 18 | let rxEmptyLeading: Regex<Substring> = try! Regex ("\\s+")
 19 | @available(macOS 13.0, iOS 16.0, *)
 20 | let rxUrl: Regex<(Substring,Substring)> = try! Regex ("\\[url=(.*?)\\]")
    |     |- warning: let 'rxUrl' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: add '@MainActor' to make let 'rxUrl' part of global actor 'MainActor'
    |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 21 |
 22 | // If the string contains a ".", it will return a pair
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
  |               `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 |     public var regex: Regex<Output> { get }
4 |     @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/host/spi-builder-workspace/Generator/Generator/TypeHelpers.swift:98:5: warning: var 'core_types' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 96 | }
 97 |
 98 | var core_types = [
    |     |- warning: var 'core_types' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: convert 'core_types' to a 'let' constant to make 'Sendable' shared state immutable
    |     |- note: add '@MainActor' to make var 'core_types' part of global actor 'MainActor'
    |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 99 |               "String",
100 |               "Vector2",
/host/spi-builder-workspace/Generator/Generator/TypeHelpers.swift:243:5: warning: var 'mapStringToSwift' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
241 | }
242 |
243 | var mapStringToSwift = true
    |     |- warning: var 'mapStringToSwift' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: convert 'mapStringToSwift' to a 'let' constant to make 'Sendable' shared state immutable
    |     |- note: add '@MainActor' to make var 'mapStringToSwift' part of global actor 'MainActor'
    |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
244 |
245 | /// Given a type definition with its metadata, and the context where the type is being
[283/291] Compiling Generator ClassGen.swift
/host/spi-builder-workspace/Generator/Generator/ClassGen.swift:462:5: warning: var 'okList' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
460 | var skipList = Set<String>()
461 | #else
462 | var okList = Set<String>()
    |     |- warning: var 'okList' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: convert 'okList' to a 'let' constant to make 'Sendable' shared state immutable
    |     |- note: add '@MainActor' to make var 'okList' part of global actor 'MainActor'
    |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
463 | var skipList = Set<String>()
464 | #endif
/host/spi-builder-workspace/Generator/Generator/ClassGen.swift:463:5: warning: var 'skipList' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
461 | #else
462 | var okList = Set<String>()
463 | var skipList = Set<String>()
    |     |- warning: var 'skipList' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: convert 'skipList' to a 'let' constant to make 'Sendable' shared state immutable
    |     |- note: add '@MainActor' to make var 'skipList' part of global actor 'MainActor'
    |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
464 | #endif
465 |
/host/spi-builder-workspace/Generator/Generator/ClassGen.swift:30:12: error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
  9 | import ExtensionApi
 10 |
 11 | func makeDefaultInit (godotType: String, initCollection: String = "") -> String {
    |      `- note: add '@MainActor' to make global function 'makeDefaultInit(godotType:initCollection:)' part of global actor 'MainActor'
 12 |     switch godotType {
 13 |     case "Variant":
    :
 28 |         let nestedTypeName = String (t.dropFirst(12))
 29 |         let simple = SimpleType(type: nestedTypeName)
 30 |         if classMap [nestedTypeName] != nil {
    |            `- error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
 31 |             return "TypedArray<\(getGodotType (simple))?>(\(initCollection))"
 32 |         } else {
/host/spi-builder-workspace/Generator/Generator/main.swift:91:5: note: var declared here
 89 |
 90 | // Maps from a the class name to its definition
 91 | var classMap: [String: JGodotExtensionAPIClass] = [:]
    |     `- note: var declared here
 92 |
 93 | // Tracks whether a Godot type has subclasses, we want to use this
/host/spi-builder-workspace/Generator/Generator/ClassGen.swift:84:46: error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
 69 | }
 70 |
 71 | func generateVirtualProxy (_ p: Printer,
    |      `- note: add '@MainActor' to make global function 'generateVirtualProxy(_:cdef:methodName:method:)' part of global actor 'MainActor'
 72 |                            cdef: JGodotExtensionAPIClass,
 73 |                            methodName: String,
    :
 82 |     if let ret = method.returnValue {
 83 |         let godotReturnType = ret.type
 84 |         let godotReturnTypeIsReferenceType = classMap [godotReturnType] != nil
    |                                              `- error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
 85 |         returnOptional = godotReturnTypeIsReferenceType && isReturnOptional(className: cdef.name, method: methodName)
 86 |
/host/spi-builder-workspace/Generator/Generator/main.swift:91:5: note: var declared here
 89 |
 90 | // Maps from a the class name to its definition
 91 | var classMap: [String: JGodotExtensionAPIClass] = [:]
    |     `- note: var declared here
 92 |
 93 | // Tracks whether a Godot type has subclasses, we want to use this
/host/spi-builder-workspace/Generator/Generator/ClassGen.swift:113:23: error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
111 |             if arg.type == "String" {
112 |                 argCall += "GString.stringFromGStringPtr (ptr: args [\(i)]!) ?? \"\""
113 |             } else if classMap [arg.type] != nil {
    |                       `- error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
114 |                 //
115 |                 // This idiom guarantees that: if this is a known object, we surface this
/host/spi-builder-workspace/Generator/Generator/main.swift:91:5: note: var declared here
 89 |
 90 | // Maps from a the class name to its definition
 91 | var classMap: [String: JGodotExtensionAPIClass] = [:]
    |     `- note: var declared here
 92 |
 93 | // Tracks whether a Godot type has subclasses, we want to use this
/host/spi-builder-workspace/Generator/Generator/ClassGen.swift:163:27: error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
161 |                     derefField = "array.content"
162 |                     derefType = "type (of: ret.array.content)"
163 |                 } else if classMap [ret.type] != nil {
    |                           `- error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
164 |                     derefField = "handle"
165 |                     derefType = " GodotNativeObjectPointer?.self"
/host/spi-builder-workspace/Generator/Generator/main.swift:91:5: note: var declared here
 89 |
 90 | // Maps from a the class name to its definition
 91 | var classMap: [String: JGodotExtensionAPIClass] = [:]
    |     `- note: var declared here
 92 |
 93 | // Tracks whether a Godot type has subclasses, we want to use this
/host/spi-builder-workspace/Generator/Generator/ClassGen.swift:175:30: error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
173 |                     target = "array.content"
174 |                 } else {
175 |                     target = classMap [ret.type] != nil ? "handle" : "content"
    |                              `- error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
176 |                 }
177 |                 p ("retPtr!.storeBytes (of: ret\(returnOptional ? "?" : "").\(derefField), as: \(derefType)) // \(ret.type)")
/host/spi-builder-workspace/Generator/Generator/main.swift:91:5: note: var declared here
 89 |
 90 | // Maps from a the class name to its definition
 91 | var classMap: [String: JGodotExtensionAPIClass] = [:]
    |     `- note: var declared here
 92 |
 93 | // Tracks whether a Godot type has subclasses, we want to use this
/host/spi-builder-workspace/Generator/Generator/ClassGen.swift:327:20: error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
316 |     p ("\n/* Properties */\n")
317 |
318 |     func findMethod (forProperty: JGodotProperty, startAt: JGodotExtensionAPIClass, name: String, resolvedName: inout String, argName: inout String) -> JGodotClassMethod? {
    |          `- note: add '@MainActor' to make local function 'findMethod(forProperty:startAt:name:resolvedName:argName:)' part of global actor 'MainActor'
319 |         if let here = methods.first(where: { $0.name == name}) {
320 |             return here
    :
325 |                 return nil
326 |             }
327 |             cdef = classMap [parentName]
    |                    `- error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
328 |             guard let cdef else {
329 |                 print ("Warning: Missing type \(parentName)")
/host/spi-builder-workspace/Generator/Generator/main.swift:91:5: note: var declared here
 89 |
 90 | // Maps from a the class name to its definition
 91 | var classMap: [String: JGodotExtensionAPIClass] = [:]
    |     `- note: var declared here
 92 |
 93 | // Tracks whether a Godot type has subclasses, we want to use this
/host/spi-builder-workspace/Generator/Generator/ClassGen.swift:409:46: error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
307 |     }
308 | }
309 | func generateProperties (_ p: Printer,
    |      `- note: add '@MainActor' to make global function 'generateProperties(_:cdef:_:_:_:asSingleton:)' part of global actor 'MainActor'
310 |                          cdef: JGodotExtensionAPIClass,
311 |                          _ properties: [JGodotProperty],
    :
407 |         }
408 |         let godotReturnType = method.returnValue?.type
409 |         let godotReturnTypeIsReferenceType = classMap [godotReturnType ?? ""] != nil
    |                                              `- error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
410 |
411 |         let propertyOptional = godotReturnType == "Variant" || godotReturnTypeIsReferenceType && isReturnOptional(className: cdef.name, method: property.getter)
/host/spi-builder-workspace/Generator/Generator/main.swift:91:5: note: var declared here
 89 |
 90 | // Maps from a the class name to its definition
 91 | var classMap: [String: JGodotExtensionAPIClass] = [:]
    |     `- note: var declared here
 92 |
 93 | // Tracks whether a Godot type has subclasses, we want to use this
/host/spi-builder-workspace/Generator/Generator/ClassGen.swift:556:23: warning: non-sendable type 'JGodotExtensionAPI' of let 'jsonApi' cannot exit main actor-isolated context; this is an error in the Swift 6 language mode
554 | func processClass (cdef: JGodotExtensionAPIClass, outputDir: String?) async {
555 |     // Determine if it is a singleton, but exclude EditorInterface
556 |     let isSingleton = jsonApi.singletons.contains (where: { $0.name == cdef.name })
    |                       `- warning: non-sendable type 'JGodotExtensionAPI' of let 'jsonApi' cannot exit main actor-isolated context; this is an error in the Swift 6 language mode
557 |     let asSingleton = isSingleton && cdef.name != "EditorInterface"
558 |
/host/spi-builder-workspace/Sources/ExtensionApi/ApiJsonModel.swift:9:15: note: struct 'JGodotExtensionAPI' does not conform to the 'Sendable' protocol
  7 |
  8 | // MARK: - JGodotExtensionAPI
  9 | public struct JGodotExtensionAPI: Codable {
    |               `- note: struct 'JGodotExtensionAPI' does not conform to the 'Sendable' protocol
 10 |     public let header: JGodotHeader
 11 |     public let builtinClassSizes: [JGodotBuiltinClassSize]
/host/spi-builder-workspace/Generator/Generator/ClassGen.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ExtensionApi'
  7 |
  8 | import Foundation
  9 | import ExtensionApi
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ExtensionApi'
 10 |
 11 | func makeDefaultInit (godotType: String, initCollection: String = "") -> String {
/host/spi-builder-workspace/Generator/Generator/ClassGen.swift:560:41: warning: non-sendable result type 'Printer' cannot be sent from actor-isolated context in call to instance method 'initPrinter(_:withPreamble:)'; this is an error in the Swift 6 language mode
558 |
559 |     // Clear the result
560 |     let p = await PrinterFactory.shared.initPrinter(cdef.name, withPreamble: true)
    |                                         `- warning: non-sendable result type 'Printer' cannot be sent from actor-isolated context in call to instance method 'initPrinter(_:withPreamble:)'; this is an error in the Swift 6 language mode
561 |
562 |     // Save it
/host/spi-builder-workspace/Generator/Generator/Printer.swift:10:7: note: class 'Printer' does not conform to the 'Sendable' protocol
  8 | import Foundation
  9 |
 10 | class Printer {
    |       `- note: class 'Printer' does not conform to the 'Sendable' protocol
 11 |     let name: String
 12 |     // Where we accumulate our output for the p/b routines
/host/spi-builder-workspace/Generator/Generator/ClassGen.swift:556:23: warning: expression is 'async' but is not marked with 'await'; this is an error in the Swift 6 language mode
554 | func processClass (cdef: JGodotExtensionAPIClass, outputDir: String?) async {
555 |     // Determine if it is a singleton, but exclude EditorInterface
556 |     let isSingleton = jsonApi.singletons.contains (where: { $0.name == cdef.name })
    |                       |- warning: expression is 'async' but is not marked with 'await'; this is an error in the Swift 6 language mode
    |                       `- note: property access is 'async'
557 |     let asSingleton = isSingleton && cdef.name != "EditorInterface"
558 |
/host/spi-builder-workspace/Generator/Generator/ClassGen.swift:744:18: error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
740 |
741 | extension Generator {
742 |     func generateCtorPointers (_ p: Printer) {
    |          `- note: add '@MainActor' to make instance method 'generateCtorPointers' part of global actor 'MainActor'
743 |         p ("var godotFrameworkCtors = [")
744 |         for x in classMap.keys.sorted() {
    |                  `- error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
745 |             p ("    \"\(x)\": \(x).self, //(nativeHandle:),")
746 |         }
/host/spi-builder-workspace/Generator/Generator/main.swift:91:5: note: var declared here
 89 |
 90 | // Maps from a the class name to its definition
 91 | var classMap: [String: JGodotExtensionAPIClass] = [:]
    |     `- note: var declared here
 92 |
 93 | // Tracks whether a Godot type has subclasses, we want to use this
[284/291] Compiling Generator Data.swift
/host/spi-builder-workspace/Generator/Generator/ClassGen.swift:462:5: warning: var 'okList' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
460 | var skipList = Set<String>()
461 | #else
462 | var okList = Set<String>()
    |     |- warning: var 'okList' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: convert 'okList' to a 'let' constant to make 'Sendable' shared state immutable
    |     |- note: add '@MainActor' to make var 'okList' part of global actor 'MainActor'
    |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
463 | var skipList = Set<String>()
464 | #endif
/host/spi-builder-workspace/Generator/Generator/ClassGen.swift:463:5: warning: var 'skipList' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
461 | #else
462 | var okList = Set<String>()
463 | var skipList = Set<String>()
    |     |- warning: var 'skipList' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: convert 'skipList' to a 'let' constant to make 'Sendable' shared state immutable
    |     |- note: add '@MainActor' to make var 'skipList' part of global actor 'MainActor'
    |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
464 | #endif
465 |
/host/spi-builder-workspace/Generator/Generator/ClassGen.swift:30:12: error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
  9 | import ExtensionApi
 10 |
 11 | func makeDefaultInit (godotType: String, initCollection: String = "") -> String {
    |      `- note: add '@MainActor' to make global function 'makeDefaultInit(godotType:initCollection:)' part of global actor 'MainActor'
 12 |     switch godotType {
 13 |     case "Variant":
    :
 28 |         let nestedTypeName = String (t.dropFirst(12))
 29 |         let simple = SimpleType(type: nestedTypeName)
 30 |         if classMap [nestedTypeName] != nil {
    |            `- error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
 31 |             return "TypedArray<\(getGodotType (simple))?>(\(initCollection))"
 32 |         } else {
/host/spi-builder-workspace/Generator/Generator/main.swift:91:5: note: var declared here
 89 |
 90 | // Maps from a the class name to its definition
 91 | var classMap: [String: JGodotExtensionAPIClass] = [:]
    |     `- note: var declared here
 92 |
 93 | // Tracks whether a Godot type has subclasses, we want to use this
/host/spi-builder-workspace/Generator/Generator/ClassGen.swift:84:46: error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
 69 | }
 70 |
 71 | func generateVirtualProxy (_ p: Printer,
    |      `- note: add '@MainActor' to make global function 'generateVirtualProxy(_:cdef:methodName:method:)' part of global actor 'MainActor'
 72 |                            cdef: JGodotExtensionAPIClass,
 73 |                            methodName: String,
    :
 82 |     if let ret = method.returnValue {
 83 |         let godotReturnType = ret.type
 84 |         let godotReturnTypeIsReferenceType = classMap [godotReturnType] != nil
    |                                              `- error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
 85 |         returnOptional = godotReturnTypeIsReferenceType && isReturnOptional(className: cdef.name, method: methodName)
 86 |
/host/spi-builder-workspace/Generator/Generator/main.swift:91:5: note: var declared here
 89 |
 90 | // Maps from a the class name to its definition
 91 | var classMap: [String: JGodotExtensionAPIClass] = [:]
    |     `- note: var declared here
 92 |
 93 | // Tracks whether a Godot type has subclasses, we want to use this
/host/spi-builder-workspace/Generator/Generator/ClassGen.swift:113:23: error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
111 |             if arg.type == "String" {
112 |                 argCall += "GString.stringFromGStringPtr (ptr: args [\(i)]!) ?? \"\""
113 |             } else if classMap [arg.type] != nil {
    |                       `- error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
114 |                 //
115 |                 // This idiom guarantees that: if this is a known object, we surface this
/host/spi-builder-workspace/Generator/Generator/main.swift:91:5: note: var declared here
 89 |
 90 | // Maps from a the class name to its definition
 91 | var classMap: [String: JGodotExtensionAPIClass] = [:]
    |     `- note: var declared here
 92 |
 93 | // Tracks whether a Godot type has subclasses, we want to use this
/host/spi-builder-workspace/Generator/Generator/ClassGen.swift:163:27: error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
161 |                     derefField = "array.content"
162 |                     derefType = "type (of: ret.array.content)"
163 |                 } else if classMap [ret.type] != nil {
    |                           `- error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
164 |                     derefField = "handle"
165 |                     derefType = " GodotNativeObjectPointer?.self"
/host/spi-builder-workspace/Generator/Generator/main.swift:91:5: note: var declared here
 89 |
 90 | // Maps from a the class name to its definition
 91 | var classMap: [String: JGodotExtensionAPIClass] = [:]
    |     `- note: var declared here
 92 |
 93 | // Tracks whether a Godot type has subclasses, we want to use this
/host/spi-builder-workspace/Generator/Generator/ClassGen.swift:175:30: error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
173 |                     target = "array.content"
174 |                 } else {
175 |                     target = classMap [ret.type] != nil ? "handle" : "content"
    |                              `- error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
176 |                 }
177 |                 p ("retPtr!.storeBytes (of: ret\(returnOptional ? "?" : "").\(derefField), as: \(derefType)) // \(ret.type)")
/host/spi-builder-workspace/Generator/Generator/main.swift:91:5: note: var declared here
 89 |
 90 | // Maps from a the class name to its definition
 91 | var classMap: [String: JGodotExtensionAPIClass] = [:]
    |     `- note: var declared here
 92 |
 93 | // Tracks whether a Godot type has subclasses, we want to use this
/host/spi-builder-workspace/Generator/Generator/ClassGen.swift:327:20: error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
316 |     p ("\n/* Properties */\n")
317 |
318 |     func findMethod (forProperty: JGodotProperty, startAt: JGodotExtensionAPIClass, name: String, resolvedName: inout String, argName: inout String) -> JGodotClassMethod? {
    |          `- note: add '@MainActor' to make local function 'findMethod(forProperty:startAt:name:resolvedName:argName:)' part of global actor 'MainActor'
319 |         if let here = methods.first(where: { $0.name == name}) {
320 |             return here
    :
325 |                 return nil
326 |             }
327 |             cdef = classMap [parentName]
    |                    `- error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
328 |             guard let cdef else {
329 |                 print ("Warning: Missing type \(parentName)")
/host/spi-builder-workspace/Generator/Generator/main.swift:91:5: note: var declared here
 89 |
 90 | // Maps from a the class name to its definition
 91 | var classMap: [String: JGodotExtensionAPIClass] = [:]
    |     `- note: var declared here
 92 |
 93 | // Tracks whether a Godot type has subclasses, we want to use this
/host/spi-builder-workspace/Generator/Generator/ClassGen.swift:409:46: error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
307 |     }
308 | }
309 | func generateProperties (_ p: Printer,
    |      `- note: add '@MainActor' to make global function 'generateProperties(_:cdef:_:_:_:asSingleton:)' part of global actor 'MainActor'
310 |                          cdef: JGodotExtensionAPIClass,
311 |                          _ properties: [JGodotProperty],
    :
407 |         }
408 |         let godotReturnType = method.returnValue?.type
409 |         let godotReturnTypeIsReferenceType = classMap [godotReturnType ?? ""] != nil
    |                                              `- error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
410 |
411 |         let propertyOptional = godotReturnType == "Variant" || godotReturnTypeIsReferenceType && isReturnOptional(className: cdef.name, method: property.getter)
/host/spi-builder-workspace/Generator/Generator/main.swift:91:5: note: var declared here
 89 |
 90 | // Maps from a the class name to its definition
 91 | var classMap: [String: JGodotExtensionAPIClass] = [:]
    |     `- note: var declared here
 92 |
 93 | // Tracks whether a Godot type has subclasses, we want to use this
/host/spi-builder-workspace/Generator/Generator/ClassGen.swift:556:23: warning: non-sendable type 'JGodotExtensionAPI' of let 'jsonApi' cannot exit main actor-isolated context; this is an error in the Swift 6 language mode
554 | func processClass (cdef: JGodotExtensionAPIClass, outputDir: String?) async {
555 |     // Determine if it is a singleton, but exclude EditorInterface
556 |     let isSingleton = jsonApi.singletons.contains (where: { $0.name == cdef.name })
    |                       `- warning: non-sendable type 'JGodotExtensionAPI' of let 'jsonApi' cannot exit main actor-isolated context; this is an error in the Swift 6 language mode
557 |     let asSingleton = isSingleton && cdef.name != "EditorInterface"
558 |
/host/spi-builder-workspace/Sources/ExtensionApi/ApiJsonModel.swift:9:15: note: struct 'JGodotExtensionAPI' does not conform to the 'Sendable' protocol
  7 |
  8 | // MARK: - JGodotExtensionAPI
  9 | public struct JGodotExtensionAPI: Codable {
    |               `- note: struct 'JGodotExtensionAPI' does not conform to the 'Sendable' protocol
 10 |     public let header: JGodotHeader
 11 |     public let builtinClassSizes: [JGodotBuiltinClassSize]
/host/spi-builder-workspace/Generator/Generator/ClassGen.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ExtensionApi'
  7 |
  8 | import Foundation
  9 | import ExtensionApi
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ExtensionApi'
 10 |
 11 | func makeDefaultInit (godotType: String, initCollection: String = "") -> String {
/host/spi-builder-workspace/Generator/Generator/ClassGen.swift:560:41: warning: non-sendable result type 'Printer' cannot be sent from actor-isolated context in call to instance method 'initPrinter(_:withPreamble:)'; this is an error in the Swift 6 language mode
558 |
559 |     // Clear the result
560 |     let p = await PrinterFactory.shared.initPrinter(cdef.name, withPreamble: true)
    |                                         `- warning: non-sendable result type 'Printer' cannot be sent from actor-isolated context in call to instance method 'initPrinter(_:withPreamble:)'; this is an error in the Swift 6 language mode
561 |
562 |     // Save it
/host/spi-builder-workspace/Generator/Generator/Printer.swift:10:7: note: class 'Printer' does not conform to the 'Sendable' protocol
  8 | import Foundation
  9 |
 10 | class Printer {
    |       `- note: class 'Printer' does not conform to the 'Sendable' protocol
 11 |     let name: String
 12 |     // Where we accumulate our output for the p/b routines
/host/spi-builder-workspace/Generator/Generator/ClassGen.swift:556:23: warning: expression is 'async' but is not marked with 'await'; this is an error in the Swift 6 language mode
554 | func processClass (cdef: JGodotExtensionAPIClass, outputDir: String?) async {
555 |     // Determine if it is a singleton, but exclude EditorInterface
556 |     let isSingleton = jsonApi.singletons.contains (where: { $0.name == cdef.name })
    |                       |- warning: expression is 'async' but is not marked with 'await'; this is an error in the Swift 6 language mode
    |                       `- note: property access is 'async'
557 |     let asSingleton = isSingleton && cdef.name != "EditorInterface"
558 |
/host/spi-builder-workspace/Generator/Generator/ClassGen.swift:744:18: error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
740 |
741 | extension Generator {
742 |     func generateCtorPointers (_ p: Printer) {
    |          `- note: add '@MainActor' to make instance method 'generateCtorPointers' part of global actor 'MainActor'
743 |         p ("var godotFrameworkCtors = [")
744 |         for x in classMap.keys.sorted() {
    |                  `- error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
745 |             p ("    \"\(x)\": \(x).self, //(nativeHandle:),")
746 |         }
/host/spi-builder-workspace/Generator/Generator/main.swift:91:5: note: var declared here
 89 |
 90 | // Maps from a the class name to its definition
 91 | var classMap: [String: JGodotExtensionAPIClass] = [:]
    |     `- note: var declared here
 92 |
 93 | // Tracks whether a Godot type has subclasses, we want to use this
[285/291] Compiling Generator Printer.swift
[286/291] Compiling Generator StringOperations.swift
[287/291] Compiling Generator Arguments.swift
/host/spi-builder-workspace/Generator/Generator/Arguments.swift:201:16: error: main actor-isolated var 'builtinSizes' can not be referenced from a nonisolated context
189 | }
190 |
191 | func getArgRef (arg: JGodotArgument) -> String {
    |      `- note: add '@MainActor' to make global function 'getArgRef(arg:)' part of global actor 'MainActor'
192 |     var argref: String
193 |     var optstorage: String
    :
199 |             optstorage = ".content"
200 |         } else {
201 |             if builtinSizes [arg.type] != nil && arg.type != "Object" {
    |                `- error: main actor-isolated var 'builtinSizes' can not be referenced from a nonisolated context
202 |                 optstorage = ".content"
203 |             } else {
/host/spi-builder-workspace/Generator/Generator/main.swift:132:5: note: var declared here
130 |
131 | let buildConfiguration: String = "float_64"
132 | var builtinSizes: [String: Int] = [:]
    |     `- note: var declared here
133 | for cs in jsonApi.builtinClassSizes {
134 |     if cs.buildConfiguration == buildConfiguration {
/host/spi-builder-workspace/Generator/Generator/BuiltinGen.swift:601:5: warning: var 'builtinGodotTypeNames' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 599 |     case isClass
 600 | }
 601 | var builtinGodotTypeNames: [String:BKind] = ["Variant": .isClass]
     |     |- warning: var 'builtinGodotTypeNames' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |     |- note: convert 'builtinGodotTypeNames' to a 'let' constant to make 'Sendable' shared state immutable
     |     |- note: add '@MainActor' to make var 'builtinGodotTypeNames' part of global actor 'MainActor'
     |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 602 | var builtinClassStorage: [String:String] = [:]
 603 |
/host/spi-builder-workspace/Generator/Generator/BuiltinGen.swift:602:5: warning: var 'builtinClassStorage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 600 | }
 601 | var builtinGodotTypeNames: [String:BKind] = ["Variant": .isClass]
 602 | var builtinClassStorage: [String:String] = [:]
     |     |- warning: var 'builtinClassStorage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |     |- note: convert 'builtinClassStorage' to a 'let' constant to make 'Sendable' shared state immutable
     |     |- note: add '@MainActor' to make var 'builtinClassStorage' part of global actor 'MainActor'
     |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 603 |
 604 | func generateBuiltinClasses (values: [JGodotBuiltinClass], outputDir: String?) async {
/host/spi-builder-workspace/Generator/Generator/BuiltinGen.swift:832:59: error: main actor-isolated var 'builtinMemberOffsets' can not be referenced from a nonisolated context
 830 |                 storedMembers = bc.members
 831 |             } else {
 832 |                 if kind == .isStruct, let memberOffsets = builtinMemberOffsets [bc.name] {
     |                                                           `- error: main actor-isolated var 'builtinMemberOffsets' can not be referenced from a nonisolated context
 833 |                     storedMembers = memberOffsets.compactMap({ m in
 834 |                         return bc.members?.first(where: { $0.name == m.member })
/host/spi-builder-workspace/Generator/Generator/main.swift:140:5: note: var declared here
138 |     }
139 | }
140 | var builtinMemberOffsets: [String: [JGodotMember]] = [:]
    |     `- note: var declared here
141 | for mo in jsonApi.builtinClassMemberOffsets {
142 |     if mo.buildConfiguration == buildConfiguration {
/host/spi-builder-workspace/Generator/Generator/BuiltinGen.swift:1172:58: warning: non-sendable result type 'Printer' cannot be sent from actor-isolated context in call to instance method 'initPrinter(_:withPreamble:)'; this is an error in the Swift 6 language mode
1170 |         default:
1171 |             // printer for class itself
1172 |             let p: Printer = await PrinterFactory.shared.initPrinter(bc.name, withPreamble: true)
     |                                                          `- warning: non-sendable result type 'Printer' cannot be sent from actor-isolated context in call to instance method 'initPrinter(_:withPreamble:)'; this is an error in the Swift 6 language mode
1173 |
1174 |             mapStringToSwift = bc.name != "String"
/host/spi-builder-workspace/Generator/Generator/Printer.swift:10:7: note: class 'Printer' does not conform to the 'Sendable' protocol
  8 | import Foundation
  9 |
 10 | class Printer {
    |       `- note: class 'Printer' does not conform to the 'Sendable' protocol
 11 |     let name: String
 12 |     // Where we accumulate our output for the p/b routines
[288/291] Compiling Generator BuiltinGen.swift
/host/spi-builder-workspace/Generator/Generator/Arguments.swift:201:16: error: main actor-isolated var 'builtinSizes' can not be referenced from a nonisolated context
189 | }
190 |
191 | func getArgRef (arg: JGodotArgument) -> String {
    |      `- note: add '@MainActor' to make global function 'getArgRef(arg:)' part of global actor 'MainActor'
192 |     var argref: String
193 |     var optstorage: String
    :
199 |             optstorage = ".content"
200 |         } else {
201 |             if builtinSizes [arg.type] != nil && arg.type != "Object" {
    |                `- error: main actor-isolated var 'builtinSizes' can not be referenced from a nonisolated context
202 |                 optstorage = ".content"
203 |             } else {
/host/spi-builder-workspace/Generator/Generator/main.swift:132:5: note: var declared here
130 |
131 | let buildConfiguration: String = "float_64"
132 | var builtinSizes: [String: Int] = [:]
    |     `- note: var declared here
133 | for cs in jsonApi.builtinClassSizes {
134 |     if cs.buildConfiguration == buildConfiguration {
/host/spi-builder-workspace/Generator/Generator/BuiltinGen.swift:601:5: warning: var 'builtinGodotTypeNames' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 599 |     case isClass
 600 | }
 601 | var builtinGodotTypeNames: [String:BKind] = ["Variant": .isClass]
     |     |- warning: var 'builtinGodotTypeNames' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |     |- note: convert 'builtinGodotTypeNames' to a 'let' constant to make 'Sendable' shared state immutable
     |     |- note: add '@MainActor' to make var 'builtinGodotTypeNames' part of global actor 'MainActor'
     |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 602 | var builtinClassStorage: [String:String] = [:]
 603 |
/host/spi-builder-workspace/Generator/Generator/BuiltinGen.swift:602:5: warning: var 'builtinClassStorage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 600 | }
 601 | var builtinGodotTypeNames: [String:BKind] = ["Variant": .isClass]
 602 | var builtinClassStorage: [String:String] = [:]
     |     |- warning: var 'builtinClassStorage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |     |- note: convert 'builtinClassStorage' to a 'let' constant to make 'Sendable' shared state immutable
     |     |- note: add '@MainActor' to make var 'builtinClassStorage' part of global actor 'MainActor'
     |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 603 |
 604 | func generateBuiltinClasses (values: [JGodotBuiltinClass], outputDir: String?) async {
/host/spi-builder-workspace/Generator/Generator/BuiltinGen.swift:832:59: error: main actor-isolated var 'builtinMemberOffsets' can not be referenced from a nonisolated context
 830 |                 storedMembers = bc.members
 831 |             } else {
 832 |                 if kind == .isStruct, let memberOffsets = builtinMemberOffsets [bc.name] {
     |                                                           `- error: main actor-isolated var 'builtinMemberOffsets' can not be referenced from a nonisolated context
 833 |                     storedMembers = memberOffsets.compactMap({ m in
 834 |                         return bc.members?.first(where: { $0.name == m.member })
/host/spi-builder-workspace/Generator/Generator/main.swift:140:5: note: var declared here
138 |     }
139 | }
140 | var builtinMemberOffsets: [String: [JGodotMember]] = [:]
    |     `- note: var declared here
141 | for mo in jsonApi.builtinClassMemberOffsets {
142 |     if mo.buildConfiguration == buildConfiguration {
/host/spi-builder-workspace/Generator/Generator/BuiltinGen.swift:1172:58: warning: non-sendable result type 'Printer' cannot be sent from actor-isolated context in call to instance method 'initPrinter(_:withPreamble:)'; this is an error in the Swift 6 language mode
1170 |         default:
1171 |             // printer for class itself
1172 |             let p: Printer = await PrinterFactory.shared.initPrinter(bc.name, withPreamble: true)
     |                                                          `- warning: non-sendable result type 'Printer' cannot be sent from actor-isolated context in call to instance method 'initPrinter(_:withPreamble:)'; this is an error in the Swift 6 language mode
1173 |
1174 |             mapStringToSwift = bc.name != "String"
/host/spi-builder-workspace/Generator/Generator/Printer.swift:10:7: note: class 'Printer' does not conform to the 'Sendable' protocol
  8 | import Foundation
  9 |
 10 | class Printer {
    |       `- note: class 'Printer' does not conform to the 'Sendable' protocol
 11 |     let name: String
 12 |     // Where we accumulate our output for the p/b routines
[1/1] Compiling plugin EntryPointGeneratorPlugin
[2/2] Compiling plugin CodeGeneratorPlugin
[3/3] Compiling plugin Swift-DocC Preview
[4/4] Compiling plugin Swift-DocC
[5/5] Compiling plugin GenerateManual
[6/6] Compiling plugin GenerateDoccReference
Building for debugging...
[6/109] Write sources
error: couldn't build /host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/SwiftGodot/tools/CodeGeneratorPlugin/GeneratedSources/generated-builtin/AABB.swift because of missing inputs: /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Generator
error: couldn't build /host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/SwiftGodot/destination/CodeGeneratorPlugin/GeneratedSources/generated-builtin/AABB.swift because of missing inputs: /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Generator
[11/109] Compiling GDExtension GDExtensionSupport.c
[11/109] Compiling _SwiftSyntaxCShims dummy.c
[11/109] Compiling GDExtension GDExtensionSupport.c
[11/109] Compiling _SwiftSyntaxCShims dummy.c
[11/109] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:eb0758f51dbd6991fb9e51dedbfbcbec142ffc0d3b9b8ad91fa19d35e5136f0a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Found unhandled resource at /host/spi-builder-workspace/Tests/SwiftGodotMacrosTests/Resources
[0/11] Write swift-version-24593BA9C3E375BF.txt
[2/19] Emitting module SwiftSyntax509
[3/19] Emitting module SwiftSyntax510
[4/19] Compiling SwiftSyntax510 Empty.swift
[5/20] Compiling SwiftSyntax600 Empty.swift
[6/20] Compiling SwiftSyntax509 Empty.swift
[7/21] Emitting module SwiftSyntax600
[8/22] Emitting module ArgumentParserToolInfo
[12/83] Compiling ArgumentParserToolInfo ToolInfo.swift
[14/127] Compiling ArgumentParser InputKey.swift
[15/127] Compiling ArgumentParser InputOrigin.swift
[16/127] Compiling ArgumentParser Name.swift
[17/127] Compiling ArgumentParser Parsed.swift
[18/127] Compiling ArgumentParser ParsedValues.swift
[19/127] Compiling ArgumentParser ParserError.swift
[20/133] Compiling ArgumentParser CollectionExtensions.swift
[21/133] Compiling ArgumentParser Mutex.swift
[22/133] Compiling ArgumentParser Platform.swift
[23/133] Compiling ArgumentParser SequenceExtensions.swift
[24/133] Compiling ArgumentParser StringExtensions.swift
[25/133] Compiling ArgumentParser SwiftExtensions.swift
[26/133] Emitting module ArgumentParser
[27/133] Compiling ArgumentParser Tree.swift
[28/133] Compiling ArgumentParser CodingKeyValidator.swift
[29/133] Compiling ArgumentParser NonsenseFlagsValidator.swift
[30/133] Compiling ArgumentParser ParsableArgumentsValidation.swift
[31/133] Compiling ArgumentParser PositionalArgumentsValidator.swift
[32/133] Compiling ArgumentParser UniqueNamesValidator.swift
[39/133] Compiling ArgumentParser ArgumentVisibility.swift
[40/133] Compiling ArgumentParser CompletionKind.swift
[41/133] Compiling ArgumentParser Errors.swift
[42/141] Compiling ArgumentParser SplitArguments.swift
[43/141] Compiling ArgumentParser DumpHelpGenerator.swift
[44/141] Compiling ArgumentParser HelpCommand.swift
[45/141] Compiling ArgumentParser HelpGenerator.swift
[46/141] Compiling ArgumentParser MessageInfo.swift
[47/141] Compiling ArgumentParser UsageGenerator.swift
[48/141] Compiling ArgumentParser BashCompletionsGenerator.swift
[49/141] Compiling ArgumentParser CompletionsGenerator.swift
[50/141] Compiling ArgumentParser FishCompletionsGenerator.swift
[51/141] Compiling ArgumentParser ZshCompletionsGenerator.swift
[52/141] Compiling ArgumentParser Argument.swift
[53/141] Compiling ArgumentParser ArgumentDiscussion.swift
[54/141] Compiling ArgumentParser ArgumentHelp.swift
[55/141] Compiling ArgumentParser OptionGroup.swift
[56/141] Compiling ArgumentParser AsyncParsableCommand.swift
[57/141] Compiling ArgumentParser CommandConfiguration.swift
[58/141] Compiling ArgumentParser CommandGroup.swift
[59/141] Compiling ArgumentParser EnumerableFlag.swift
[60/141] Compiling ArgumentParser ExpressibleByArgument.swift
[64/141] Compiling ArgumentParser Flag.swift
[65/141] Compiling ArgumentParser NameSpecification.swift
[66/141] Compiling ArgumentParser Option.swift
[67/141] Compiling ArgumentParser ParsableArguments.swift
[68/141] Compiling ArgumentParser ParsableCommand.swift
[69/141] Compiling ArgumentParser ArgumentDecoder.swift
[70/141] Compiling ArgumentParser ArgumentDefinition.swift
[71/141] Compiling ArgumentParser ArgumentSet.swift
[72/141] Compiling ArgumentParser CommandParser.swift
[74/141] Emitting module SwiftSyntax
[88/141] Compiling SwiftSyntax RawSyntaxNodesOP.swift
[89/141] Compiling SwiftSyntax RawSyntaxNodesQRS.swift
[90/141] Compiling SwiftSyntax RawSyntaxNodesTUVWXYZ.swift
[91/141] Compiling SwiftSyntax RawSyntaxValidation.swift
[92/141] Compiling SwiftSyntax SyntaxNodesAB.swift
[93/141] Compiling SwiftSyntax SyntaxNodesC.swift
[94/141] Compiling SwiftSyntax SyntaxNodesD.swift
[95/141] Compiling SwiftSyntax SyntaxNodesEF.swift
[96/141] Compiling SwiftSyntax SyntaxNodesGHI.swift
[97/141] Compiling SwiftSyntax SyntaxNodesJKLMN.swift
[98/141] Compiling SwiftSyntax SyntaxNodesOP.swift
[99/141] Compiling SwiftSyntax SyntaxNodesQRS.swift
[100/141] Compiling SwiftSyntax SyntaxNodesTUVWXYZ.swift
[119/141] Compiling SwiftSyntax AbsolutePosition.swift
[120/141] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[121/141] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[122/141] Compiling SwiftSyntax Assert.swift
[123/141] Compiling SwiftSyntax BumpPtrAllocator.swift
[124/141] Compiling SwiftSyntax CommonAncestor.swift
[125/141] Compiling SwiftSyntax Convenience.swift
[126/141] Compiling SwiftSyntax CustomTraits.swift
[127/141] Compiling SwiftSyntax Identifier.swift
[138/182] Compiling SwiftParser SwiftParserCompatibility.swift
[139/182] Compiling SwiftParser SwiftVersion.swift
[140/182] Compiling SwiftParser SyntaxUtils.swift
[141/182] Compiling SwiftParser TokenConsumer.swift
[142/182] Compiling SwiftParser TokenPrecedence.swift
[143/182] Compiling SwiftParser Modifiers.swift
[144/182] Compiling SwiftParser Names.swift
[145/182] Compiling SwiftParser Nominals.swift
[146/182] Compiling SwiftParser Parameters.swift
[147/182] Compiling SwiftParser ParseSourceFile.swift
[148/182] Compiling SwiftParser Parser.swift
[149/187] Emitting module SwiftParser
[150/187] Compiling SwiftParser Patterns.swift
[151/187] Compiling SwiftParser Recovery.swift
[152/187] Compiling SwiftParser Specifiers.swift
[153/187] Compiling SwiftParser Statements.swift
[154/187] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[155/187] Compiling SwiftParser StringLiterals.swift
[156/187] Compiling SwiftParser LexemeSequence.swift
[157/187] Compiling SwiftParser Lexer.swift
[158/187] Compiling SwiftParser RegexLiteralLexer.swift
[159/187] Compiling SwiftParser UnicodeScalarExtensions.swift
[160/187] Compiling SwiftParser Lookahead.swift
[161/187] Compiling SwiftParser LoopProgressCondition.swift
[162/187] Compiling SwiftParser TokenSpec.swift
[163/187] Compiling SwiftParser TokenSpecSet.swift
[164/187] Compiling SwiftParser TopLevel.swift
[165/187] Compiling SwiftParser TriviaParser.swift
[166/187] Compiling SwiftParser Types.swift
[167/187] Compiling SwiftParser Attributes.swift
[168/187] Compiling SwiftParser Availability.swift
[169/187] Compiling SwiftParser CharacterInfo.swift
[170/187] Compiling SwiftParser CollectionNodes+Parsable.swift
[171/187] Compiling SwiftParser Declarations.swift
[172/187] Compiling SwiftParser Directives.swift
[173/187] Compiling SwiftParser ExpressionInterpretedAsVersionTuple.swift
[174/187] Compiling SwiftParser Expressions.swift
[175/187] Compiling SwiftParser IncrementalParseTransition.swift
[176/187] Compiling SwiftParser IsValidIdentifier.swift
[177/187] Compiling SwiftParser Cursor.swift
[178/187] Compiling SwiftParser Lexeme.swift
[179/187] Compiling SwiftParser ExperimentalFeatures.swift
[180/187] Compiling SwiftParser IsLexerClassified.swift
[181/187] Compiling SwiftParser LayoutNodes+Parsable.swift
[182/187] Compiling SwiftParser Parser+TokenSpecSet.swift
[183/187] Compiling SwiftParser TokenSpecStaticMembers.swift
[185/190] Compiling EntryPointGenerator EntryPointGenerator.swift
[186/190] Compiling EntryPointGenerator GodotMacroSearchingVisitor.swift
[187/190] Emitting module EntryPointGenerator
[188/191] Wrapping AST for EntryPointGenerator for debugging
[189/191] Write Objects.LinkFileList
[190/191] Linking EntryPointGenerator-tool
[191/205] Write swift-version-24593BA9C3E375BF.txt
[193/219] Compiling SwiftBasicFormat Syntax+Extensions.swift
[194/219] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[195/219] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[196/219] Compiling SwiftDiagnostics Message.swift
[197/220] Compiling SwiftDiagnostics ANSIDiagnosticDecorator.swift
[198/220] Compiling SwiftDiagnostics BasicDiagnosticDecorator.swift
[199/220] Emitting module SwiftDiagnostics
[200/220] Compiling SwiftDiagnostics Convenience.swift
[201/220] Compiling SwiftDiagnostics Diagnostic.swift
[202/220] Compiling SwiftBasicFormat InferIndentation.swift
[203/220] Compiling SwiftDiagnostics Note.swift
[204/220] Compiling SwiftDiagnostics DiagnosticDecorator.swift
[205/220] Compiling SwiftDiagnostics FixIt.swift
[206/220] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[207/220] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[209/221] Compiling SwiftBasicFormat BasicFormat.swift
[210/221] Emitting module SwiftBasicFormat
[212/233] Compiling ExtensionApi ApiJsonModel+Extra.swift
[213/233] Emitting module ExtensionApi
[214/233] Compiling ExtensionApi ApiJsonModel.swift
[216/233] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[217/234] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[218/234] Emitting module SwiftParserDiagnostics
[219/234] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[220/234] Compiling SwiftParserDiagnostics Utils.swift
[221/234] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[222/234] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[223/234] Compiling SwiftParserDiagnostics PresenceUtils.swift
[224/234] Compiling SwiftParserDiagnostics DiagnosticExtensions.swift
[225/234] Compiling SwiftParserDiagnostics LexerDiagnosticMessages.swift
[226/234] Compiling SwiftParserDiagnostics MissingNodesError.swift
[227/234] Compiling SwiftParserDiagnostics MissingTokenError.swift
[228/234] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[229/234] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[231/249] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[232/249] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[233/250] Compiling SwiftSyntaxBuilder Indenter.swift
[234/250] Compiling SwiftSyntaxBuilder ListBuilder.swift
[235/250] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[236/250] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[237/250] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[238/250] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[239/250] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[240/250] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[241/250] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[242/250] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[243/250] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[244/250] Emitting module SwiftSyntaxBuilder
[245/250] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[246/250] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[248/264] Compiling Generator UtilityGen.swift
[249/265] Compiling Generator Printer.swift
[250/265] Compiling Generator StringOperations.swift
[251/265] Compiling Generator TypeHelpers.swift
[252/265] Compiling Generator UnsafePointerHelpers.swift
[253/265] Compiling Generator DocModel.swift
[254/265] Compiling Generator Enums.swift
[255/265] Compiling Generator main.swift
[256/265] Compiling Generator MethodGen.swift
[257/265] Compiling Generator NativeStructures.swift
[258/265] Compiling Generator ClassGen.swift
[259/265] Compiling Generator Data.swift
[260/265] Emitting module Generator
[261/265] Compiling Generator Arguments.swift
[262/265] Compiling Generator BuiltinGen.swift
[263/266] Wrapping AST for Generator for debugging
[264/266] Write Objects.LinkFileList
[265/266] Linking Generator-tool
[0/1] Planning build
[1/1] Compiling plugin EntryPointGeneratorPlugin
[2/2] Compiling plugin CodeGeneratorPlugin
[3/3] Compiling plugin Swift-DocC Preview
[4/4] Compiling plugin Swift-DocC
[5/5] Compiling plugin GenerateManual
[6/6] Compiling plugin GenerateDoccReference
Building for debugging...
[6/104] Write sources
[38/104] Copying extension_api.json
[40/104] Compiling _SwiftSyntaxCShims dummy.c
[41/104] Compiling GDExtension GDExtensionSupport.c
[43/104] Compiling _SwiftSyntaxCShims dummy.c
[43/104] Write swift-version-24593BA9C3E375BF.txt
[46/119] Emitting module SwiftSyntax510
[47/120] Emitting module SwiftSyntax600
[48/120] Emitting module SwiftSyntax510
[49/121] Emitting module SwiftSyntax509
[52/122] Compiling ExtensionApiJson ExtensionApiJson.swift
[53/122] Compiling ExtensionApiJson resource_bundle_accessor.swift
[55/122] Emitting module ExtensionApiJson
[57/128] Emitting module ArgumentParserToolInfo
[59/129] Emitting module ExtensionApi
[61/134] Emitting module ExtensionApiJson
[62/134] Emitting module ArgumentParser
[63/135] Wrapping AST for SwiftSyntax600 for debugging
[64/135] Wrapping AST for SwiftSyntax510 for debugging
[66/135] Emitting module SwiftSyntax600
[67/135] Compiling SwiftSyntax600 Empty.swift
[68/136] Compiling SwiftSyntax510 Empty.swift
[69/137] Emitting module SwiftSyntax509
[70/137] Compiling SwiftSyntax509 Empty.swift
[71/138] Emitting module ExtensionApi
[72/138] Compiling ExtensionApi ApiJsonModel+Extra.swift
[72/138] Wrapping AST for SwiftSyntax509 for debugging
[76/138] Wrapping AST for ExtensionApi for debugging
[77/138] Wrapping AST for ArgumentParser for debugging
[78/138] Wrapping AST for ArgumentParserToolInfo for debugging
[79/138] Wrapping AST for SwiftSyntax600 for debugging
[80/138] Wrapping AST for SwiftSyntax510 for debugging
[81/138] Wrapping AST for SwiftSyntax509 for debugging
[83/202] Compiling ArgumentParserToolInfo ToolInfo.swift
[84/202] Emitting module ArgumentParserToolInfo
[85/203] Wrapping AST for ArgumentParserToolInfo for debugging
[87/247] Compiling ArgumentParser InputKey.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[88/247] Compiling ArgumentParser InputOrigin.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[89/247] Compiling ArgumentParser Name.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[90/247] Compiling ArgumentParser Parsed.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[91/247] Compiling ArgumentParser ParsedValues.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[92/247] Compiling ArgumentParser ParserError.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[93/253] Compiling ExtensionApiJson ExtensionApiJson.swift
[94/253] Compiling ExtensionApiJson resource_bundle_accessor.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[95/254] Emitting module ArgumentParser
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[97/254] Compiling ArgumentParser Tree.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[98/254] Compiling ArgumentParser CodingKeyValidator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[99/254] Compiling ArgumentParser NonsenseFlagsValidator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[100/254] Compiling ArgumentParser ParsableArgumentsValidation.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[101/254] Compiling ArgumentParser PositionalArgumentsValidator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[102/254] Compiling ArgumentParser UniqueNamesValidator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[103/254] Compiling ArgumentParser BashCompletionsGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[104/254] Compiling ArgumentParser CompletionsGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[105/254] Compiling ArgumentParser FishCompletionsGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[106/254] Compiling ArgumentParser ZshCompletionsGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[107/254] Compiling ArgumentParser Argument.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[108/254] Compiling ArgumentParser ArgumentDiscussion.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[109/254] Compiling ArgumentParser ArgumentHelp.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[110/254] Compiling ArgumentParser CollectionExtensions.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[111/254] Compiling ArgumentParser Mutex.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[112/254] Compiling ArgumentParser Platform.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[113/254] Compiling ArgumentParser SequenceExtensions.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[114/254] Compiling ArgumentParser StringExtensions.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[115/254] Compiling ArgumentParser SwiftExtensions.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[116/254] Compiling ArgumentParser ArgumentVisibility.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[117/254] Compiling ArgumentParser CompletionKind.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[118/254] Compiling ArgumentParser Errors.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[119/254] Compiling ArgumentParser Flag.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[120/254] Compiling ArgumentParser NameSpecification.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[121/254] Compiling ArgumentParser Option.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[122/254] Compiling ArgumentParser ParsableArguments.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[123/254] Compiling ArgumentParser ParsableCommand.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[124/254] Compiling ArgumentParser ArgumentDecoder.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[125/254] Compiling ArgumentParser ArgumentDefinition.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[126/254] Compiling ArgumentParser ArgumentSet.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[127/254] Compiling ArgumentParser CommandParser.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[128/254] Compiling ArgumentParser OptionGroup.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[129/254] Compiling ArgumentParser AsyncParsableCommand.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[130/254] Compiling ArgumentParser CommandConfiguration.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[131/254] Compiling ArgumentParser CommandGroup.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[132/254] Compiling ArgumentParser EnumerableFlag.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[133/254] Compiling ArgumentParser ExpressibleByArgument.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[134/254] Compiling ArgumentParser SplitArguments.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[135/254] Compiling ArgumentParser DumpHelpGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[136/254] Compiling ArgumentParser HelpCommand.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[137/254] Compiling ArgumentParser HelpGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[138/254] Compiling ArgumentParser MessageInfo.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[139/254] Compiling ArgumentParser UsageGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
BUILD FAILURE 6.1 wasm