Build Information
Failed to build JavaLang, reference master (1b7320), with Swift 6.2 for Wasm on 2 May 2026 08:09:06 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/stackotter/SwiftJavaLang.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/SwiftJavaLang
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 1b7320a Update `JavaConsumer`
Cloned https://github.com/stackotter/SwiftJavaLang.git
Revision (git rev-parse @):
1b7320afd8d40a669422ee61d5335ae6d647dce5
SUCCESS checkout https://github.com/stackotter/SwiftJavaLang.git at master
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/stackotter/SwiftJavaLang.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:2a8b2d9e022a9894c61e0736af7cdaa1ee64c002dbb133a55c0d7e8980b3ad16
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest
Fetching https://github.com/swiftlang/swift-java.git
[1/26137] Fetching swift-java
Fetched https://github.com/swiftlang/swift-java.git from cache (1.86s)
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.35s)
Fetching https://github.com/swiftlang/swift-subprocess.git
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/apple/swift-log
Fetching https://github.com/apple/swift-collections
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/apple/swift-system
[1/17557] Fetching swift-argument-parser
[177/23158] Fetching swift-argument-parser, swift-system
[1481/47200] Fetching swift-argument-parser, swift-system, swift-collections
[2450/54010] Fetching swift-argument-parser, swift-system, swift-collections, swift-log
[11151/57085] Fetching swift-argument-parser, swift-system, swift-collections, swift-log, swift-subprocess
[22749/132123] Fetching swift-argument-parser, swift-system, swift-collections, swift-log, swift-subprocess, swift-syntax
Fetched https://github.com/apple/swift-system from cache (0.99s)
[18768/126522] Fetching swift-argument-parser, swift-collections, swift-log, swift-subprocess, swift-syntax
Fetched https://github.com/apple/swift-log from cache (10.09s)
Fetched https://github.com/swiftlang/swift-subprocess.git from cache (10.11s)
Fetched https://github.com/apple/swift-argument-parser from cache (10.16s)
Fetched https://github.com/apple/swift-collections from cache (10.26s)
Fetched https://github.com/swiftlang/swift-syntax from cache (10.30s)
Computing version for https://github.com/swiftlang/swift-subprocess.git
Computed https://github.com/swiftlang/swift-subprocess.git at 0.4.0 (11.21s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 603.0.1 (9.92s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.4.1 (1.13s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.6.4 (1.41s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.7.1 (0.76s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.12.0 (0.70s)
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/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/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 603.0.1
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.6.4
Creating working copy for https://github.com/apple/swift-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.4.1
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-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.7.1
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.12.0
[0/40] Write sources
[17/40] Compiling _SwiftSyntaxCShims PlatformMutex.c
[18/40] Compiling CSystem shims.c
[19/40] Write swift-version-24593BA9C3E375BF.txt
[20/40] Compiling _SubprocessCShims process_shims.c
[22/83] Emitting module SwiftSyntax600
[23/83] Compiling SwiftSyntax600 Empty.swift
[24/84] Compiling SwiftSyntax603 Empty.swift
[25/84] Emitting module SwiftSyntax603
[26/85] Emitting module SwiftSyntax509
[27/85] Compiling SwiftSyntax509 Empty.swift
[28/86] Emitting module SwiftSyntax601
[29/86] Compiling SwiftSyntax601 Empty.swift
[31/87] Compiling SystemPackage Errno.swift
[32/87] Compiling SystemPackage ErrnoWindows.swift
[33/87] Compiling SystemPackage FileDescriptor.swift
[34/87] Compiling SystemPackage FileHelpers.swift
[35/87] Compiling SystemPackage FileOperations.swift
[38/91] Emitting module SwiftSyntax602
[39/91] Compiling SwiftSyntax602 Empty.swift
[42/92] Compiling SystemPackage FilePath.swift
[43/92] Compiling SystemPackage FilePathComponentView.swift
[44/92] Compiling SystemPackage FilePathComponents.swift
[45/92] Compiling SystemPackage FilePathParsing.swift
[46/92] Compiling SystemPackage FilePathString.swift
[46/92] Wrapping AST for SwiftSyntax600 for debugging
[47/92] Wrapping AST for SwiftSyntax603 for debugging
[48/92] Wrapping AST for SwiftSyntax509 for debugging
[50/92] Emitting module SwiftSyntax510
[51/92] Compiling SwiftSyntax510 Empty.swift
[52/92] Compiling SystemPackage FilePathSyntax.swift
[53/92] Compiling SystemPackage FilePathTemp.swift
[54/92] Compiling SystemPackage FilePathTempPosix.swift
[55/92] Compiling SystemPackage FilePathTempWindows.swift
[56/92] Compiling SystemPackage FilePathWindows.swift
[57/92] Compiling SystemPackage FilePermissions.swift
[58/92] Compiling SystemPackage IOCompletion.swift
[59/92] Compiling SystemPackage IORequest.swift
[60/92] Emitting module SystemPackage
[60/93] Wrapping AST for SwiftSyntax601 for debugging
[61/93] Wrapping AST for SwiftSyntax602 for debugging
[63/93] Wrapping AST for SwiftSyntax510 for debugging
[65/156] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[66/156] Compiling SwiftSyntax Syntax.swift
[67/156] Compiling SwiftSyntax SyntaxChildren.swift
[68/156] Compiling SwiftSyntax SyntaxCollection.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 SourceEdit.swift
[74/156] Compiling SwiftSyntax SourceLength.swift
[75/156] Compiling SwiftSyntax SourceLocation.swift
[76/156] Compiling SwiftSyntax SourcePresence.swift
[77/156] Compiling SwiftSyntax SyntaxNodeStructure.swift
[78/156] Compiling SwiftSyntax SyntaxProtocol.swift
[79/156] Compiling SwiftSyntax SyntaxText.swift
[80/156] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[81/156] Compiling SwiftSyntax TokenDiagnostic.swift
[82/156] Compiling SwiftSyntax TokenSequence.swift
[83/156] Compiling SwiftSyntax TokenSyntax.swift
[84/156] Compiling SwiftSyntax Trivia.swift
[85/156] Compiling SwiftSyntax Utils.swift
[90/164] Compiling SwiftSyntax RawSyntaxArena.swift
[91/164] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[92/164] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[93/164] Compiling SwiftSyntax RawSyntaxTokenView.swift
[102/164] Compiling SwiftSyntax SyntaxHashable.swift
[103/164] Compiling SwiftSyntax SyntaxIdentifier.swift
[104/164] Compiling SwiftSyntax AbsolutePosition.swift
[105/164] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[106/164] Compiling SwiftSyntax ArenaAllocatedBuffer.swift
[107/164] Compiling SwiftSyntax Assert.swift
[108/164] Compiling SwiftSyntax BumpPtrAllocator.swift
[109/164] Compiling SwiftSyntax CommonAncestor.swift
[110/164] Compiling SwiftSyntax Convenience.swift
[111/164] Compiling SwiftSyntax CustomTraits.swift
[112/164] Compiling SwiftSyntax EditorPlaceholder.swift
[117/165] Wrapping AST for SystemPackage for debugging
[119/187] Compiling Subprocess Subprocess+Windows.swift
[120/187] Compiling Subprocess Result.swift
[121/187] Compiling Subprocess Span+Subprocess.swift
[122/187] Compiling Subprocess Input+Foundation.swift
[123/187] Compiling Subprocess Output+Foundation.swift
[124/187] Compiling Subprocess Span+SubprocessFoundation.swift
[125/189] Compiling Subprocess AsyncIO+Dispatch.swift
[126/189] Compiling Subprocess AsyncIO+Linux.swift
[127/189] Compiling Subprocess AsyncIO+Windows.swift
[128/189] Compiling Subprocess Input.swift
[129/189] Compiling Subprocess Output.swift
[130/189] Compiling Subprocess Subprocess+BSD.swift
[131/189] Compiling Subprocess Subprocess+Darwin.swift
[132/189] Compiling Subprocess Subprocess+Linux.swift
[133/189] Compiling Subprocess Subprocess+Unix.swift
[134/189] Compiling Subprocess Teardown.swift
[135/189] Compiling Subprocess Thread.swift
[136/189] Emitting module Subprocess
[137/189] Compiling Subprocess Configuration.swift
[138/189] Compiling Subprocess Error.swift
[139/189] Compiling Subprocess Execution.swift
[140/189] Compiling Subprocess API.swift
[141/189] Compiling Subprocess AsyncBufferSequence.swift
[142/189] Compiling Subprocess Buffer.swift
[143/190] Wrapping AST for Subprocess for debugging
[145/190] Emitting module SwiftSyntax
[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 SyntaxRewriter.swift
[155/190] Compiling SwiftSyntax SyntaxTraits.swift
[156/190] Compiling SwiftSyntax SyntaxVisitor.swift
[157/190] Compiling SwiftSyntax TokenKind.swift
[158/190] Compiling SwiftSyntax Tokens.swift
[159/190] Compiling SwiftSyntax TriviaPieces.swift
[160/190] Compiling SwiftSyntax RawSyntaxNodesAB.swift
[161/190] Compiling SwiftSyntax RawSyntaxNodesC.swift
[162/190] Compiling SwiftSyntax RawSyntaxNodesD.swift
[163/190] Compiling SwiftSyntax ChildNameForKeyPath.swift
[164/190] Compiling SwiftSyntax Keyword.swift
[165/190] Compiling SwiftSyntax RenamedChildrenCompatibility.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/191] Wrapping AST for SwiftSyntax for debugging
[182/250] Compiling SwiftDiagnostics Message.swift
[183/250] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[184/251] Compiling SwiftParser Attributes.swift
[185/251] Compiling SwiftParser Availability.swift
[186/251] Emitting module SwiftDiagnostics
[187/251] Compiling SwiftParser CharacterInfo.swift
[188/251] Compiling SwiftParser CollectionNodes+Parsable.swift
[189/251] Compiling SwiftBasicFormat Syntax+Extensions.swift
[190/251] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[191/251] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[192/251] Compiling SwiftBasicFormat InferIndentation.swift
[193/251] Compiling SwiftBasicFormat Indenter.swift
[194/251] Compiling SwiftDiagnostics Note.swift
[195/251] Compiling SwiftDiagnostics FixIt.swift
[196/251] Compiling SwiftDiagnostics DiagnosticDecorator.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
[202/253] Wrapping AST for SwiftBasicFormat for debugging
[204/253] Emitting module SwiftParser
[205/253] Compiling SwiftParser Lexeme.swift
[206/253] Compiling SwiftParser LexemeSequence.swift
[207/253] Compiling SwiftParser Lexer.swift
[208/253] Compiling SwiftParser RegexLiteralLexer.swift
[209/253] Compiling SwiftParser UnicodeScalarExtensions.swift
[210/253] Compiling SwiftParser Lookahead.swift
[211/258] Compiling SwiftParser StringLiterals.swift
[212/258] Compiling SwiftParser SwiftParserCompatibility.swift
[213/258] Compiling SwiftParser SwiftVersion.swift
[214/258] Compiling SwiftParser SyntaxUtils.swift
[215/258] Compiling SwiftParser TokenConsumer.swift
[216/258] Compiling SwiftParser TokenPrecedence.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
[226/258] Compiling SwiftParser CompilerFiles.swift
[227/258] Compiling SwiftParser Declarations.swift
[228/258] Compiling SwiftParser LoopProgressCondition.swift
[229/258] Compiling SwiftParser Modifiers.swift
[230/258] Compiling SwiftParser Names.swift
[231/258] Compiling SwiftParser Nominals.swift
[232/258] Compiling SwiftParser Parameters.swift
[233/258] Compiling SwiftParser ParseSourceFile.swift
[234/258] Compiling SwiftParser Parser.swift
[235/258] Compiling SwiftParser Patterns.swift
[236/258] Compiling SwiftParser Recovery.swift
[237/258] Compiling SwiftParser Specifiers.swift
[238/258] Compiling SwiftParser Statements.swift
[239/258] Compiling SwiftParser StringLiteralRepresentedLiteralValue.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/270] Wrapping AST for SwiftParser for debugging
[253/282] Compiling SwiftOperators PrecedenceGraph.swift
[254/282] Compiling SwiftOperators PrecedenceGroup.swift
[255/283] Compiling SwiftOperators OperatorTable.swift
[256/283] Compiling SwiftOperators OperatorTable+Semantics.swift
[257/283] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[258/283] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[259/283] Compiling SwiftParserDiagnostics MissingNodesError.swift
[260/283] Compiling SwiftParserDiagnostics MissingTokenError.swift
[261/283] Emitting module SwiftOperators
[262/283] Compiling SwiftOperators OperatorTable+Folding.swift
[263/283] Compiling SwiftOperators SyntaxSynthesis.swift
[265/284] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[266/284] Compiling SwiftParserDiagnostics Utils.swift
[267/284] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[268/284] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[268/285] Wrapping AST for SwiftOperators for debugging
[270/285] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[271/285] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[272/285] Compiling SwiftParserDiagnostics PresenceUtils.swift
[273/285] Compiling SwiftParserDiagnostics DiagnosticExtensions.swift
[274/285] Compiling SwiftParserDiagnostics LexerDiagnosticMessages.swift
[277/285] Emitting module SwiftParserDiagnostics
[280/286] Wrapping AST for SwiftParserDiagnostics for debugging
[282/301] Emitting module SwiftSyntaxBuilder
[283/302] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[284/302] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[285/302] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[286/302] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[287/302] Compiling SwiftSyntaxBuilder Indenter.swift
[288/302] Compiling SwiftSyntaxBuilder ListBuilder.swift
[289/302] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[290/302] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[291/302] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[292/302] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[293/302] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[294/302] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[295/302] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[296/302] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[297/302] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[298/303] Wrapping AST for SwiftSyntaxBuilder for debugging
[300/318] Compiling SwiftIfConfig SyntaxProtocol+IfConfig.swift
[301/318] Compiling SwiftIfConfig VersionTuple+Parsing.swift
[302/319] Compiling SwiftIfConfig StaticBuildConfiguration.swift
[303/319] Compiling SwiftIfConfig SyntaxLiteralUtils.swift
[304/319] Compiling SwiftIfConfig VersionTuple.swift
[305/319] Compiling SwiftIfConfig IfConfigFunctions.swift
[306/319] Compiling SwiftIfConfig IfConfigRegionState.swift
[307/319] Compiling SwiftIfConfig ActiveSyntaxVisitor.swift
[308/319] Compiling SwiftIfConfig BuildConfiguration.swift
[309/319] Compiling SwiftIfConfig ConfiguredRegions.swift
[310/319] Compiling SwiftIfConfig IfConfigDecl+IfConfig.swift
[311/319] Emitting module SwiftIfConfig
[312/319] Compiling SwiftIfConfig IfConfigDiagnostic.swift
[313/319] Compiling SwiftIfConfig IfConfigEvaluation.swift
[314/319] Compiling SwiftIfConfig ActiveClauseEvaluator.swift
[315/319] Compiling SwiftIfConfig ActiveSyntaxRewriter.swift
[316/320] Wrapping AST for SwiftIfConfig for debugging
[318/322] Emitting module StaticBuildConfigPluginExecutable
[319/322] Compiling StaticBuildConfigPluginExecutable StaticBuildConfigPluginExecutable.swift
[320/323] Wrapping AST for StaticBuildConfigPluginExecutable for debugging
[321/323] Write Objects.LinkFileList
[322/323] Linking StaticBuildConfigPluginExecutable-tool
[1/1] Compiling plugin _StaticBuildConfigPlugin
[2/2] Compiling plugin JExtractSwiftPlugin
[3/3] Compiling plugin SwiftJavaPlugin
[4/4] Compiling plugin JavaCompilerPlugin
[5/5] Compiling plugin GenerateManual
[6/6] Compiling plugin GenerateDoccReference
Building for debugging...
[6/70] Write sources
[41/70] Compiling CSwiftJavaJNI dummy.c
[42/70] Compiling _SwiftSyntaxCShims PlatformMutex.c
[43/70] Write swift-version-24593BA9C3E375BF.txt
[44/71] Wrapping AST for SwiftSyntax601 for debugging
[45/71] Wrapping AST for SwiftSyntax510 for debugging
[46/71] Wrapping AST for SwiftSyntax603 for debugging
[47/92] Wrapping AST for SwiftSyntax600 for debugging
[48/92] Wrapping AST for SwiftSyntax602 for debugging
[49/92] Wrapping AST for SwiftSyntax509 for debugging
[50/92] Wrapping AST for SwiftSyntax for debugging
[51/92] Wrapping AST for SwiftBasicFormat for debugging
[52/92] Wrapping AST for SwiftDiagnostics for debugging
[53/92] Wrapping AST for SwiftParser for debugging
[54/92] Wrapping AST for SwiftOperators for debugging
[55/92] Wrapping AST for SwiftParserDiagnostics for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[57/92] 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>
[57/94] Wrapping AST for SwiftSyntaxBuilder for debugging
[58/94] Wrapping AST for SwiftIfConfig for debugging
[60/111] Compiling SwiftSyntaxMacros CodeItemMacro.swift
[61/111] Compiling SwiftSyntaxMacros DeclarationMacro.swift
[62/113] Compiling SwiftSyntaxMacros Macro.swift
[63/113] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
[64/113] Compiling SwiftSyntaxMacros AccessorMacro.swift
[65/113] Compiling SwiftSyntaxMacros AttachedMacro.swift
[66/113] Compiling SwiftSyntaxMacros BodyMacro.swift
[67/113] Compiling SwiftSyntaxMacros ExpressionMacro.swift
[68/113] Compiling SwiftSyntaxMacros ExtensionMacro.swift
[69/113] Emitting module SwiftSyntaxMacros
[70/113] Compiling SwiftSyntaxMacros FreestandingMacro.swift
[71/113] Compiling SwiftSyntaxMacros Macro+Format.swift
[72/113] Compiling SwiftSyntaxMacros MemberMacro.swift
[73/113] Compiling SwiftSyntaxMacros PeerMacro.swift
[74/113] Compiling SwiftSyntaxMacros AbstractSourceLocation.swift
[75/113] Compiling SwiftSyntaxMacros MacroExpansionContext.swift
[76/113] Compiling SwiftSyntaxMacros MacroExpansionDiagnosticMessages.swift
[77/113] Compiling SwiftSyntaxMacros PreambleMacro.swift
[78/113] Compiling SwiftSyntaxMacros Syntax+LexicalContext.swift
[79/114] Wrapping AST for SwiftSyntaxMacros for debugging
[81/123] Compiling SwiftSyntaxMacroExpansion MacroSpec.swift
[82/124] Compiling SwiftSyntaxMacroExpansion BasicMacroExpansionContext.swift
[83/124] Compiling SwiftSyntaxMacroExpansion FunctionParameterUtils.swift
[84/124] Compiling SwiftSyntaxMacroExpansion MacroArgument.swift
[85/124] Compiling SwiftSyntaxMacroExpansion IndentationUtils.swift
[86/124] Compiling SwiftSyntaxMacroExpansion MacroExpansion.swift
[87/124] Emitting module SwiftSyntaxMacroExpansion
[88/124] Compiling SwiftSyntaxMacroExpansion MacroExpansionDiagnosticMessages.swift
[89/124] Compiling SwiftSyntaxMacroExpansion MacroReplacement.swift
[90/124] Compiling SwiftSyntaxMacroExpansion MacroSystem.swift
[91/130] Wrapping AST for SwiftSyntaxMacroExpansion for debugging
[93/137] 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/137] Compiling SwiftJavaJNICore ThreadLocalStorage.swift
/host/spi-builder-workspace/.build/checkouts/swift-java-jni-core/Sources/SwiftJavaJNICore/VirtualMachine/ThreadLocalStorage.swift:28:13: error: var '_globalTlsValue' is not concurrency-safe because it is nonisolated global shared mutable state [#MutableGlobalVariable]
26 |
27 | #if !(canImport(Darwin) || canImport(Bionic) || canImport(Glibc) || canImport(Musl) || canImport(WinSDK))
28 | private var _globalTlsValue: UnsafeMutableRawPointer?
| |- error: var '_globalTlsValue' is not concurrency-safe because it is nonisolated global shared mutable state [#MutableGlobalVariable]
| |- note: convert '_globalTlsValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_globalTlsValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | #endif
30 |
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[95/137] Compiling SwiftCompilerPluginMessageHandling LRUCache.swift
[96/137] Compiling SwiftCompilerPluginMessageHandling Macros.swift
[101/137] 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 | }
[102/137] 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 | }
[103/137] 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 | }
[104/137] Compiling SwiftCompilerPluginMessageHandling CompilerPluginMessageHandler.swift
[105/137] Compiling SwiftCompilerPluginMessageHandling Diagnostics.swift
[106/137] Compiling SwiftCompilerPluginMessageHandling JSONDecoding.swift
[107/137] Compiling SwiftCompilerPluginMessageHandling JSONEncoding.swift
[108/137] Compiling SwiftCompilerPluginMessageHandling CodingUtilities.swift
[109/137] Compiling SwiftCompilerPluginMessageHandling JSON.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 |
/host/spi-builder-workspace/.build/checkouts/swift-java-jni-core/Sources/SwiftJavaJNICore/VirtualMachine/JavaVirtualMachine.swift:442:22: error: cannot find 'dlsym' in scope
440 |
441 | private func symbol<T>(_ handle: DylibType, _ name: String) -> T? {
442 | guard let result = dlsym(handle, name) else {
| `- error: cannot find 'dlsym' in scope
443 | return nil
444 | }
/host/spi-builder-workspace/.build/checkouts/swift-java-jni-core/Sources/SwiftJavaJNICore/VirtualMachine/JavaVirtualMachine.swift:535:15: error: cannot find 'dlopen' in scope
533 | let dylib = LoadLibraryA(libjvmPath.path)
534 | #else
535 | let dylib = dlopen(libjvmPath.path, RTLD_NOW)
| `- error: cannot find 'dlopen' in scope
536 | #endif
537 |
/host/spi-builder-workspace/.build/checkouts/swift-java-jni-core/Sources/SwiftJavaJNICore/VirtualMachine/JavaVirtualMachine.swift:535:39: error: cannot find 'RTLD_NOW' in scope
533 | let dylib = LoadLibraryA(libjvmPath.path)
534 | #else
535 | let dylib = dlopen(libjvmPath.path, RTLD_NOW)
| `- error: cannot find 'RTLD_NOW' in scope
536 | #endif
537 |
/host/spi-builder-workspace/.build/checkouts/swift-java-jni-core/Sources/SwiftJavaJNICore/VirtualMachine/JavaVirtualMachine.swift:442:22: error: cannot find 'dlsym' in scope
440 |
441 | private func symbol<T>(_ handle: DylibType, _ name: String) -> T? {
442 | guard let result = dlsym(handle, name) else {
| `- error: cannot find 'dlsym' in scope
443 | return nil
444 | }
/host/spi-builder-workspace/.build/checkouts/swift-java-jni-core/Sources/SwiftJavaJNICore/VirtualMachine/JavaVirtualMachine.swift:535:15: error: cannot find 'dlopen' in scope
533 | let dylib = LoadLibraryA(libjvmPath.path)
534 | #else
535 | let dylib = dlopen(libjvmPath.path, RTLD_NOW)
| `- error: cannot find 'dlopen' in scope
536 | #endif
537 |
/host/spi-builder-workspace/.build/checkouts/swift-java-jni-core/Sources/SwiftJavaJNICore/VirtualMachine/JavaVirtualMachine.swift:535:39: error: cannot find 'RTLD_NOW' in scope
533 | let dylib = LoadLibraryA(libjvmPath.path)
534 | #else
535 | let dylib = dlopen(libjvmPath.path, RTLD_NOW)
| `- error: cannot find 'RTLD_NOW' in scope
536 | #endif
537 |
[118/137] Compiling SwiftCompilerPluginMessageHandling PluginMacroExpansionContext.swift
[119/137] Compiling SwiftCompilerPluginMessageHandling PluginMessages.swift
[120/137] Compiling SwiftCompilerPluginMessageHandling PluginMessageCompatibility.swift
BUILD FAILURE 6.2 wasm