The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftDocCPlugin, reference main (e977f6), with Swift 6.2 for Wasm on 2 Mar 2026 14:03:46 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/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/DePasqualeOrg/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/DePasqualeOrg/swift-docc-plugin
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at e977f65 Add .gitattributes for symlinks on Windows (#119)
Cloned https://github.com/DePasqualeOrg/swift-docc-plugin.git
Revision (git rev-parse @):
e977f65879f82b375a044c8837597f690c067da6
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/DePasqualeOrg/swift-docc-plugin.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/DePasqualeOrg/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/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:c50555b47c4db0b0576f9f25702fbe2fdff28194c4a4f4c23a7dce4b3504c85e
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift-sdk.json
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3666] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.45s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.91s)
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/126] Emitting module SwiftDocCPlugin
[13/126] Compiling SwiftDocCPlugin EmptyFile.swift
[15/127] Compiling SymbolKit Mixin.swift
[16/127] Compiling SymbolKit LineList.swift
[17/129] Compiling SymbolKit SourceOrigin.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))
[18/129] Compiling SymbolKit GenericConstraints.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))
[19/129] Compiling SymbolKit Module.swift
[20/129] Compiling SymbolKit OperatingSystem.swift
[21/129] Compiling SymbolKit Platform.swift
[22/129] Compiling SymbolKit Relationship.swift
[23/129] Compiling SymbolKit RelationshipKind.swift
[24/129] Compiling SymbolKit Generics.swift
[25/129] Compiling SymbolKit SPI.swift
[26/129] Compiling SymbolKit Snippet.swift
[27/129] Compiling SymbolKit Extension.swift
[28/129] Compiling SymbolKit GenericConstraint.swift
[29/129] Compiling SymbolKit GenericParameter.swift
[30/129] Compiling SymbolKit Metadata.swift
[31/129] Compiling SymbolKit Position.swift
[32/129] Compiling SymbolKit SourceRange.swift
[33/129] Compiling SymbolKit Mixin+Equals.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)
[34/129] Compiling SymbolKit Mixin+Hash.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)
error: emit-module command failed with exit code 1 (use -v to see invocation)
[35/129] 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()
[36/134] Compiling SymbolKit FunctionSignature.swift
[37/134] Compiling SymbolKit Identifier.swift
[38/134] Compiling SymbolKit Swift.swift
[39/134] Compiling SymbolKit SemanticVersion.swift
[40/134] Compiling SymbolKit AccessControl.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 |     ///
[41/134] Compiling SymbolKit Availability.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 |     ///
[42/134] Emitting module SymbolKit
[45/134] Compiling SwiftDocCPluginUtilities PluginAction.swift
[46/134] Compiling SwiftDocCPluginUtilities SnippetExtractor.swift
[47/134] Compiling SymbolKit Mutability.swift
[48/134] Compiling SymbolKit Names.swift
[61/134] Compiling Snippets Snippet.swift
[62/134] Emitting module Snippets
[63/134] Compiling Snippets SnippetParser.swift
[64/134] Compiling SymbolKit SPI.swift
[65/134] Compiling SymbolKit Snippet.swift
[66/134] Compiling SymbolKit Extension.swift
[67/134] Compiling SymbolKit GenericConstraint.swift
[68/134] Compiling SymbolKit GenericParameter.swift
[69/134] Compiling SymbolKit Namespace.swift
[70/134] Compiling SymbolKit Symbol.swift
[71/134] Compiling SymbolKit SymbolKind.swift
[72/134] Compiling SymbolKit SymbolGraph.swift
[73/134] Compiling SymbolKit AvailabilityItem.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 = [
/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 = [
BUILD FAILURE 6.2 wasm