Build Information
Failed to build Kotlin, reference master (88a9bb), with Swift 6.2 for Wasm on 2 May 2026 08:25:23 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
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-4609320-2":/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
[1/26137] Fetching swift-java
Fetched https://github.com/swiftlang/swift-java.git from cache (1.09s)
Fetching https://github.com/PureSwift/JavaLang.git
[1/3151] Fetching javalang
Fetched https://github.com/PureSwift/JavaLang.git from cache (0.31s)
Fetching https://github.com/swiftlang/swift-java-jni-core
[1/597] Fetching swift-java-jni-core
Fetched https://github.com/swiftlang/swift-java-jni-core from cache (0.43s)
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/swiftlang/swift-syntax
Fetching https://github.com/apple/swift-collections
Fetching https://github.com/apple/swift-argument-parser
[1/17557] Fetching swift-argument-parser
[2/41599] Fetching swift-argument-parser, swift-collections
[658/47200] Fetching swift-argument-parser, swift-collections, swift-system
[1771/54010] Fetching swift-argument-parser, swift-collections, swift-system, swift-log
[5680/57085] Fetching swift-argument-parser, swift-collections, swift-system, swift-log, swift-subprocess
[21735/132123] Fetching swift-argument-parser, swift-collections, swift-system, swift-log, swift-subprocess, swift-syntax
Fetched https://github.com/apple/swift-system from cache (1.15s)
Fetched https://github.com/apple/swift-log from cache (1.15s)
[26200/119712] Fetching swift-argument-parser, swift-collections, swift-subprocess, swift-syntax
Fetched https://github.com/swiftlang/swift-subprocess.git from cache (1.16s)
[23875/116637] Fetching swift-argument-parser, swift-collections, swift-syntax
Fetched https://github.com/apple/swift-argument-parser from cache (1.82s)
[32203/99080] Fetching swift-collections, swift-syntax
Fetched https://github.com/apple/swift-collections from cache (2.35s)
[27765/75038] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (5.77s)
Computing version for https://github.com/swiftlang/swift-subprocess.git
Computed https://github.com/swiftlang/swift-subprocess.git at 0.4.0 (6.19s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 603.0.1 (2.80s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.4.1 (0.83s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.6.4 (1.13s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.7.1 (0.73s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.12.0 (0.62s)
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-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.7.1
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-java-jni-core
Working copy of https://github.com/swiftlang/swift-java-jni-core resolved at main (b440a0b)
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/swiftlang/swift-java.git
Working copy of https://github.com/swiftlang/swift-java.git resolved at main (bc57b8c)
Creating working copy for https://github.com/apple/swift-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.4.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
[0/40] Write sources
[17/40] Compiling CSystem shims.c
[18/40] Write swift-version-24593BA9C3E375BF.txt
[19/40] Compiling _SwiftSyntaxCShims PlatformMutex.c
[20/40] Compiling _SubprocessCShims process_shims.c
[22/83] Emitting module SwiftSyntax510
[23/83] Emitting module SystemPackage
[24/87] Compiling SwiftSyntax603 Empty.swift
[25/87] Emitting module SwiftSyntax603
[27/88] Emitting module SwiftSyntax601
[28/88] Compiling SwiftSyntax601 Empty.swift
[29/89] Emitting module SwiftSyntax600
[30/89] Compiling SwiftSyntax600 Empty.swift
[32/90] Wrapping AST for SwiftSyntax603 for debugging
[33/90] Wrapping AST for SwiftSyntax601 for debugging
[34/90] Wrapping AST for SwiftSyntax600 for debugging
[36/90] Emitting module SwiftSyntax602
[37/90] Compiling SwiftSyntax602 Empty.swift
[38/91] Emitting module SwiftSyntax509
[39/91] Compiling SwiftSyntax509 Empty.swift
[40/92] Compiling SwiftSyntax510 Empty.swift
[44/93] Compiling SystemPackage SystemString.swift
[45/93] Compiling SystemPackage Util+StringArray.swift
[46/93] Compiling SystemPackage Util.swift
[47/93] Compiling SystemPackage UtilConsumers.swift
[47/93] Wrapping AST for SwiftSyntax510 for debugging
[48/93] Wrapping AST for SwiftSyntax602 for debugging
[50/93] Compiling SystemPackage Errno.swift
[51/93] Compiling SystemPackage ErrnoWindows.swift
[52/93] Compiling SystemPackage FileDescriptor.swift
[53/93] Compiling SystemPackage FileHelpers.swift
[54/93] Compiling SystemPackage FileOperations.swift
[54/93] Wrapping AST for SwiftSyntax509 for debugging
[56/93] Compiling SystemPackage FilePathWindows.swift
[57/93] Compiling SystemPackage FilePermissions.swift
[58/93] Compiling SystemPackage IOCompletion.swift
[59/93] Compiling SystemPackage IORequest.swift
[60/156] Compiling SwiftSyntax SyntaxChildren.swift
[61/156] Compiling SwiftSyntax SyntaxCollection.swift
[62/156] Compiling SwiftSyntax SyntaxHashable.swift
[63/156] Compiling SwiftSyntax SyntaxIdentifier.swift
[64/156] Compiling SwiftSyntax SourceEdit.swift
[65/156] Compiling SwiftSyntax ChildNameForKeyPath.swift
[66/156] Compiling SwiftSyntax Keyword.swift
[67/156] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[68/156] Compiling SwiftSyntax EditorPlaceholder.swift
[69/156] Compiling SwiftSyntax Identifier.swift
[70/156] Compiling SwiftSyntax MemoryLayout.swift
[71/156] Compiling SwiftSyntax MissingNodeInitializers.swift
[72/156] Compiling SwiftSyntax RawSyntax.swift
[73/156] Compiling SwiftSyntax RawSyntaxArena.swift
[74/156] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[75/156] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[76/156] Compiling SwiftSyntax RawSyntaxTokenView.swift
[77/156] Compiling SwiftSyntax BumpPtrAllocator.swift
[78/156] Compiling SwiftSyntax CommonAncestor.swift
[79/156] Compiling SwiftSyntax Convenience.swift
[80/156] Compiling SwiftSyntax CustomTraits.swift
[91/157] Compiling SwiftSyntax SourceLength.swift
[92/157] Compiling SwiftSyntax SourceLocation.swift
[93/157] Compiling SwiftSyntax SourcePresence.swift
[94/157] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[95/157] Compiling SwiftSyntax Syntax.swift
[100/157] Compiling SwiftSyntax AbsolutePosition.swift
[101/157] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[102/157] Compiling SwiftSyntax ArenaAllocatedBuffer.swift
[103/157] Compiling SwiftSyntax Assert.swift
[108/165] Wrapping AST for SystemPackage for debugging
[110/187] Compiling Subprocess Subprocess+Windows.swift
[111/187] Compiling Subprocess Result.swift
[112/187] Compiling Subprocess Span+Subprocess.swift
[113/189] Compiling Subprocess Input+Foundation.swift
[114/189] Compiling Subprocess Output+Foundation.swift
[115/189] Compiling Subprocess Span+SubprocessFoundation.swift
[116/189] Compiling Subprocess Teardown.swift
[117/189] Compiling Subprocess Thread.swift
[118/189] Emitting module Subprocess
[119/189] Compiling Subprocess AsyncIO+Dispatch.swift
[120/189] Compiling Subprocess AsyncIO+Linux.swift
[121/189] Compiling Subprocess AsyncIO+Windows.swift
[122/189] Compiling Subprocess Input.swift
[123/189] Compiling Subprocess Output.swift
[124/189] Compiling Subprocess Subprocess+BSD.swift
[125/189] Compiling Subprocess Configuration.swift
[126/189] Compiling Subprocess Error.swift
[127/189] Compiling Subprocess Execution.swift
[128/189] Compiling Subprocess Subprocess+Darwin.swift
[129/189] Compiling Subprocess Subprocess+Linux.swift
[130/189] Compiling Subprocess Subprocess+Unix.swift
[131/189] Compiling Subprocess API.swift
[132/189] Compiling Subprocess AsyncBufferSequence.swift
[133/189] Compiling Subprocess Buffer.swift
[134/190] Wrapping AST for Subprocess for debugging
[136/190] Emitting module SwiftSyntax
[137/190] Compiling SwiftSyntax SyntaxRewriter.swift
[138/190] Compiling SwiftSyntax SyntaxTraits.swift
[139/190] Compiling SwiftSyntax SyntaxVisitor.swift
[140/190] Compiling SwiftSyntax TokenKind.swift
[141/190] Compiling SwiftSyntax Tokens.swift
[142/190] Compiling SwiftSyntax TriviaPieces.swift
[143/190] Compiling SwiftSyntax RawSyntaxNodesAB.swift
[144/190] Compiling SwiftSyntax RawSyntaxNodesC.swift
[145/190] Compiling SwiftSyntax RawSyntaxNodesD.swift
[146/190] Compiling SwiftSyntax RawSyntaxNodesEF.swift
[147/190] Compiling SwiftSyntax RawSyntaxNodesGHI.swift
[148/190] Compiling SwiftSyntax RawSyntaxNodesJKLMN.swift
[149/190] Compiling SwiftSyntax RawSyntaxNodesOP.swift
[150/190] Compiling SwiftSyntax RawSyntaxNodesQRS.swift
[151/190] Compiling SwiftSyntax RawSyntaxNodesTUVWXYZ.swift
[152/190] Compiling SwiftSyntax RawSyntaxValidation.swift
[153/190] Compiling SwiftSyntax SyntaxNodesAB.swift
[154/190] Compiling SwiftSyntax SyntaxNodeStructure.swift
[155/190] Compiling SwiftSyntax SyntaxProtocol.swift
[156/190] Compiling SwiftSyntax SyntaxText.swift
[157/190] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[158/190] Compiling SwiftSyntax TokenDiagnostic.swift
[159/190] Compiling SwiftSyntax TokenSequence.swift
[160/190] Compiling SwiftSyntax TokenSyntax.swift
[161/190] Compiling SwiftSyntax Trivia.swift
[162/190] Compiling SwiftSyntax Utils.swift
[166/190] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[167/190] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[168/190] Compiling SwiftSyntax SyntaxBaseNodes.swift
[169/190] Compiling SwiftSyntax SyntaxCollections.swift
[170/190] Compiling SwiftSyntax SyntaxEnum.swift
[171/190] Compiling SwiftSyntax SyntaxKind.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/194] Wrapping AST for SwiftSyntax for debugging
[182/215] Compiling SwiftDiagnostics DiagnosticDecorator.swift
[183/251] Compiling SwiftBasicFormat Syntax+Extensions.swift
[184/251] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[185/251] Compiling SwiftDiagnostics Note.swift
[186/251] Compiling SwiftDiagnostics Message.swift
[187/251] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[188/251] Emitting module SwiftDiagnostics
[189/251] Compiling SwiftBasicFormat Indenter.swift
[190/251] Compiling SwiftBasicFormat InferIndentation.swift
[191/251] Compiling SwiftDiagnostics FixIt.swift
[192/251] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[193/251] Compiling SwiftParser Attributes.swift
[194/251] Compiling SwiftParser Availability.swift
[195/251] Compiling SwiftParser CharacterInfo.swift
[196/251] Compiling SwiftParser CollectionNodes+Parsable.swift
[197/251] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[199/252] Emitting module SwiftBasicFormat
[200/252] Compiling SwiftBasicFormat BasicFormat.swift
[200/253] Wrapping AST for SwiftDiagnostics for debugging
[203/253] Compiling SwiftParser StringLiterals.swift
[204/253] Compiling SwiftParser SwiftParserCompatibility.swift
[205/253] Compiling SwiftParser SwiftVersion.swift
[206/253] Compiling SwiftParser SyntaxUtils.swift
[207/253] Compiling SwiftParser TokenConsumer.swift
[208/253] Compiling SwiftParser TokenPrecedence.swift
[208/253] Wrapping AST for SwiftBasicFormat for debugging
[210/258] Emitting module SwiftParser
[211/258] Compiling SwiftParser Lexeme.swift
[212/258] Compiling SwiftParser LexemeSequence.swift
[213/258] Compiling SwiftParser Lexer.swift
[214/258] Compiling SwiftParser RegexLiteralLexer.swift
[215/258] Compiling SwiftParser UnicodeScalarExtensions.swift
[216/258] Compiling SwiftParser Lookahead.swift
[217/258] Compiling SwiftParser TokenSpec.swift
[218/258] Compiling SwiftParser TokenSpecSet.swift
[219/258] Compiling SwiftParser TopLevel.swift
[220/258] Compiling SwiftParser TriviaParser.swift
[221/258] Compiling SwiftParser Types.swift
[222/258] Compiling SwiftParser LoopProgressCondition.swift
[223/258] Compiling SwiftParser Modifiers.swift
[224/258] Compiling SwiftParser Names.swift
[225/258] Compiling SwiftParser Nominals.swift
[226/258] Compiling SwiftParser Parameters.swift
[227/258] Compiling SwiftParser ParseSourceFile.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
[238/258] Compiling SwiftParser CompilerFiles.swift
[239/258] Compiling SwiftParser Declarations.swift
[240/258] Compiling SwiftParser Directives.swift
[241/258] Compiling SwiftParser ExpressionInterpretedAsVersionTuple.swift
[242/258] Compiling SwiftParser Expressions.swift
[243/258] Compiling SwiftParser IncrementalParseTransition.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/259] Wrapping AST for SwiftParser for debugging
[253/282] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[254/283] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[255/283] Compiling SwiftOperators PrecedenceGraph.swift
[256/283] Compiling SwiftOperators PrecedenceGroup.swift
[257/284] Compiling SwiftOperators OperatorTable.swift
[258/284] Compiling SwiftOperators SyntaxSynthesis.swift
[259/284] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[260/284] Compiling SwiftParserDiagnostics Utils.swift
[261/284] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[262/284] Compiling SwiftOperators OperatorTable+Semantics.swift
[263/284] Emitting module SwiftParserDiagnostics
[264/284] Compiling SwiftOperators Operator.swift
[265/284] Compiling SwiftOperators OperatorError+Diagnostics.swift
[266/284] Emitting module SwiftOperators
[267/284] Compiling SwiftOperators OperatorError.swift
[268/284] Compiling SwiftOperators OperatorTable+Defaults.swift
[269/284] Compiling SwiftOperators OperatorTable+Folding.swift
[270/285] Wrapping AST for SwiftOperators for debugging
[274/285] Compiling SwiftParserDiagnostics MissingNodesError.swift
[275/285] Compiling SwiftParserDiagnostics MissingTokenError.swift
[276/285] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[277/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] Emitting module SwiftSyntaxBuilder
[285/302] Compiling SwiftSyntaxBuilder Indenter.swift
[286/302] Compiling SwiftSyntaxBuilder ListBuilder.swift
[287/302] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[288/302] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[289/302] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[290/302] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[291/302] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[292/302] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[293/302] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[294/302] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[295/302] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[296/302] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[297/302] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[298/303] Wrapping AST for SwiftSyntaxBuilder for debugging
[300/318] Compiling SwiftIfConfig IfConfigFunctions.swift
[301/318] Compiling SwiftIfConfig IfConfigRegionState.swift
[302/319] Compiling SwiftIfConfig SyntaxProtocol+IfConfig.swift
[303/319] Compiling SwiftIfConfig VersionTuple+Parsing.swift
[304/319] Compiling SwiftIfConfig ActiveSyntaxVisitor.swift
[305/319] Compiling SwiftIfConfig BuildConfiguration.swift
[306/319] Compiling SwiftIfConfig VersionTuple.swift
[307/319] Compiling SwiftIfConfig StaticBuildConfiguration.swift
[308/319] Compiling SwiftIfConfig SyntaxLiteralUtils.swift
[309/319] Compiling SwiftIfConfig ActiveClauseEvaluator.swift
[310/319] Compiling SwiftIfConfig ActiveSyntaxRewriter.swift
[311/319] Emitting module SwiftIfConfig
[312/319] Compiling SwiftIfConfig ConfiguredRegions.swift
[313/319] Compiling SwiftIfConfig IfConfigDecl+IfConfig.swift
[314/319] Compiling SwiftIfConfig IfConfigDiagnostic.swift
[315/319] Compiling SwiftIfConfig IfConfigEvaluation.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 SwiftSyntax509 for debugging
[42/91] Wrapping AST for SwiftSyntax510 for debugging
[43/91] Wrapping AST for SwiftSyntax602 for debugging
[44/91] Wrapping AST for SwiftSyntax600 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 SwiftBasicFormat for debugging
[48/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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[54/91] 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>
[54/93] Wrapping AST for SwiftSyntaxBuilder for debugging
[55/93] Wrapping AST for SwiftIfConfig for debugging
[57/110] Compiling SwiftSyntaxMacros CodeItemMacro.swift
[58/110] Compiling SwiftSyntaxMacros DeclarationMacro.swift
[59/112] Compiling SwiftSyntaxMacros ExpressionMacro.swift
[60/112] Compiling SwiftSyntaxMacros ExtensionMacro.swift
[61/112] Compiling SwiftSyntaxMacros FreestandingMacro.swift
[62/112] Compiling SwiftSyntaxMacros Macro+Format.swift
[63/112] Compiling SwiftSyntaxMacros AccessorMacro.swift
[64/112] Compiling SwiftSyntaxMacros AttachedMacro.swift
[65/112] Compiling SwiftSyntaxMacros BodyMacro.swift
[66/112] Compiling SwiftSyntaxMacros Macro.swift
[67/112] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
[68/112] Compiling SwiftSyntaxMacros MemberMacro.swift
[69/112] Compiling SwiftSyntaxMacros PeerMacro.swift
[70/112] Emitting module SwiftSyntaxMacros
[71/112] Compiling SwiftSyntaxMacros PreambleMacro.swift
[72/112] Compiling SwiftSyntaxMacros Syntax+LexicalContext.swift
[73/112] Compiling SwiftSyntaxMacros AbstractSourceLocation.swift
[74/112] Compiling SwiftSyntaxMacros MacroExpansionContext.swift
[75/112] Compiling SwiftSyntaxMacros MacroExpansionDiagnosticMessages.swift
[76/113] Wrapping AST for SwiftSyntaxMacros for debugging
[78/122] Compiling SwiftSyntaxMacroExpansion MacroSpec.swift
[79/123] Compiling SwiftSyntaxMacroExpansion IndentationUtils.swift
[80/123] Compiling SwiftSyntaxMacroExpansion MacroExpansion.swift
[81/123] Compiling SwiftSyntaxMacroExpansion BasicMacroExpansionContext.swift
[82/123] Compiling SwiftSyntaxMacroExpansion FunctionParameterUtils.swift
[83/123] Compiling SwiftSyntaxMacroExpansion MacroArgument.swift
[84/123] Emitting module SwiftSyntaxMacroExpansion
[85/123] Compiling SwiftSyntaxMacroExpansion MacroExpansionDiagnosticMessages.swift
[86/123] Compiling SwiftSyntaxMacroExpansion MacroReplacement.swift
[87/123] Compiling Kotlin Kotlin.swift
[88/123] Emitting module Kotlin
/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 | }
[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>
[98/124] Compiling SwiftSyntaxMacroExpansion MacroSystem.swift
[112/125] 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 |
[113/125] 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 |
[114/125] 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 |
[114/125] Wrapping AST for SwiftSyntaxMacroExpansion for debugging
[116/137] Compiling SwiftCompilerPluginMessageHandling PluginMessageCompatibility.swift
BUILD FAILURE 6.2 wasm