Build Information
Failed to build Kotlin, reference master (88a9bb), with Swift 6.3 for Wasm on 18 Apr 2026 15:58:09 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>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/PureSwift/Kotlin.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/Kotlin
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 88a9bb9 Update dependencies
Cloned https://github.com/PureSwift/Kotlin.git
Revision (git rev-parse @):
88a9bb94d156ef95d177bc6a65580dfacdda4b13
SUCCESS checkout https://github.com/PureSwift/Kotlin.git at master
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/PureSwift/Kotlin.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.23s)
Fetching https://github.com/PureSwift/JavaLang.git
[1/3147] Fetching javalang
Fetched https://github.com/PureSwift/JavaLang.git from cache (0.33s)
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/apple/swift-collections
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/apple/swift-log
[1/23569] Fetching swift-collections
[1651/30204] Fetching swift-collections, swift-log
[2182/33111] Fetching swift-collections, swift-log, swift-subprocess
[6763/108094] Fetching swift-collections, swift-log, swift-subprocess, swift-syntax
Fetched https://github.com/apple/swift-log from cache (0.91s)
[12056/101459] Fetching swift-collections, swift-subprocess, swift-syntax
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/apple/swift-system
Fetched https://github.com/swiftlang/swift-subprocess.git from cache (2.29s)
[76058/98552] Fetching swift-collections, swift-syntax
Fetched https://github.com/apple/swift-collections from cache (2.33s)
[53238/74983] Fetching swift-syntax
[74984/92512] Fetching swift-syntax, swift-argument-parser
[75861/98113] Fetching swift-syntax, swift-argument-parser, swift-system
Fetched https://github.com/apple/swift-system from cache (2.27s)
Fetched https://github.com/apple/swift-argument-parser from cache (2.29s)
Fetched https://github.com/swiftlang/swift-syntax from cache (7.11s)
Computing version for https://github.com/swiftlang/swift-subprocess.git
Computed https://github.com/swiftlang/swift-subprocess.git at 0.4.0 (7.80s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.3.0 (1.46s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 603.0.0 (2.42s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.6.4 (0.44s)
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.40s)
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/PureSwift/JavaLang.git
Working copy of https://github.com/PureSwift/JavaLang.git resolved at master (1b7320a)
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.12.0
Creating working copy for https://github.com/swiftlang/swift-java-jni-core
Working copy of https://github.com/swiftlang/swift-java-jni-core resolved at 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/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 603.0.0
Creating working copy for https://github.com/swiftlang/swift-java.git
Working copy of https://github.com/swiftlang/swift-java.git resolved at main (347c921)
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
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.41s)
[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 SwiftSyntax601
[24/87] Compiling SwiftSyntax601 Empty.swift
[25/88] Emitting module SwiftSyntax509
[26/88] Compiling SwiftSyntax509 Empty.swift
[28/89] Wrapping AST for SwiftSyntax601 for debugging
[30/89] Emitting module SwiftSyntax600
[31/89] Compiling SwiftSyntax600 Empty.swift
[32/90] Compiling SwiftSyntax510 Empty.swift
[33/90] Emitting module SwiftSyntax510
[35/91] Compiling SystemPackage FilePathSyntax.swift
[36/91] Compiling SystemPackage FilePathTemp.swift
[37/91] Compiling SystemPackage FilePathTempPosix.swift
[38/91] Compiling SystemPackage FilePathTempWindows.swift
[39/91] Wrapping AST for SwiftSyntax509 for debugging
[41/91] Emitting module SwiftSyntax603
[42/91] Compiling SwiftSyntax603 Empty.swift
[43/92] Emitting module SwiftSyntax602
[44/92] Compiling SwiftSyntax602 Empty.swift
[44/93] Wrapping AST for SwiftSyntax600 for debugging
[45/93] Wrapping AST for SwiftSyntax510 for debugging
[48/93] Compiling SystemPackage Errno.swift
[49/93] Compiling SystemPackage ErrnoWindows.swift
[50/93] Compiling SystemPackage FileDescriptor.swift
[51/93] Compiling SystemPackage FileHelpers.swift
[52/93] Compiling SystemPackage FileOperations.swift
[53/93] Compiling SystemPackage FilePath.swift
[54/93] Compiling SystemPackage FilePathComponentView.swift
[55/93] Compiling SystemPackage FilePathComponents.swift
[56/93] Compiling SystemPackage FilePathParsing.swift
[57/93] Compiling SystemPackage FilePathString.swift
[58/93] Wrapping AST for SwiftSyntax603 for debugging
[59/93] Wrapping AST for SwiftSyntax602 for debugging
[61/156] Compiling SwiftSyntax SyntaxChildren.swift
[62/156] Compiling SwiftSyntax SyntaxCollection.swift
[63/156] Compiling SwiftSyntax SyntaxHashable.swift
[64/156] Compiling SwiftSyntax SyntaxIdentifier.swift
[65/156] Compiling SwiftSyntax Identifier.swift
[66/156] Compiling SwiftSyntax MemoryLayout.swift
[67/156] Compiling SwiftSyntax MissingNodeInitializers.swift
[68/156] Compiling SwiftSyntax RawSyntax.swift
[69/156] Compiling SwiftSyntax TokenKind.swift
[70/156] Compiling SwiftSyntax Tokens.swift
[71/156] Compiling SwiftSyntax TriviaPieces.swift
[72/156] Compiling SwiftSyntax RawSyntaxNodesAB.swift
[73/156] Compiling SwiftSyntax SyntaxNodeStructure.swift
[74/156] Compiling SwiftSyntax SyntaxProtocol.swift
[75/156] Compiling SwiftSyntax SyntaxText.swift
[76/156] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[77/156] Compiling SwiftSyntax TokenDiagnostic.swift
[78/156] Compiling SwiftSyntax TokenSequence.swift
[79/156] Compiling SwiftSyntax TokenSyntax.swift
[80/156] Compiling SwiftSyntax Trivia.swift
[81/156] Compiling SwiftSyntax Utils.swift
[86/164] Compiling SwiftSyntax RawSyntaxArena.swift
[87/164] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[88/164] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[89/164] Compiling SwiftSyntax RawSyntaxTokenView.swift
[90/164] Compiling SwiftSyntax SourceEdit.swift
[91/164] Compiling SwiftSyntax SourceLength.swift
[92/164] Compiling SwiftSyntax SourceLocation.swift
[93/164] Compiling SwiftSyntax SourcePresence.swift
[94/164] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[95/164] Compiling SwiftSyntax Syntax.swift
[105/164] Compiling SwiftSyntax SyntaxRewriter.swift
[106/164] Compiling SwiftSyntax SyntaxTraits.swift
[107/164] Compiling SwiftSyntax SyntaxVisitor.swift
[108/165] Wrapping AST for SystemPackage for debugging
[110/187] Emitting module Subprocess
[111/189] Compiling Subprocess Input+Foundation.swift
[112/189] Compiling Subprocess Output+Foundation.swift
[113/189] Compiling Subprocess Span+SubprocessFoundation.swift
[114/189] Compiling Subprocess Subprocess+Windows.swift
[115/189] Compiling Subprocess Result.swift
[116/189] Compiling Subprocess Span+Subprocess.swift
[117/189] Compiling Subprocess Teardown.swift
[118/189] Compiling Subprocess Thread.swift
[119/189] Compiling Subprocess API.swift
[120/189] Compiling Subprocess AsyncBufferSequence.swift
[121/189] Compiling Subprocess Buffer.swift
[122/189] Compiling Subprocess Subprocess+Darwin.swift
[123/189] Compiling Subprocess Subprocess+Linux.swift
[124/189] Compiling Subprocess Subprocess+Unix.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 Configuration.swift
[132/189] Compiling Subprocess Error.swift
[133/189] Compiling Subprocess Execution.swift
[134/190] Wrapping AST for Subprocess for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[136/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 {
[137/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 {
[139/192] Emitting module SwiftSyntax
[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
[158/192] Compiling SwiftSyntax RawSyntaxNodesEF.swift
[159/192] Compiling SwiftSyntax RawSyntaxNodesGHI.swift
[160/192] Compiling SwiftSyntax RawSyntaxNodesJKLMN.swift
[161/192] Compiling SwiftSyntax RawSyntaxNodesOP.swift
[162/192] Compiling SwiftSyntax RawSyntaxNodesQRS.swift
[163/192] Compiling SwiftSyntax RawSyntaxNodesTUVWXYZ.swift
[164/192] Compiling SwiftSyntax RawSyntaxValidation.swift
[165/192] Compiling SwiftSyntax SyntaxNodesAB.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/194] Wrapping AST for SwiftSyntax for debugging
[185/252] Compiling SwiftDiagnostics DiagnosticDecorator.swift
[186/253] Emitting module SwiftDiagnostics
[187/253] Compiling SwiftDiagnostics Message.swift
[188/253] Compiling SwiftDiagnostics Note.swift
[189/253] Compiling SwiftParser CharacterInfo.swift
[190/253] Compiling SwiftParser CollectionNodes+Parsable.swift
[191/253] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[192/253] Compiling SwiftBasicFormat Syntax+Extensions.swift
[193/253] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[194/253] Emitting module SwiftBasicFormat
[195/253] Compiling SwiftParser Attributes.swift
[196/253] Compiling SwiftParser Availability.swift
[197/253] Compiling SwiftDiagnostics FixIt.swift
[198/253] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[199/253] Compiling SwiftBasicFormat InferIndentation.swift
[200/253] Compiling SwiftBasicFormat Indenter.swift
[201/253] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[202/254] Wrapping AST for SwiftDiagnostics for debugging
[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 Lexeme.swift
[214/260] Compiling SwiftParser LexemeSequence.swift
[215/260] Compiling SwiftParser Lexer.swift
[216/260] Compiling SwiftParser RegexLiteralLexer.swift
[217/260] Compiling SwiftParser UnicodeScalarExtensions.swift
[218/260] Compiling SwiftParser Lookahead.swift
[219/260] Emitting module SwiftParser
[224/260] Compiling SwiftParser CompilerFiles.swift
[225/260] Compiling SwiftParser Declarations.swift
[226/260] Compiling SwiftParser LoopProgressCondition.swift
[227/260] Compiling SwiftParser Modifiers.swift
[228/260] Compiling SwiftParser Names.swift
[229/260] Compiling SwiftParser Nominals.swift
[230/260] Compiling SwiftParser Parameters.swift
[231/260] Compiling SwiftParser ParseSourceFile.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
[243/260] Compiling SwiftParser ExperimentalFeatures.swift
[244/260] Compiling SwiftParser IsLexerClassified.swift
[245/260] Compiling SwiftParser LayoutNodes+Parsable.swift
[246/260] Compiling SwiftParser Parser+TokenSpecSet.swift
[247/260] Compiling SwiftParser TokenSpecStaticMembers.swift
[248/260] Compiling SwiftParser Directives.swift
[249/260] Compiling SwiftParser ExpressionInterpretedAsVersionTuple.swift
[250/260] Compiling SwiftParser Expressions.swift
[251/260] Compiling SwiftParser IncrementalParseTransition.swift
[252/260] Compiling SwiftParser IsValidIdentifier.swift
[253/260] Compiling SwiftParser Cursor.swift
[254/267] Wrapping AST for SwiftParser for debugging
[256/284] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[257/284] Compiling SwiftParserDiagnostics PresenceUtils.swift
[258/285] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[259/286] Compiling SwiftOperators SyntaxSynthesis.swift
[260/286] Compiling SwiftOperators PrecedenceGroup.swift
[261/286] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[262/286] Compiling SwiftOperators OperatorTable.swift
[263/286] Compiling SwiftOperators PrecedenceGraph.swift
[264/286] Compiling SwiftOperators OperatorTable+Semantics.swift
[265/286] Compiling SwiftParserDiagnostics DiagnosticExtensions.swift
[266/286] Compiling SwiftParserDiagnostics LexerDiagnosticMessages.swift
[267/286] Emitting module SwiftOperators
[268/286] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[269/286] Compiling SwiftParserDiagnostics Utils.swift
[270/286] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[271/286] Compiling SwiftOperators OperatorTable+Folding.swift
[272/287] Wrapping AST for SwiftOperators for debugging
[276/287] Compiling SwiftParserDiagnostics MissingNodesError.swift
[277/287] Compiling SwiftParserDiagnostics MissingTokenError.swift
[278/287] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[279/287] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[282/287] Emitting module SwiftParserDiagnostics
[283/288] Wrapping AST for SwiftParserDiagnostics for debugging
[285/303] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[286/303] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[287/304] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[288/304] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[289/304] Compiling SwiftSyntaxBuilder Indenter.swift
[290/304] Compiling SwiftSyntaxBuilder ListBuilder.swift
[291/304] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[292/304] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[293/304] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[294/304] Emitting module SwiftSyntaxBuilder
[295/304] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[296/304] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[297/304] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[298/304] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[299/304] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[300/304] Compiling SwiftSyntaxBuilder ResultBuilders.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] Emitting module SwiftIfConfig
[313/321] Compiling SwiftIfConfig ConfiguredRegions.swift
[314/321] Compiling SwiftIfConfig IfConfigDecl+IfConfig.swift
[315/321] Compiling SwiftIfConfig ActiveClauseEvaluator.swift
[316/321] Compiling SwiftIfConfig ActiveSyntaxRewriter.swift
[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/30] Write sources
[20/30] Compiling CSwiftJavaJNI dummy.c
[21/30] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[23/63] 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>
[24/65] Compiling SwiftJavaMacros MacroErrors.swift
[25/65] Compiling SwiftJavaMacros SwiftJNIMacrosPlugin.swift
[26/66] Compiling SwiftJavaMacros SwiftSyntaxUtils.swift
[27/66] Compiling SwiftJavaMacros JavaClassMacro.swift
[28/66] Compiling SwiftJavaMacros JavaExportMacro.swift
[29/66] Compiling SwiftJavaJNICore JavaValue+Array.swift
[30/66] Compiling SwiftJavaJNICore JavaValue+Bool.swift
[31/66] Emitting module SwiftJavaMacros
[32/66] Compiling SwiftJavaMacros JavaFieldMacro.swift
[33/66] Compiling SwiftJavaMacros JavaMethodMacro.swift
[34/67] Wrapping AST for SwiftJavaMacros for debugging
[35/67] Write Objects.LinkFileList
[36/67] Linking SwiftJavaMacros-tool
[38/67] Emitting module Kotlin
[39/67] Compiling Kotlin Kotlin.swift
[41/68] Compiling SwiftJavaJNICore JavaType+JNI.swift
[42/68] Compiling SwiftJavaJNICore JavaType+JavaSource.swift
[43/68] Compiling SwiftJavaJNICore JavaType+SwiftNames.swift
[44/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>
[45/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>
[48/68] Compiling SwiftJavaJNICore JavaValue+FloatingPoint.swift
[49/68] Compiling SwiftJavaJNICore JNIError.swift
[50/68] Compiling SwiftJavaJNICore JavaAnnotation.swift
[51/68] Compiling SwiftJavaJNICore JavaDemanglingError.swift
[52/68] Compiling SwiftJavaJNICore JavaType.swift
[53/68] Compiling SwiftJavaJNICore JavaValue.swift
[54/68] Compiling SwiftJavaJNICore Mangling.swift
[55/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 |
[56/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 |
[57/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 |
[58/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 | }
[59/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 | }
[60/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 | }
[61/68] Compiling SwiftJavaJNICore JavaValue+Integers.swift
[62/68] Compiling SwiftJavaJNICore JavaValue+String.swift
[63/68] Compiling SwiftJavaJNICore UnsafeRawBufferPointer+getJNIValue.swift
BUILD FAILURE 6.3 wasm