Build Information
Failed to build swift-cli-docs-plugin, reference main (28c4e1), with Swift 6.1 for Wasm on 5 May 2026 08:04:39 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ilia3546/swift-cli-docs-plugin.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/ilia3546/swift-cli-docs-plugin
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
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 main
========================================
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-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/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 swiftpackageindex/spi-images
Digest: sha256:276d66a16377d3ee059b2e3429cbc1154d9f01e42871e5d702fd5d8b9044d93d
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
Fetching https://github.com/kylef/PathKit
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/stencilproject/Stencil
Fetching https://github.com/jpsim/Yams
[1/1452] Fetching pathkit
[1308/6736] Fetching pathkit, stencil
[3250/24293] Fetching pathkit, stencil, swift-argument-parser
[7123/35844] Fetching pathkit, stencil, swift-argument-parser, yams
Fetched https://github.com/kylef/PathKit from cache (2.08s)
Fetched https://github.com/apple/swift-argument-parser from cache (2.09s)
Fetched https://github.com/stencilproject/Stencil from cache (2.74s)
Fetched https://github.com/jpsim/Yams from cache (2.78s)
Computing version for https://github.com/kylef/PathKit
Computed https://github.com/kylef/PathKit at 1.0.1 (5.47s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.61s)
Computing version for https://github.com/stencilproject/Stencil
Computed https://github.com/stencilproject/Stencil at 0.15.1 (4.77s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.90s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.7.1 (0.73s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 5.4.0 (0.63s)
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.7.1
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
[1/1] Compiling plugin SwiftCLIDocsPlugin
[2/2] Compiling plugin GenerateManual
[3/3] Compiling plugin GenerateDoccReference
Building for debugging...
[3/50] Write sources
[11/50] Copying Themes
[12/50] Write sources
[13/50] Copying Themes
[14/50] Write sources
[16/50] Compiling writer.c
[17/50] Compiling parser.c
[18/50] Compiling writer.c
[19/50] Compiling reader.c
[20/50] Compiling emitter.c
[21/50] Compiling reader.c
[22/50] Write sources
[25/50] Compiling parser.c
[26/50] Compiling api.c
[28/50] Write swift-version-24593BA9C3E375BF.txt
[28/50] Compiling scanner.c
[30/50] Compiling emitter.c
[31/78] Compiling scanner.c
[33/98] Emitting module ArgumentParserToolInfo
[34/98] Compiling ArgumentParserToolInfo ToolInfo.swift
[35/99] Emitting module Yams
[37/101] Compiling Yams Tag.swift
[38/101] Compiling Yams YamlAnchorProviding.swift
[38/103] Wrapping AST for ArgumentParserToolInfo for debugging
[40/149] Compiling ArgumentParser ArgumentHelp.swift
[41/149] Compiling ArgumentParser ArgumentVisibility.swift
[42/149] Compiling ArgumentParser CompletionKind.swift
[43/149] Compiling ArgumentParser ArgumentSet.swift
[44/149] Emitting module ArgumentParserToolInfo
[45/149] Compiling ArgumentParser CommandParser.swift
[46/149] Compiling ArgumentParserToolInfo ToolInfo.swift
[47/150] Compiling ArgumentParser Errors.swift
[48/150] Compiling ArgumentParser Flag.swift
[49/150] Compiling ArgumentParser NameSpecification.swift
[50/150] Compiling ArgumentParser ArgumentDecoder.swift
[51/150] Compiling ArgumentParser ArgumentDefinition.swift
[52/150] Emitting module Yams
[53/150] Compiling ArgumentParser BashCompletionsGenerator.swift
[54/150] Compiling ArgumentParser CompletionsGenerator.swift
[55/150] Compiling ArgumentParser FishCompletionsGenerator.swift
[59/150] Compiling ArgumentParser Option.swift
[60/150] Compiling ArgumentParser OptionGroup.swift
[61/150] Compiling ArgumentParser ParsableCommand.swift
[63/150] Compiling ArgumentParser InputKey.swift
[64/150] Compiling ArgumentParser ParentCommand.swift
[65/150] Compiling ArgumentParser ZshCompletionsGenerator.swift
[66/150] Compiling ArgumentParser Argument.swift
[67/150] Compiling ArgumentParser ArgumentDiscussion.swift
[68/168] Wrapping AST for ArgumentParserToolInfo for debugging
[69/197] Wrapping AST for Yams for debugging
[71/197] Emitting module PathKit
[72/197] Compiling PathKit PathKit.swift
[73/198] Wrapping AST for PathKit for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[75/220] 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
[76/220] 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
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:276d66a16377d3ee059b2e3429cbc1154d9f01e42871e5d702fd5d8b9044d93d
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/59] 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
[6/70] Compiling Yams Tag.swift
[7/70] Compiling Yams YamlAnchorProviding.swift
[8/72] 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
[10/72] Emitting module PathKit
[11/73] Emitting module ArgumentParserToolInfo
BUILD FAILURE 6.1 wasm