The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftDocCPlugin, reference main (5f2e24), with Swift 6.3 for Wasm on 21 Apr 2026 14:32:54 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>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/themomax/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/themomax/swift-docc-plugin
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 5f2e247 Rename snippet-build to snippet-extract (#33)
Cloned https://github.com/themomax/swift-docc-plugin.git
Revision (git rev-parse @):
5f2e247f5efef4ff8ee603443a9a29225ce9f0e2
SUCCESS checkout https://github.com/themomax/swift-docc-plugin.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/themomax/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.49s)
Creating working copy for https://github.com/apple/swift-docc-symbolkit
Working copy of https://github.com/apple/swift-docc-symbolkit resolved at main (4c4ff01)
/host/spi-builder-workspace/Plugins/Swift-DocC Preview/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values; this is an error in the Swift 6 language mode
 29 |         func addTargetDependencies(_ target: Target) {
 30 |             for dependency in target.dependencies {
 31 |                 switch dependency {
    |                 |- warning: switch covers known cases, but 'TargetDependency' may have additional unknown values; this is an error in the Swift 6 language mode
    |                 `- note: handle unknown values using "@unknown default"
 32 |                 case .product(let product):
 33 |                     addTargets(product.targets)
[1/1] Compiling plugin Swift-DocC Preview
/host/spi-builder-workspace/Plugins/Swift-DocC Convert/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values; this is an error in the Swift 6 language mode
 29 |         func addTargetDependencies(_ target: Target) {
 30 |             for dependency in target.dependencies {
 31 |                 switch dependency {
    |                 |- warning: switch covers known cases, but 'TargetDependency' may have additional unknown values; this is an error in the Swift 6 language mode
    |                 `- note: handle unknown values using "@unknown default"
 32 |                 case .product(let product):
 33 |                     addTargets(product.targets)
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/21] Write sources
[10/21] Write swift-version-24593BA9C3E375BF.txt
[12/143] Emitting module Snippets
[13/143] Emitting module SwiftDocCPlugin
[14/143] Compiling SwiftDocCPlugin EmptyFile.swift
[16/144] Compiling SwiftDocCPluginUtilities PluginFlag.swift
[17/144] Compiling SymbolKit Domain.swift
[18/144] Compiling SymbolKit DeclarationFragments+Simplify.swift
[19/144] Compiling SymbolKit DeclarationFragments.swift
[20/144] Compiling SymbolKit Fragment.swift
[21/145] 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:110:23: error: cannot find 'Process' in scope
108 |         )
109 |
110 |         let process = Process()
    |                       `- error: cannot find 'Process' in scope
111 |         process.executableURL = snippetTool
112 |         process.arguments = [
[22/145] 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:115:19: error: cannot find type 'Process' in scope
113 | }
114 |
115 | private extension Process {
    |                   `- error: cannot find type 'Process' in scope
116 |     /// Creates and runs a task with the given url and arguments, and returns the process output.
117 |     ///
[23/145] Compiling SymbolKit AvailabilityItem.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:115:19: error: cannot find type 'Process' in scope
113 | }
114 |
115 | private extension Process {
    |                   `- error: cannot find type 'Process' in scope
116 |     /// Creates and runs a task with the given url and arguments, and returns the process output.
117 |     ///
[24/145] Compiling SymbolKit Mixin.swift
[25/145] Compiling SymbolKit AnyScalar.swift
[26/145] Compiling SymbolKit LineList.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 |     ///
[27/145] Compiling SymbolKit Position.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 |     ///
error: emit-module command failed with exit code 1 (use -v to see invocation)
[28/145] Compiling SymbolKit Mixin+Equals.swift
[29/145] Compiling SymbolKit Mixin+Hash.swift
[30/145] 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:115:19: error: cannot find type 'Process' in scope
113 | }
114 |
115 | private extension Process {
    |                   `- error: cannot find type 'Process' in scope
116 |     /// Creates and runs a task with the given url and arguments, and returns the process output.
117 |     ///
/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()
[31/145] Compiling SymbolKit Generics.swift
[32/145] Compiling SymbolKit Namespace.swift
[33/145] Compiling SymbolKit Symbol.swift
[34/145] Compiling SymbolKit SymbolKind.swift
[35/145] Compiling SymbolKit ValueConstraints.swift
[36/145] Compiling SymbolKit SymbolGraph+Overloads.swift
[37/145] Compiling SymbolKit SymbolGraph.swift
[43/145] Compiling SymbolKit FragmentKind.swift
[44/145] Compiling SymbolKit FunctionParameter.swift
[45/145] Compiling SymbolKit SourceOrigin.swift
[46/145] Compiling SymbolKit GenericConstraints.swift
[47/145] Compiling SymbolKit Swift.swift
[48/145] Compiling SymbolKit SemanticVersion.swift
[49/145] Compiling SymbolKit AccessControl.swift
[50/145] Compiling SymbolKit AlternateDeclarations.swift
[51/145] Compiling SymbolKit Availability.swift
[52/145] Compiling SymbolKit OverloadData.swift
[53/145] Compiling SymbolKit PlistDetails.swift
[54/145] Compiling SymbolKit SPI.swift
[55/145] Compiling SymbolKit Snippet.swift
[56/145] Compiling SymbolKit Extension.swift
[57/145] Compiling SymbolKit GenericConstraint.swift
[58/145] Compiling SymbolKit GenericParameter.swift
[59/145] Compiling SymbolKit FunctionSignature.swift
[60/145] Compiling SymbolKit HTTP.swift
[61/145] Compiling SymbolKit Identifier.swift
[62/145] Compiling SymbolKit KindIdentifier.swift
[63/145] Compiling SymbolKit Location.swift
[64/145] Compiling SymbolKit Mutability.swift
[65/145] Compiling SymbolKit Names.swift
[66/145] Compiling SymbolKit Metadata.swift
[67/145] Compiling SymbolKit Module.swift
[68/145] Compiling SymbolKit OperatingSystem.swift
[69/145] Compiling SymbolKit Platform.swift
[70/145] Compiling SymbolKit ReferenceLocation.swift
[71/145] Compiling SymbolKit Relationship.swift
[72/145] Compiling SymbolKit RelationshipKind.swift
[80/145] Emitting module SymbolKit
[81/151] Compiling Snippets SnippetParser.swift
[82/151] Compiling Snippets Snippet.swift
[83/151] Emitting module Snippets
error: cancelled
BUILD FAILURE 6.3 wasm