The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-cli-docs-plugin, reference 0.1.0 (28c4e1), with Swift 6.1 for Wasm on 28 Jun 2026 20:06:31 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886768-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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 0e64495ecc1688c3b3e031a5ef1348b5c05091ae
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ilia3546/swift-cli-docs-plugin.git
Reference: 0.1.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/ilia3546/swift-cli-docs-plugin
 * tag               0.1.0      -> FETCH_HEAD
HEAD is now at 28c4e10 Create FUNDING.yml
Cloned https://github.com/ilia3546/swift-cli-docs-plugin.git
Revision (git rev-parse @):
28c4e102543b1a3c3127aab465b813ad4a2e7d44
SUCCESS checkout https://github.com/ilia3546/swift-cli-docs-plugin.git at 0.1.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/ilia3546/swift-cli-docs-plugin.git
https://github.com/ilia3546/swift-cli-docs-plugin.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886768-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.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:1ad245dad3d2ae0004e1afbc92334bd39884ed9ca587cf04d0a8d5f640fb02e9
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/jpsim/Yams
Fetching https://github.com/kylef/PathKit
Fetching https://github.com/stencilproject/Stencil
[1/1452] Fetching pathkit
[1453/6736] Fetching pathkit, stencil
[6579/18573] Fetching pathkit, stencil, yams
Fetched https://github.com/stencilproject/Stencil from cache (0.49s)
[1571/13289] Fetching pathkit, yams
[1690/31238] Fetching pathkit, yams, swift-argument-parser
Fetched https://github.com/kylef/PathKit from cache (1.31s)
Fetched https://github.com/apple/swift-argument-parser from cache (1.31s)
Fetched https://github.com/jpsim/Yams from cache (1.32s)
Computing version for https://github.com/kylef/PathKit
Computed https://github.com/kylef/PathKit at 1.0.1 (2.26s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.40s)
Computing version for https://github.com/stencilproject/Stencil
Computed https://github.com/stencilproject/Stencil at 0.15.1 (1.32s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.24s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 5.4.0 (0.24s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.23s)
Creating working copy for https://github.com/kylef/PathKit
Working copy of https://github.com/kylef/PathKit resolved at 1.0.1
Creating working copy for https://github.com/stencilproject/Stencil
Working copy of https://github.com/stencilproject/Stencil resolved at 0.15.1
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
Creating working copy for https://github.com/jpsim/Yams
Working copy of https://github.com/jpsim/Yams resolved at 5.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
[1/1] Compiling plugin SwiftCLIDocsPlugin
[2/2] Compiling plugin GenerateManual
[3/3] Compiling plugin GenerateDoccReference
Building for debugging...
[3/50] Write sources
[16/50] Compiling writer.c
[17/50] Copying Themes
[19/50] Compiling reader.c
[20/50] Compiling parser.c
[21/50] Compiling writer.c
[22/50] Compiling reader.c
[23/50] Compiling api.c
[24/50] Write sources
[25/50] Compiling emitter.c
[26/50] Compiling parser.c
[27/50] Write swift-version-24593BA9C3E375BF.txt
[28/50] Compiling scanner.c
[29/50] Compiling api.c
[30/50] Compiling emitter.c
[31/78] Compiling scanner.c
[33/98] Emitting module ArgumentParserToolInfo
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[34/98] Emitting module Yams
[36/102] Compiling ArgumentParserToolInfo ToolInfo.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[38/103] Emitting module ArgumentParserToolInfo
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[39/104] Compiling Yams RedundancyAliasingStrategy.swift
[40/104] Compiling Yams Representer.swift
[42/104] Wrapping AST for ArgumentParserToolInfo for debugging
[44/104] Compiling Yams Tag.swift
[45/104] Compiling Yams YamlAnchorProviding.swift
[45/104] Wrapping AST for ArgumentParserToolInfo for debugging
[47/198] Compiling ArgumentParser ArgumentVisibility.swift
[48/198] Compiling ArgumentParser CompletionKind.swift
[49/198] Compiling ArgumentParser Errors.swift
[50/198] Compiling ArgumentParser Flag.swift
[51/198] Compiling ArgumentParser NameSpecification.swift
[52/198] Compiling ArgumentParser Option.swift
[53/198] Compiling ArgumentParser OptionGroup.swift
[54/198] Compiling ArgumentParser BashCompletionsGenerator.swift
[55/198] Compiling ArgumentParser CompletionsGenerator.swift
[56/198] Compiling ArgumentParser FishCompletionsGenerator.swift
[57/198] Compiling ArgumentParser ZshCompletionsGenerator.swift
[58/198] Compiling ArgumentParser Argument.swift
[59/198] Compiling ArgumentParser ArgumentDiscussion.swift
[60/198] Compiling ArgumentParser ArgumentHelp.swift
[61/198] Compiling ArgumentParser ParentCommand.swift
[62/198] Compiling ArgumentParser AsyncParsableCommand.swift
[63/198] Compiling ArgumentParser CommandConfiguration.swift
[64/198] Compiling ArgumentParser ExpressibleByArgument.swift
[65/198] Compiling ArgumentParser ParsableArguments.swift
[66/199] Emitting module PathKit
[67/199] Compiling PathKit PathKit.swift
[69/200] Wrapping AST for PathKit for debugging
[70/200] Wrapping AST for Yams for debugging
[72/222] Compiling Stencil Context.swift
[73/222] Compiling Stencil DynamicMemberLookup.swift
[74/222] Compiling Stencil Environment.swift
[75/222] Compiling Stencil Lexer.swift
[76/222] Compiling Stencil Parser.swift
[77/222] Compiling Stencil ForTag.swift
[78/222] Compiling Stencil IfTag.swift
[79/222] Compiling Stencil Include.swift
[80/222] Compiling Stencil Node.swift
[81/222] Compiling Stencil NowTag.swift
[82/222] Compiling Stencil Extension.swift
[83/222] Compiling Stencil FilterTag.swift
[84/222] Compiling Stencil Filters.swift
[85/222] Compiling Stencil Inheritance.swift
[86/222] Compiling Stencil KeyPath.swift
[87/222] Compiling Stencil LazyValueWrapper.swift
[88/222] Compiling Stencil Template.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.
[89/222] Compiling Stencil Tokenizer.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.
[90/222] Compiling Stencil Loader.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.
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
error: emit-module command failed with exit code 1 (use -v to see invocation)
[91/222] Emitting module PathKit
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:8:8: error: no such module 'Darwin'
  6 | let system_glob = Glibc.glob
  7 | #else
  8 | import Darwin
    |        `- error: no such module 'Darwin'
  9 |
 10 | let system_glob = Darwin.glob
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:8:8: error: no such module 'Darwin'
  6 | let system_glob = Glibc.glob
  7 | #else
  8 | import Darwin
    |        `- error: no such module 'Darwin'
  9 |
 10 | let system_glob = Darwin.glob
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886768-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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:1ad245dad3d2ae0004e1afbc92334bd39884ed9ca587cf04d0a8d5f640fb02e9
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin SwiftCLIDocsPlugin
[2/2] Compiling plugin GenerateManual
[3/3] Compiling plugin GenerateDoccReference
Building for debugging...
[3/22] Write swift-version-24593BA9C3E375BF.txt
[5/61] Emitting module PathKit
error: emit-module command failed with exit code 1 (use -v to see invocation)
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:8:8: error: no such module 'Darwin'
  6 | let system_glob = Glibc.glob
  7 | #else
  8 | import Darwin
    |        `- error: no such module 'Darwin'
  9 |
 10 | let system_glob = Darwin.glob
[7/70] Compiling PathKit PathKit.swift
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:8:8: error: no such module 'Darwin'
  6 | let system_glob = Glibc.glob
  7 | #else
  8 | import Darwin
    |        `- error: no such module 'Darwin'
  9 |
 10 | let system_glob = Darwin.glob
[8/70] Emitting module ArgumentParserToolInfo
BUILD FAILURE 6.1 wasm