Build Information
Failed to build SwiftAndroid, reference 0.7.2 (4c941b), with Swift 6.2 for Wasm on 10 Aug 2026 18:15:26 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344844-2":/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: 0.7.2
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
* tag 0.7.2 -> FETCH_HEAD
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 0.7.2
========================================
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-54344844-2":/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/30835] Fetching swift-java
Fetched https://github.com/swiftlang/swift-java.git from cache (1.29s)
Fetching https://github.com/PureSwift/JavaLang.git
[1/3155] Fetching javalang
Fetched https://github.com/PureSwift/JavaLang.git from cache (0.59s)
Fetching https://github.com/PureSwift/Kotlin.git
[1/964] Fetching kotlin
Fetched https://github.com/PureSwift/Kotlin.git from cache (0.54s)
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.53s)
Fetching https://github.com/apple/swift-log
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/apple/swift-collections
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/swift-android-sdk/swift-android-native.git
Fetching https://github.com/apple/swift-system
[1/2011] Fetching swift-android-native
[243/9964] Fetching swift-android-native, swift-log
[9965/28234] Fetching swift-android-native, swift-log, swift-argument-parser
[10514/34911] Fetching swift-android-native, swift-log, swift-argument-parser, swift-system
[28518/61491] Fetching swift-android-native, swift-log, swift-argument-parser, swift-system, swift-collections
Fetched https://github.com/apple/swift-system from cache (0.84s)
[29730/54814] Fetching swift-android-native, swift-log, swift-argument-parser, swift-collections
Fetching https://github.com/swiftlang/swift-subprocess.git
[38867/131281] Fetching swift-android-native, swift-log, swift-argument-parser, swift-collections, swift-syntax
[66286/135888] Fetching swift-android-native, swift-log, swift-argument-parser, swift-collections, swift-syntax, swift-subprocess
Fetched https://github.com/swiftlang/swift-subprocess.git from cache (0.75s)
[81578/131281] Fetching swift-android-native, swift-log, swift-argument-parser, swift-collections, swift-syntax
Fetched https://github.com/apple/swift-log from cache (1.70s)
Fetched https://github.com/swift-android-sdk/swift-android-native.git from cache (1.71s)
[76967/121317] Fetching swift-argument-parser, swift-collections, swift-syntax
Fetched https://github.com/apple/swift-argument-parser from cache (1.71s)
[59461/103047] Fetching swift-collections, swift-syntax
Fetched https://github.com/apple/swift-collections from cache (1.73s)
[33646/76467] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (4.74s)
Computing version for https://github.com/swiftlang/swift-subprocess.git
Computed https://github.com/swiftlang/swift-subprocess.git at 0.4.0 (5.06s)
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.41s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.36s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 603.0.2 (1.64s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.6.0 (0.52s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.8.0 (0.42s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.15.0 (0.35s)
Creating working copy for https://github.com/swiftlang/swift-java-jni-core
Working copy of https://github.com/swiftlang/swift-java-jni-core resolved at main (b440a0b)
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.8.0
Creating working copy for https://github.com/swiftlang/swift-subprocess.git
Working copy of https://github.com/swiftlang/swift-subprocess.git resolved at 0.4.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.8.2
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
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/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/PureSwift/Kotlin.git
Working copy of https://github.com/PureSwift/Kotlin.git resolved at master (88a9bb9)
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.15.0
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 603.0.2
[0/40] Write sources
[17/40] Compiling _SwiftSyntaxCShims PlatformMutex.c
[18/40] Write swift-version-24593BA9C3E375BF.txt
[19/40] Compiling CSystem shims.c
[20/47] Compiling _SubprocessCShims process_shims.c
[22/52] Emitting module SwiftSyntax509
[23/89] Compiling SwiftSyntax510 Empty.swift
[24/89] Emitting module SwiftSyntax510
[25/90] Emitting module SwiftSyntax603
[26/90] Compiling SwiftSyntax603 Empty.swift
[27/91] Emitting module SystemPackage
[29/96] Compiling SwiftSyntax509 Empty.swift
[30/97] Wrapping AST for SwiftSyntax510 for debugging
[33/97] Compiling SwiftSyntax600 Empty.swift
[34/97] Emitting module SwiftSyntax600
[35/98] Emitting module SwiftSyntax601
[36/98] Compiling SwiftSyntax601 Empty.swift
[36/99] Wrapping AST for SwiftSyntax603 for debugging
[39/99] Emitting module SwiftSyntax602
[40/99] Compiling SwiftSyntax602 Empty.swift
[41/100] Wrapping AST for SwiftSyntax509 for debugging
[43/100] Wrapping AST for SwiftSyntax600 for debugging
[44/100] Wrapping AST for SwiftSyntax601 for debugging
[46/100] Compiling SystemPackage FilePathComponentView.swift
[47/100] Compiling SystemPackage FilePathComponents.swift
[48/100] Compiling SystemPackage FilePathParsing.swift
[49/100] Compiling SystemPackage FilePathString.swift
[50/100] Compiling SystemPackage FilePathSyntax.swift
[50/100] Wrapping AST for SwiftSyntax602 for debugging
[52/163] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[53/163] Compiling SwiftSyntax TokenDiagnostic.swift
[54/163] Compiling SwiftSyntax TokenSequence.swift
[55/163] Compiling SwiftSyntax TokenSyntax.swift
[56/163] Compiling SwiftSyntax Trivia.swift
[57/163] Compiling SwiftSyntax MissingNodeInitializers.swift
[58/163] Compiling SwiftSyntax RawSyntax.swift
[59/163] Compiling SwiftSyntax RawSyntaxArena.swift
[60/163] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[61/163] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[62/163] Compiling SwiftSyntax BumpPtrAllocator.swift
[63/163] Compiling SwiftSyntax CommonAncestor.swift
[64/163] Compiling SwiftSyntax Convenience.swift
[65/163] Compiling SwiftSyntax CustomTraits.swift
[66/163] Compiling SwiftSyntax EditorPlaceholder.swift
[67/163] Compiling SwiftSyntax SyntaxChildren.swift
[68/163] Compiling SwiftSyntax SyntaxCollection.swift
[69/163] Compiling SwiftSyntax SyntaxHashable.swift
[70/163] Compiling SwiftSyntax SyntaxIdentifier.swift
[71/163] Compiling SwiftSyntax Identifier.swift
[72/163] Compiling SwiftSyntax MemoryLayout.swift
[73/163] Compiling SwiftSyntax RawSyntaxTokenView.swift
[74/163] Compiling SwiftSyntax SourceEdit.swift
[75/163] Compiling SwiftSyntax SyntaxNodeStructure.swift
[76/163] Compiling SwiftSyntax SyntaxProtocol.swift
[77/163] Compiling SwiftSyntax SyntaxText.swift
[78/163] Compiling SwiftSyntax ChildNameForKeyPath.swift
[79/163] Compiling SwiftSyntax Keyword.swift
[80/163] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[81/163] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[82/163] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[91/163] Compiling SwiftSyntax Utils.swift
[92/163] Compiling SwiftSyntax AbsolutePosition.swift
[93/163] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[94/163] Compiling SwiftSyntax ArenaAllocatedBuffer.swift
[95/163] Compiling SwiftSyntax Assert.swift
[101/171] Compiling SwiftSyntax SourceLength.swift
[102/171] Compiling SwiftSyntax SourceLocation.swift
[103/171] Compiling SwiftSyntax SourcePresence.swift
[104/171] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[105/171] Compiling SwiftSyntax Syntax.swift
[115/194] Wrapping AST for SystemPackage for debugging
[117/194] Compiling Subprocess AsyncIO+Dispatch.swift
[118/194] Compiling Subprocess AsyncIO+Linux.swift
[119/194] Compiling Subprocess AsyncIO+Windows.swift
[120/194] Compiling Subprocess Input.swift
[121/194] Compiling Subprocess Output.swift
[122/194] Compiling Subprocess Subprocess+BSD.swift
[123/196] Compiling Subprocess Input+Foundation.swift
[124/196] Compiling Subprocess Output+Foundation.swift
[125/196] Compiling Subprocess Span+SubprocessFoundation.swift
[126/196] Compiling Subprocess Subprocess+Windows.swift
[127/196] Compiling Subprocess Result.swift
[128/196] Compiling Subprocess Span+Subprocess.swift
[129/196] Compiling Subprocess Subprocess+Darwin.swift
[130/196] Compiling Subprocess Subprocess+Linux.swift
[131/196] Compiling Subprocess Subprocess+Unix.swift
[132/196] Compiling Subprocess Teardown.swift
[133/196] Compiling Subprocess Thread.swift
[134/196] Compiling Subprocess API.swift
[135/196] Compiling Subprocess AsyncBufferSequence.swift
[136/196] Compiling Subprocess Buffer.swift
[137/196] Emitting module Subprocess
[138/196] Compiling Subprocess Configuration.swift
[139/196] Compiling Subprocess Error.swift
[140/196] Compiling Subprocess Execution.swift
[141/197] Wrapping AST for Subprocess for debugging
[143/197] Emitting module SwiftSyntax
[153/197] Compiling SwiftSyntax SyntaxRewriter.swift
[154/197] Compiling SwiftSyntax SyntaxTraits.swift
[155/197] Compiling SwiftSyntax SyntaxVisitor.swift
[156/197] Compiling SwiftSyntax TokenKind.swift
[157/197] Compiling SwiftSyntax Tokens.swift
[158/197] Compiling SwiftSyntax TriviaPieces.swift
[159/197] Compiling SwiftSyntax RawSyntaxNodesAB.swift
[160/197] Compiling SwiftSyntax RawSyntaxNodesC.swift
[161/197] Compiling SwiftSyntax RawSyntaxNodesD.swift
[162/197] Compiling SwiftSyntax RawSyntaxNodesEF.swift
[163/197] Compiling SwiftSyntax RawSyntaxNodesGHI.swift
[164/197] Compiling SwiftSyntax RawSyntaxNodesJKLMN.swift
[165/197] Compiling SwiftSyntax RawSyntaxNodesOP.swift
[166/197] Compiling SwiftSyntax RawSyntaxNodesQRS.swift
[167/197] Compiling SwiftSyntax RawSyntaxNodesTUVWXYZ.swift
[168/197] Compiling SwiftSyntax RawSyntaxValidation.swift
[169/197] Compiling SwiftSyntax SyntaxNodesAB.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/234] Wrapping AST for SwiftSyntax for debugging
[189/257] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[190/257] Compiling SwiftDiagnostics Message.swift
[191/258] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[192/258] Compiling SwiftBasicFormat Syntax+Extensions.swift
[193/258] Compiling SwiftDiagnostics Convenience.swift
[194/258] Compiling SwiftDiagnostics Diagnostic.swift
[195/258] Emitting module SwiftDiagnostics
[196/258] Compiling SwiftDiagnostics ANSIDiagnosticDecorator.swift
[197/258] Compiling SwiftDiagnostics BasicDiagnosticDecorator.swift
[198/258] Compiling SwiftBasicFormat InferIndentation.swift
[199/258] Compiling SwiftDiagnostics Note.swift
[200/258] Emitting module SwiftBasicFormat
[201/258] Compiling SwiftBasicFormat Indenter.swift
[202/258] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[203/258] Compiling SwiftDiagnostics FixIt.swift
[204/258] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[205/258] Compiling SwiftDiagnostics DiagnosticDecorator.swift
[206/259] Wrapping AST for SwiftDiagnostics for debugging
[208/259] Compiling SwiftBasicFormat BasicFormat.swift
[210/260] Compiling SwiftParser Lexeme.swift
[211/260] Compiling SwiftParser LexemeSequence.swift
[212/260] Compiling SwiftParser Lexer.swift
[213/260] Compiling SwiftParser RegexLiteralLexer.swift
[214/260] Compiling SwiftParser UnicodeScalarExtensions.swift
[215/260] Compiling SwiftParser Lookahead.swift
[215/265] Wrapping AST for SwiftBasicFormat for debugging
[217/265] Compiling SwiftParser StringLiterals.swift
[218/265] Compiling SwiftParser SwiftParserCompatibility.swift
[219/265] Compiling SwiftParser SwiftVersion.swift
[220/265] Compiling SwiftParser SyntaxUtils.swift
[221/265] Compiling SwiftParser TokenConsumer.swift
[222/265] Compiling SwiftParser TokenPrecedence.swift
[223/265] Compiling SwiftParser TokenSpec.swift
[224/265] Compiling SwiftParser TokenSpecSet.swift
[225/265] Compiling SwiftParser TopLevel.swift
[226/265] Compiling SwiftParser TriviaParser.swift
[227/265] Compiling SwiftParser Types.swift
[228/265] Compiling SwiftParser LoopProgressCondition.swift
[229/265] Compiling SwiftParser Modifiers.swift
[230/265] Compiling SwiftParser Names.swift
[231/265] Compiling SwiftParser Nominals.swift
[232/265] Compiling SwiftParser Parameters.swift
[233/265] Compiling SwiftParser ParseSourceFile.swift
[234/265] Compiling SwiftParser Parser.swift
[235/265] Compiling SwiftParser Patterns.swift
[236/265] Compiling SwiftParser Recovery.swift
[237/265] Compiling SwiftParser Specifiers.swift
[238/265] Compiling SwiftParser Statements.swift
[239/265] Compiling SwiftParser StringLiteralRepresentedLiteralValue.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 MultiLineStringLiteralDiagnosticsGenerator.swift
[263/291] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[264/291] Compiling SwiftOperators OperatorTable.swift
[265/291] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[266/291] Compiling SwiftOperators PrecedenceGraph.swift
[267/291] Compiling SwiftOperators SyntaxSynthesis.swift
[268/291] Emitting module SwiftOperators
[269/291] Compiling SwiftParserDiagnostics DiagnosticExtensions.swift
[270/291] Compiling SwiftParserDiagnostics LexerDiagnosticMessages.swift
[271/291] Compiling SwiftOperators OperatorTable+Semantics.swift
[272/291] Compiling SwiftOperators OperatorTable+Folding.swift
[273/292] Wrapping AST for SwiftOperators for debugging
[275/292] Emitting module SwiftParserDiagnostics
[276/292] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[277/292] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[278/292] Compiling SwiftParserDiagnostics Utils.swift
[279/292] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[280/292] Compiling SwiftParserDiagnostics PresenceUtils.swift
[281/292] Compiling SwiftParserDiagnostics MissingNodesError.swift
[282/292] Compiling SwiftParserDiagnostics MissingTokenError.swift
[287/293] Wrapping AST for SwiftParserDiagnostics for debugging
[289/308] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[290/308] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[291/309] Emitting module SwiftSyntaxBuilder
[292/309] Compiling SwiftSyntaxBuilder Indenter.swift
[293/309] Compiling SwiftSyntaxBuilder ListBuilder.swift
[294/309] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[295/309] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[296/309] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[297/309] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[298/309] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[299/309] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[300/309] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[301/309] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[302/309] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[303/309] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[304/309] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.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 IfConfigFunctions.swift
[310/326] Compiling SwiftIfConfig IfConfigRegionState.swift
[311/326] Compiling SwiftIfConfig VersionTuple.swift
[312/326] Compiling SwiftIfConfig StaticBuildConfiguration.swift
[313/326] Compiling SwiftIfConfig SyntaxLiteralUtils.swift
[314/326] Compiling SwiftIfConfig ActiveSyntaxVisitor.swift
[315/326] Compiling SwiftIfConfig BuildConfiguration.swift
[316/326] Emitting module SwiftIfConfig
[317/326] Compiling SwiftIfConfig ActiveClauseEvaluator.swift
[318/326] Compiling SwiftIfConfig ActiveSyntaxRewriter.swift
[319/326] Compiling SwiftIfConfig ConfiguredRegions.swift
[320/326] Compiling SwiftIfConfig IfConfigDecl+IfConfig.swift
[321/326] Compiling SwiftIfConfig IfConfigDiagnostic.swift
[322/326] Compiling SwiftIfConfig IfConfigEvaluation.swift
[323/329] Wrapping AST for SwiftIfConfig for debugging
[325/329] Emitting module StaticBuildConfigPluginExecutable
[326/329] Compiling StaticBuildConfigPluginExecutable StaticBuildConfigPluginExecutable.swift
[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 ConcurrencyRuntimeC src.c
[67/97] Compiling CSwiftJavaJNI dummy.c
[68/97] Compiling CAndroidNDK dummy.c
[69/97] Compiling _SwiftSyntaxCShims PlatformMutex.c
[70/97] Write swift-version-24593BA9C3E375BF.txt
[71/152] Wrapping AST for SwiftSyntax601 for debugging
[72/152] Wrapping AST for SwiftSyntax603 for debugging
[73/153] Wrapping AST for SwiftSyntax602 for debugging
[74/156] Wrapping AST for SwiftSyntax510 for debugging
[75/156] Wrapping AST for SwiftSyntax600 for debugging
[76/156] Wrapping AST for SwiftSyntax509 for debugging
[77/156] Wrapping AST for SwiftSyntax for debugging
[78/156] Wrapping AST for SwiftParser for debugging
[79/156] Wrapping AST for SwiftBasicFormat for debugging
[80/156] Wrapping AST for SwiftDiagnostics for debugging
[81/156] Wrapping AST for SwiftOperators for debugging
[82/156] Wrapping AST for SwiftParserDiagnostics for debugging
[83/156] Wrapping AST for SwiftSyntaxBuilder for debugging
[84/156] Wrapping AST for SwiftIfConfig for debugging
[86/173] Compiling SwiftSyntaxMacros FreestandingMacro.swift
[87/173] Compiling SwiftSyntaxMacros Macro+Format.swift
[88/175] Compiling SwiftSyntaxMacros CodeItemMacro.swift
[89/175] Compiling SwiftSyntaxMacros DeclarationMacro.swift
[90/175] Compiling SwiftSyntaxMacros ExpressionMacro.swift
[91/175] Compiling SwiftSyntaxMacros ExtensionMacro.swift
[92/175] Compiling SwiftSyntaxMacros AccessorMacro.swift
[93/175] Compiling SwiftSyntaxMacros AttachedMacro.swift
[94/175] Compiling SwiftSyntaxMacros BodyMacro.swift
[95/175] Compiling SwiftSyntaxMacros MemberMacro.swift
[96/175] Compiling SwiftSyntaxMacros PeerMacro.swift
[97/175] Compiling SwiftSyntaxMacros Macro.swift
[98/175] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
[99/175] Emitting module SwiftSyntaxMacros
[100/175] Compiling SwiftSyntaxMacros AbstractSourceLocation.swift
[101/175] Compiling SwiftSyntaxMacros MacroExpansionContext.swift
[102/175] Compiling SwiftSyntaxMacros MacroExpansionDiagnosticMessages.swift
[103/175] Compiling SwiftSyntaxMacros PreambleMacro.swift
[104/175] Compiling SwiftSyntaxMacros Syntax+LexicalContext.swift
[105/177] Wrapping AST for SwiftSyntaxMacros for debugging
[107/185] Compiling SwiftSyntaxMacroExpansion BasicMacroExpansionContext.swift
[108/185] Compiling SwiftSyntaxMacroExpansion FunctionParameterUtils.swift
[109/186] Compiling SwiftSyntaxMacroExpansion MacroSpec.swift
[110/186] Compiling SwiftSyntaxMacroExpansion MacroReplacement.swift
[111/186] Compiling SwiftSyntaxMacroExpansion MacroExpansionDiagnosticMessages.swift
[112/186] Emitting module SwiftSyntaxMacroExpansion
[113/186] Compiling SwiftSyntaxMacroExpansion IndentationUtils.swift
[114/186] Compiling SwiftSyntaxMacroExpansion MacroArgument.swift
[115/186] Compiling SwiftSyntaxMacroExpansion MacroExpansion.swift
[116/186] Compiling AndroidManifest PermissionGroup.swift
[117/186] Compiling Kotlin Kotlin.swift
[118/186] Emitting module Kotlin
error: emit-module command failed with exit code 1 (use -v to see invocation)
[120/187] 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>
[121/189] Compiling AndroidSystem MachPort.swift
[122/189] Compiling AndroidSystem PlatformString.swift
[123/189] Compiling AndroidSystem SocketDescriptor.swift
[124/189] Compiling AndroidSystem SocketEvent.swift
[125/193] 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>
[126/193] 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>
error: emit-module command failed with exit code 1 (use -v to see invocation)
[127/193] 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)
/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 | }
[144/193] 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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[145/193] Compiling AndroidManifest Permission.swift
[146/193] 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
/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 |
BUILD FAILURE 6.2 wasm