Build Information
Failed to build SwiftDocCPlugin, reference main (d8c85d), with Swift 6.3 for Wasm on 16 Apr 2026 08:25:37 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ry-sun/swift-docc-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/ry-sun/swift-docc-plugin
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at d8c85d9 feat: add multi targets documentation generation supporting
Cloned https://github.com/ry-sun/swift-docc-plugin.git
Revision (git rev-parse @):
d8c85d959b9c5f755e835e44302fde5d214bec42
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/ry-sun/swift-docc-plugin.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/ry-sun/swift-docc-plugin.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Fetching https://github.com/apple/swift-docc-symbolkit
[1/3672] Fetching swift-docc-symbolkit
Fetched https://github.com/apple/swift-docc-symbolkit from cache (0.44s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.92s)
Creating working copy for https://github.com/apple/swift-docc-symbolkit
Working copy of https://github.com/apple/swift-docc-symbolkit resolved at 1.0.0
/host/spi-builder-workspace/Plugins/Swift-DocC MultiTargets/SwiftDocCMultiTargets.swift:19:13: warning: initialization of immutable value 'doccExecutableURL' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
17 | @main struct SwiftDocCMultiTargets: CommandPlugin {
18 | func performCommand(context: PluginContext, arguments: [String]) throws {
19 | let doccExecutableURL = try context.doccExecutable
| `- warning: initialization of immutable value 'doccExecutableURL' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
20 |
21 | var argumentExtractor = ArgumentExtractor(arguments)
/host/spi-builder-workspace/Plugins/Swift-DocC MultiTargets/SwiftDocCMultiTargets.swift:136:22: warning: variable 'language' was never mutated; consider changing the pattern to 'case (..., let language, ...)'
134 | let targetIndex = try readJsonFile(url: cacheDirectory.appending(path: target).appending(path: "index").appending(path: "index.json"))
135 | let targetInterfaceLanguages = targetIndex["interfaceLanguages"] as! [String: [Any]]
136 | for var (language, value) in targetInterfaceLanguages {
| `- warning: variable 'language' was never mutated; consider changing the pattern to 'case (..., let language, ...)'
137 | for var (i, subValue) in value.enumerated() {
138 | if
/host/spi-builder-workspace/Plugins/Swift-DocC MultiTargets/SwiftDocCMultiTargets.swift:137:26: warning: variable 'i' was never mutated; consider changing the pattern to 'case (..., let i, ...)'
135 | let targetInterfaceLanguages = targetIndex["interfaceLanguages"] as! [String: [Any]]
136 | for var (language, value) in targetInterfaceLanguages {
137 | for var (i, subValue) in value.enumerated() {
| `- warning: variable 'i' was never mutated; consider changing the pattern to 'case (..., let i, ...)'
138 | if
139 | var subValue = subValue as? [String: Any],
/host/spi-builder-workspace/Plugins/Swift-DocC MultiTargets/SwiftDocCMultiTargets.swift:137:29: warning: variable 'subValue' was never mutated; consider changing the pattern to 'case (..., let subValue, ...)'
135 | let targetInterfaceLanguages = targetIndex["interfaceLanguages"] as! [String: [Any]]
136 | for var (language, value) in targetInterfaceLanguages {
137 | for var (i, subValue) in value.enumerated() {
| `- warning: variable 'subValue' was never mutated; consider changing the pattern to 'case (..., let subValue, ...)'
138 | if
139 | var subValue = subValue as? [String: Any],
[1/1] Compiling plugin Swift-DocC MultiTargets
[2/2] Compiling plugin Swift-DocC Preview
[3/3] Compiling plugin Swift-DocC
Building for debugging...
[3/22] Write sources
[11/22] Write swift-version-24593BA9C3E375BF.txt
[13/38] Emitting module SwiftDocCPlugin
error: emit-module command failed with exit code 1 (use -v to see invocation)
[14/128] Emitting module SwiftDocCPluginUtilities
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/DispatchTimeInterval+descriptionInSeconds.swift:14:11: error: cannot find type 'DispatchTimeInterval' in scope
12 | // Swift Package Manager here:
13 | // https://github.com/apple/swift-package-manager/blob/beac985/Sources/Basics/DispatchTimeInterval+Extensions.swift
14 | extension DispatchTimeInterval {
| `- error: cannot find type 'DispatchTimeInterval' in scope
15 | /// A description of the current time interval suitable for presentation, in seconds.
16 | ///
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/HelpInformation.swift:18:13: error: cannot find 'Process' in scope
16 | /// This is defined as a static variable to allow for mocking in tests.
17 | static var _doccHelp: (PluginAction, URL) throws -> (String?) = { pluginAction, doccExecutableURL in
18 | try Process.runAndCaptureOutput(
| `- error: cannot find 'Process' in scope
19 | doccExecutableURL,
20 | arguments: [
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/HelpInformation.swift:129:19: error: cannot find type 'Process' in scope
127 | }
128 |
129 | private extension Process {
| `- error: cannot find type 'Process' in scope
130 | /// Creates and runs a task with the given url and arguments, and returns the process output.
131 | ///
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/Snippets/SnippetExtractor.swift:57:23: error: cannot find type 'Process' in scope
55 | ///
56 | /// Provided for testing.
57 | var _runProcess: (Process) throws -> () = { process in
| `- error: cannot find type 'Process' in scope
58 | try process.run()
59 | process.waitUntilExit()
[15/130] Emitting module Snippets
[16/130] Emitting module SymbolKit
[18/140] Compiling SymbolKit Domain.swift
[19/140] Compiling SymbolKit DeclarationFragments.swift
[20/140] Compiling SymbolKit RelationshipKind.swift
[21/140] Compiling SymbolKit AvailabilityItem.swift
[22/140] Compiling SwiftDocCPlugin EmptyFile.swift
[23/141] Compiling SymbolKit Platform.swift
[24/141] Compiling SymbolKit Relationship.swift
[26/141] Compiling SymbolKit SourceRange.swift
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/HelpInformation.swift:18:13: error: cannot find 'Process' in scope
16 | /// This is defined as a static variable to allow for mocking in tests.
17 | static var _doccHelp: (PluginAction, URL) throws -> (String?) = { pluginAction, doccExecutableURL in
18 | try Process.runAndCaptureOutput(
| `- error: cannot find 'Process' in scope
19 | doccExecutableURL,
20 | arguments: [
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/HelpInformation.swift:129:19: error: cannot find type 'Process' in scope
127 | }
128 |
129 | private extension Process {
| `- error: cannot find type 'Process' in scope
130 | /// Creates and runs a task with the given url and arguments, and returns the process output.
131 | ///
[27/141] Compiling SymbolKit Metadata.swift
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/HelpInformation.swift:18:13: error: cannot find 'Process' in scope
16 | /// This is defined as a static variable to allow for mocking in tests.
17 | static var _doccHelp: (PluginAction, URL) throws -> (String?) = { pluginAction, doccExecutableURL in
18 | try Process.runAndCaptureOutput(
| `- error: cannot find 'Process' in scope
19 | doccExecutableURL,
20 | arguments: [
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/HelpInformation.swift:129:19: error: cannot find type 'Process' in scope
127 | }
128 |
129 | private extension Process {
| `- error: cannot find type 'Process' in scope
130 | /// Creates and runs a task with the given url and arguments, and returns the process output.
131 | ///
[28/141] Compiling SwiftDocCPluginUtilities SkipSynthesizedSymbolsFlag.swift
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/Snippets/SnippetExtractor.swift:57:23: error: cannot find type 'Process' in scope
55 | ///
56 | /// Provided for testing.
57 | var _runProcess: (Process) throws -> () = { process in
| `- error: cannot find type 'Process' in scope
58 | try process.run()
59 | process.waitUntilExit()
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/Snippets/SnippetExtractor.swift:139:23: error: cannot find 'Process' in scope
137 | let outputFile = outputDirectory.appendingPathComponent("\(packageDisplayName)-snippets.symbols.json")
138 |
139 | let process = Process()
| `- error: cannot find 'Process' in scope
140 | process.executableURL = snippetTool
141 | process.arguments = [
[29/141] Compiling SwiftDocCPluginUtilities SnippetExtractor.swift
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/Snippets/SnippetExtractor.swift:57:23: error: cannot find type 'Process' in scope
55 | ///
56 | /// Provided for testing.
57 | var _runProcess: (Process) throws -> () = { process in
| `- error: cannot find type 'Process' in scope
58 | try process.run()
59 | process.waitUntilExit()
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/Snippets/SnippetExtractor.swift:139:23: error: cannot find 'Process' in scope
137 | let outputFile = outputDirectory.appendingPathComponent("\(packageDisplayName)-snippets.symbols.json")
138 |
139 | let process = Process()
| `- error: cannot find 'Process' in scope
140 | process.executableURL = snippetTool
141 | process.arguments = [
[30/141] Compiling SymbolKit Generics.swift
[31/141] Compiling SymbolKit Namespace.swift
[32/141] Compiling SymbolKit Symbol.swift
[33/141] Compiling SymbolKit SymbolKind.swift
[34/141] Compiling SymbolKit SymbolGraph.swift
[35/141] Compiling SymbolKit GraphCollector.swift
[36/141] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[37/141] Compiling SymbolKit UnifiedSymbol.swift
[38/141] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[39/141] Compiling SymbolKit UnifiedSymbolGraph.swift
[40/141] Compiling SymbolKit SourceOrigin.swift
[41/141] Compiling SymbolKit GenericConstraints.swift
[42/141] Compiling SymbolKit Swift.swift
[43/141] Compiling SymbolKit SemanticVersion.swift
[44/141] Compiling SymbolKit AccessControl.swift
[45/141] Compiling SymbolKit Availability.swift
[46/141] Compiling SymbolKit SPI.swift
[47/141] Compiling SymbolKit Snippet.swift
[48/141] Compiling SymbolKit Extension.swift
[49/141] Compiling SymbolKit GenericConstraint.swift
[50/141] Compiling SymbolKit GenericParameter.swift
[56/141] Compiling SymbolKit FunctionParameter.swift
[57/141] Compiling SymbolKit Mixin+Equals.swift
[58/141] Compiling SymbolKit Mixin+Hash.swift
[59/141] Compiling SymbolKit Mixin.swift
[60/141] Compiling SymbolKit LineList.swift
[61/141] Compiling SymbolKit Position.swift
[63/141] Compiling SymbolKit FunctionSignature.swift
[64/141] Compiling SymbolKit Identifier.swift
[65/141] Compiling SymbolKit KindIdentifier.swift
[66/141] Compiling SymbolKit Location.swift
[67/141] Compiling SymbolKit Mutability.swift
[68/141] Compiling SymbolKit Names.swift
[70/141] Compiling SymbolKit Module.swift
[71/141] Compiling SymbolKit OperatingSystem.swift
[75/141] Compiling Snippets Snippet.swift
[76/141] Emitting module Snippets
[77/141] Compiling Snippets SnippetParser.swift
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/DispatchTimeInterval+descriptionInSeconds.swift:14:11: error: cannot find type 'DispatchTimeInterval' in scope
12 | // Swift Package Manager here:
13 | // https://github.com/apple/swift-package-manager/blob/beac985/Sources/Basics/DispatchTimeInterval+Extensions.swift
14 | extension DispatchTimeInterval {
| `- error: cannot find type 'DispatchTimeInterval' in scope
15 | /// A description of the current time interval suitable for presentation, in seconds.
16 | ///
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/DispatchTimeInterval+descriptionInSeconds.swift:14:11: error: cannot find type 'DispatchTimeInterval' in scope
12 | // Swift Package Manager here:
13 | // https://github.com/apple/swift-package-manager/blob/beac985/Sources/Basics/DispatchTimeInterval+Extensions.swift
14 | extension DispatchTimeInterval {
| `- error: cannot find type 'DispatchTimeInterval' in scope
15 | /// A description of the current time interval suitable for presentation, in seconds.
16 | ///
[86/143] Wrapping AST for Snippets for debugging
BUILD FAILURE 6.3 wasm