Build Information
Failed to build swift-okhttp, reference main (9865f9), with Swift 6.3 for Wasm on 19 Sep 2026 21:43:27 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344844-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.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/frameo-net/swift-okhttp.git
Reference: main
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/frameo-net/swift-okhttp
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 9865f94 Fixes for Swift 6.4 (#5)
Cloned https://github.com/frameo-net/swift-okhttp.git
Revision (git rev-parse @):
9865f94f09a91276b5cf3bd701a3d3e07e1dcb68
SUCCESS checkout https://github.com/frameo-net/swift-okhttp.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/frameo-net/swift-okhttp.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-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.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:253aad7f5b11d25cf9eaef34120b94cd8a325782929c57fb304a7711494a3f9a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest
Fetching https://github.com/swiftlang/swift-java
Fetching https://github.com/apple/swift-openapi-runtime
[1/6938] Fetching swift-openapi-runtime
[6939/39336] Fetching swift-openapi-runtime, swift-java
Fetched https://github.com/apple/swift-openapi-runtime from cache (0.99s)
Fetched https://github.com/swiftlang/swift-java from cache (0.99s)
Computing version for https://github.com/apple/swift-openapi-runtime
Computed https://github.com/apple/swift-openapi-runtime at 1.12.1 (1.16s)
Fetching https://github.com/apple/swift-http-types
[1/1935] Fetching swift-http-types
Fetched https://github.com/apple/swift-http-types from cache (0.51s)
Computing version for https://github.com/swiftlang/swift-java
Computed https://github.com/swiftlang/swift-java at 0.6.0 (0.76s)
Fetching https://github.com/apple/swift-system
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/swiftlang/swift-java-jni-core
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/swiftlang/swift-subprocess.git
Fetching https://github.com/apple/swift-collections
[1/607] Fetching swift-java-jni-core
[608/5383] Fetching swift-java-jni-core, swift-subprocess
[5384/12281] Fetching swift-java-jni-core, swift-subprocess, swift-system
[7040/31199] Fetching swift-java-jni-core, swift-subprocess, swift-system, swift-argument-parser
[21787/58551] Fetching swift-java-jni-core, swift-subprocess, swift-system, swift-argument-parser, swift-collections
Fetched https://github.com/apple/swift-argument-parser from cache (0.81s)
Fetching https://github.com/apple/swift-log
[18299/39633] Fetching swift-java-jni-core, swift-subprocess, swift-system, swift-collections
[34985/119617] Fetching swift-java-jni-core, swift-subprocess, swift-system, swift-collections, swift-syntax
[51632/127713] Fetching swift-java-jni-core, swift-subprocess, swift-system, swift-collections, swift-syntax, swift-log
Fetched https://github.com/swiftlang/swift-java-jni-core from cache (1.27s)
[56825/127106] Fetching swift-subprocess, swift-system, swift-collections, swift-syntax, swift-log
Fetched https://github.com/swiftlang/swift-subprocess.git from cache (1.27s)
[52130/122330] Fetching swift-system, swift-collections, swift-syntax, swift-log
Fetched https://github.com/apple/swift-collections from cache (1.28s)
[30344/94978] Fetching swift-system, swift-syntax, swift-log
Fetched https://github.com/apple/swift-log from cache (0.52s)
[30094/86882] Fetching swift-system, swift-syntax
Fetched https://github.com/apple/swift-system from cache (2.85s)
Fetched https://github.com/swiftlang/swift-syntax from cache (2.87s)
Computing version for https://github.com/swiftlang/swift-subprocess.git
Computed https://github.com/swiftlang/swift-subprocess.git at 0.4.0 (3.05s)
Computing version for https://github.com/swiftlang/swift-java-jni-core
Computed https://github.com/swiftlang/swift-java-jni-core at 0.5.1 (0.13s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.15s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 603.0.2 (0.96s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.6.0 (0.24s)
Computing version for https://github.com/apple/swift-http-types
Computed https://github.com/apple/swift-http-types at 1.8.0 (0.17s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.8.1 (0.17s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.15.1 (0.16s)
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/swiftlang/swift-java-jni-core
Working copy of https://github.com/swiftlang/swift-java-jni-core resolved at 0.5.1
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-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.2
Creating working copy for https://github.com/swiftlang/swift-java
Working copy of https://github.com/swiftlang/swift-java resolved at 0.6.0
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.15.1
Creating working copy for https://github.com/apple/swift-http-types
Working copy of https://github.com/apple/swift-http-types resolved at 1.8.0
Creating working copy for https://github.com/apple/swift-openapi-runtime
Working copy of https://github.com/apple/swift-openapi-runtime resolved at 1.12.1
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.8.1
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/603.0.2/swift-6.3.2-RELEASE-ubuntu_jammy_x86_64-MacroSupport.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/603.0.2/swift-6.3.2-RELEASE-ubuntu_jammy_x86_64-MacroSupport.tar.gz (0.19s)
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Sources/OkHttp/OkHttp.swift-java.classpath': File not found.
[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/53] Emitting module SwiftSyntax601
[23/89] Emitting module SystemPackage
[24/94] Emitting module SwiftSyntax603
[25/94] Compiling SwiftSyntax603 Empty.swift
[26/95] Compiling SwiftSyntax601 Empty.swift
[28/96] Wrapping AST for SwiftSyntax603 for debugging
[29/96] Wrapping AST for SwiftSyntax601 for debugging
[31/96] Compiling SwiftSyntax509 Empty.swift
[32/96] Emitting module SwiftSyntax509
[33/97] Wrapping AST for SwiftSyntax509 for debugging
[35/97] Emitting module SwiftSyntax510
[36/97] Compiling SwiftSyntax510 Empty.swift
[37/98] Compiling SystemPackage FilePathComponentView.swift
[38/98] Compiling SystemPackage FilePathComponents.swift
[39/98] Compiling SystemPackage FilePathParsing.swift
[40/98] Compiling SystemPackage FilePathString.swift
[41/98] Compiling SystemPackage FilePathSyntax.swift
[43/98] Compiling SystemPackage SystemString.swift
[44/98] Compiling SystemPackage Util+StringArray.swift
[45/98] Compiling SystemPackage Util.swift
[46/98] Compiling SystemPackage UtilConsumers.swift
[47/98] Compiling SystemPackage WinSDK+Overlay.swift
[47/98] Wrapping AST for SwiftSyntax510 for debugging
[49/98] Compiling SwiftSyntax600 Empty.swift
[50/98] Emitting module SwiftSyntax600
[52/99] Emitting module SwiftSyntax602
[53/99] Compiling SwiftSyntax602 Empty.swift
[53/100] Wrapping AST for SwiftSyntax600 for debugging
[55/100] Wrapping AST for SwiftSyntax602 for debugging
[57/163] Compiling SwiftSyntax AbsolutePosition.swift
[58/163] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[59/163] Compiling SwiftSyntax ArenaAllocatedBuffer.swift
[60/163] Compiling SwiftSyntax Assert.swift
[61/163] Compiling SwiftSyntax BumpPtrAllocator.swift
[62/163] Compiling SwiftSyntax CommonAncestor.swift
[63/163] Compiling SwiftSyntax Syntax.swift
[64/163] Compiling SwiftSyntax SyntaxChildren.swift
[65/163] Compiling SwiftSyntax SyntaxCollection.swift
[66/163] Compiling SwiftSyntax SyntaxHashable.swift
[67/163] Compiling SwiftSyntax SyntaxIdentifier.swift
[68/163] Compiling SwiftSyntax TokenKind.swift
[69/163] Compiling SwiftSyntax Tokens.swift
[70/163] Compiling SwiftSyntax TriviaPieces.swift
[71/163] Compiling SwiftSyntax RawSyntaxNodesAB.swift
[72/163] Compiling SwiftSyntax RawSyntaxNodesC.swift
[73/163] Compiling SwiftSyntax RawSyntaxNodesD.swift
[74/163] Compiling SwiftSyntax SourceLength.swift
[75/163] Compiling SwiftSyntax SourceLocation.swift
[76/163] Compiling SwiftSyntax SourcePresence.swift
[77/163] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[78/163] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[79/163] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[80/163] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[81/163] Compiling SwiftSyntax SyntaxBaseNodes.swift
[82/163] Compiling SwiftSyntax SyntaxCollections.swift
[89/163] Compiling SwiftSyntax Convenience.swift
[90/163] Compiling SwiftSyntax CustomTraits.swift
[91/163] Compiling SwiftSyntax EditorPlaceholder.swift
[101/171] Compiling SwiftSyntax SyntaxEnum.swift
[102/171] Compiling SwiftSyntax SyntaxKind.swift
[103/171] Compiling SwiftSyntax SyntaxRewriter.swift
[104/171] Compiling SwiftSyntax SyntaxTraits.swift
[105/171] Compiling SwiftSyntax SyntaxVisitor.swift
[106/172] Wrapping AST for SystemPackage for debugging
[108/194] Emitting module Subprocess
[109/196] Compiling Subprocess AsyncIO+Dispatch.swift
[110/196] Compiling Subprocess AsyncIO+Linux.swift
[111/196] Compiling Subprocess AsyncIO+Windows.swift
[112/196] Compiling Subprocess Teardown.swift
[113/196] Compiling Subprocess Thread.swift
[114/196] Compiling Subprocess Input.swift
[115/196] Compiling Subprocess Output.swift
[116/196] Compiling Subprocess Subprocess+BSD.swift
[117/196] Compiling Subprocess Subprocess+Windows.swift
[118/196] Compiling Subprocess Result.swift
[119/196] Compiling Subprocess Span+Subprocess.swift
[120/196] Compiling Subprocess Subprocess+Darwin.swift
[121/196] Compiling Subprocess Subprocess+Linux.swift
[122/196] Compiling Subprocess Subprocess+Unix.swift
[123/196] Compiling Subprocess Configuration.swift
[124/196] Compiling Subprocess Error.swift
[125/196] Compiling Subprocess Execution.swift
[126/196] Compiling Subprocess Input+Foundation.swift
[127/196] Compiling Subprocess Output+Foundation.swift
[128/196] Compiling Subprocess Span+SubprocessFoundation.swift
[129/196] Compiling Subprocess API.swift
[130/196] Compiling Subprocess AsyncBufferSequence.swift
[131/196] Compiling Subprocess Buffer.swift
[132/197] Wrapping AST for Subprocess for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[134/199] 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 {
[135/199] 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 {
[137/199] Compiling SwiftSyntax SyntaxNodeStructure.swift
[138/199] Compiling SwiftSyntax SyntaxProtocol.swift
[139/199] Compiling SwiftSyntax SyntaxText.swift
[140/199] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[141/199] Compiling SwiftSyntax TokenDiagnostic.swift
[142/199] Compiling SwiftSyntax TokenSequence.swift
[143/199] Compiling SwiftSyntax TokenSyntax.swift
[144/199] Compiling SwiftSyntax Trivia.swift
[145/199] Compiling SwiftSyntax Utils.swift
[146/199] Compiling SwiftSyntax RawSyntaxNodesEF.swift
[147/199] Compiling SwiftSyntax RawSyntaxNodesGHI.swift
[148/199] Compiling SwiftSyntax RawSyntaxNodesJKLMN.swift
[149/199] Compiling SwiftSyntax RawSyntaxNodesOP.swift
[150/199] Compiling SwiftSyntax RawSyntaxNodesQRS.swift
[151/199] Compiling SwiftSyntax RawSyntaxNodesTUVWXYZ.swift
[152/199] Compiling SwiftSyntax RawSyntaxValidation.swift
[153/199] Compiling SwiftSyntax SyntaxNodesAB.swift
[154/199] Compiling SwiftSyntax Identifier.swift
[155/199] Compiling SwiftSyntax MemoryLayout.swift
[156/199] Compiling SwiftSyntax MissingNodeInitializers.swift
[157/199] Compiling SwiftSyntax RawSyntax.swift
[158/199] Compiling SwiftSyntax RawSyntaxArena.swift
[159/199] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[160/199] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[161/199] Compiling SwiftSyntax RawSyntaxTokenView.swift
[162/199] Compiling SwiftSyntax SourceEdit.swift
[163/199] Emitting module SwiftSyntax
[182/199] Compiling SwiftSyntax SyntaxNodesC.swift
[183/199] Compiling SwiftSyntax SyntaxNodesD.swift
[184/199] Compiling SwiftSyntax SyntaxNodesEF.swift
[185/199] Compiling SwiftSyntax SyntaxNodesGHI.swift
[186/199] Compiling SwiftSyntax SyntaxNodesJKLMN.swift
[187/199] Compiling SwiftSyntax SyntaxNodesOP.swift
[188/199] Compiling SwiftSyntax SyntaxNodesQRS.swift
[189/199] Compiling SwiftSyntax SyntaxNodesTUVWXYZ.swift
[190/218] Wrapping AST for SwiftSyntax for debugging
[192/259] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[193/259] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[194/259] Compiling SwiftDiagnostics DiagnosticDecorator.swift
[195/260] Compiling SwiftDiagnostics Message.swift
[196/260] Compiling SwiftDiagnostics Note.swift
[197/260] Compiling SwiftParser Attributes.swift
[198/260] Compiling SwiftParser Availability.swift
[199/260] Compiling SwiftBasicFormat InferIndentation.swift
[200/260] Compiling SwiftBasicFormat Syntax+Extensions.swift
[201/260] Compiling SwiftDiagnostics FixIt.swift
[202/260] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[203/260] Compiling SwiftBasicFormat BasicFormat.swift
[204/260] Compiling SwiftBasicFormat Indenter.swift
[205/260] Emitting module SwiftBasicFormat
[206/261] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[207/261] Compiling SwiftParser CharacterInfo.swift
[208/261] Compiling SwiftParser CollectionNodes+Parsable.swift
[209/261] Emitting module SwiftDiagnostics
[211/262] Wrapping AST for SwiftBasicFormat for debugging
[212/262] Wrapping AST for SwiftDiagnostics for debugging
[214/262] Compiling SwiftParser StringLiterals.swift
[215/262] Compiling SwiftParser SwiftParserCompatibility.swift
[216/262] Compiling SwiftParser SwiftVersion.swift
[217/262] Compiling SwiftParser SyntaxUtils.swift
[218/262] Compiling SwiftParser TokenConsumer.swift
[219/262] Compiling SwiftParser TokenPrecedence.swift
[220/267] Compiling SwiftParser Lexeme.swift
[221/267] Compiling SwiftParser LexemeSequence.swift
[222/267] Compiling SwiftParser Lexer.swift
[223/267] Compiling SwiftParser RegexLiteralLexer.swift
[224/267] Compiling SwiftParser UnicodeScalarExtensions.swift
[225/267] Compiling SwiftParser Lookahead.swift
[226/267] Emitting module SwiftParser
[227/267] Compiling SwiftParser Parser.swift
[228/267] Compiling SwiftParser Patterns.swift
[229/267] Compiling SwiftParser Recovery.swift
[230/267] Compiling SwiftParser Specifiers.swift
[231/267] Compiling SwiftParser Statements.swift
[232/267] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[233/267] Compiling SwiftParser LoopProgressCondition.swift
[234/267] Compiling SwiftParser Modifiers.swift
[235/267] Compiling SwiftParser Names.swift
[236/267] Compiling SwiftParser Nominals.swift
[237/267] Compiling SwiftParser Parameters.swift
[238/267] Compiling SwiftParser ParseSourceFile.swift
[239/267] Compiling SwiftParser TokenSpec.swift
[240/267] Compiling SwiftParser TokenSpecSet.swift
[241/267] Compiling SwiftParser TopLevel.swift
[242/267] Compiling SwiftParser TriviaParser.swift
[243/267] Compiling SwiftParser Types.swift
[248/267] Compiling SwiftParser CompilerFiles.swift
[249/267] Compiling SwiftParser Declarations.swift
[250/267] Compiling SwiftParser Directives.swift
[251/267] Compiling SwiftParser ExpressionInterpretedAsVersionTuple.swift
[252/267] Compiling SwiftParser Expressions.swift
[253/267] Compiling SwiftParser IncrementalParseTransition.swift
[254/267] Compiling SwiftParser IsValidIdentifier.swift
[255/267] Compiling SwiftParser Cursor.swift
[256/267] Compiling SwiftParser ExperimentalFeatures.swift
[257/267] Compiling SwiftParser IsLexerClassified.swift
[258/267] Compiling SwiftParser LayoutNodes+Parsable.swift
[259/267] Compiling SwiftParser Parser+TokenSpecSet.swift
[260/267] Compiling SwiftParser TokenSpecStaticMembers.swift
[261/268] Wrapping AST for SwiftParser for debugging
[263/291] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[264/292] Compiling SwiftOperators PrecedenceGroup.swift
[265/293] Compiling SwiftOperators OperatorTable.swift
[266/293] Compiling SwiftOperators PrecedenceGraph.swift
[267/293] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[268/293] Compiling SwiftOperators OperatorTable+Semantics.swift
[269/293] Compiling SwiftOperators SyntaxSynthesis.swift
[270/293] Compiling SwiftOperators OperatorError.swift
[271/293] Compiling SwiftOperators OperatorTable+Defaults.swift
[272/293] Emitting module SwiftOperators
[273/293] Compiling SwiftOperators OperatorTable+Folding.swift
[274/293] Compiling SwiftOperators Operator.swift
[275/293] Compiling SwiftOperators OperatorError+Diagnostics.swift
[276/294] Wrapping AST for SwiftOperators for debugging
[278/294] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[279/294] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[280/294] Compiling SwiftParserDiagnostics Utils.swift
[283/294] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[284/294] Compiling SwiftParserDiagnostics PresenceUtils.swift
[287/294] Emitting module SwiftParserDiagnostics
[288/294] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[289/294] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[290/295] Wrapping AST for SwiftParserDiagnostics for debugging
[292/310] Emitting module SwiftSyntaxBuilder
[293/310] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[294/310] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[295/310] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[296/310] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[297/311] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[298/311] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[299/311] Compiling SwiftSyntaxBuilder Indenter.swift
[300/311] Compiling SwiftSyntaxBuilder ListBuilder.swift
[301/311] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[302/311] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[303/311] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[304/311] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[305/311] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[306/311] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[307/311] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[308/312] Wrapping AST for SwiftSyntaxBuilder for debugging
[310/327] Compiling SwiftIfConfig ConfiguredRegions.swift
[311/327] Compiling SwiftIfConfig IfConfigDecl+IfConfig.swift
[312/327] Compiling SwiftIfConfig StaticBuildConfiguration.swift
[313/327] Compiling SwiftIfConfig SyntaxLiteralUtils.swift
[314/327] Compiling SwiftIfConfig SyntaxProtocol+IfConfig.swift
[315/327] Compiling SwiftIfConfig VersionTuple+Parsing.swift
[316/328] Compiling SwiftIfConfig ActiveSyntaxVisitor.swift
[317/328] Compiling SwiftIfConfig BuildConfiguration.swift
[318/328] Emitting module SwiftIfConfig
[319/328] Compiling SwiftIfConfig ActiveClauseEvaluator.swift
[320/328] Compiling SwiftIfConfig ActiveSyntaxRewriter.swift
[321/328] Compiling SwiftIfConfig IfConfigFunctions.swift
[322/328] Compiling SwiftIfConfig IfConfigRegionState.swift
[323/328] Compiling SwiftIfConfig IfConfigDiagnostic.swift
[324/328] Compiling SwiftIfConfig IfConfigEvaluation.swift
[325/328] Compiling SwiftIfConfig VersionTuple.swift
[326/329] 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/21] Write sources
[16/21] Compiling CSwiftJavaJNI dummy.c
[17/21] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[19/62] 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>
[20/64] Compiling SwiftJavaMacros JavaFieldMacro.swift
[21/65] Compiling SwiftJavaMacros SwiftJNIMacrosPlugin.swift
[22/65] Compiling SwiftJavaMacros MacroErrors.swift
[23/65] Compiling SwiftJavaMacros JavaMethodMacro.swift
[24/65] Compiling SwiftJavaMacros JavaClassMacro.swift
[25/65] Compiling SwiftJavaJNICore JavaValue+Array.swift
[26/65] Compiling SwiftJavaJNICore JavaValue+Bool.swift
[27/65] Compiling SwiftJavaMacros JavaExportMacro.swift
[28/65] Emitting module SwiftJavaMacros
[29/65] Compiling SwiftJavaMacros SwiftSyntaxUtils.swift
[30/66] Wrapping AST for SwiftJavaMacros for debugging
[31/66] Write Objects.LinkFileList
[32/66] Linking SwiftJavaMacros-tool
[34/66] 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 | }
[35/66] 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 | }
[36/66] 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 | }
[37/66] Compiling SwiftJavaJNICore JavaType.swift
[38/66] Compiling SwiftJavaJNICore JavaValue.swift
[39/66] Compiling SwiftJavaJNICore Mangling.swift
[40/66] 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>
[41/66] 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>
[42/66] Compiling HTTPTypes HTTPFields.swift
[43/66] Compiling HTTPTypes HTTPParsedFields.swift
[44/67] Compiling SwiftJavaJNICore JavaType+JNI.swift
[45/67] Compiling SwiftJavaJNICore JavaType+JavaSource.swift
[46/67] Compiling SwiftJavaJNICore JavaType+SwiftNames.swift
[47/67] Compiling HTTPTypes HTTPRequest.swift
[48/67] Compiling SwiftJavaJNICore JNIError.swift
[49/67] Compiling SwiftJavaJNICore JavaAnnotation.swift
[50/67] Compiling SwiftJavaJNICore JavaDemanglingError.swift
[53/67] Emitting module HTTPTypes
[54/67] Compiling SwiftJavaJNICore JavaValue+FloatingPoint.swift
[55/67] Compiling SwiftJavaJNICore JavaValue+Integers.swift
[56/67] Compiling HTTPTypes HTTPFieldValue.swift
[57/67] 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 |
[58/67] 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 |
[59/67] 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 |
[64/67] Compiling SwiftJavaJNICore JavaValue+String.swift
[65/67] Compiling SwiftJavaJNICore UnsafeRawBufferPointer+getJNIValue.swift
BUILD FAILURE 6.3 wasm