The Swift Package Index logo.Swift Package Index

Build Information

Failed to build JavaLang, reference master (1b7320), with Swift 6.3 for Wasm on 18 Apr 2026 16:29:32 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/PureSwift/JavaLang.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/PureSwift/JavaLang
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 1b7320a Update `JavaConsumer`
Cloned https://github.com/PureSwift/JavaLang.git
Revision (git rev-parse @):
1b7320afd8d40a669422ee61d5335ae6d647dce5
SUCCESS checkout https://github.com/PureSwift/JavaLang.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/PureSwift/JavaLang.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Fetching https://github.com/swiftlang/swift-java.git
[1/25465] Fetching swift-java
Fetched https://github.com/swiftlang/swift-java.git from cache (1.10s)
Fetching https://github.com/swiftlang/swift-java-jni-core
[1/585] Fetching swift-java-jni-core
Fetched https://github.com/swiftlang/swift-java-jni-core from cache (0.25s)
Fetching https://github.com/swiftlang/swift-subprocess.git
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/apple/swift-system
Fetching https://github.com/apple/swift-collections
Fetching https://github.com/apple/swift-log
Fetching https://github.com/apple/swift-argument-parser
[1/5601] Fetching swift-system
[786/29170] Fetching swift-system, swift-collections
[2782/46699] Fetching swift-system, swift-collections, swift-argument-parser
[4561/49606] Fetching swift-system, swift-collections, swift-argument-parser, swift-subprocess
[7939/56241] Fetching swift-system, swift-collections, swift-argument-parser, swift-subprocess, swift-log
[8101/131224] Fetching swift-system, swift-collections, swift-argument-parser, swift-subprocess, swift-log, swift-syntax
Fetched https://github.com/apple/swift-system from cache (0.79s)
[18871/125623] Fetching swift-collections, swift-argument-parser, swift-subprocess, swift-log, swift-syntax
Fetched https://github.com/apple/swift-log from cache (0.97s)
[19224/118988] Fetching swift-collections, swift-argument-parser, swift-subprocess, swift-syntax
Fetched https://github.com/apple/swift-argument-parser from cache (1.49s)
[36010/101459] Fetching swift-collections, swift-subprocess, swift-syntax
Fetched https://github.com/apple/swift-collections from cache (2.21s)
[49397/77890] Fetching swift-subprocess, swift-syntax
Fetched https://github.com/swiftlang/swift-subprocess.git from cache (5.58s)
Fetched https://github.com/swiftlang/swift-syntax from cache (5.65s)
Computing version for https://github.com/swiftlang/swift-subprocess.git
Computed https://github.com/swiftlang/swift-subprocess.git at 0.4.0 (6.16s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.3.0 (0.64s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 603.0.0 (2.89s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.6.4 (0.48s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.7.1 (0.41s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.12.0 (0.38s)
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/swiftlang/swift-java-jni-core
Working copy of https://github.com/swiftlang/swift-java-jni-core resolved at main (0c915b9)
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/apple/swift-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.3.0
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 (347c921)
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 603.0.0
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/603.0.0/swift-6.3-RELEASE-ubuntu_jammy_x86_64-MacroSupport.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/603.0.0/swift-6.3-RELEASE-ubuntu_jammy_x86_64-MacroSupport.tar.gz (0.46s)
[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 SwiftSyntax602
[24/87] Compiling SwiftSyntax602 Empty.swift
[26/88] Emitting module SwiftSyntax600
[27/88] Compiling SwiftSyntax600 Empty.swift
[29/89] Emitting module SwiftSyntax510
[30/89] Compiling SwiftSyntax510 Empty.swift
[30/90] Wrapping AST for SwiftSyntax602 for debugging
[32/90] Emitting module SwiftSyntax601
[33/90] Compiling SwiftSyntax601 Empty.swift
[34/91] Compiling SystemPackage Errno.swift
[35/91] Compiling SystemPackage ErrnoWindows.swift
[36/91] Compiling SystemPackage FileDescriptor.swift
[37/91] Compiling SystemPackage FileHelpers.swift
[38/91] Compiling SystemPackage FileOperations.swift
[39/91] Compiling SystemPackage FilePath.swift
[40/91] Compiling SystemPackage FilePathComponentView.swift
[41/91] Compiling SystemPackage FilePathComponents.swift
[42/91] Compiling SystemPackage FilePathParsing.swift
[43/91] Compiling SystemPackage FilePathString.swift
[44/91] Emitting module SwiftSyntax603
[45/91] Compiling SwiftSyntax603 Empty.swift
[47/92] Emitting module SwiftSyntax509
[48/92] Compiling SwiftSyntax509 Empty.swift
[49/92] Compiling SystemPackage FilePathWindows.swift
[50/92] Compiling SystemPackage FilePermissions.swift
[51/92] Compiling SystemPackage IOCompletion.swift
[52/92] Compiling SystemPackage IORequest.swift
[54/93] Wrapping AST for SwiftSyntax600 for debugging
[56/93] Wrapping AST for SwiftSyntax510 for debugging
[57/93] Wrapping AST for SwiftSyntax601 for debugging
[58/93] Wrapping AST for SwiftSyntax603 for debugging
[59/93] Wrapping AST for SwiftSyntax509 for debugging
[61/132] Compiling SwiftSyntax TokenDiagnostic.swift
[62/132] Compiling SwiftSyntax TokenSequence.swift
[63/132] Compiling SwiftSyntax TokenSyntax.swift
[64/132] Compiling SwiftSyntax Trivia.swift
[65/156] Compiling SwiftSyntax RawSyntaxNodesQRS.swift
[66/156] Compiling SwiftSyntax RawSyntaxNodesTUVWXYZ.swift
[67/156] Compiling SwiftSyntax RawSyntaxValidation.swift
[68/156] Compiling SwiftSyntax SyntaxNodesAB.swift
[69/156] Compiling SwiftSyntax RawSyntaxNodesEF.swift
[70/156] Compiling SwiftSyntax RawSyntaxNodesGHI.swift
[71/156] Compiling SwiftSyntax RawSyntaxNodesJKLMN.swift
[72/156] Compiling SwiftSyntax RawSyntaxNodesOP.swift
[73/156] Compiling SwiftSyntax Identifier.swift
[74/156] Compiling SwiftSyntax MemoryLayout.swift
[75/156] Compiling SwiftSyntax MissingNodeInitializers.swift
[76/156] Compiling SwiftSyntax RawSyntax.swift
[77/156] Compiling SwiftSyntax RawSyntaxArena.swift
[78/156] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[79/156] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[80/156] Compiling SwiftSyntax RawSyntaxTokenView.swift
[81/156] Compiling SwiftSyntax SourceEdit.swift
[82/164] Compiling SwiftSyntax SourceLength.swift
[83/164] Compiling SwiftSyntax SourceLocation.swift
[84/164] Compiling SwiftSyntax SourcePresence.swift
[85/164] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[86/164] Compiling SwiftSyntax Syntax.swift
[87/164] Compiling SwiftSyntax SyntaxChildren.swift
[88/164] Compiling SwiftSyntax SyntaxCollection.swift
[89/164] Compiling SwiftSyntax SyntaxHashable.swift
[90/164] Compiling SwiftSyntax SyntaxIdentifier.swift
[91/164] Compiling SwiftSyntax SyntaxBaseNodes.swift
[92/164] Compiling SwiftSyntax SyntaxCollections.swift
[93/164] Compiling SwiftSyntax SyntaxEnum.swift
[94/164] Compiling SwiftSyntax SyntaxKind.swift
[95/164] Compiling SwiftSyntax Keyword.swift
[96/164] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[97/164] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[98/164] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[99/165] Wrapping AST for SystemPackage for debugging
[101/187] Compiling Subprocess Subprocess+Windows.swift
[102/187] Compiling Subprocess Result.swift
[103/187] Compiling Subprocess Span+Subprocess.swift
[104/189] Emitting module Subprocess
[105/189] Compiling Subprocess Input+Foundation.swift
[106/189] Compiling Subprocess Output+Foundation.swift
[107/189] Compiling Subprocess Span+SubprocessFoundation.swift
[108/189] Compiling Subprocess AsyncIO+Dispatch.swift
[109/189] Compiling Subprocess AsyncIO+Linux.swift
[110/189] Compiling Subprocess AsyncIO+Windows.swift
[111/189] Compiling Subprocess Teardown.swift
[112/189] Compiling Subprocess Thread.swift
[113/189] Compiling Subprocess Input.swift
[114/189] Compiling Subprocess Output.swift
[115/189] Compiling Subprocess Subprocess+BSD.swift
[116/189] Compiling Subprocess Subprocess+Darwin.swift
[117/189] Compiling Subprocess Subprocess+Linux.swift
[118/189] Compiling Subprocess Subprocess+Unix.swift
[119/189] Compiling Subprocess API.swift
[120/189] Compiling Subprocess AsyncBufferSequence.swift
[121/189] Compiling Subprocess Buffer.swift
[122/189] Compiling Subprocess Configuration.swift
[123/189] Compiling Subprocess Error.swift
[124/189] Compiling Subprocess Execution.swift
[125/190] Wrapping AST for Subprocess for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[127/192] Emitting module StaticBuildConfigPluginExecutable
/host/spi-builder-workspace/.build/checkouts/swift-java/Sources/StaticBuildConfigPluginExecutable/StaticBuildConfigPluginExecutable.swift:17:8: error: no such module 'SwiftIfConfig'
15 | import Foundation
16 | import Subprocess
17 | import SwiftIfConfig
   |        `- error: no such module 'SwiftIfConfig'
18 |
19 | @main struct StaticBuildConfigPluginExecutable {
[128/192] Compiling StaticBuildConfigPluginExecutable StaticBuildConfigPluginExecutable.swift
/host/spi-builder-workspace/.build/checkouts/swift-java/Sources/StaticBuildConfigPluginExecutable/StaticBuildConfigPluginExecutable.swift:17:8: error: no such module 'SwiftIfConfig'
15 | import Foundation
16 | import Subprocess
17 | import SwiftIfConfig
   |        `- error: no such module 'SwiftIfConfig'
18 |
19 | @main struct StaticBuildConfigPluginExecutable {
[130/192] Emitting module SwiftSyntax
[131/192] Compiling SwiftSyntax SyntaxNodeStructure.swift
[132/192] Compiling SwiftSyntax SyntaxProtocol.swift
[133/192] Compiling SwiftSyntax SyntaxText.swift
[134/192] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[139/192] Compiling SwiftSyntax Utils.swift
[140/192] Compiling SwiftSyntax SyntaxRewriter.swift
[141/192] Compiling SwiftSyntax SyntaxTraits.swift
[142/192] Compiling SwiftSyntax SyntaxVisitor.swift
[143/192] Compiling SwiftSyntax TokenKind.swift
[144/192] Compiling SwiftSyntax Tokens.swift
[145/192] Compiling SwiftSyntax TriviaPieces.swift
[146/192] Compiling SwiftSyntax RawSyntaxNodesAB.swift
[147/192] Compiling SwiftSyntax RawSyntaxNodesC.swift
[148/192] Compiling SwiftSyntax RawSyntaxNodesD.swift
[149/192] Compiling SwiftSyntax AbsolutePosition.swift
[150/192] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[151/192] Compiling SwiftSyntax ArenaAllocatedBuffer.swift
[152/192] Compiling SwiftSyntax Assert.swift
[153/192] Compiling SwiftSyntax BumpPtrAllocator.swift
[154/192] Compiling SwiftSyntax CommonAncestor.swift
[155/192] Compiling SwiftSyntax Convenience.swift
[156/192] Compiling SwiftSyntax CustomTraits.swift
[157/192] Compiling SwiftSyntax EditorPlaceholder.swift
[175/192] Compiling SwiftSyntax SyntaxNodesC.swift
[176/192] Compiling SwiftSyntax SyntaxNodesD.swift
[177/192] Compiling SwiftSyntax SyntaxNodesEF.swift
[178/192] Compiling SwiftSyntax SyntaxNodesGHI.swift
[179/192] Compiling SwiftSyntax SyntaxNodesJKLMN.swift
[180/192] Compiling SwiftSyntax SyntaxNodesOP.swift
[181/192] Compiling SwiftSyntax SyntaxNodesQRS.swift
[182/192] Compiling SwiftSyntax SyntaxNodesTUVWXYZ.swift
[183/199] Wrapping AST for SwiftSyntax for debugging
[185/252] Compiling SwiftDiagnostics Message.swift
[186/253] Emitting module SwiftDiagnostics
[187/253] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[188/253] Compiling SwiftDiagnostics FixIt.swift
[189/253] Compiling SwiftParser Directives.swift
[190/253] Compiling SwiftParser ExpressionInterpretedAsVersionTuple.swift
[191/253] Compiling SwiftBasicFormat Syntax+Extensions.swift
[192/253] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[193/253] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[194/253] Compiling SwiftDiagnostics Note.swift
[195/253] Compiling SwiftDiagnostics DiagnosticDecorator.swift
[196/253] Compiling SwiftParser Expressions.swift
[197/253] Compiling SwiftParser IncrementalParseTransition.swift
[198/253] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[199/254] Compiling SwiftBasicFormat InferIndentation.swift
[200/254] Compiling SwiftBasicFormat Indenter.swift
[201/254] Wrapping AST for SwiftDiagnostics for debugging
[203/254] Emitting module SwiftBasicFormat
[204/254] Compiling SwiftBasicFormat BasicFormat.swift
[205/255] Wrapping AST for SwiftBasicFormat for debugging
[207/255] Compiling SwiftParser StringLiterals.swift
[208/255] Compiling SwiftParser SwiftParserCompatibility.swift
[209/255] Compiling SwiftParser SwiftVersion.swift
[210/255] Compiling SwiftParser SyntaxUtils.swift
[211/255] Compiling SwiftParser TokenConsumer.swift
[212/255] Compiling SwiftParser TokenPrecedence.swift
[213/260] Compiling SwiftParser LoopProgressCondition.swift
[214/260] Compiling SwiftParser Modifiers.swift
[215/260] Compiling SwiftParser Names.swift
[216/260] Compiling SwiftParser Nominals.swift
[217/260] Compiling SwiftParser Parameters.swift
[218/260] Compiling SwiftParser ParseSourceFile.swift
[219/260] Compiling SwiftParser Lexeme.swift
[220/260] Compiling SwiftParser LexemeSequence.swift
[221/260] Compiling SwiftParser Lexer.swift
[222/260] Compiling SwiftParser RegexLiteralLexer.swift
[223/260] Compiling SwiftParser UnicodeScalarExtensions.swift
[224/260] Compiling SwiftParser Lookahead.swift
[225/260] Emitting module SwiftParser
[226/260] Compiling SwiftParser Attributes.swift
[227/260] Compiling SwiftParser Availability.swift
[228/260] Compiling SwiftParser CharacterInfo.swift
[229/260] Compiling SwiftParser CollectionNodes+Parsable.swift
[230/260] Compiling SwiftParser CompilerFiles.swift
[231/260] Compiling SwiftParser Declarations.swift
[232/260] Compiling SwiftParser TokenSpec.swift
[233/260] Compiling SwiftParser TokenSpecSet.swift
[234/260] Compiling SwiftParser TopLevel.swift
[235/260] Compiling SwiftParser TriviaParser.swift
[236/260] Compiling SwiftParser Types.swift
[237/260] Compiling SwiftParser Parser.swift
[238/260] Compiling SwiftParser Patterns.swift
[239/260] Compiling SwiftParser Recovery.swift
[240/260] Compiling SwiftParser Specifiers.swift
[241/260] Compiling SwiftParser Statements.swift
[242/260] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[247/260] Compiling SwiftParser IsValidIdentifier.swift
[248/260] Compiling SwiftParser Cursor.swift
[249/260] Compiling SwiftParser ExperimentalFeatures.swift
[250/260] Compiling SwiftParser IsLexerClassified.swift
[251/260] Compiling SwiftParser LayoutNodes+Parsable.swift
[252/260] Compiling SwiftParser Parser+TokenSpecSet.swift
[253/260] Compiling SwiftParser TokenSpecStaticMembers.swift
[254/273] Wrapping AST for SwiftParser for debugging
[256/284] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[257/285] Compiling SwiftOperators PrecedenceGroup.swift
[258/286] Compiling SwiftOperators Operator.swift
[259/286] Compiling SwiftOperators OperatorError+Diagnostics.swift
[260/286] Compiling SwiftOperators OperatorError.swift
[261/286] Compiling SwiftOperators OperatorTable+Defaults.swift
[262/286] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[263/286] Compiling SwiftOperators PrecedenceGraph.swift
[264/286] Compiling SwiftOperators OperatorTable.swift
[265/286] Emitting module SwiftOperators
[266/286] Compiling SwiftOperators SyntaxSynthesis.swift
[267/286] Compiling SwiftOperators OperatorTable+Semantics.swift
[268/286] Compiling SwiftOperators OperatorTable+Folding.swift
[269/287] Wrapping AST for SwiftOperators for debugging
[271/287] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[272/287] Compiling SwiftParserDiagnostics Utils.swift
[273/287] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[276/287] Emitting module SwiftParserDiagnostics
[279/287] Compiling SwiftParserDiagnostics MissingNodesError.swift
[280/287] Compiling SwiftParserDiagnostics MissingTokenError.swift
[281/287] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[282/287] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[283/288] Wrapping AST for SwiftParserDiagnostics for debugging
[285/303] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[286/303] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[287/304] Compiling SwiftSyntaxBuilder Indenter.swift
[288/304] Compiling SwiftSyntaxBuilder ListBuilder.swift
[289/304] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[290/304] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[291/304] Emitting module SwiftSyntaxBuilder
[292/304] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[293/304] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[294/304] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[295/304] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[296/304] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[297/304] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[298/304] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[299/304] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[300/304] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[301/305] Wrapping AST for SwiftSyntaxBuilder for debugging
[303/320] Compiling SwiftIfConfig SyntaxProtocol+IfConfig.swift
[304/320] Compiling SwiftIfConfig VersionTuple+Parsing.swift
[305/321] Compiling SwiftIfConfig VersionTuple.swift
[306/321] Compiling SwiftIfConfig IfConfigFunctions.swift
[307/321] Compiling SwiftIfConfig IfConfigRegionState.swift
[308/321] Compiling SwiftIfConfig StaticBuildConfiguration.swift
[309/321] Compiling SwiftIfConfig SyntaxLiteralUtils.swift
[310/321] Compiling SwiftIfConfig ActiveSyntaxVisitor.swift
[311/321] Compiling SwiftIfConfig BuildConfiguration.swift
[312/321] Compiling SwiftIfConfig ConfiguredRegions.swift
[313/321] Compiling SwiftIfConfig IfConfigDecl+IfConfig.swift
[314/321] Compiling SwiftIfConfig ActiveClauseEvaluator.swift
[315/321] Compiling SwiftIfConfig ActiveSyntaxRewriter.swift
[316/321] Emitting module SwiftIfConfig
[317/321] Compiling SwiftIfConfig IfConfigDiagnostic.swift
[318/321] Compiling SwiftIfConfig IfConfigEvaluation.swift
[319/322] Wrapping AST for SwiftIfConfig for debugging
[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/33] Write sources
[23/33] Compiling CSwiftJavaJNI dummy.c
[24/33] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[26/64] 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>
[27/66] Compiling SwiftJavaMacros SwiftJNIMacrosPlugin.swift
[28/66] Compiling SwiftJavaMacros MacroErrors.swift
[29/67] Compiling SwiftJavaMacros JavaExportMacro.swift
[30/67] Compiling SwiftJavaMacros SwiftSyntaxUtils.swift
[31/67] Compiling SwiftJavaMacros JavaClassMacro.swift
[32/67] Compiling SwiftJavaMacros JavaFieldMacro.swift
[33/67] Compiling SwiftJavaMacros JavaMethodMacro.swift
[34/67] Compiling SwiftJavaJNICore JavaValue+Array.swift
[35/67] Compiling SwiftJavaJNICore JavaValue+Bool.swift
[36/67] Emitting module SwiftJavaMacros
[37/68] Wrapping AST for SwiftJavaMacros for debugging
[38/68] Write Objects.LinkFileList
[39/68] Linking SwiftJavaMacros-tool
[41/68] 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>
[42/68] 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>
[43/68] Compiling SwiftJavaJNICore JavaType+JNI.swift
[44/68] Compiling SwiftJavaJNICore JavaType+JavaSource.swift
[45/68] Compiling SwiftJavaJNICore JavaType+SwiftNames.swift
[46/68] Compiling SwiftJavaJNICore JNIError.swift
[47/68] Compiling SwiftJavaJNICore JavaAnnotation.swift
[48/68] Compiling SwiftJavaJNICore JavaDemanglingError.swift
[49/68] Compiling SwiftJavaJNICore JavaType.swift
[50/68] Compiling SwiftJavaJNICore JavaValue.swift
[51/68] Compiling SwiftJavaJNICore Mangling.swift
[52/68] 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 |   }
[53/68] 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 |   }
[54/68] 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 |   }
[57/68] Compiling SwiftJavaJNICore JavaValue+FloatingPoint.swift
[58/68] Compiling SwiftJavaJNICore JavaValue+Integers.swift
[59/68] Compiling SwiftJavaJNICore JavaValue+String.swift
[60/68] Compiling SwiftJavaJNICore UnsafeRawBufferPointer+getJNIValue.swift
[61/68] 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 |
[62/68] 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 |
[63/68] 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.3 wasm