The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Kotlin, reference v0.2.1 (f408b7), with Swift 6.2 for Wasm on 2 May 2026 08:17:34 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/stackotter/SwiftKotlin.git
Reference: v0.2.1
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/stackotter/SwiftKotlin
 * tag               v0.2.1     -> FETCH_HEAD
HEAD is now at f408b73 Update package to use versioned dependencies
Cloned https://github.com/stackotter/SwiftKotlin.git
Revision (git rev-parse @):
f408b73ebb86a33411f27a668e2d843a10f007c2
SUCCESS checkout https://github.com/stackotter/SwiftKotlin.git at v0.2.1
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/stackotter/SwiftKotlin.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:2a8b2d9e022a9894c61e0736af7cdaa1ee64c002dbb133a55c0d7e8980b3ad16
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest
Fetching https://github.com/swiftlang/swift-java.git
Fetching https://github.com/stackotter/SwiftJavaLang.git
[1/3152] Fetching swiftjavalang
Fetched https://github.com/stackotter/SwiftJavaLang.git from cache (0.31s)
[1/26137] Fetching swift-java
Fetched https://github.com/swiftlang/swift-java.git from cache (1.26s)
Computing version for https://github.com/swiftlang/swift-java.git
Computed https://github.com/swiftlang/swift-java.git at 0.2.0 (2.61s)
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/swiftlang/swift-subprocess.git
Fetching https://github.com/apple/swift-log
Fetching https://github.com/apple/swift-system
Fetching https://github.com/apple/swift-collections
Fetching https://github.com/swiftlang/swift-syntax
[1/17557] Fetching swift-argument-parser
[704/24367] Fetching swift-argument-parser, swift-log
[1805/48409] Fetching swift-argument-parser, swift-log, swift-collections
[2253/51484] Fetching swift-argument-parser, swift-log, swift-collections, swift-subprocess
[9417/57085] Fetching swift-argument-parser, swift-log, swift-collections, swift-subprocess, swift-system
[18185/132123] Fetching swift-argument-parser, swift-log, swift-collections, swift-subprocess, swift-system, swift-syntax
Fetched https://github.com/swiftlang/swift-subprocess.git from cache (4.27s)
Fetching https://github.com/swiftlang/swift-java-jni-core
Fetched https://github.com/apple/swift-argument-parser from cache (4.30s)
[1/597] Fetching swift-java-jni-core
Fetched https://github.com/swiftlang/swift-java-jni-core from cache (0.58s)
Fetched https://github.com/apple/swift-system from cache (7.87s)
Fetched https://github.com/apple/swift-log from cache (7.88s)
Fetched https://github.com/apple/swift-collections from cache (8.06s)
Fetched https://github.com/swiftlang/swift-syntax from cache (8.06s)
Computing version for https://github.com/swiftlang/swift-subprocess.git
Computed https://github.com/swiftlang/swift-subprocess.git at 0.4.0 (8.95s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.3.0 (0.79s)
Computing version for https://github.com/stackotter/SwiftJavaLang.git
Computed https://github.com/stackotter/SwiftJavaLang.git at 0.2.1 (0.72s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 603.0.1 (16.47s)
Computing version for https://github.com/swiftlang/swift-java-jni-core
Computed https://github.com/swiftlang/swift-java-jni-core at 0.5.1 (0.58s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.6.4 (1.33s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.7.1 (0.76s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.12.0 (0.72s)
Creating working copy for https://github.com/stackotter/SwiftJavaLang.git
Working copy of https://github.com/stackotter/SwiftJavaLang.git resolved at 0.2.1
Creating working copy for https://github.com/swiftlang/swift-java.git
Working copy of https://github.com/swiftlang/swift-java.git resolved at 0.2.0
Creating working copy for https://github.com/swiftlang/swift-subprocess.git
Working copy of https://github.com/swiftlang/swift-subprocess.git resolved at 0.4.0
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.12.0
Creating working copy for https://github.com/swiftlang/swift-java-jni-core
Working copy of https://github.com/swiftlang/swift-java-jni-core resolved at 0.5.1
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 603.0.1
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.6.4
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.7.1
Creating working copy for https://github.com/apple/swift-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.3.0
[0/40] Write sources
[17/40] Compiling _SwiftSyntaxCShims PlatformMutex.c
[18/40] Compiling CSystem shims.c
[19/40] Compiling _SubprocessCShims process_shims.c
[20/40] Write swift-version-24593BA9C3E375BF.txt
[22/83] Emitting module SystemPackage
[23/87] Emitting module SwiftSyntax603
[24/87] Compiling SwiftSyntax603 Empty.swift
[26/88] Emitting module SwiftSyntax509
[27/88] Compiling SwiftSyntax509 Empty.swift
[28/88] Emitting module SwiftSyntax601
[29/88] Compiling SwiftSyntax601 Empty.swift
[30/90] Compiling SwiftSyntax600 Empty.swift
[31/90] Emitting module SwiftSyntax600
[32/91] Wrapping AST for SwiftSyntax603 for debugging
[35/91] Compiling SwiftSyntax602 Empty.swift
[36/91] Emitting module SwiftSyntax602
[37/91] Compiling SwiftSyntax510 Empty.swift
[38/91] Emitting module SwiftSyntax510
[41/93] Wrapping AST for SwiftSyntax601 for debugging
[42/93] Wrapping AST for SwiftSyntax509 for debugging
[44/93] Compiling SystemPackage FilePathSyntax.swift
[45/93] Compiling SystemPackage FilePathTemp.swift
[46/93] Compiling SystemPackage FilePathTempPosix.swift
[47/93] Compiling SystemPackage FilePathTempWindows.swift
[48/93] Compiling SystemPackage FilePathWindows.swift
[49/93] Compiling SystemPackage FilePermissions.swift
[50/93] Compiling SystemPackage IOCompletion.swift
[51/93] Compiling SystemPackage IORequest.swift
[52/93] Compiling SystemPackage FilePath.swift
[53/93] Compiling SystemPackage FilePathComponentView.swift
[54/93] Compiling SystemPackage FilePathComponents.swift
[55/93] Compiling SystemPackage FilePathParsing.swift
[56/93] Compiling SystemPackage FilePathString.swift
[56/93] Wrapping AST for SwiftSyntax600 for debugging
[58/93] Compiling SystemPackage Errno.swift
[59/93] Compiling SystemPackage ErrnoWindows.swift
[60/93] Compiling SystemPackage FileDescriptor.swift
[61/93] Compiling SystemPackage FileHelpers.swift
[62/93] Compiling SystemPackage FileOperations.swift
[62/93] Wrapping AST for SwiftSyntax602 for debugging
[63/93] Wrapping AST for SwiftSyntax510 for debugging
[65/93] Compiling SystemPackage SystemString.swift
[66/93] Compiling SystemPackage Util+StringArray.swift
[67/93] Compiling SystemPackage Util.swift
[68/93] Compiling SystemPackage UtilConsumers.swift
[69/156] Compiling SwiftSyntax RawSyntaxArena.swift
[70/156] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[71/156] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[72/156] Compiling SwiftSyntax RawSyntaxTokenView.swift
[73/156] Compiling SwiftSyntax SourceEdit.swift
[74/156] Compiling SwiftSyntax SyntaxNodeStructure.swift
[75/156] Compiling SwiftSyntax SyntaxProtocol.swift
[76/156] Compiling SwiftSyntax SyntaxText.swift
[77/156] Compiling SwiftSyntax Identifier.swift
[78/156] Compiling SwiftSyntax MemoryLayout.swift
[79/156] Compiling SwiftSyntax MissingNodeInitializers.swift
[80/156] Compiling SwiftSyntax RawSyntax.swift
[81/157] Wrapping AST for SystemPackage for debugging
[83/179] Compiling Subprocess Input+Foundation.swift
[84/179] Compiling Subprocess Output+Foundation.swift
[85/179] Compiling Subprocess Span+SubprocessFoundation.swift
[92/179] Compiling Subprocess Input.swift
[93/179] Compiling Subprocess Output.swift
[94/179] Compiling Subprocess Subprocess+BSD.swift
[95/179] Compiling Subprocess Subprocess+Darwin.swift
[96/179] Compiling Subprocess Subprocess+Linux.swift
[97/179] Compiling Subprocess Subprocess+Unix.swift
[98/179] Compiling Subprocess Subprocess+Windows.swift
[99/179] Compiling Subprocess Result.swift
[100/179] Compiling Subprocess Span+Subprocess.swift
[101/179] Compiling Subprocess API.swift
[102/179] Compiling Subprocess AsyncBufferSequence.swift
[103/179] Compiling Subprocess Buffer.swift
[104/179] Compiling Subprocess Configuration.swift
[105/179] Compiling Subprocess Error.swift
[106/179] Compiling Subprocess Execution.swift
[107/179] Compiling Subprocess AsyncIO+Dispatch.swift
[108/179] Compiling Subprocess AsyncIO+Linux.swift
[109/179] Compiling Subprocess AsyncIO+Windows.swift
[119/189] Compiling Subprocess Teardown.swift
[120/189] Compiling Subprocess Thread.swift
[133/189] Emitting module Subprocess
[134/190] Wrapping AST for Subprocess for debugging
[136/190] Emitting module SwiftSyntax
[137/190] Compiling SwiftSyntax RawSyntaxNodesEF.swift
[138/190] Compiling SwiftSyntax RawSyntaxNodesGHI.swift
[139/190] Compiling SwiftSyntax RawSyntaxNodesJKLMN.swift
[140/190] Compiling SwiftSyntax RawSyntaxNodesOP.swift
[141/190] Compiling SwiftSyntax RawSyntaxNodesQRS.swift
[142/190] Compiling SwiftSyntax RawSyntaxNodesTUVWXYZ.swift
[143/190] Compiling SwiftSyntax RawSyntaxValidation.swift
[144/190] Compiling SwiftSyntax SyntaxNodesAB.swift
[145/190] Compiling SwiftSyntax SyntaxRewriter.swift
[146/190] Compiling SwiftSyntax SyntaxTraits.swift
[147/190] Compiling SwiftSyntax SyntaxVisitor.swift
[148/190] Compiling SwiftSyntax TokenKind.swift
[149/190] Compiling SwiftSyntax Tokens.swift
[150/190] Compiling SwiftSyntax TriviaPieces.swift
[151/190] Compiling SwiftSyntax RawSyntaxNodesAB.swift
[152/190] Compiling SwiftSyntax RawSyntaxNodesC.swift
[153/190] Compiling SwiftSyntax RawSyntaxNodesD.swift
[154/190] Compiling SwiftSyntax ChildNameForKeyPath.swift
[155/190] Compiling SwiftSyntax Keyword.swift
[156/190] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[157/190] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[158/190] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[159/190] Compiling SwiftSyntax SyntaxBaseNodes.swift
[160/190] Compiling SwiftSyntax SyntaxCollections.swift
[161/190] Compiling SwiftSyntax SyntaxEnum.swift
[162/190] Compiling SwiftSyntax SyntaxKind.swift
[166/190] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[167/190] Compiling SwiftSyntax TokenDiagnostic.swift
[168/190] Compiling SwiftSyntax TokenSequence.swift
[169/190] Compiling SwiftSyntax TokenSyntax.swift
[170/190] Compiling SwiftSyntax Trivia.swift
[171/190] Compiling SwiftSyntax Utils.swift
[172/190] Compiling SwiftSyntax SyntaxNodesC.swift
[173/190] Compiling SwiftSyntax SyntaxNodesD.swift
[174/190] Compiling SwiftSyntax SyntaxNodesEF.swift
[175/190] Compiling SwiftSyntax SyntaxNodesGHI.swift
[176/190] Compiling SwiftSyntax SyntaxNodesJKLMN.swift
[177/190] Compiling SwiftSyntax SyntaxNodesOP.swift
[178/190] Compiling SwiftSyntax SyntaxNodesQRS.swift
[179/190] Compiling SwiftSyntax SyntaxNodesTUVWXYZ.swift
[180/243] Wrapping AST for SwiftSyntax for debugging
[182/250] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[183/250] Compiling SwiftDiagnostics Message.swift
[184/251] Compiling SwiftBasicFormat Syntax+Extensions.swift
[185/251] Compiling SwiftDiagnostics FixIt.swift
[186/251] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[187/251] Compiling SwiftBasicFormat Indenter.swift
[188/251] Compiling SwiftDiagnostics Note.swift
[189/251] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[190/251] Compiling SwiftBasicFormat InferIndentation.swift
[191/251] Compiling SwiftDiagnostics DiagnosticDecorator.swift
[192/251] Compiling SwiftDiagnostics ANSIDiagnosticDecorator.swift
[193/251] Compiling SwiftDiagnostics BasicDiagnosticDecorator.swift
[194/251] Compiling SwiftDiagnostics Convenience.swift
[195/251] Compiling SwiftDiagnostics Diagnostic.swift
[196/251] Emitting module SwiftDiagnostics
[197/251] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[198/252] Wrapping AST for SwiftDiagnostics for debugging
[200/252] Emitting module SwiftBasicFormat
[201/252] Compiling SwiftBasicFormat BasicFormat.swift
[202/253] Wrapping AST for SwiftBasicFormat for debugging
[204/253] Compiling SwiftParser StringLiterals.swift
[205/253] Compiling SwiftParser SwiftParserCompatibility.swift
[206/253] Compiling SwiftParser SwiftVersion.swift
[207/253] Compiling SwiftParser SyntaxUtils.swift
[208/253] Compiling SwiftParser TokenConsumer.swift
[209/253] Compiling SwiftParser TokenPrecedence.swift
[210/258] Emitting module SwiftParser
[211/258] Compiling SwiftParser TokenSpec.swift
[212/258] Compiling SwiftParser TokenSpecSet.swift
[213/258] Compiling SwiftParser TopLevel.swift
[214/258] Compiling SwiftParser TriviaParser.swift
[215/258] Compiling SwiftParser Types.swift
[216/258] Compiling SwiftParser LoopProgressCondition.swift
[217/258] Compiling SwiftParser Modifiers.swift
[218/258] Compiling SwiftParser Names.swift
[219/258] Compiling SwiftParser Nominals.swift
[220/258] Compiling SwiftParser Parameters.swift
[221/258] Compiling SwiftParser ParseSourceFile.swift
[222/258] Compiling SwiftParser Lexeme.swift
[223/258] Compiling SwiftParser LexemeSequence.swift
[224/258] Compiling SwiftParser Lexer.swift
[225/258] Compiling SwiftParser RegexLiteralLexer.swift
[226/258] Compiling SwiftParser UnicodeScalarExtensions.swift
[227/258] Compiling SwiftParser Lookahead.swift
[228/258] Compiling SwiftParser Parser.swift
[229/258] Compiling SwiftParser Patterns.swift
[230/258] Compiling SwiftParser Recovery.swift
[231/258] Compiling SwiftParser Specifiers.swift
[232/258] Compiling SwiftParser Statements.swift
[233/258] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[234/258] Compiling SwiftParser Attributes.swift
[235/258] Compiling SwiftParser Availability.swift
[236/258] Compiling SwiftParser CharacterInfo.swift
[237/258] Compiling SwiftParser CollectionNodes+Parsable.swift
[238/258] Compiling SwiftParser CompilerFiles.swift
[239/258] Compiling SwiftParser Declarations.swift
[244/258] Compiling SwiftParser IsValidIdentifier.swift
[245/258] Compiling SwiftParser Cursor.swift
[246/258] Compiling SwiftParser ExperimentalFeatures.swift
[247/258] Compiling SwiftParser IsLexerClassified.swift
[248/258] Compiling SwiftParser LayoutNodes+Parsable.swift
[249/258] Compiling SwiftParser Parser+TokenSpecSet.swift
[250/258] Compiling SwiftParser TokenSpecStaticMembers.swift
[251/275] Wrapping AST for SwiftParser for debugging
[253/282] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[254/283] Compiling SwiftOperators PrecedenceGroup.swift
[255/284] Compiling SwiftOperators OperatorTable.swift
[256/284] Compiling SwiftOperators PrecedenceGraph.swift
[257/284] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[258/284] Compiling SwiftOperators SyntaxSynthesis.swift
[259/284] Compiling SwiftOperators OperatorTable+Semantics.swift
[260/284] Compiling SwiftParserDiagnostics MissingNodesError.swift
[261/284] Compiling SwiftParserDiagnostics MissingTokenError.swift
[262/284] Emitting module SwiftOperators
[263/284] Compiling SwiftOperators Operator.swift
[264/284] Compiling SwiftOperators OperatorError+Diagnostics.swift
[265/284] Compiling SwiftOperators OperatorTable+Folding.swift
[266/285] Wrapping AST for SwiftOperators for debugging
[268/285] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[269/285] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[270/285] Compiling SwiftParserDiagnostics Utils.swift
[271/285] Emitting module SwiftParserDiagnostics
[274/285] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[275/285] Compiling SwiftParserDiagnostics PresenceUtils.swift
[278/285] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[279/285] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[280/286] Wrapping AST for SwiftParserDiagnostics for debugging
[282/301] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[283/301] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[284/302] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[285/302] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[286/302] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[287/302] Compiling SwiftSyntaxBuilder Indenter.swift
[288/302] Compiling SwiftSyntaxBuilder ListBuilder.swift
[289/302] Emitting module SwiftSyntaxBuilder
[290/302] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[291/302] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[292/302] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[293/302] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[294/302] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[295/302] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[296/302] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[297/302] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[298/303] Wrapping AST for SwiftSyntaxBuilder for debugging
[300/318] Emitting module SwiftIfConfig
[301/319] Compiling SwiftIfConfig SyntaxProtocol+IfConfig.swift
[302/319] Compiling SwiftIfConfig VersionTuple+Parsing.swift
[303/319] Compiling SwiftIfConfig ActiveSyntaxVisitor.swift
[304/319] Compiling SwiftIfConfig BuildConfiguration.swift
[305/319] Compiling SwiftIfConfig VersionTuple.swift
[306/319] Compiling SwiftIfConfig IfConfigFunctions.swift
[307/319] Compiling SwiftIfConfig IfConfigRegionState.swift
[308/319] Compiling SwiftIfConfig StaticBuildConfiguration.swift
[309/319] Compiling SwiftIfConfig SyntaxLiteralUtils.swift
[310/319] Compiling SwiftIfConfig ConfiguredRegions.swift
[311/319] Compiling SwiftIfConfig IfConfigDecl+IfConfig.swift
[312/319] Compiling SwiftIfConfig IfConfigDiagnostic.swift
[313/319] Compiling SwiftIfConfig IfConfigEvaluation.swift
[314/319] Compiling SwiftIfConfig ActiveClauseEvaluator.swift
[315/319] Compiling SwiftIfConfig ActiveSyntaxRewriter.swift
[316/320] Wrapping AST for SwiftIfConfig for debugging
[318/322] Emitting module StaticBuildConfigPluginExecutable
[319/322] Compiling StaticBuildConfigPluginExecutable StaticBuildConfigPluginExecutable.swift
[320/323] Wrapping AST for StaticBuildConfigPluginExecutable for debugging
[321/323] Write Objects.LinkFileList
[322/323] Linking StaticBuildConfigPluginExecutable-tool
[1/1] Compiling plugin _StaticBuildConfigPlugin
[2/2] Compiling plugin JExtractSwiftPlugin
[3/3] Compiling plugin SwiftJavaPlugin
[4/4] Compiling plugin JavaCompilerPlugin
[5/5] Compiling plugin GenerateManual
[6/6] Compiling plugin GenerateDoccReference
Building for debugging...
[6/67] Write sources
[38/67] Compiling CSwiftJavaJNI dummy.c
[39/67] Compiling _SwiftSyntaxCShims PlatformMutex.c
[40/67] Write swift-version-24593BA9C3E375BF.txt
[41/91] Wrapping AST for SwiftSyntax602 for debugging
[42/91] Wrapping AST for SwiftSyntax600 for debugging
[43/91] Wrapping AST for SwiftSyntax510 for debugging
[44/91] Wrapping AST for SwiftSyntax601 for debugging
[45/91] Wrapping AST for SwiftSyntax603 for debugging
[46/91] Wrapping AST for SwiftSyntax509 for debugging
[47/91] Wrapping AST for SwiftSyntax for debugging
[48/91] Wrapping AST for SwiftBasicFormat for debugging
[49/91] Wrapping AST for SwiftDiagnostics for debugging
[50/91] Wrapping AST for SwiftParser for debugging
[51/91] Wrapping AST for SwiftOperators for debugging
[52/91] Wrapping AST for SwiftParserDiagnostics for debugging
[53/91] Wrapping AST for SwiftSyntaxBuilder for debugging
[54/91] Wrapping AST for SwiftIfConfig for debugging
[56/108] Compiling SwiftSyntaxMacros Macro.swift
[57/108] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
[58/110] Compiling SwiftSyntaxMacros ExpressionMacro.swift
[59/110] Compiling SwiftSyntaxMacros ExtensionMacro.swift
[60/110] Emitting module SwiftSyntaxMacros
[61/110] Compiling SwiftSyntaxMacros CodeItemMacro.swift
[62/110] Compiling SwiftSyntaxMacros DeclarationMacro.swift
[63/110] Compiling SwiftSyntaxMacros AccessorMacro.swift
[64/110] Compiling SwiftSyntaxMacros AttachedMacro.swift
[65/110] Compiling SwiftSyntaxMacros BodyMacro.swift
[66/110] Compiling SwiftSyntaxMacros PreambleMacro.swift
[67/110] Compiling SwiftSyntaxMacros Syntax+LexicalContext.swift
[68/110] Compiling SwiftSyntaxMacros MemberMacro.swift
[69/110] Compiling SwiftSyntaxMacros PeerMacro.swift
[70/110] Compiling SwiftSyntaxMacros FreestandingMacro.swift
[71/110] Compiling SwiftSyntaxMacros Macro+Format.swift
[72/110] Compiling SwiftSyntaxMacros AbstractSourceLocation.swift
[73/110] Compiling SwiftSyntaxMacros MacroExpansionContext.swift
[74/110] Compiling SwiftSyntaxMacros MacroExpansionDiagnosticMessages.swift
[75/112] Wrapping AST for SwiftSyntaxMacros for debugging
[77/120] Compiling SwiftSyntaxMacroExpansion MacroExpansionDiagnosticMessages.swift
[78/121] Compiling SwiftSyntaxMacroExpansion MacroSpec.swift
[79/121] Compiling SwiftSyntaxMacroExpansion IndentationUtils.swift
[80/121] Compiling SwiftSyntaxMacroExpansion BasicMacroExpansionContext.swift
[81/121] Compiling SwiftSyntaxMacroExpansion FunctionParameterUtils.swift
[82/121] Emitting module SwiftSyntaxMacroExpansion
[83/121] Compiling SwiftSyntaxMacroExpansion MacroArgument.swift
[84/121] Compiling SwiftSyntaxMacroExpansion MacroExpansion.swift
[85/121] Emitting module Kotlin
[86/121] Compiling Kotlin Kotlin.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[91/122] Emitting module SwiftJavaJNICore
/host/spi-builder-workspace/.build/checkouts/swift-java-jni-core/Sources/SwiftJavaJNICore/JavaEnvironment+Refs.swift:45:21: error: cannot find 'getenv' in scope
 43 | /// `SWIFT_JAVA_JNI_EXCEPTION_DESCRIBE_OOM` to `true` or `1` to enable.
 44 | private let describeOOMException: Bool = {
 45 |   guard let value = getenv("SWIFT_JAVA_JNI_EXCEPTION_DESCRIBE_OOM") else {
    |                     `- error: cannot find 'getenv' in scope
 46 |     return false
 47 |   }
/host/spi-builder-workspace/.build/checkouts/swift-java-jni-core/Sources/SwiftJavaJNICore/VirtualMachine/ThreadLocalStorage.swift:28:13: error: var '_globalTlsValue' is not concurrency-safe because it is nonisolated global shared mutable state [#MutableGlobalVariable]
26 |
27 | #if !(canImport(Darwin) || canImport(Bionic) || canImport(Glibc) || canImport(Musl) || canImport(WinSDK))
28 | private var _globalTlsValue: UnsafeMutableRawPointer?
   |             |- error: var '_globalTlsValue' is not concurrency-safe because it is nonisolated global shared mutable state [#MutableGlobalVariable]
   |             |- note: convert '_globalTlsValue' to a 'let' constant to make 'Sendable' shared state immutable
   |             |- note: add '@MainActor' to make var '_globalTlsValue' part of global actor 'MainActor'
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | #endif
30 |
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[92/124] Compiling SwiftSyntaxMacroExpansion MacroReplacement.swift
[93/124] Compiling SwiftJavaJNICore LockedState.swift
/host/spi-builder-workspace/.build/checkouts/swift-java-jni-core/Sources/SwiftJavaJNICore/VirtualMachine/ThreadLocalStorage.swift:28:13: error: var '_globalTlsValue' is not concurrency-safe because it is nonisolated global shared mutable state [#MutableGlobalVariable]
26 |
27 | #if !(canImport(Darwin) || canImport(Bionic) || canImport(Glibc) || canImport(Musl) || canImport(WinSDK))
28 | private var _globalTlsValue: UnsafeMutableRawPointer?
   |             |- error: var '_globalTlsValue' is not concurrency-safe because it is nonisolated global shared mutable state [#MutableGlobalVariable]
   |             |- note: convert '_globalTlsValue' to a 'let' constant to make 'Sendable' shared state immutable
   |             |- note: add '@MainActor' to make var '_globalTlsValue' part of global actor 'MainActor'
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | #endif
30 |
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[94/124] Compiling SwiftJavaJNICore ThreadLocalStorage.swift
/host/spi-builder-workspace/.build/checkouts/swift-java-jni-core/Sources/SwiftJavaJNICore/VirtualMachine/ThreadLocalStorage.swift:28:13: error: var '_globalTlsValue' is not concurrency-safe because it is nonisolated global shared mutable state [#MutableGlobalVariable]
26 |
27 | #if !(canImport(Darwin) || canImport(Bionic) || canImport(Glibc) || canImport(Musl) || canImport(WinSDK))
28 | private var _globalTlsValue: UnsafeMutableRawPointer?
   |             |- error: var '_globalTlsValue' is not concurrency-safe because it is nonisolated global shared mutable state [#MutableGlobalVariable]
   |             |- note: convert '_globalTlsValue' to a 'let' constant to make 'Sendable' shared state immutable
   |             |- note: add '@MainActor' to make var '_globalTlsValue' part of global actor 'MainActor'
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | #endif
30 |
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[95/124] Compiling SwiftSyntaxMacroExpansion MacroSystem.swift
[103/125] Compiling SwiftJavaJNICore JavaEnvironment+Refs.swift
/host/spi-builder-workspace/.build/checkouts/swift-java-jni-core/Sources/SwiftJavaJNICore/JavaEnvironment+Refs.swift:45:21: error: cannot find 'getenv' in scope
 43 | /// `SWIFT_JAVA_JNI_EXCEPTION_DESCRIBE_OOM` to `true` or `1` to enable.
 44 | private let describeOOMException: Bool = {
 45 |   guard let value = getenv("SWIFT_JAVA_JNI_EXCEPTION_DESCRIBE_OOM") else {
    |                     `- error: cannot find 'getenv' in scope
 46 |     return false
 47 |   }
[104/125] Compiling SwiftJavaJNICore JavaEnvironment.swift
/host/spi-builder-workspace/.build/checkouts/swift-java-jni-core/Sources/SwiftJavaJNICore/JavaEnvironment+Refs.swift:45:21: error: cannot find 'getenv' in scope
 43 | /// `SWIFT_JAVA_JNI_EXCEPTION_DESCRIBE_OOM` to `true` or `1` to enable.
 44 | private let describeOOMException: Bool = {
 45 |   guard let value = getenv("SWIFT_JAVA_JNI_EXCEPTION_DESCRIBE_OOM") else {
    |                     `- error: cannot find 'getenv' in scope
 46 |     return false
 47 |   }
[105/125] Compiling SwiftJavaJNICore JavaExceptionType.swift
/host/spi-builder-workspace/.build/checkouts/swift-java-jni-core/Sources/SwiftJavaJNICore/JavaEnvironment+Refs.swift:45:21: error: cannot find 'getenv' in scope
 43 | /// `SWIFT_JAVA_JNI_EXCEPTION_DESCRIBE_OOM` to `true` or `1` to enable.
 44 | private let describeOOMException: Bool = {
 45 |   guard let value = getenv("SWIFT_JAVA_JNI_EXCEPTION_DESCRIBE_OOM") else {
    |                     `- error: cannot find 'getenv' in scope
 46 |     return false
 47 |   }
/host/spi-builder-workspace/.build/checkouts/swift-java-jni-core/Sources/SwiftJavaJNICore/VirtualMachine/JavaVirtualMachine.swift:442:22: error: cannot find 'dlsym' in scope
440 |
441 | private func symbol<T>(_ handle: DylibType, _ name: String) -> T? {
442 |   guard let result = dlsym(handle, name) else {
    |                      `- error: cannot find 'dlsym' in scope
443 |     return nil
444 |   }
/host/spi-builder-workspace/.build/checkouts/swift-java-jni-core/Sources/SwiftJavaJNICore/VirtualMachine/JavaVirtualMachine.swift:535:15: error: cannot find 'dlopen' in scope
533 |   let dylib = LoadLibraryA(libjvmPath.path)
534 |   #else
535 |   let dylib = dlopen(libjvmPath.path, RTLD_NOW)
    |               `- error: cannot find 'dlopen' in scope
536 |   #endif
537 |
/host/spi-builder-workspace/.build/checkouts/swift-java-jni-core/Sources/SwiftJavaJNICore/VirtualMachine/JavaVirtualMachine.swift:535:39: error: cannot find 'RTLD_NOW' in scope
533 |   let dylib = LoadLibraryA(libjvmPath.path)
534 |   #else
535 |   let dylib = dlopen(libjvmPath.path, RTLD_NOW)
    |                                       `- error: cannot find 'RTLD_NOW' in scope
536 |   #endif
537 |
/host/spi-builder-workspace/.build/checkouts/swift-java-jni-core/Sources/SwiftJavaJNICore/VirtualMachine/JavaVirtualMachine.swift:442:22: error: cannot find 'dlsym' in scope
440 |
441 | private func symbol<T>(_ handle: DylibType, _ name: String) -> T? {
442 |   guard let result = dlsym(handle, name) else {
    |                      `- error: cannot find 'dlsym' in scope
443 |     return nil
444 |   }
/host/spi-builder-workspace/.build/checkouts/swift-java-jni-core/Sources/SwiftJavaJNICore/VirtualMachine/JavaVirtualMachine.swift:535:15: error: cannot find 'dlopen' in scope
533 |   let dylib = LoadLibraryA(libjvmPath.path)
534 |   #else
535 |   let dylib = dlopen(libjvmPath.path, RTLD_NOW)
    |               `- error: cannot find 'dlopen' in scope
536 |   #endif
537 |
/host/spi-builder-workspace/.build/checkouts/swift-java-jni-core/Sources/SwiftJavaJNICore/VirtualMachine/JavaVirtualMachine.swift:535:39: error: cannot find 'RTLD_NOW' in scope
533 |   let dylib = LoadLibraryA(libjvmPath.path)
534 |   #else
535 |   let dylib = dlopen(libjvmPath.path, RTLD_NOW)
    |                                       `- error: cannot find 'RTLD_NOW' in scope
536 |   #endif
537 |
/host/spi-builder-workspace/.build/checkouts/swift-java-jni-core/Sources/SwiftJavaJNICore/VirtualMachine/JavaVirtualMachine.swift:442:22: error: cannot find 'dlsym' in scope
440 |
441 | private func symbol<T>(_ handle: DylibType, _ name: String) -> T? {
442 |   guard let result = dlsym(handle, name) else {
    |                      `- error: cannot find 'dlsym' in scope
443 |     return nil
444 |   }
/host/spi-builder-workspace/.build/checkouts/swift-java-jni-core/Sources/SwiftJavaJNICore/VirtualMachine/JavaVirtualMachine.swift:535:15: error: cannot find 'dlopen' in scope
533 |   let dylib = LoadLibraryA(libjvmPath.path)
534 |   #else
535 |   let dylib = dlopen(libjvmPath.path, RTLD_NOW)
    |               `- error: cannot find 'dlopen' in scope
536 |   #endif
537 |
/host/spi-builder-workspace/.build/checkouts/swift-java-jni-core/Sources/SwiftJavaJNICore/VirtualMachine/JavaVirtualMachine.swift:535:39: error: cannot find 'RTLD_NOW' in scope
533 |   let dylib = LoadLibraryA(libjvmPath.path)
534 |   #else
535 |   let dylib = dlopen(libjvmPath.path, RTLD_NOW)
    |                                       `- error: cannot find 'RTLD_NOW' in scope
536 |   #endif
537 |
[114/125] Wrapping AST for SwiftSyntaxMacroExpansion for debugging
BUILD FAILURE 6.2 wasm