The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-complexity, reference v1.6.0 (fc21cf), with Swift 6.3 for Wasm on 12 Oct 2026 16:34:01 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344845-3":/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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/fummicc1/swift-complexity.git
Reference: v1.6.0
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/fummicc1/swift-complexity
 * tag               v1.6.0     -> FETCH_HEAD
HEAD is now at fc21cf6 Smoke-test release binaries, add a dry run, and ship Linux arm64 (#64)
Cloned https://github.com/fummicc1/swift-complexity.git
Revision (git rev-parse @):
fc21cf63645dd8e0131d586c266d28ae9656c1e5
SUCCESS checkout https://github.com/fummicc1/swift-complexity.git at v1.6.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/fummicc1/swift-complexity.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-3":/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:df2e9038ff906af397ec7b7e13902ccb183f8867606bc33419e44453a9abdb4b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/modelcontextprotocol/swift-sdk.git
[1/19112] Fetching swift-argument-parser
[19113/23104] Fetching swift-argument-parser, swift-sdk
Fetched https://github.com/modelcontextprotocol/swift-sdk.git from cache (1.14s)
[1/80463] Fetching swift-syntax
Fetching https://github.com/jpsim/Yams.git
Fetched https://github.com/apple/swift-argument-parser from cache (6.08s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (6.17s)
[1/11882] Fetching yams
Fetched https://github.com/jpsim/Yams.git from cache (1.51s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (9.17s)
Computing version for https://github.com/modelcontextprotocol/swift-sdk.git
Computed https://github.com/modelcontextprotocol/swift-sdk.git at 0.12.1 (0.33s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/mattt/eventsource.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-log.git
[1/314] Fetching eventsource
[278/8594] Fetching eventsource, swift-log
[8595/15835] Fetching eventsource, swift-log, swift-system
Fetched https://github.com/apple/swift-log.git from cache (0.74s)
[7555/7555] Fetching eventsource, swift-system
Fetched https://github.com/mattt/eventsource.git from cache (0.87s)
Fetched https://github.com/apple/swift-system.git from cache (0.88s)
[1/86396] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (5.77s)
Computing version for https://github.com/mattt/eventsource.git
Computed https://github.com/mattt/eventsource.git at 1.5.1 (5.99s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (0.27s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.31s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.28s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.16.1 (0.19s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.104.0 (0.38s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-collections.git
[1/1889] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.51s)
[1/28703] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.24s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (1.41s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.2 (0.25s)
Creating working copy for https://github.com/mattt/eventsource.git
Working copy of https://github.com/mattt/eventsource.git resolved at 1.5.1
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.8.1
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.7.2
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.4.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.1
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.16.1
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.104.0
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 600.0.1
Creating working copy for https://github.com/modelcontextprotocol/swift-sdk.git
Working copy of https://github.com/modelcontextprotocol/swift-sdk.git resolved at 0.12.1
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
[1/1] Compiling plugin SwiftComplexityPlugin
[2/2] Compiling plugin GenerateManual
[3/3] Compiling plugin GenerateDoccReference
Building for debugging...
[3/81] Compiling _SwiftSyntaxCShims dummy.c
[4/81] Write sources
[7/81] Compiling reader.c
[8/81] Write sources
[13/81] Compiling reader.c
[14/81] Write sources
[18/81] Write swift-version-24593BA9C3E375BF.txt
[19/81] Compiling _SwiftSyntaxCShims dummy.c
[20/81] Compiling parser.c
[21/81] Compiling writer.c
[22/83] Compiling api.c
[23/83] Write sources
[26/83] Compiling parser.c
[27/83] Write sources
[30/86] Emitting module SwiftSyntax600
[30/88] Compiling emitter.c
[32/93] Emitting module SwiftSyntax509
[33/95] Emitting module SwiftSyntax600
[34/95] Emitting module SwiftSyntax510
[35/95] Emitting module SwiftSyntax509
[35/95] Compiling scanner.c
[36/95] Write sources
[38/115] Emitting module Yams
[39/117] Compiling SwiftSyntax600 Empty.swift
[40/118] Emitting module SwiftSyntax510
[41/118] Compiling SwiftSyntax510 Empty.swift
[42/119] Compiling Yams Tag.swift
[43/119] Compiling Yams YamlAnchorProviding.swift
[45/119] Write sources
[48/119] Compiling Yams Mark.swift
[49/119] Compiling Yams Node.Alias.swift
[50/119] Compiling Yams Node.Mapping.swift
[51/119] Compiling SwiftSyntax509 Empty.swift
[51/120] Wrapping AST for SwiftSyntax600 for debugging
[52/120] Write sources
[54/120] Wrapping AST for SwiftSyntax510 for debugging
[55/120] Write sources
[60/120] Compiling writer.c
[61/195] Compiling scanner.c
[63/195] Compiling SwiftSyntax510 Empty.swift
[64/196] Compiling SwiftSyntax509 Empty.swift
[64/197] Wrapping AST for SwiftSyntax509 for debugging
[68/197] Compiling Logging Logger+With.swift
[68/197] Wrapping AST for SwiftSyntax509 for debugging
[70/198] Compiling ArgumentParserToolInfo ToolInfo.swift
[71/198] Emitting module ArgumentParserToolInfo
[72/199] Compiling SwiftSyntax600 Empty.swift
[73/200] Compiling Logging LoggingSystem.swift
[73/200] Wrapping AST for SwiftSyntax510 for debugging
[75/200] Write sources
[77/200] Compiling CSystem shims.c
[78/200] Compiling api.c
[79/200] Compiling emitter.c
[81/370] Compiling Logging Logger+Attributes.swift
[82/370] Compiling Yams Emitter.swift
[83/370] Compiling Yams Encoder.swift
[84/370] Compiling Logging Logger.swift
[85/370] Emitting module Logging
[86/370] Compiling Yams Constructor.swift
[87/370] Compiling Yams Decoder.swift
[88/370] Compiling Yams AliasDereferencingStrategy.swift
[89/370] Compiling Yams Anchor.swift
[90/370] Compiling Logging MetadataProvider.swift
[92/371] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[93/371] Compiling SwiftSyntax TokenDiagnostic.swift
[94/371] Compiling SwiftSyntax TokenSequence.swift
[95/371] Compiling SwiftSyntax TokenSyntax.swift
[96/371] Compiling SwiftSyntax Trivia.swift
[96/376] Wrapping AST for ArgumentParserToolInfo for debugging
[97/376] Wrapping AST for SwiftSyntax600 for debugging
[98/376] Wrapping AST for Logging for debugging
[99/376] Write sources
[101/376] Compiling Yams Parser.swift
[102/376] Compiling Yams RedundancyAliasingStrategy.swift
[103/376] Compiling Yams Representer.swift
[107/376] Compiling SwiftSyntax SyntaxArena.swift
[108/376] Compiling SwiftSyntax SyntaxArenaAllocatedBuffer.swift
[109/376] Compiling SwiftSyntax SyntaxChildren.swift
[110/376] Compiling SwiftSyntax SyntaxCollection.swift
[111/376] Compiling SwiftSyntax SyntaxHashable.swift
[112/376] Compiling SwiftSyntax SyntaxIdentifier.swift
[113/376] Compiling SwiftSyntax SyntaxNodeFactory.swift
[114/376] Compiling SwiftSyntax SyntaxNodeStructure.swift
[115/376] Compiling SwiftSyntax SyntaxProtocol.swift
[116/376] Compiling SwiftSyntax SyntaxText.swift
[117/376] Compiling Yams Node.Sequence.swift
[118/376] Compiling Yams Node.swift
[119/376] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[120/376] Compiling SwiftSyntax Syntax.swift
[121/376] Compiling Yams Mark.swift
[122/376] Compiling Yams Node.Alias.swift
[123/376] Compiling Yams Node.Mapping.swift
[147/392] Compiling Yams Resolver.swift
[148/392] Compiling Yams String+Yams.swift
[149/392] Compiling Yams Node.Scalar.swift
[150/393] Wrapping AST for Yams for debugging
[160/393] Compiling Yams Tag.swift
[161/393] Compiling Yams YamlAnchorProviding.swift
[162/393] Emitting module ArgumentParserToolInfo
[163/393] Compiling ArgumentParserToolInfo ToolInfo.swift
[164/394] Wrapping AST for ArgumentParserToolInfo for debugging
[172/394] Emitting module SystemPackage
[173/441] Compiling ArgumentParser SequenceExtensions.swift
[174/441] Compiling ArgumentParser StringExtensions.swift
[175/441] Compiling ArgumentParser SwiftExtensions.swift
[176/441] Compiling ArgumentParser Tree.swift
[177/441] Compiling ArgumentParser HelpCommand.swift
[178/443] Wrapping AST for SystemPackage for debugging
[180/485] Compiling MCP StatefulHTTPServerTransport.swift
[181/485] Compiling MCP StatelessHTTPServerTransport.swift
[182/485] Compiling MCP InMemoryTransport.swift
[183/485] Compiling MCP NetworkTransport.swift
[184/485] Compiling MCP StdioTransport.swift
[185/485] Compiling MCP UnitInterval.swift
[186/485] Compiling MCP Messages.swift
[187/485] Compiling MCP PendingRequest.swift
[188/485] Compiling MCP Transport.swift
[189/485] Compiling MCP OAuthTokenEndpointClient.swift
[190/485] Compiling MCP OAuthURLValidator.swift
[191/485] Compiling MCP OAuthWWWAuthenticateParser.swift
[192/485] Compiling MCP PKCE.swift
[193/485] Compiling MCP TokenStorage.swift
[194/485] Compiling MCP Error.swift
[195/485] Compiling MCP ID.swift
[196/485] Compiling MCP Icon.swift
[197/485] Compiling MCP Lifecycle.swift
[198/485] Compiling MCP OAuthErrors.swift
[199/485] Compiling MCP OAuthModels.swift
[205/491] Compiling MCP OAuthDiscoveryClient.swift
[208/493] Compiling MCP Value.swift
[209/493] Compiling MCP Versioning.swift
[210/493] Compiling ArgumentParser MessageInfo.swift
[211/493] Compiling ArgumentParser UsageGenerator.swift
[212/493] Compiling ArgumentParser CollectionExtensions.swift
[213/493] Compiling ArgumentParser Foundation.swift
[214/493] Emitting module Yams
[215/493] Compiling MCP HTTPClientTransport.swift
[216/493] Compiling MCP HTTPRequestValidation.swift
[217/493] Compiling MCP HTTPServerTypes.swift
[218/493] Compiling MCP Client.swift
[219/493] Compiling MCP Elicitation.swift
[220/493] Compiling MCP Roots.swift
[221/493] Compiling MCP Sampling.swift
[222/493] Compiling MCP Data+Extensions.swift
[223/493] Compiling MCP Completion.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:307:45: error: cannot find 'DBL_DECIMAL_DIG' in scope
305 |         // Since `NumberFormatter` creates a string with insufficient precision for Decode,
306 |         // it uses with `String(format:...)`
307 |         let string = String(format: "%.*g", DBL_DECIMAL_DIG, self)
    |                                             `- error: cannot find 'DBL_DECIMAL_DIG' in scope
308 |         // "%*.g" does not use scientific notation if the exponent is less than –4.
309 |         // So fallback to using `NumberFormatter` if string does not uses scientific notation.
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:307:45: error: cannot find 'DBL_DECIMAL_DIG' in scope
305 |         // Since `NumberFormatter` creates a string with insufficient precision for Decode,
306 |         // it uses with `String(format:...)`
307 |         let string = String(format: "%.*g", DBL_DECIMAL_DIG, self)
    |                                             `- error: cannot find 'DBL_DECIMAL_DIG' in scope
308 |         // "%*.g" does not use scientific notation if the exponent is less than –4.
309 |         // So fallback to using `NumberFormatter` if string does not uses scientific notation.
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:307:45: error: cannot find 'DBL_DECIMAL_DIG' in scope
305 |         // Since `NumberFormatter` creates a string with insufficient precision for Decode,
306 |         // it uses with `String(format:...)`
307 |         let string = String(format: "%.*g", DBL_DECIMAL_DIG, self)
    |                                             `- error: cannot find 'DBL_DECIMAL_DIG' in scope
308 |         // "%*.g" does not use scientific notation if the exponent is less than –4.
309 |         // So fallback to using `NumberFormatter` if string does not uses scientific notation.
[229/493] Compiling MCP OAuthAuthorizationCodeFlow.swift
[230/493] Compiling MCP OAuthAuthorizer.swift
[231/493] Compiling MCP OAuthClientRegistrar.swift
[237/493] Compiling Yams YamlError.swift
[238/493] Compiling Yams YamlTagProviding.swift
[257/493] Compiling ArgumentParser AsyncCompletionsValidator.swift
[258/493] Compiling ArgumentParser CodingKeyValidator.swift
[259/493] Compiling ArgumentParser NonsenseFlagsValidator.swift
[260/493] Compiling ArgumentParser ParsableArgumentsValidation.swift
[261/493] Compiling ArgumentParser PositionalArgumentsValidator.swift
[262/493] Compiling ArgumentParser UniqueNamesValidator.swift
[263/493] Compiling MCP Cancellation.swift
/host/spi-builder-workspace/.build/checkouts/swift-sdk/Sources/MCP/Base/Transports/HTTPClientTransport.swift:5:12: error: no such module 'EventSource'
  3 |
  4 | #if !os(Linux)
  5 |     import EventSource
    |            `- error: no such module 'EventSource'
  6 | #endif
  7 |
[264/493] Compiling MCP Ping.swift
/host/spi-builder-workspace/.build/checkouts/swift-sdk/Sources/MCP/Base/Transports/HTTPClientTransport.swift:5:12: error: no such module 'EventSource'
  3 |
  4 | #if !os(Linux)
  5 |     import EventSource
    |            `- error: no such module 'EventSource'
  6 | #endif
  7 |
[265/493] Compiling MCP Progress.swift
/host/spi-builder-workspace/.build/checkouts/swift-sdk/Sources/MCP/Base/Transports/HTTPClientTransport.swift:5:12: error: no such module 'EventSource'
  3 |
  4 | #if !os(Linux)
  5 |     import EventSource
    |            `- error: no such module 'EventSource'
  6 | #endif
  7 |
[266/493] Compiling MCP RequestContext.swift
/host/spi-builder-workspace/.build/checkouts/swift-sdk/Sources/MCP/Base/Transports/HTTPClientTransport.swift:5:12: error: no such module 'EventSource'
  3 |
  4 | #if !os(Linux)
  5 |     import EventSource
    |            `- error: no such module 'EventSource'
  6 | #endif
  7 |
/host/spi-builder-workspace/.build/checkouts/swift-sdk/Sources/MCP/Base/Transports/HTTPClientTransport.swift:5:12: error: no such module 'EventSource'
  3 |
  4 | #if !os(Linux)
  5 |     import EventSource
    |            `- error: no such module 'EventSource'
  6 | #endif
  7 |
/host/spi-builder-workspace/.build/checkouts/swift-sdk/Sources/MCP/Base/Transports/HTTPClientTransport.swift:5:12: error: no such module 'EventSource'
  3 |
  4 | #if !os(Linux)
  5 |     import EventSource
    |            `- error: no such module 'EventSource'
  6 | #endif
  7 |
/host/spi-builder-workspace/.build/checkouts/swift-sdk/Sources/MCP/Base/Transports/HTTPClientTransport.swift:5:12: error: no such module 'EventSource'
  3 |
  4 | #if !os(Linux)
  5 |     import EventSource
    |            `- error: no such module 'EventSource'
  6 | #endif
  7 |
/host/spi-builder-workspace/.build/checkouts/swift-sdk/Sources/MCP/Base/Transports/HTTPClientTransport.swift:5:12: error: no such module 'EventSource'
  3 |
  4 | #if !os(Linux)
  5 |     import EventSource
    |            `- error: no such module 'EventSource'
  6 | #endif
  7 |
/host/spi-builder-workspace/.build/checkouts/swift-sdk/Sources/MCP/Base/Transports/HTTPClientTransport.swift:5:12: error: no such module 'EventSource'
  3 |
  4 | #if !os(Linux)
  5 |     import EventSource
    |            `- error: no such module 'EventSource'
  6 | #endif
  7 |
/host/spi-builder-workspace/.build/checkouts/swift-sdk/Sources/MCP/Base/Transports/HTTPClientTransport.swift:5:12: error: no such module 'EventSource'
  3 |
  4 | #if !os(Linux)
  5 |     import EventSource
    |            `- error: no such module 'EventSource'
  6 | #endif
  7 |
/host/spi-builder-workspace/.build/checkouts/swift-sdk/Sources/MCP/Base/Transports/HTTPClientTransport.swift:5:12: error: no such module 'EventSource'
  3 |
  4 | #if !os(Linux)
  5 |     import EventSource
    |            `- error: no such module 'EventSource'
  6 | #endif
  7 |
/host/spi-builder-workspace/.build/checkouts/swift-sdk/Sources/MCP/Base/Transports/HTTPClientTransport.swift:5:12: error: no such module 'EventSource'
  3 |
  4 | #if !os(Linux)
  5 |     import EventSource
    |            `- error: no such module 'EventSource'
  6 | #endif
  7 |
/host/spi-builder-workspace/.build/checkouts/swift-sdk/Sources/MCP/Base/Transports/HTTPClientTransport.swift:5:12: error: no such module 'EventSource'
  3 |
  4 | #if !os(Linux)
  5 |     import EventSource
    |            `- error: no such module 'EventSource'
  6 | #endif
  7 |
/host/spi-builder-workspace/.build/checkouts/swift-sdk/Sources/MCP/Base/Transports/HTTPClientTransport.swift:5:12: error: no such module 'EventSource'
  3 |
  4 | #if !os(Linux)
  5 |     import EventSource
    |            `- error: no such module 'EventSource'
  6 | #endif
  7 |
/host/spi-builder-workspace/.build/checkouts/swift-sdk/Sources/MCP/Base/Transports/HTTPClientTransport.swift:5:12: error: no such module 'EventSource'
  3 |
  4 | #if !os(Linux)
  5 |     import EventSource
    |            `- error: no such module 'EventSource'
  6 | #endif
  7 |
/host/spi-builder-workspace/.build/checkouts/swift-sdk/Sources/MCP/Base/Transports/HTTPClientTransport.swift:5:12: error: no such module 'EventSource'
  3 |
  4 | #if !os(Linux)
  5 |     import EventSource
    |            `- error: no such module 'EventSource'
  6 | #endif
  7 |
/host/spi-builder-workspace/.build/checkouts/swift-sdk/Sources/MCP/Base/Transports/HTTPClientTransport.swift:5:12: error: no such module 'EventSource'
  3 |
  4 | #if !os(Linux)
  5 |     import EventSource
    |            `- error: no such module 'EventSource'
  6 | #endif
  7 |
/host/spi-builder-workspace/.build/checkouts/swift-sdk/Sources/MCP/Base/Transports/HTTPClientTransport.swift:5:12: error: no such module 'EventSource'
  3 |
  4 | #if !os(Linux)
  5 |     import EventSource
    |            `- error: no such module 'EventSource'
  6 | #endif
  7 |
[300/498] Compiling MCP OAuthConfiguration.swift
[301/498] Compiling MCP OAuthConstants.swift
[302/498] Compiling MCP OAuthDiscovery.swift
[303/498] Emitting module ArgumentParser
BUILD FAILURE 6.3 wasm