Build Information
Failed to build SwiftAndroid, reference master (4c941b), with Swift 6.2 for Wasm on 10 Aug 2026 22:15:17 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344846-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 729ceb5fcd9493dc13ee340bc4f0908bd201f85d
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/pureswift/android.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/android
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 4c941bc Merge pull request #49 from PureSwift/feature/expand-catalog-demos
Cloned https://github.com/pureswift/android.git
Revision (git rev-parse @):
4c941bc19c5907e12c8aeadd61dc7bdf1eaf7671
SUCCESS checkout https://github.com/pureswift/android.git at master
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/pureswift/android.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344846-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:70428a4f4110aef5b17a27427e965f31cf3855e8cf1dfdc416ed61c780337965
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest
Fetching https://github.com/swiftlang/swift-java.git
[1/30884] Fetching swift-java
Fetched https://github.com/swiftlang/swift-java.git from cache (1.20s)
Fetching https://github.com/PureSwift/JavaLang.git
[1/3155] Fetching javalang
Fetched https://github.com/PureSwift/JavaLang.git from cache (1.01s)
Fetching https://github.com/PureSwift/Kotlin.git
[1/964] Fetching kotlin
Fetched https://github.com/PureSwift/Kotlin.git from cache (0.44s)
Fetching https://github.com/swiftlang/swift-java-jni-core
[1/607] Fetching swift-java-jni-core
Fetched https://github.com/swiftlang/swift-java-jni-core from cache (0.48s)
Fetching https://github.com/apple/swift-collections
Fetching https://github.com/apple/swift-log
Fetching https://github.com/swiftlang/swift-subprocess.git
Fetching https://github.com/swift-android-sdk/swift-android-native.git
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/apple/swift-system
[1/2011] Fetching swift-android-native
[162/6621] Fetching swift-android-native, swift-subprocess
[6622/13298] Fetching swift-android-native, swift-subprocess, swift-system
[9560/39878] Fetching swift-android-native, swift-subprocess, swift-system, swift-collections
[15160/47831] Fetching swift-android-native, swift-subprocess, swift-system, swift-collections, swift-log
Fetched https://github.com/apple/swift-system from cache (0.70s)
[9198/41154] Fetching swift-android-native, swift-subprocess, swift-collections, swift-log
Fetching https://github.com/apple/swift-argument-parser
[31587/117621] Fetching swift-android-native, swift-subprocess, swift-collections, swift-log, swift-syntax
[55684/135896] Fetching swift-android-native, swift-subprocess, swift-collections, swift-log, swift-syntax, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (0.79s)
[80153/117621] Fetching swift-android-native, swift-subprocess, swift-collections, swift-log, swift-syntax
Fetched https://github.com/swift-android-sdk/swift-android-native.git from cache (2.90s)
Fetched https://github.com/apple/swift-log from cache (2.90s)
Fetched https://github.com/swiftlang/swift-subprocess.git from cache (2.90s)
Fetched https://github.com/apple/swift-collections from cache (2.91s)
Fetched https://github.com/swiftlang/swift-syntax from cache (2.92s)
Computing version for https://github.com/swiftlang/swift-subprocess.git
Computed https://github.com/swiftlang/swift-subprocess.git at 0.4.0 (3.10s)
Computing version for https://github.com/swift-android-sdk/swift-android-native.git
Computed https://github.com/swift-android-sdk/swift-android-native.git at 2.1.0 (0.24s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.14s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 603.0.2 (0.94s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.6.0 (0.23s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.8.0 (0.17s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.15.0 (0.14s)
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.8.0
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.15.0
Creating working copy for https://github.com/swiftlang/swift-subprocess.git
Working copy of https://github.com/swiftlang/swift-subprocess.git resolved at 0.4.0
Creating working copy for https://github.com/swiftlang/swift-java.git
Working copy of https://github.com/swiftlang/swift-java.git resolved at main (70e6cca)
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.2
Creating working copy for https://github.com/PureSwift/Kotlin.git
Working copy of https://github.com/PureSwift/Kotlin.git resolved at master (88a9bb9)
Creating working copy for https://github.com/apple/swift-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.6.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.8.2
Creating working copy for https://github.com/PureSwift/JavaLang.git
Working copy of https://github.com/PureSwift/JavaLang.git resolved at master (1b7320a)
Creating working copy for https://github.com/swift-android-sdk/swift-android-native.git
Working copy of https://github.com/swift-android-sdk/swift-android-native.git resolved at 2.1.0
[0/40] Write sources
[17/40] Compiling CSystem shims.c
[18/40] Compiling _SubprocessCShims process_shims.c
[19/40] Compiling _SwiftSyntaxCShims PlatformMutex.c
[19/40] Write swift-version-24593BA9C3E375BF.txt
[22/89] Emitting module SwiftSyntax601
[23/89] Emitting module SystemPackage
[24/94] Emitting module SwiftSyntax600
[25/94] Compiling SwiftSyntax600 Empty.swift
[27/95] Emitting module SwiftSyntax603
[28/95] Compiling SwiftSyntax603 Empty.swift
[28/95] Wrapping AST for SwiftSyntax600 for debugging
[31/96] Compiling SwiftSyntax601 Empty.swift
[32/97] Compiling SystemPackage SystemString.swift
[33/97] Compiling SystemPackage Util+StringArray.swift
[34/97] Compiling SystemPackage Util.swift
[35/97] Compiling SystemPackage UtilConsumers.swift
[36/97] Compiling SystemPackage WinSDK+Overlay.swift
[37/97] Wrapping AST for SwiftSyntax603 for debugging
[39/97] Emitting module SwiftSyntax509
[40/97] Compiling SwiftSyntax509 Empty.swift
[40/98] Wrapping AST for SwiftSyntax601 for debugging
[42/98] Wrapping AST for SwiftSyntax509 for debugging
[44/98] Emitting module SwiftSyntax510
[45/98] Compiling SwiftSyntax510 Empty.swift
[47/99] Emitting module SwiftSyntax602
[48/99] Compiling SwiftSyntax602 Empty.swift
[48/99] Wrapping AST for SwiftSyntax510 for debugging
[50/100] Wrapping AST for SwiftSyntax602 for debugging
[52/163] Compiling SwiftSyntax SourceLength.swift
[53/163] Compiling SwiftSyntax SourceLocation.swift
[54/163] Compiling SwiftSyntax SourcePresence.swift
[55/163] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[56/163] Compiling SwiftSyntax Syntax.swift
[57/163] Compiling SwiftSyntax SyntaxChildren.swift
[58/163] Compiling SwiftSyntax TokenDiagnostic.swift
[59/163] Compiling SwiftSyntax TokenSequence.swift
[60/163] Compiling SwiftSyntax TokenSyntax.swift
[61/163] Compiling SwiftSyntax Trivia.swift
[62/163] Compiling SwiftSyntax Utils.swift
[63/163] Compiling SwiftSyntax RawSyntaxNodesD.swift
[64/163] Compiling SwiftSyntax SyntaxNodeStructure.swift
[65/163] Compiling SwiftSyntax SyntaxProtocol.swift
[66/163] Compiling SwiftSyntax SyntaxText.swift
[67/163] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[68/163] Compiling SwiftSyntax SyntaxCollection.swift
[69/163] Compiling SwiftSyntax SyntaxHashable.swift
[70/163] Compiling SwiftSyntax SyntaxIdentifier.swift
[71/163] Compiling SwiftSyntax AbsolutePosition.swift
[72/163] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[75/163] Compiling SwiftSyntax ArenaAllocatedBuffer.swift
[76/163] Compiling SwiftSyntax Assert.swift
[77/163] Compiling SwiftSyntax BumpPtrAllocator.swift
[78/163] Compiling SwiftSyntax CommonAncestor.swift
[79/163] Compiling SwiftSyntax Convenience.swift
[80/163] Compiling SwiftSyntax CustomTraits.swift
[81/163] Compiling SwiftSyntax EditorPlaceholder.swift
[93/171] Compiling SwiftSyntax SyntaxRewriter.swift
[94/171] Compiling SwiftSyntax SyntaxTraits.swift
[95/171] Compiling SwiftSyntax SyntaxVisitor.swift
[101/171] Compiling SwiftSyntax TokenKind.swift
[102/171] Compiling SwiftSyntax Tokens.swift
[103/171] Compiling SwiftSyntax TriviaPieces.swift
[104/171] Compiling SwiftSyntax RawSyntaxNodesAB.swift
[105/171] Compiling SwiftSyntax RawSyntaxNodesC.swift
[106/172] Wrapping AST for SystemPackage for debugging
[108/177] Compiling Subprocess API.swift
[109/177] Compiling Subprocess AsyncBufferSequence.swift
[110/178] Compiling Subprocess Buffer.swift
[111/178] Compiling Subprocess AsyncIO+Dispatch.swift
[112/179] Compiling Subprocess AsyncIO+Linux.swift
[113/179] Compiling Subprocess AsyncIO+Windows.swift
[117/194] Emitting module Subprocess
[121/196] Compiling Subprocess Subprocess+Windows.swift
[122/196] Compiling Subprocess Result.swift
[123/196] Compiling Subprocess Span+Subprocess.swift
[124/196] Compiling Subprocess Input+Foundation.swift
[125/196] Compiling Subprocess Output+Foundation.swift
[126/196] Compiling Subprocess Span+SubprocessFoundation.swift
[127/196] Compiling Subprocess Teardown.swift
[128/196] Compiling Subprocess Thread.swift
[129/196] Compiling Subprocess Configuration.swift
[130/196] Compiling Subprocess Error.swift
[131/196] Compiling Subprocess Execution.swift
[135/196] Compiling Subprocess Subprocess+Darwin.swift
[136/196] Compiling Subprocess Subprocess+Linux.swift
[137/196] Compiling Subprocess Subprocess+Unix.swift
[138/196] Compiling Subprocess Input.swift
[139/196] Compiling Subprocess Output.swift
[140/196] Compiling Subprocess Subprocess+BSD.swift
[141/197] Wrapping AST for Subprocess for debugging
[143/197] Emitting module SwiftSyntax
[153/197] Compiling SwiftSyntax RawSyntaxNodesEF.swift
[154/197] Compiling SwiftSyntax RawSyntaxNodesGHI.swift
[155/197] Compiling SwiftSyntax RawSyntaxNodesJKLMN.swift
[156/197] Compiling SwiftSyntax RawSyntaxNodesOP.swift
[157/197] Compiling SwiftSyntax RawSyntaxNodesQRS.swift
[158/197] Compiling SwiftSyntax RawSyntaxNodesTUVWXYZ.swift
[159/197] Compiling SwiftSyntax RawSyntaxValidation.swift
[160/197] Compiling SwiftSyntax SyntaxNodesAB.swift
[161/197] Compiling SwiftSyntax Identifier.swift
[162/197] Compiling SwiftSyntax MemoryLayout.swift
[163/197] Compiling SwiftSyntax MissingNodeInitializers.swift
[164/197] Compiling SwiftSyntax RawSyntax.swift
[165/197] Compiling SwiftSyntax RawSyntaxArena.swift
[166/197] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[167/197] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[168/197] Compiling SwiftSyntax RawSyntaxTokenView.swift
[169/197] Compiling SwiftSyntax SourceEdit.swift
[170/197] Compiling SwiftSyntax ChildNameForKeyPath.swift
[171/197] Compiling SwiftSyntax Keyword.swift
[172/197] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[173/197] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[174/197] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[175/197] Compiling SwiftSyntax SyntaxBaseNodes.swift
[176/197] Compiling SwiftSyntax SyntaxCollections.swift
[177/197] Compiling SwiftSyntax SyntaxEnum.swift
[178/197] Compiling SwiftSyntax SyntaxKind.swift
[179/197] Compiling SwiftSyntax SyntaxNodesC.swift
[180/197] Compiling SwiftSyntax SyntaxNodesD.swift
[181/197] Compiling SwiftSyntax SyntaxNodesEF.swift
[182/197] Compiling SwiftSyntax SyntaxNodesGHI.swift
[183/197] Compiling SwiftSyntax SyntaxNodesJKLMN.swift
[184/197] Compiling SwiftSyntax SyntaxNodesOP.swift
[185/197] Compiling SwiftSyntax SyntaxNodesQRS.swift
[186/197] Compiling SwiftSyntax SyntaxNodesTUVWXYZ.swift
[187/221] Wrapping AST for SwiftSyntax for debugging
[189/257] Compiling SwiftDiagnostics FixIt.swift
[190/258] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[191/258] Compiling SwiftParser Directives.swift
[192/258] Compiling SwiftParser ExpressionInterpretedAsVersionTuple.swift
[193/258] Emitting module SwiftDiagnostics
[194/258] Compiling SwiftDiagnostics Note.swift
[195/258] Compiling SwiftDiagnostics Message.swift
[196/258] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[197/258] Compiling SwiftParser Expressions.swift
[198/258] Compiling SwiftParser IncrementalParseTransition.swift
[199/258] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[200/258] Compiling SwiftDiagnostics DiagnosticDecorator.swift
[201/259] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[202/259] Compiling SwiftBasicFormat Syntax+Extensions.swift
[203/259] Compiling SwiftBasicFormat Indenter.swift
[204/259] Compiling SwiftBasicFormat InferIndentation.swift
[205/259] Wrapping AST for SwiftDiagnostics for debugging
[207/259] Compiling SwiftBasicFormat BasicFormat.swift
[208/259] Emitting module SwiftBasicFormat
[209/260] Wrapping AST for SwiftBasicFormat for debugging
[211/260] Compiling SwiftParser StringLiterals.swift
[212/260] Compiling SwiftParser SwiftParserCompatibility.swift
[213/260] Compiling SwiftParser SwiftVersion.swift
[214/260] Compiling SwiftParser SyntaxUtils.swift
[215/260] Compiling SwiftParser TokenConsumer.swift
[216/260] Compiling SwiftParser TokenPrecedence.swift
[217/265] Compiling SwiftParser Lexeme.swift
[218/265] Compiling SwiftParser LexemeSequence.swift
[219/265] Compiling SwiftParser Lexer.swift
[220/265] Compiling SwiftParser RegexLiteralLexer.swift
[221/265] Compiling SwiftParser UnicodeScalarExtensions.swift
[222/265] Compiling SwiftParser Lookahead.swift
[223/265] Compiling SwiftParser Parser.swift
[224/265] Compiling SwiftParser Patterns.swift
[225/265] Compiling SwiftParser Recovery.swift
[226/265] Compiling SwiftParser Specifiers.swift
[227/265] Compiling SwiftParser Statements.swift
[228/265] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[229/265] Compiling SwiftParser LoopProgressCondition.swift
[230/265] Compiling SwiftParser Modifiers.swift
[231/265] Compiling SwiftParser Names.swift
[232/265] Compiling SwiftParser Nominals.swift
[233/265] Compiling SwiftParser Parameters.swift
[234/265] Compiling SwiftParser ParseSourceFile.swift
[235/265] Compiling SwiftParser TokenSpec.swift
[236/265] Compiling SwiftParser TokenSpecSet.swift
[237/265] Compiling SwiftParser TopLevel.swift
[238/265] Compiling SwiftParser TriviaParser.swift
[239/265] Compiling SwiftParser Types.swift
[240/265] Emitting module SwiftParser
[245/265] Compiling SwiftParser IsValidIdentifier.swift
[246/265] Compiling SwiftParser Cursor.swift
[247/265] Compiling SwiftParser Attributes.swift
[248/265] Compiling SwiftParser Availability.swift
[249/265] Compiling SwiftParser CharacterInfo.swift
[250/265] Compiling SwiftParser CollectionNodes+Parsable.swift
[251/265] Compiling SwiftParser CompilerFiles.swift
[252/265] Compiling SwiftParser Declarations.swift
[253/265] Compiling SwiftParser ExperimentalFeatures.swift
[254/265] Compiling SwiftParser IsLexerClassified.swift
[255/265] Compiling SwiftParser LayoutNodes+Parsable.swift
[256/265] Compiling SwiftParser Parser+TokenSpecSet.swift
[257/265] Compiling SwiftParser TokenSpecStaticMembers.swift
[258/266] Wrapping AST for SwiftParser for debugging
[260/289] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[261/290] Compiling SwiftOperators PrecedenceGroup.swift
[262/291] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[263/291] Compiling SwiftOperators PrecedenceGraph.swift
[264/291] Compiling SwiftOperators OperatorTable+Semantics.swift
[265/291] Compiling SwiftOperators SyntaxSynthesis.swift
[266/291] Compiling SwiftOperators OperatorTable.swift
[267/291] Compiling SwiftOperators OperatorTable+Folding.swift
[268/291] Compiling SwiftOperators OperatorError.swift
[269/291] Compiling SwiftOperators OperatorTable+Defaults.swift
[270/291] Emitting module SwiftOperators
[271/291] Compiling SwiftOperators Operator.swift
[272/291] Compiling SwiftOperators OperatorError+Diagnostics.swift
[273/292] Wrapping AST for SwiftOperators for debugging
[277/292] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[278/292] Compiling SwiftParserDiagnostics Utils.swift
[279/292] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[282/292] Emitting module SwiftParserDiagnostics
[283/292] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[284/292] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[285/292] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[286/292] Compiling SwiftParserDiagnostics PresenceUtils.swift
[287/293] Wrapping AST for SwiftParserDiagnostics for debugging
[289/308] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[290/308] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[291/309] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[292/309] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[293/309] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[294/309] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[295/309] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[296/309] Compiling SwiftSyntaxBuilder Indenter.swift
[297/309] Compiling SwiftSyntaxBuilder ListBuilder.swift
[298/309] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[299/309] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[300/309] Emitting module SwiftSyntaxBuilder
[301/309] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[302/309] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[303/309] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[304/309] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[305/310] Wrapping AST for SwiftSyntaxBuilder for debugging
[307/325] Compiling SwiftIfConfig SyntaxProtocol+IfConfig.swift
[308/325] Compiling SwiftIfConfig VersionTuple+Parsing.swift
[309/326] Compiling SwiftIfConfig StaticBuildConfiguration.swift
[310/326] Compiling SwiftIfConfig SyntaxLiteralUtils.swift
[311/326] Compiling SwiftIfConfig VersionTuple.swift
[312/326] Emitting module SwiftIfConfig
[313/326] Compiling SwiftIfConfig ActiveClauseEvaluator.swift
[314/326] Compiling SwiftIfConfig ActiveSyntaxRewriter.swift
[315/326] Compiling SwiftIfConfig IfConfigFunctions.swift
[316/326] Compiling SwiftIfConfig IfConfigRegionState.swift
[317/326] Compiling SwiftIfConfig IfConfigDiagnostic.swift
[318/326] Compiling SwiftIfConfig IfConfigEvaluation.swift
[319/326] Compiling SwiftIfConfig ConfiguredRegions.swift
[320/326] Compiling SwiftIfConfig IfConfigDecl+IfConfig.swift
[321/326] Compiling SwiftIfConfig ActiveSyntaxVisitor.swift
[322/326] Compiling SwiftIfConfig BuildConfiguration.swift
[323/327] Wrapping AST for SwiftIfConfig for debugging
[325/329] Compiling StaticBuildConfigPluginExecutable StaticBuildConfigPluginExecutable.swift
[326/329] Emitting module StaticBuildConfigPluginExecutable
[327/330] Wrapping AST for StaticBuildConfigPluginExecutable for debugging
[328/330] Write Objects.LinkFileList
[329/330] 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/97] Write sources
[66/97] Compiling CSwiftJavaJNI dummy.c
[67/97] Compiling ConcurrencyRuntimeC src.c
[68/97] Compiling CAndroidNDK dummy.c
[69/97] Compiling _SwiftSyntaxCShims PlatformMutex.c
[70/97] Write swift-version-24593BA9C3E375BF.txt
[71/121] Wrapping AST for SwiftSyntax510 for debugging
[72/121] Wrapping AST for SwiftSyntax601 for debugging
[74/121] Emitting module Kotlin
[74/122] Wrapping AST for SwiftSyntax602 for debugging
[75/145] Wrapping AST for SwiftSyntax600 for debugging
[76/153] Wrapping AST for SwiftSyntax603 for debugging
[77/155] Wrapping AST for SwiftSyntax509 for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[79/156] Emitting module AndroidSystem
/host/spi-builder-workspace/.build/checkouts/swift-android-native/Sources/AndroidSystem/Internals/Syscalls.swift:211:57: error: cannot find type 'DIR' in scope
209 | internal typealias system_DIRPtr = OpaquePointer
210 | #else
211 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
| `- error: cannot find type 'DIR' in scope
212 | #endif
213 |
/host/spi-builder-workspace/.build/checkouts/swift-android-native/Sources/AndroidSystem/Internals/Constants.swift:162:5: error: cannot find '_getConst_EWOULDBLOCK' in scope
160 | internal var _EWOULDBLOCK: CInt {
161 | #if os(WASI)
162 | _getConst_EWOULDBLOCK()
| `- error: cannot find '_getConst_EWOULDBLOCK' in scope
163 | #else
164 | EWOULDBLOCK
/host/spi-builder-workspace/.build/checkouts/swift-android-native/Sources/AndroidSystem/Internals/Constants.swift:465:5: error: cannot find '_getConst_EOPNOTSUPP' in scope
463 | internal var _EOPNOTSUPP: CInt {
464 | #if os(WASI)
465 | _getConst_EOPNOTSUPP()
| `- error: cannot find '_getConst_EOPNOTSUPP' in scope
466 | #else
467 | EOPNOTSUPP
/host/spi-builder-workspace/.build/checkouts/swift-android-native/Sources/AndroidSystem/Internals/Constants.swift:511:5: error: cannot find '_getConst_O_ACCMODE' in scope
509 | internal var _O_ACCMODE: CInt {
510 | #if os(WASI)
511 | _getConst_O_ACCMODE()
| `- error: cannot find '_getConst_O_ACCMODE' in scope
512 | #else
513 | O_ACCMODE
/host/spi-builder-workspace/.build/checkouts/swift-android-native/Sources/AndroidSystem/Internals/Constants.swift:521:5: error: cannot find '_getConst_O_NONBLOCK' in scope
519 | internal var _O_NONBLOCK: CInt {
520 | #if os(WASI)
521 | _getConst_O_NONBLOCK()
| `- error: cannot find '_getConst_O_NONBLOCK' in scope
522 | #else
523 | O_NONBLOCK
/host/spi-builder-workspace/.build/checkouts/swift-android-native/Sources/AndroidSystem/Internals/Constants.swift:531:5: error: cannot find '_getConst_O_APPEND' in scope
529 | internal var _O_APPEND: CInt {
530 | #if os(WASI)
531 | _getConst_O_APPEND()
| `- error: cannot find '_getConst_O_APPEND' in scope
532 | #else
533 | O_APPEND
/host/spi-builder-workspace/.build/checkouts/swift-android-native/Sources/AndroidSystem/Internals/Constants.swift:559:5: error: cannot find '_getConst_O_CREAT' in scope
557 | internal var _O_CREAT: CInt {
558 | #if os(WASI)
559 | _getConst_O_CREAT()
| `- error: cannot find '_getConst_O_CREAT' in scope
560 | #else
561 | O_CREAT
/host/spi-builder-workspace/.build/checkouts/swift-android-native/Sources/AndroidSystem/Internals/Constants.swift:568:5: error: cannot find '_getConst_O_TRUNC' in scope
566 | internal var _O_TRUNC: CInt {
567 | #if os(WASI)
568 | _getConst_O_TRUNC()
| `- error: cannot find '_getConst_O_TRUNC' in scope
569 | #else
570 | O_TRUNC
/host/spi-builder-workspace/.build/checkouts/swift-android-native/Sources/AndroidSystem/Internals/Constants.swift:577:5: error: cannot find '_getConst_O_EXCL' in scope
575 | internal var _O_EXCL: CInt {
576 | #if os(WASI)
577 | _getConst_O_EXCL()
| `- error: cannot find '_getConst_O_EXCL' in scope
578 | #else
579 | O_EXCL
/host/spi-builder-workspace/.build/checkouts/swift-android-native/Sources/AndroidSystem/Internals/Constants.swift:596:5: error: cannot find '_getConst_O_DIRECTORY' in scope
594 | internal var _O_DIRECTORY: CInt {
595 | #if os(WASI)
596 | _getConst_O_DIRECTORY()
| `- error: cannot find '_getConst_O_DIRECTORY' in scope
597 | #else
598 | O_DIRECTORY
/host/spi-builder-workspace/.build/checkouts/swift-android-native/Sources/AndroidSystem/Internals/Syscalls.swift:206:30: error: cannot find 'DT_DIR' in scope
204 | #if !os(Windows)
205 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
206 | internal let SYSTEM_DT_DIR = DT_DIR
| `- error: cannot find 'DT_DIR' in scope
207 | internal typealias system_dirent = dirent
208 | #if os(Linux) || os(Android)
[79/160] Wrapping AST for SwiftSyntax for debugging
[80/160] Wrapping AST for SwiftBasicFormat for debugging
[81/160] Wrapping AST for SwiftDiagnostics for debugging
[82/160] Wrapping AST for SwiftParser for debugging
[83/160] Wrapping AST for SwiftOperators for debugging
[84/160] Wrapping AST for SwiftParserDiagnostics for debugging
[85/160] Wrapping AST for SwiftSyntaxBuilder for debugging
[86/160] Wrapping AST for SwiftIfConfig for debugging
[88/177] Compiling SwiftSyntaxMacros FreestandingMacro.swift
[89/177] Compiling SwiftSyntaxMacros Macro+Format.swift
[90/179] Emitting module SwiftSyntaxMacros
[91/179] Compiling SwiftSyntaxMacros ExpressionMacro.swift
[92/179] Compiling SwiftSyntaxMacros ExtensionMacro.swift
[93/179] Compiling SwiftSyntaxMacros CodeItemMacro.swift
[94/179] Compiling SwiftSyntaxMacros DeclarationMacro.swift
[95/179] Compiling SwiftSyntaxMacros AccessorMacro.swift
[96/179] Compiling SwiftSyntaxMacros AttachedMacro.swift
[97/179] Compiling SwiftSyntaxMacros BodyMacro.swift
[98/179] Compiling SwiftSyntaxMacros MemberMacro.swift
[99/179] Compiling SwiftSyntaxMacros PeerMacro.swift
[100/179] Compiling SwiftSyntaxMacros Macro.swift
[101/179] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
[102/179] Compiling SwiftSyntaxMacros AbstractSourceLocation.swift
[103/179] Compiling SwiftSyntaxMacros MacroExpansionContext.swift
[104/179] Compiling SwiftSyntaxMacros MacroExpansionDiagnosticMessages.swift
[105/179] Compiling SwiftSyntaxMacros PreambleMacro.swift
[106/179] Compiling SwiftSyntaxMacros Syntax+LexicalContext.swift
[107/180] Wrapping AST for SwiftSyntaxMacros for debugging
[109/189] Compiling SwiftSyntaxMacroExpansion MacroSpec.swift
[110/190] Compiling SwiftSyntaxMacroExpansion BasicMacroExpansionContext.swift
[111/190] Compiling SwiftSyntaxMacroExpansion FunctionParameterUtils.swift
[112/190] Emitting module SwiftSyntaxMacroExpansion
[113/190] Compiling SwiftSyntaxMacroExpansion IndentationUtils.swift
[114/190] Compiling SwiftSyntaxMacroExpansion MacroExpansion.swift
[115/190] Compiling SwiftSyntaxMacroExpansion MacroExpansionDiagnosticMessages.swift
[116/190] Compiling SwiftSyntaxMacroExpansion MacroArgument.swift
[117/190] Compiling SwiftSyntaxMacroExpansion MacroReplacement.swift
[118/190] Compiling AndroidManifest PermissionGroup.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[122/190] 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>
[123/192] Compiling AndroidSystem SystemString.swift
[124/192] Compiling AndroidSystem Util+StringArray.swift
[125/192] Compiling AndroidSystem Util.swift
[126/192] Compiling AndroidSystem UtilConsumers.swift
[127/192] Compiling AndroidManifest PermissionCheck.swift
/host/spi-builder-workspace/.build/checkouts/swift-android-native/Sources/AndroidManifest/PermissionCheck.swift:65:14: error: cannot find type 'pid_t' in scope
63 | @available(Android 31, *)
64 | func check(
65 | pid: pid_t = getpid(),
| `- error: cannot find type 'pid_t' in scope
66 | uid: uid_t = getuid()
67 | ) throws(Permission.Error) -> CheckStatus {
/host/spi-builder-workspace/.build/checkouts/swift-android-native/Sources/AndroidManifest/PermissionCheck.swift:66:14: error: cannot find type 'uid_t' in scope
64 | func check(
65 | pid: pid_t = getpid(),
66 | uid: uid_t = getuid()
| `- error: cannot find type 'uid_t' in scope
67 | ) throws(Permission.Error) -> CheckStatus {
68 | try _check(pid: pid, uid: uid).get()
/host/spi-builder-workspace/.build/checkouts/swift-android-native/Sources/AndroidManifest/PermissionCheck.swift:80:14: error: cannot find type 'pid_t' in scope
78 | @available(Android 31, *)
79 | internal func _check(
80 | pid: pid_t = getpid(),
| `- error: cannot find type 'pid_t' in scope
81 | uid: uid_t = getuid()
82 | ) -> Result<CheckStatus, Error> {
/host/spi-builder-workspace/.build/checkouts/swift-android-native/Sources/AndroidManifest/PermissionCheck.swift:81:14: error: cannot find type 'uid_t' in scope
79 | internal func _check(
80 | pid: pid_t = getpid(),
81 | uid: uid_t = getuid()
| `- error: cannot find type 'uid_t' in scope
82 | ) -> Result<CheckStatus, Error> {
83 | var result: Int32 = -1
[133/192] 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>
[134/192] 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>
[136/192] Compiling AndroidSystem PlatformString.swift
[137/192] Compiling AndroidSystem SocketDescriptor.swift
[138/192] Compiling AndroidSystem SocketEvent.swift
[139/192] Compiling Kotlin Kotlin.swift
[143/193] Compiling AndroidSystem CInterop.swift
[144/193] Compiling AndroidSystem Constants.swift
[145/193] Compiling AndroidSystem Exports.swift
/host/spi-builder-workspace/.build/checkouts/swift-java-jni-core/Sources/SwiftJavaJNICore/JavaEnvironment+Refs.swift:45:21: error: cannot find 'getenv' in scope
43 | /// `SWIFT_JAVA_JNI_EXCEPTION_DESCRIBE_OOM` to `true` or `1` to enable.
44 | private let describeOOMException: Bool = {
45 | guard let value = getenv("SWIFT_JAVA_JNI_EXCEPTION_DESCRIBE_OOM") else {
| `- error: cannot find 'getenv' in scope
46 | return false
47 | }
/host/spi-builder-workspace/.build/checkouts/swift-java-jni-core/Sources/SwiftJavaJNICore/JavaEnvironment+Refs.swift:45:21: error: cannot find 'getenv' in scope
43 | /// `SWIFT_JAVA_JNI_EXCEPTION_DESCRIBE_OOM` to `true` or `1` to enable.
44 | private let describeOOMException: Bool = {
45 | guard let value = getenv("SWIFT_JAVA_JNI_EXCEPTION_DESCRIBE_OOM") else {
| `- error: cannot find 'getenv' in scope
46 | return false
47 | }
/host/spi-builder-workspace/.build/checkouts/swift-java-jni-core/Sources/SwiftJavaJNICore/JavaEnvironment+Refs.swift:45:21: error: cannot find 'getenv' in scope
43 | /// `SWIFT_JAVA_JNI_EXCEPTION_DESCRIBE_OOM` to `true` or `1` to enable.
44 | private let describeOOMException: Bool = {
45 | guard let value = getenv("SWIFT_JAVA_JNI_EXCEPTION_DESCRIBE_OOM") else {
| `- error: cannot find 'getenv' in scope
46 | return false
47 | }
[150/193] Compiling SwiftSyntaxMacroExpansion MacroSystem.swift
[152/194] Compiling AndroidManifest Permission.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[153/194] Emitting module AndroidManifest
/host/spi-builder-workspace/.build/checkouts/swift-android-native/Sources/AndroidManifest/PermissionCheck.swift:65:14: error: cannot find type 'pid_t' in scope
63 | @available(Android 31, *)
64 | func check(
65 | pid: pid_t = getpid(),
| `- error: cannot find type 'pid_t' in scope
66 | uid: uid_t = getuid()
67 | ) throws(Permission.Error) -> CheckStatus {
/host/spi-builder-workspace/.build/checkouts/swift-android-native/Sources/AndroidManifest/PermissionCheck.swift:66:14: error: cannot find type 'uid_t' in scope
64 | func check(
65 | pid: pid_t = getpid(),
66 | uid: uid_t = getuid()
| `- error: cannot find type 'uid_t' in scope
67 | ) throws(Permission.Error) -> CheckStatus {
68 | try _check(pid: pid, uid: uid).get()
/host/spi-builder-workspace/.build/checkouts/swift-android-native/Sources/AndroidManifest/PermissionCheck.swift:80:14: error: cannot find type 'pid_t' in scope
78 | @available(Android 31, *)
79 | internal func _check(
80 | pid: pid_t = getpid(),
| `- error: cannot find type 'pid_t' in scope
81 | uid: uid_t = getuid()
82 | ) -> Result<CheckStatus, Error> {
/host/spi-builder-workspace/.build/checkouts/swift-android-native/Sources/AndroidManifest/PermissionCheck.swift:81:14: error: cannot find type 'uid_t' in scope
79 | internal func _check(
80 | pid: pid_t = getpid(),
81 | uid: uid_t = getuid()
| `- error: cannot find type 'uid_t' in scope
82 | ) -> Result<CheckStatus, Error> {
83 | var result: Int32 = -1
BUILD FAILURE 6.2 wasm