The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Kotlin, reference master (88a9bb), with Swift 6.2 for Wasm on 28 Jun 2026 15:13:37 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 0e64495ecc1688c3b3e031a5ef1348b5c05091ae
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/stackotter/SwiftKotlin.git
Reference: master
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
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 88a9bb9 Update dependencies
Cloned https://github.com/stackotter/SwiftKotlin.git
Revision (git rev-parse @):
88a9bb94d156ef95d177bc6a65580dfacdda4b13
SUCCESS checkout https://github.com/stackotter/SwiftKotlin.git at master
========================================
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-53886768-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:dc8dffc38f1d92eca7ee5312617822470123661393ed20672e77964f9dcaaffb
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest
Fetching https://github.com/swiftlang/swift-java.git
[1/28737] Fetching swift-java
Fetched https://github.com/swiftlang/swift-java.git from cache (0.82s)
Fetching https://github.com/PureSwift/JavaLang.git
[1/3151] Fetching javalang
Fetched https://github.com/PureSwift/JavaLang.git from cache (0.46s)
Fetching https://github.com/swiftlang/swift-java-jni-core
[1/603] Fetching swift-java-jni-core
Fetched https://github.com/swiftlang/swift-java-jni-core from cache (0.40s)
Fetching https://github.com/apple/swift-collections
Fetching https://github.com/apple/swift-log
Fetching https://github.com/apple/swift-system
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/swiftlang/swift-subprocess.git
Fetching https://github.com/swiftlang/swift-syntax
[1/7598] Fetching swift-log
[7599/25547] Fetching swift-log, swift-argument-parser
[8317/31488] Fetching swift-log, swift-argument-parser, swift-system
[11308/56727] Fetching swift-log, swift-argument-parser, swift-system, swift-collections
[42847/60750] Fetching swift-log, swift-argument-parser, swift-system, swift-collections, swift-subprocess
Fetched https://github.com/apple/swift-argument-parser from cache (0.69s)
[24938/42801] Fetching swift-log, swift-system, swift-collections, swift-subprocess
[31933/118551] Fetching swift-log, swift-system, swift-collections, swift-subprocess, swift-syntax
Fetched https://github.com/swiftlang/swift-subprocess.git from cache (2.53s)
Fetched https://github.com/apple/swift-system from cache (2.53s)
Fetched https://github.com/apple/swift-log from cache (2.53s)
Fetched https://github.com/apple/swift-collections from cache (2.54s)
Fetched https://github.com/swiftlang/swift-syntax from cache (2.55s)
Computing version for https://github.com/swiftlang/swift-subprocess.git
Computed https://github.com/swiftlang/swift-subprocess.git at 0.4.0 (2.74s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.15s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 603.0.2 (0.95s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.6.0 (0.23s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.7.2 (0.18s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.14.0 (0.16s)
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.7.2
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-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.8.2
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.14.0
Creating working copy for https://github.com/apple/swift-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.6.0
Creating working copy for https://github.com/swiftlang/swift-java.git
Working copy of https://github.com/swiftlang/swift-java.git resolved at main (b461301)
Creating working copy for https://github.com/PureSwift/JavaLang.git
Working copy of https://github.com/PureSwift/JavaLang.git resolved at master (1b7320a)
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 603.0.2
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 main (b440a0b)
[0/40] Write sources
[17/40] Compiling _SwiftSyntaxCShims PlatformMutex.c
[18/40] Compiling _SubprocessCShims process_shims.c
[19/40] Compiling CSystem shims.c
[20/40] Write swift-version-24593BA9C3E375BF.txt
[22/88] Emitting module SwiftSyntax601
[23/88] Emitting module SwiftSyntax602
[24/88] Emitting module SystemPackage
[25/93] Compiling SwiftSyntax601 Empty.swift
[26/94] Emitting module SwiftSyntax509
[27/94] Compiling SwiftSyntax509 Empty.swift
[29/95] Compiling SystemPackage FilePermissions.swift
[30/95] Compiling SystemPackage FileFlags.swift
[31/95] Compiling SystemPackage FileMode.swift
[32/95] Compiling SystemPackage FileType.swift
[33/95] Compiling SystemPackage Identifiers.swift
[35/95] Compiling SystemPackage SystemString.swift
[36/95] Compiling SystemPackage Util+StringArray.swift
[37/95] Compiling SystemPackage Util.swift
[38/95] Compiling SystemPackage UtilConsumers.swift
[39/95] Compiling SystemPackage WinSDK+Overlay.swift
[39/95] Wrapping AST for SwiftSyntax509 for debugging
[39/95] Wrapping AST for SwiftSyntax601 for debugging
[42/95] Compiling SwiftSyntax602 Empty.swift
[43/95] Compiling SwiftSyntax510 Empty.swift
[44/96] Emitting module SwiftSyntax510
[45/97] Compiling SystemPackage FilePath.swift
[46/97] Compiling SystemPackage FilePathComponentView.swift
[47/97] Compiling SystemPackage FilePathComponents.swift
[48/97] Compiling SystemPackage FilePathParsing.swift
[49/97] Compiling SystemPackage FilePathString.swift
[51/97] Wrapping AST for SwiftSyntax510 for debugging
[52/97] Wrapping AST for SwiftSyntax602 for debugging
[54/97] Emitting module SwiftSyntax603
[55/97] Compiling SwiftSyntax603 Empty.swift
[56/98] Wrapping AST for SwiftSyntax603 for debugging
[58/98] Compiling SystemPackage RawBuffer.swift
[59/98] Compiling SystemPackage Syscalls.swift
[60/98] Compiling SystemPackage WindowsSyscallAdapters.swift
[61/98] Compiling SystemPackage MachPort.swift
[62/98] Compiling SystemPackage PlatformString.swift
[63/98] Emitting module SwiftSyntax600
[64/98] Compiling SwiftSyntax600 Empty.swift
[66/99] Compiling SystemPackage FilePathSyntax.swift
[67/99] Compiling SystemPackage FilePathTemp.swift
[68/99] Compiling SystemPackage FilePathTempPosix.swift
[69/99] Compiling SystemPackage FilePathTempWindows.swift
[70/99] Compiling SystemPackage FilePathWindows.swift
[70/99] Wrapping AST for SwiftSyntax600 for debugging
[72/162] Compiling SwiftSyntax RawSyntaxNodesAB.swift
[73/162] Compiling SwiftSyntax RawSyntaxNodesC.swift
[74/162] Compiling SwiftSyntax RawSyntaxNodesD.swift
[75/162] Compiling SwiftSyntax Identifier.swift
[76/162] Compiling SwiftSyntax MemoryLayout.swift
[77/162] Compiling SwiftSyntax AbsolutePosition.swift
[78/162] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[79/162] Compiling SwiftSyntax ArenaAllocatedBuffer.swift
[80/162] Compiling SwiftSyntax Assert.swift
[81/162] Compiling SwiftSyntax BumpPtrAllocator.swift
[82/162] Compiling SwiftSyntax CommonAncestor.swift
[83/162] Compiling SwiftSyntax Convenience.swift
[84/162] Compiling SwiftSyntax CustomTraits.swift
[85/162] Compiling SwiftSyntax EditorPlaceholder.swift
[86/170] Compiling SwiftSyntax RawSyntaxTokenView.swift
[87/170] Compiling SwiftSyntax SourceEdit.swift
[88/170] Compiling SwiftSyntax RawSyntaxNodesEF.swift
[89/170] Compiling SwiftSyntax RawSyntaxNodesGHI.swift
[90/170] Compiling SwiftSyntax RawSyntaxNodesJKLMN.swift
[91/170] Compiling SwiftSyntax MissingNodeInitializers.swift
[92/170] Compiling SwiftSyntax RawSyntax.swift
[93/170] Compiling SwiftSyntax RawSyntaxArena.swift
[94/170] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[95/170] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[96/171] Compiling SwiftSyntax SyntaxNodeStructure.swift
[97/171] Compiling SwiftSyntax SyntaxProtocol.swift
[98/171] Compiling SwiftSyntax SyntaxText.swift
[99/171] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[100/171] Compiling SwiftSyntax TokenDiagnostic.swift
[101/171] Compiling SwiftSyntax TokenSequence.swift
[102/171] Compiling SwiftSyntax TokenSyntax.swift
[103/171] Compiling SwiftSyntax Trivia.swift
[104/171] Compiling SwiftSyntax Utils.swift
[105/171] Wrapping AST for SystemPackage for debugging
[107/193] Compiling SwiftSyntax SourceLength.swift
[108/193] Compiling SwiftSyntax SourceLocation.swift
[109/193] Compiling SwiftSyntax SourcePresence.swift
[110/193] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[111/193] Compiling SwiftSyntax Syntax.swift
[112/193] Compiling SwiftSyntax SyntaxChildren.swift
[113/193] Compiling SwiftSyntax SyntaxCollection.swift
[114/193] Compiling SwiftSyntax SyntaxHashable.swift
[115/193] Compiling SwiftSyntax SyntaxIdentifier.swift
[116/193] Compiling Subprocess Subprocess+Windows.swift
[117/193] Compiling Subprocess Result.swift
[118/193] Compiling Subprocess Span+Subprocess.swift
[119/193] Compiling Subprocess Input+Foundation.swift
[120/193] Compiling Subprocess Output+Foundation.swift
[121/193] Compiling Subprocess Span+SubprocessFoundation.swift
[122/195] Compiling Subprocess Teardown.swift
[123/195] Compiling Subprocess Thread.swift
[124/195] Emitting module Subprocess
[125/195] Compiling Subprocess Configuration.swift
[126/195] Compiling Subprocess Error.swift
[127/195] Compiling Subprocess Execution.swift
[128/195] Compiling Subprocess Input.swift
[129/195] Compiling Subprocess Output.swift
[130/195] Compiling Subprocess Subprocess+BSD.swift
[131/195] Compiling Subprocess API.swift
[132/195] Compiling Subprocess AsyncBufferSequence.swift
[133/195] Compiling Subprocess Buffer.swift
[134/195] Compiling Subprocess AsyncIO+Dispatch.swift
[135/195] Compiling Subprocess AsyncIO+Linux.swift
[136/195] Compiling Subprocess AsyncIO+Windows.swift
[137/195] Compiling Subprocess Subprocess+Darwin.swift
[138/195] Compiling Subprocess Subprocess+Linux.swift
[139/195] Compiling Subprocess Subprocess+Unix.swift
[140/196] Wrapping AST for Subprocess for debugging
[142/196] Emitting module SwiftSyntax
[155/196] Compiling SwiftSyntax RawSyntaxNodesOP.swift
[156/196] Compiling SwiftSyntax RawSyntaxNodesQRS.swift
[157/196] Compiling SwiftSyntax RawSyntaxNodesTUVWXYZ.swift
[158/196] Compiling SwiftSyntax RawSyntaxValidation.swift
[159/196] Compiling SwiftSyntax SyntaxNodesAB.swift
[160/196] Compiling SwiftSyntax ChildNameForKeyPath.swift
[161/196] Compiling SwiftSyntax Keyword.swift
[162/196] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[163/196] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[164/196] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[165/196] Compiling SwiftSyntax SyntaxBaseNodes.swift
[166/196] Compiling SwiftSyntax SyntaxCollections.swift
[167/196] Compiling SwiftSyntax SyntaxEnum.swift
[168/196] Compiling SwiftSyntax SyntaxKind.swift
[178/196] Compiling SwiftSyntax SyntaxNodesC.swift
[179/196] Compiling SwiftSyntax SyntaxNodesD.swift
[180/196] Compiling SwiftSyntax SyntaxNodesEF.swift
[181/196] Compiling SwiftSyntax SyntaxNodesGHI.swift
[182/196] Compiling SwiftSyntax SyntaxNodesJKLMN.swift
[183/196] Compiling SwiftSyntax SyntaxNodesOP.swift
[184/196] Compiling SwiftSyntax SyntaxNodesQRS.swift
[185/196] Compiling SwiftSyntax SyntaxNodesTUVWXYZ.swift
[186/247] Wrapping AST for SwiftSyntax for debugging
[188/256] Compiling SwiftBasicFormat Syntax+Extensions.swift
[189/256] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[190/256] Compiling SwiftDiagnostics Message.swift
[191/257] Compiling SwiftDiagnostics ANSIDiagnosticDecorator.swift
[192/257] Compiling SwiftDiagnostics BasicDiagnosticDecorator.swift
[193/257] Compiling SwiftDiagnostics Convenience.swift
[194/257] Compiling SwiftDiagnostics Diagnostic.swift
[195/257] Emitting module SwiftDiagnostics
[196/257] Compiling SwiftDiagnostics Note.swift
[197/257] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[198/257] Compiling SwiftBasicFormat Indenter.swift
[199/257] Compiling SwiftBasicFormat InferIndentation.swift
[200/257] Compiling SwiftDiagnostics FixIt.swift
[201/257] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[202/257] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[203/257] Compiling SwiftDiagnostics DiagnosticDecorator.swift
[204/258] Wrapping AST for SwiftDiagnostics for debugging
[206/258] Emitting module SwiftBasicFormat
[207/258] Compiling SwiftBasicFormat BasicFormat.swift
[209/259] Compiling SwiftParser StringLiterals.swift
[210/259] Compiling SwiftParser SwiftParserCompatibility.swift
[211/259] Compiling SwiftParser SwiftVersion.swift
[212/259] Compiling SwiftParser SyntaxUtils.swift
[213/259] Compiling SwiftParser TokenConsumer.swift
[214/259] Compiling SwiftParser TokenPrecedence.swift
[214/264] Wrapping AST for SwiftBasicFormat for debugging
[216/264] Compiling SwiftParser LoopProgressCondition.swift
[217/264] Compiling SwiftParser Modifiers.swift
[218/264] Compiling SwiftParser Names.swift
[219/264] Compiling SwiftParser Nominals.swift
[220/264] Compiling SwiftParser Parameters.swift
[221/264] Compiling SwiftParser ParseSourceFile.swift
[222/264] Emitting module SwiftParser
[223/264] Compiling SwiftParser Parser.swift
[224/264] Compiling SwiftParser Patterns.swift
[225/264] Compiling SwiftParser Recovery.swift
[226/264] Compiling SwiftParser Specifiers.swift
[227/264] Compiling SwiftParser Statements.swift
[228/264] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[229/264] Compiling SwiftParser TokenSpec.swift
[230/264] Compiling SwiftParser TokenSpecSet.swift
[231/264] Compiling SwiftParser TopLevel.swift
[232/264] Compiling SwiftParser TriviaParser.swift
[233/264] Compiling SwiftParser Types.swift
[234/264] Compiling SwiftParser Attributes.swift
[235/264] Compiling SwiftParser Availability.swift
[236/264] Compiling SwiftParser CharacterInfo.swift
[237/264] Compiling SwiftParser CollectionNodes+Parsable.swift
[238/264] Compiling SwiftParser CompilerFiles.swift
[239/264] Compiling SwiftParser Declarations.swift
[240/264] Compiling SwiftParser Lexeme.swift
[241/264] Compiling SwiftParser LexemeSequence.swift
[242/264] Compiling SwiftParser Lexer.swift
[243/264] Compiling SwiftParser RegexLiteralLexer.swift
[244/264] Compiling SwiftParser UnicodeScalarExtensions.swift
[245/264] Compiling SwiftParser Lookahead.swift
[250/264] Compiling SwiftParser IsValidIdentifier.swift
[251/264] Compiling SwiftParser Cursor.swift
[252/264] Compiling SwiftParser ExperimentalFeatures.swift
[253/264] Compiling SwiftParser IsLexerClassified.swift
[254/264] Compiling SwiftParser LayoutNodes+Parsable.swift
[255/264] Compiling SwiftParser Parser+TokenSpecSet.swift
[256/264] Compiling SwiftParser TokenSpecStaticMembers.swift
[257/265] Wrapping AST for SwiftParser for debugging
[259/288] Compiling SwiftOperators PrecedenceGroup.swift
[260/288] Compiling SwiftOperators PrecedenceGraph.swift
[261/288] Compiling SwiftOperators OperatorTable.swift
[262/289] Compiling SwiftOperators SyntaxSynthesis.swift
[263/289] Emitting module SwiftOperators
[264/289] Compiling SwiftParserDiagnostics DiagnosticExtensions.swift
[265/289] Compiling SwiftParserDiagnostics LexerDiagnosticMessages.swift
[266/289] Compiling SwiftOperators OperatorTable+Folding.swift
[267/289] Compiling SwiftParserDiagnostics MissingNodesError.swift
[268/289] Compiling SwiftParserDiagnostics MissingTokenError.swift
[269/289] Compiling SwiftOperators OperatorTable+Semantics.swift
[271/290] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[272/290] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[272/291] Wrapping AST for SwiftOperators for debugging
[274/291] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[275/291] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[276/291] Compiling SwiftParserDiagnostics PresenceUtils.swift
[277/291] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[278/291] Compiling SwiftParserDiagnostics Utils.swift
[279/291] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[280/291] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[281/291] Emitting module SwiftParserDiagnostics
[286/292] Wrapping AST for SwiftParserDiagnostics for debugging
[288/307] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[289/307] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[290/308] Emitting module SwiftSyntaxBuilder
[291/308] Compiling SwiftSyntaxBuilder Indenter.swift
[292/308] Compiling SwiftSyntaxBuilder ListBuilder.swift
[293/308] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[294/308] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[295/308] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[296/308] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[297/308] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[298/308] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[299/308] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[300/308] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[301/308] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[302/308] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[303/308] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[304/309] Wrapping AST for SwiftSyntaxBuilder for debugging
[306/324] Compiling SwiftIfConfig IfConfigFunctions.swift
[307/324] Compiling SwiftIfConfig IfConfigRegionState.swift
[308/325] Compiling SwiftIfConfig SyntaxProtocol+IfConfig.swift
[309/325] Compiling SwiftIfConfig VersionTuple+Parsing.swift
[310/325] Compiling SwiftIfConfig StaticBuildConfiguration.swift
[311/325] Compiling SwiftIfConfig SyntaxLiteralUtils.swift
[312/325] Compiling SwiftIfConfig VersionTuple.swift
[313/325] Emitting module SwiftIfConfig
[314/325] Compiling SwiftIfConfig ActiveSyntaxVisitor.swift
[315/325] Compiling SwiftIfConfig BuildConfiguration.swift
[316/325] Compiling SwiftIfConfig IfConfigDiagnostic.swift
[317/325] Compiling SwiftIfConfig IfConfigEvaluation.swift
[318/325] Compiling SwiftIfConfig ConfiguredRegions.swift
[319/325] Compiling SwiftIfConfig IfConfigDecl+IfConfig.swift
[320/325] Compiling SwiftIfConfig ActiveClauseEvaluator.swift
[321/325] Compiling SwiftIfConfig ActiveSyntaxRewriter.swift
[322/326] Wrapping AST for SwiftIfConfig for debugging
[324/328] Emitting module StaticBuildConfigPluginExecutable
[325/328] Compiling StaticBuildConfigPluginExecutable StaticBuildConfigPluginExecutable.swift
[326/329] Wrapping AST for StaticBuildConfigPluginExecutable for debugging
[327/329] Write Objects.LinkFileList
[328/329] 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 SwiftSyntax510 for debugging
[42/91] Wrapping AST for SwiftSyntax602 for debugging
[43/91] Wrapping AST for SwiftSyntax600 for debugging
[44/91] Wrapping AST for SwiftSyntax509 for debugging
[45/91] Wrapping AST for SwiftSyntax603 for debugging
[46/91] Wrapping AST for SwiftSyntax601 for debugging
[47/91] Wrapping AST for SwiftSyntax for debugging
[48/91] Wrapping AST for SwiftDiagnostics for debugging
[49/91] Wrapping AST for SwiftBasicFormat 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 CodeItemMacro.swift
[57/108] Compiling SwiftSyntaxMacros DeclarationMacro.swift
[58/110] Compiling SwiftSyntaxMacros AccessorMacro.swift
[59/110] Compiling SwiftSyntaxMacros AttachedMacro.swift
[60/110] Compiling SwiftSyntaxMacros BodyMacro.swift
[61/110] Compiling SwiftSyntaxMacros FreestandingMacro.swift
[62/110] Compiling SwiftSyntaxMacros Macro+Format.swift
[63/110] Compiling SwiftSyntaxMacros Macro.swift
[64/110] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
[65/110] Compiling SwiftSyntaxMacros ExpressionMacro.swift
[66/110] Compiling SwiftSyntaxMacros ExtensionMacro.swift
[67/110] Compiling SwiftSyntaxMacros MemberMacro.swift
[68/110] Compiling SwiftSyntaxMacros PeerMacro.swift
[69/110] Compiling SwiftSyntaxMacros AbstractSourceLocation.swift
[70/110] Compiling SwiftSyntaxMacros MacroExpansionContext.swift
[71/110] Compiling SwiftSyntaxMacros MacroExpansionDiagnosticMessages.swift
[72/110] Emitting module SwiftSyntaxMacros
[73/110] Compiling SwiftSyntaxMacros PreambleMacro.swift
[74/110] Compiling SwiftSyntaxMacros Syntax+LexicalContext.swift
[75/111] Wrapping AST for SwiftSyntaxMacros for debugging
[77/120] Compiling SwiftSyntaxMacroExpansion MacroExpansionDiagnosticMessages.swift
[78/121] Emitting module SwiftSyntaxMacroExpansion
[79/121] Compiling SwiftSyntaxMacroExpansion BasicMacroExpansionContext.swift
[80/121] Compiling SwiftSyntaxMacroExpansion FunctionParameterUtils.swift
[81/121] Compiling SwiftSyntaxMacroExpansion MacroExpansion.swift
[82/121] Compiling SwiftSyntaxMacroExpansion IndentationUtils.swift
[83/121] Compiling SwiftSyntaxMacroExpansion MacroSpec.swift
[84/121] Compiling SwiftSyntaxMacroExpansion MacroReplacement.swift
[85/121] Compiling SwiftSyntaxMacroExpansion MacroArgument.swift
[86/121] Compiling Kotlin Kotlin.swift
[87/121] Emitting module Kotlin
[92/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>
[93/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>
[94/124] Compiling SwiftSyntaxMacroExpansion MacroSystem.swift
[98/125] Wrapping AST for SwiftSyntaxMacroExpansion for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[103/137] 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>
[104/137] Compiling SwiftCompilerPluginMessageHandling LRUCache.swift
[105/137] Compiling SwiftCompilerPluginMessageHandling Macros.swift
[106/137] Compiling SwiftCompilerPluginMessageHandling PluginMacroExpansionContext.swift
[107/137] Compiling SwiftCompilerPluginMessageHandling PluginMessageCompatibility.swift
[108/138] Compiling SwiftCompilerPluginMessageHandling JSON.swift
[109/138] Compiling SwiftCompilerPluginMessageHandling CompilerPluginMessageHandler.swift
[110/138] Compiling SwiftCompilerPluginMessageHandling Diagnostics.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/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/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 |   }
[117/138] Compiling SwiftJavaJNICore MethodSignature.swift
/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 |
[118/138] Compiling SwiftJavaJNICore SwiftJavaJNICore.swift
/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 |
[119/138] Compiling SwiftJavaJNICore JavaVirtualMachine.swift
/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 |
BUILD FAILURE 6.2 wasm