The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftDocCPlugin, reference 1.5.0 (647c70), with Swift 6.2 for Wasm on 28 Apr 2026 00:57:28 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swiftlang/swift-docc-plugin.git
Reference: 1.5.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/swiftlang/swift-docc-plugin
 * tag               1.5.0      -> FETCH_HEAD
HEAD is now at 647c708 Support snippets in files other than .swift (#120)
Cloned https://github.com/swiftlang/swift-docc-plugin.git
Revision (git rev-parse @):
647c708be89f834fa6a6d4945442793a77ddf5b6
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/swiftlang/swift-docc-plugin.git at 1.5.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/swiftlang/swift-docc-plugin.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:2a8b2d9e022a9894c61e0736af7cdaa1ee64c002dbb133a55c0d7e8980b3ad16
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3677] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.74s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.71s)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/21] Write sources
[10/21] Write swift-version-24593BA9C3E375BF.txt
[12/128] Emitting module SymbolKit
[13/133] Emitting module SwiftDocCPlugin
[14/133] Compiling SwiftDocCPlugin EmptyFile.swift
[16/134] Compiling SymbolKit Position.swift
[17/134] Compiling SymbolKit SourceRange.swift
[18/134] Compiling SymbolKit Relationship.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:171:19: error: cannot find type 'Process' in scope
169 | }
170 |
171 | private extension Process {
    |                   `- error: cannot find type 'Process' in scope
172 |     /// Creates and runs a task with the given url and arguments, and returns the process output.
173 |     ///
[19/134] Compiling SymbolKit RelationshipKind.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:171:19: error: cannot find type 'Process' in scope
169 | }
170 |
171 | private extension Process {
    |                   `- error: cannot find type 'Process' in scope
172 |     /// Creates and runs a task with the given url and arguments, and returns the process output.
173 |     ///
error: emit-module command failed with exit code 1 (use -v to see invocation)
[20/136] Emitting module SwiftDocCPluginUtilities
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/BuildGraph/DocumentationBuildGraph.swift:47:72: error: cannot find type 'Operation' in scope
 45 |     /// - Parameter work: The work to perform for each task in the build graph.
 46 |     /// - Returns: A list of dependent operations that performs `work` for each documentation task task.
 47 |     func makeOperations(performing work: @escaping (Task) -> Void) -> [Operation] {
    |                                                                        `- error: cannot find type 'Operation' in scope
 48 |         var builder = OperationBuilder(work: work)
 49 |         for task in tasks {
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/BuildGraph/DocumentationBuildGraph.swift:80:47: error: cannot find type 'Operation' in scope
 78 |         let work: (Task) -> Void
 79 |         /// A lookup of operations by their ID
 80 |         private(set) var operationsByID: [ID: Operation] = [:]
    |                                               `- error: cannot find type 'Operation' in scope
 81 |
 82 |         /// Adds new dependent operations to the builder.
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/BuildGraph/DocumentationBuildGraph.swift:100:64: error: cannot find type 'Operation' in scope
 98 |
 99 |         /// Returns the existing operation for the given task or creates a new operation if the builder didn't already have an operation for this task.
100 |         private mutating func makeOperation(for task: Task) -> Operation {
    |                                                                `- error: cannot find type 'Operation' in scope
101 |             if let existing = operationsByID[task.id] {
102 |                 return existing
/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:42:11: error: cannot find type 'DispatchTime' in scope
40 | // when it's available on all platforms.
41 | #if !canImport(Darwin)
42 | extension DispatchTime {
   |           `- error: cannot find type 'DispatchTime' in scope
43 |     public func distance(to: DispatchTime) -> DispatchTimeInterval {
44 |         let duration = to.uptimeNanoseconds - self.uptimeNanoseconds
/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:171:19: error: cannot find type 'Process' in scope
169 | }
170 |
171 | private extension Process {
    |                   `- error: cannot find type 'Process' in scope
172 |     /// Creates and runs a task with the given url and arguments, and returns the process output.
173 |     ///
/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()
[21/136] Compiling SymbolKit SourceOrigin.swift
[22/136] Compiling SymbolKit GenericConstraints.swift
[23/136] Compiling Snippets Snippet.swift
[24/136] Emitting module Snippets
[25/136] Compiling SymbolKit Metadata.swift
[26/136] Compiling SymbolKit Module.swift
[27/136] Compiling SymbolKit OperatingSystem.swift
[28/136] Compiling SymbolKit Platform.swift
[31/136] Compiling SymbolKit Mixin+Equals.swift
[32/136] Compiling SymbolKit Mixin+Hash.swift
[33/136] Compiling SymbolKit Mixin.swift
[34/136] Compiling SymbolKit LineList.swift
[37/136] Compiling SwiftDocCPluginUtilities PluginAction.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 = [
[38/136] 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 = [
[39/136] Compiling SymbolKit GraphCollector.swift
[40/136] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[41/136] Compiling SymbolKit UnifiedSymbol.swift
[42/136] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[43/136] Compiling SymbolKit UnifiedSymbolGraph.swift
[46/136] Compiling SymbolKit SPI.swift
[47/136] Compiling SymbolKit Snippet.swift
[48/136] Compiling SymbolKit Extension.swift
[49/136] Compiling SymbolKit GenericConstraint.swift
[50/136] Compiling SymbolKit GenericParameter.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:42:11: error: cannot find type 'DispatchTime' in scope
40 | // when it's available on all platforms.
41 | #if !canImport(Darwin)
42 | extension DispatchTime {
   |           `- error: cannot find type 'DispatchTime' in scope
43 |     public func distance(to: DispatchTime) -> DispatchTimeInterval {
44 |         let duration = to.uptimeNanoseconds - self.uptimeNanoseconds
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/DispatchTimeInterval+descriptionInSeconds.swift:43:47: error: cannot find type 'DispatchTimeInterval' in scope
41 | #if !canImport(Darwin)
42 | extension DispatchTime {
43 |     public func distance(to: DispatchTime) -> DispatchTimeInterval {
   |                                               `- error: cannot find type 'DispatchTimeInterval' in scope
44 |         let duration = to.uptimeNanoseconds - self.uptimeNanoseconds
45 |         return .nanoseconds(duration >= Int.max ? Int.max : Int(duration))
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/DispatchTimeInterval+descriptionInSeconds.swift:43:30: error: cannot find type 'DispatchTime' in scope
41 | #if !canImport(Darwin)
42 | extension DispatchTime {
43 |     public func distance(to: DispatchTime) -> DispatchTimeInterval {
   |                              `- error: cannot find type 'DispatchTime' in scope
44 |         let duration = to.uptimeNanoseconds - self.uptimeNanoseconds
45 |         return .nanoseconds(duration >= Int.max ? Int.max : Int(duration))
/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:42:11: error: cannot find type 'DispatchTime' in scope
40 | // when it's available on all platforms.
41 | #if !canImport(Darwin)
42 | extension DispatchTime {
   |           `- error: cannot find type 'DispatchTime' in scope
43 |     public func distance(to: DispatchTime) -> DispatchTimeInterval {
44 |         let duration = to.uptimeNanoseconds - self.uptimeNanoseconds
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/DispatchTimeInterval+descriptionInSeconds.swift:43:47: error: cannot find type 'DispatchTimeInterval' in scope
41 | #if !canImport(Darwin)
42 | extension DispatchTime {
43 |     public func distance(to: DispatchTime) -> DispatchTimeInterval {
   |                                               `- error: cannot find type 'DispatchTimeInterval' in scope
44 |         let duration = to.uptimeNanoseconds - self.uptimeNanoseconds
45 |         return .nanoseconds(duration >= Int.max ? Int.max : Int(duration))
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/DispatchTimeInterval+descriptionInSeconds.swift:43:30: error: cannot find type 'DispatchTime' in scope
41 | #if !canImport(Darwin)
42 | extension DispatchTime {
43 |     public func distance(to: DispatchTime) -> DispatchTimeInterval {
   |                              `- error: cannot find type 'DispatchTime' in scope
44 |         let duration = to.uptimeNanoseconds - self.uptimeNanoseconds
45 |         return .nanoseconds(duration >= Int.max ? Int.max : Int(duration))
[57/136] Compiling SymbolKit AccessControl.swift
[58/136] Compiling SymbolKit Availability.swift
[59/136] Compiling SymbolKit AvailabilityItem.swift
[60/136] Compiling SymbolKit Domain.swift
[61/136] Compiling SymbolKit DeclarationFragments.swift
[62/136] Compiling SymbolKit Fragment.swift
[63/136] Compiling SymbolKit FragmentKind.swift
[64/136] Compiling SymbolKit FunctionParameter.swift
[65/136] Compiling SymbolKit FunctionSignature.swift
[66/136] Compiling SymbolKit Identifier.swift
[67/136] Compiling SymbolKit KindIdentifier.swift
[68/136] Compiling SymbolKit Location.swift
[69/136] Compiling SymbolKit Mutability.swift
[70/136] Compiling SymbolKit Names.swift
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/BuildGraph/DocumentationBuildGraph.swift:47:72: error: cannot find type 'Operation' in scope
 45 |     /// - Parameter work: The work to perform for each task in the build graph.
 46 |     /// - Returns: A list of dependent operations that performs `work` for each documentation task task.
 47 |     func makeOperations(performing work: @escaping (Task) -> Void) -> [Operation] {
    |                                                                        `- error: cannot find type 'Operation' in scope
 48 |         var builder = OperationBuilder(work: work)
 49 |         for task in tasks {
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/BuildGraph/DocumentationBuildGraph.swift:80:47: error: cannot find type 'Operation' in scope
 78 |         let work: (Task) -> Void
 79 |         /// A lookup of operations by their ID
 80 |         private(set) var operationsByID: [ID: Operation] = [:]
    |                                               `- error: cannot find type 'Operation' in scope
 81 |
 82 |         /// Adds new dependent operations to the builder.
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/BuildGraph/DocumentationBuildGraph.swift:100:64: error: cannot find type 'Operation' in scope
 98 |
 99 |         /// Returns the existing operation for the given task or creates a new operation if the builder didn't already have an operation for this task.
100 |         private mutating func makeOperation(for task: Task) -> Operation {
    |                                                                `- error: cannot find type 'Operation' in scope
101 |             if let existing = operationsByID[task.id] {
102 |                 return existing
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/BuildGraph/DocumentationBuildGraph.swift:105:23: error: cannot find 'BlockOperation' in scope
103 |             }
104 |             // Copy the closure and the target into a block operation object
105 |             let new = BlockOperation { [work, task] in
    |                       `- error: cannot find 'BlockOperation' in scope
106 |                 work(task)
107 |             }
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/BuildGraph/DocumentationBuildGraphRunner.swift:21:21: error: cannot find 'OperationQueue' in scope
19 |     func perform<Result>(_ work: @escaping Work<Result>) throws -> [Result] {
20 |         // Create a serial queue to perform each documentation build task
21 |         let queue = OperationQueue()
   |                     `- error: cannot find 'OperationQueue' in scope
22 |
23 |         // Operations can't raise errors. Instead we catch the error from 'performBuildTask(_:)'
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/BuildGraph/DocumentationBuildGraphRunner.swift:29:61: error: cannot infer type of closure parameter 'task' without a type annotation
27 |         var results: [Result] = []
28 |
29 |         let operations = buildGraph.makeOperations { [work] task in
   |                                                             `- error: cannot infer type of closure parameter 'task' without a type annotation
30 |             do {
31 |                 let result = try work(task)
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/BuildGraph/DocumentationBuildGraph.swift:47:72: error: cannot find type 'Operation' in scope
 45 |     /// - Parameter work: The work to perform for each task in the build graph.
 46 |     /// - Returns: A list of dependent operations that performs `work` for each documentation task task.
 47 |     func makeOperations(performing work: @escaping (Task) -> Void) -> [Operation] {
    |                                                                        `- error: cannot find type 'Operation' in scope
 48 |         var builder = OperationBuilder(work: work)
 49 |         for task in tasks {
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/BuildGraph/DocumentationBuildGraph.swift:80:47: error: cannot find type 'Operation' in scope
 78 |         let work: (Task) -> Void
 79 |         /// A lookup of operations by their ID
 80 |         private(set) var operationsByID: [ID: Operation] = [:]
    |                                               `- error: cannot find type 'Operation' in scope
 81 |
 82 |         /// Adds new dependent operations to the builder.
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/BuildGraph/DocumentationBuildGraph.swift:100:64: error: cannot find type 'Operation' in scope
 98 |
 99 |         /// Returns the existing operation for the given task or creates a new operation if the builder didn't already have an operation for this task.
100 |         private mutating func makeOperation(for task: Task) -> Operation {
    |                                                                `- error: cannot find type 'Operation' in scope
101 |             if let existing = operationsByID[task.id] {
102 |                 return existing
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/BuildGraph/DocumentationBuildGraph.swift:105:23: error: cannot find 'BlockOperation' in scope
103 |             }
104 |             // Copy the closure and the target into a block operation object
105 |             let new = BlockOperation { [work, task] in
    |                       `- error: cannot find 'BlockOperation' in scope
106 |                 work(task)
107 |             }
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/BuildGraph/DocumentationBuildGraphRunner.swift:21:21: error: cannot find 'OperationQueue' in scope
19 |     func perform<Result>(_ work: @escaping Work<Result>) throws -> [Result] {
20 |         // Create a serial queue to perform each documentation build task
21 |         let queue = OperationQueue()
   |                     `- error: cannot find 'OperationQueue' in scope
22 |
23 |         // Operations can't raise errors. Instead we catch the error from 'performBuildTask(_:)'
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/BuildGraph/DocumentationBuildGraphRunner.swift:29:61: error: cannot infer type of closure parameter 'task' without a type annotation
27 |         var results: [Result] = []
28 |
29 |         let operations = buildGraph.makeOperations { [work] task in
   |                                                             `- error: cannot infer type of closure parameter 'task' without a type annotation
30 |             do {
31 |                 let result = try work(task)
[75/136] Compiling Snippets SnippetLanguage.swift
[76/136] Emitting module SymbolKit
[77/136] Emitting module Snippets
BUILD FAILURE 6.2 wasm