Build Information
Failed to build SwiftDocCPlugin, reference main (e977f6), with Swift 6.3 for Wasm on 18 Apr 2026 22:20:44 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/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.3
Building package at path: $PWD
https://github.com/DePasqualeOrg/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/swiftlang/swift-docc-symbolkit
[1/3672] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.51s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.29s)
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 Snippets
[13/126] Emitting module SymbolKit
[14/131] Emitting module SwiftDocCPlugin
[15/131] Compiling SwiftDocCPlugin EmptyFile.swift
[17/132] Compiling SymbolKit SourceOrigin.swift
[18/132] Compiling SymbolKit GenericConstraints.swift
[19/132] Compiling SymbolKit Swift.swift
[20/132] Compiling SymbolKit SemanticVersion.swift
[21/132] Compiling SymbolKit AccessControl.swift
[22/132] Compiling SymbolKit Availability.swift
[23/132] Compiling SymbolKit Mixin+Equals.swift
[24/132] Compiling SymbolKit Mixin+Hash.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[25/132] 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()
[26/134] Compiling SymbolKit Mixin.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)
[27/134] Compiling SymbolKit LineList.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)
[28/139] Compiling SymbolKit Metadata.swift
[29/139] Compiling SymbolKit Module.swift
[30/139] Compiling SymbolKit OperatingSystem.swift
[31/139] Compiling SymbolKit Platform.swift
[32/139] Compiling SymbolKit Relationship.swift
[33/139] Compiling SymbolKit RelationshipKind.swift
[36/139] Emitting module Snippets
[37/139] Compiling Snippets Snippet.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))
[42/139] Compiling SymbolKit Position.swift
[43/139] 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: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/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 | ///
[46/139] Compiling SymbolKit Generics.swift
[47/139] Compiling SymbolKit Namespace.swift
[48/139] Compiling SymbolKit Symbol.swift
[49/139] Compiling SymbolKit SymbolKind.swift
[50/139] Compiling SymbolKit SymbolGraph.swift
[51/139] Compiling SymbolKit AvailabilityItem.swift
[58/139] Emitting module SymbolKit
[59/139] 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 = [
[60/139] 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 = [
[61/139] Compiling SymbolKit SPI.swift
[62/139] Compiling SymbolKit Snippet.swift
[63/139] Compiling SymbolKit Extension.swift
[64/139] Compiling SymbolKit GenericConstraint.swift
[65/139] Compiling SymbolKit GenericParameter.swift
[66/139] Compiling SymbolKit Identifier.swift
[67/139] Compiling SymbolKit KindIdentifier.swift
[68/139] Compiling SymbolKit Location.swift
[69/139] Compiling SymbolKit Mutability.swift
[70/139] Compiling SymbolKit Names.swift
[71/139] Compiling SymbolKit Domain.swift
[72/139] Compiling SymbolKit DeclarationFragments.swift
[73/139] Compiling SymbolKit Fragment.swift
[74/139] Compiling SymbolKit FragmentKind.swift
[75/139] Compiling SymbolKit FunctionParameter.swift
[76/139] Compiling SymbolKit FunctionSignature.swift
BUILD FAILURE 6.3 wasm