Build Information
Failed to build SwiftDocCPlugin, reference main (647c70), with Swift 6.1 for Wasm on 28 Apr 2026 00:58:40 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swiftlang/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/swiftlang/swift-docc-plugin
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
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 main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/swiftlang/swift-docc-plugin.git
https://github.com/swiftlang/swift-docc-plugin.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:276d66a16377d3ee059b2e3429cbc1154d9f01e42871e5d702fd5d8b9044d93d
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-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.93s)
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 Generics.swift
[17/134] Compiling SymbolKit Namespace.swift
[18/134] Compiling SymbolKit Symbol.swift
[19/134] Compiling SymbolKit SymbolKind.swift
[20/134] Compiling SymbolKit SymbolGraph.swift
[21/134] Compiling SymbolKit Mixin+Equals.swift
[22/134] Compiling SymbolKit Mixin+Hash.swift
[23/136] Compiling SymbolKit Mixin.swift
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/DocumentedPluginFlags/DocumentedArgument.swift:57:16: warning: static property 'enableCombinedDocumentation' is not concurrency-safe because non-'Sendable' type 'DocumentedArgument' may have shared mutable state; this is an error in the Swift 6 language mode
10 | ///
11 | /// This may include some arguments (flags or options) that the plugin forwards to the symbol graph extract tool or to DocC.
12 | struct DocumentedArgument {
| `- note: consider making struct 'DocumentedArgument' conform to the 'Sendable' protocol
13 | /// A command line argument (flag or option) that is wrapped with documentation.
14 | enum Argument {
:
55 | ///
56 | /// - Note: This flag requires that the `docc` executable supports ``Feature/linkDependencies``.
57 | static let enableCombinedDocumentation = Self(
| |- warning: static property 'enableCombinedDocumentation' is not concurrency-safe because non-'Sendable' type 'DocumentedArgument' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'enableCombinedDocumentation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 | flag: .init(preferred: "--enable-experimental-combined-documentation"),
59 | abstract: "Create a combined DocC archive with all generated documentation.",
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/DocumentedPluginFlags/DocumentedArgument.swift:67:16: warning: static property 'disableLMDBIndex' is not concurrency-safe because non-'Sendable' type 'DocumentedArgument' may have shared mutable state; this is an error in the Swift 6 language mode
10 | ///
11 | /// This may include some arguments (flags or options) that the plugin forwards to the symbol graph extract tool or to DocC.
12 | struct DocumentedArgument {
| `- note: consider making struct 'DocumentedArgument' conform to the 'Sendable' protocol
13 | /// A command line argument (flag or option) that is wrapped with documentation.
14 | enum Argument {
:
65 |
66 | /// A plugin feature flag to skip adding the `--emit-lmdb-index` flag, that the plugin adds by default.
67 | static let disableLMDBIndex = Self(
| |- warning: static property 'disableLMDBIndex' is not concurrency-safe because non-'Sendable' type 'DocumentedArgument' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'disableLMDBIndex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
68 | flag: .init(preferred: "--disable-indexing", alternatives: ["--no-indexing"]),
69 | abstract: "Disable indexing for the produced DocC archive.",
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/DocumentedPluginFlags/DocumentedArgument.swift:76:16: warning: static property 'verbose' is not concurrency-safe because non-'Sendable' type 'DocumentedArgument' may have shared mutable state; this is an error in the Swift 6 language mode
10 | ///
11 | /// This may include some arguments (flags or options) that the plugin forwards to the symbol graph extract tool or to DocC.
12 | struct DocumentedArgument {
| `- note: consider making struct 'DocumentedArgument' conform to the 'Sendable' protocol
13 | /// A command line argument (flag or option) that is wrapped with documentation.
14 | enum Argument {
:
74 |
75 | /// A plugin feature flag to enable verbose logging.
76 | static let verbose = Self(
| |- warning: static property 'verbose' is not concurrency-safe because non-'Sendable' type 'DocumentedArgument' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'verbose' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
77 | flag: .init(preferred: "--verbose"),
78 | abstract: "Increase verbosity to include informational output.",
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/DocumentedPluginFlags/DocumentedArgument.swift:94:16: warning: static property 'extendedTypes' is not concurrency-safe because non-'Sendable' type 'DocumentedArgument' may have shared mutable state; this is an error in the Swift 6 language mode
10 | ///
11 | /// This may include some arguments (flags or options) that the plugin forwards to the symbol graph extract tool or to DocC.
12 | struct DocumentedArgument {
| `- note: consider making struct 'DocumentedArgument' conform to the 'Sendable' protocol
13 | /// A command line argument (flag or option) that is wrapped with documentation.
14 | enum Argument {
:
92 | /// - Note: This flag is only available starting from Swift 5.8. It should be hidden from the `--help` command for lower toolchain versions.
93 | /// However, we do not hide the flag entirely, because this enables us to give a more precise warning when accidentally used with Swift 5.7 or lower.
94 | static let extendedTypes = Self(
| |- warning: static property 'extendedTypes' is not concurrency-safe because non-'Sendable' type 'DocumentedArgument' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'extendedTypes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
95 | flag: .init(
96 | preferred: "--include-extended-types",
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/DocumentedPluginFlags/DocumentedArgument.swift:106:16: warning: static property 'skipSynthesizedSymbols' is not concurrency-safe because non-'Sendable' type 'DocumentedArgument' may have shared mutable state; this is an error in the Swift 6 language mode
10 | ///
11 | /// This may include some arguments (flags or options) that the plugin forwards to the symbol graph extract tool or to DocC.
12 | struct DocumentedArgument {
| `- note: consider making struct 'DocumentedArgument' conform to the 'Sendable' protocol
13 | /// A command line argument (flag or option) that is wrapped with documentation.
14 | enum Argument {
:
104 | ///
105 | /// `--experimental-skip-synthesized-symbols` produces a DocC archive without compiler-synthesized symbols.
106 | static let skipSynthesizedSymbols = Self(
| |- warning: static property 'skipSynthesizedSymbols' is not concurrency-safe because non-'Sendable' type 'DocumentedArgument' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'skipSynthesizedSymbols' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 | flag: .init(preferred: "--experimental-skip-synthesized-symbols"),
108 | abstract: "Exclude synthesized symbols from the generated documentation.",
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/DocumentedPluginFlags/DocumentedArgument.swift:115:16: warning: static property 'minimumAccessLevel' is not concurrency-safe because non-'Sendable' type 'DocumentedArgument' may have shared mutable state; this is an error in the Swift 6 language mode
10 | ///
11 | /// This may include some arguments (flags or options) that the plugin forwards to the symbol graph extract tool or to DocC.
12 | struct DocumentedArgument {
| `- note: consider making struct 'DocumentedArgument' conform to the 'Sendable' protocol
13 | /// A command line argument (flag or option) that is wrapped with documentation.
14 | enum Argument {
:
113 |
114 | /// The minimum access level that the symbol graph extractor will emit symbols for
115 | static let minimumAccessLevel = Self(
| |- warning: static property 'minimumAccessLevel' is not concurrency-safe because non-'Sendable' type 'DocumentedArgument' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'minimumAccessLevel' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
116 | option: .init(preferred: "--symbol-graph-minimum-access-level"),
117 | abstract: "Include symbols with this access level or more.",
[24/136] Compiling SymbolKit LineList.swift
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/DocumentedPluginFlags/DocumentedArgument.swift:57:16: warning: static property 'enableCombinedDocumentation' is not concurrency-safe because non-'Sendable' type 'DocumentedArgument' may have shared mutable state; this is an error in the Swift 6 language mode
10 | ///
11 | /// This may include some arguments (flags or options) that the plugin forwards to the symbol graph extract tool or to DocC.
12 | struct DocumentedArgument {
| `- note: consider making struct 'DocumentedArgument' conform to the 'Sendable' protocol
13 | /// A command line argument (flag or option) that is wrapped with documentation.
14 | enum Argument {
:
55 | ///
56 | /// - Note: This flag requires that the `docc` executable supports ``Feature/linkDependencies``.
57 | static let enableCombinedDocumentation = Self(
| |- warning: static property 'enableCombinedDocumentation' is not concurrency-safe because non-'Sendable' type 'DocumentedArgument' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'enableCombinedDocumentation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 | flag: .init(preferred: "--enable-experimental-combined-documentation"),
59 | abstract: "Create a combined DocC archive with all generated documentation.",
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/DocumentedPluginFlags/DocumentedArgument.swift:67:16: warning: static property 'disableLMDBIndex' is not concurrency-safe because non-'Sendable' type 'DocumentedArgument' may have shared mutable state; this is an error in the Swift 6 language mode
10 | ///
11 | /// This may include some arguments (flags or options) that the plugin forwards to the symbol graph extract tool or to DocC.
12 | struct DocumentedArgument {
| `- note: consider making struct 'DocumentedArgument' conform to the 'Sendable' protocol
13 | /// A command line argument (flag or option) that is wrapped with documentation.
14 | enum Argument {
:
65 |
66 | /// A plugin feature flag to skip adding the `--emit-lmdb-index` flag, that the plugin adds by default.
67 | static let disableLMDBIndex = Self(
| |- warning: static property 'disableLMDBIndex' is not concurrency-safe because non-'Sendable' type 'DocumentedArgument' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'disableLMDBIndex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
68 | flag: .init(preferred: "--disable-indexing", alternatives: ["--no-indexing"]),
69 | abstract: "Disable indexing for the produced DocC archive.",
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/DocumentedPluginFlags/DocumentedArgument.swift:76:16: warning: static property 'verbose' is not concurrency-safe because non-'Sendable' type 'DocumentedArgument' may have shared mutable state; this is an error in the Swift 6 language mode
10 | ///
11 | /// This may include some arguments (flags or options) that the plugin forwards to the symbol graph extract tool or to DocC.
12 | struct DocumentedArgument {
| `- note: consider making struct 'DocumentedArgument' conform to the 'Sendable' protocol
13 | /// A command line argument (flag or option) that is wrapped with documentation.
14 | enum Argument {
:
74 |
75 | /// A plugin feature flag to enable verbose logging.
76 | static let verbose = Self(
| |- warning: static property 'verbose' is not concurrency-safe because non-'Sendable' type 'DocumentedArgument' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'verbose' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
77 | flag: .init(preferred: "--verbose"),
78 | abstract: "Increase verbosity to include informational output.",
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/DocumentedPluginFlags/DocumentedArgument.swift:94:16: warning: static property 'extendedTypes' is not concurrency-safe because non-'Sendable' type 'DocumentedArgument' may have shared mutable state; this is an error in the Swift 6 language mode
10 | ///
11 | /// This may include some arguments (flags or options) that the plugin forwards to the symbol graph extract tool or to DocC.
12 | struct DocumentedArgument {
| `- note: consider making struct 'DocumentedArgument' conform to the 'Sendable' protocol
13 | /// A command line argument (flag or option) that is wrapped with documentation.
14 | enum Argument {
:
92 | /// - Note: This flag is only available starting from Swift 5.8. It should be hidden from the `--help` command for lower toolchain versions.
93 | /// However, we do not hide the flag entirely, because this enables us to give a more precise warning when accidentally used with Swift 5.7 or lower.
94 | static let extendedTypes = Self(
| |- warning: static property 'extendedTypes' is not concurrency-safe because non-'Sendable' type 'DocumentedArgument' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'extendedTypes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
95 | flag: .init(
96 | preferred: "--include-extended-types",
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/DocumentedPluginFlags/DocumentedArgument.swift:106:16: warning: static property 'skipSynthesizedSymbols' is not concurrency-safe because non-'Sendable' type 'DocumentedArgument' may have shared mutable state; this is an error in the Swift 6 language mode
10 | ///
11 | /// This may include some arguments (flags or options) that the plugin forwards to the symbol graph extract tool or to DocC.
12 | struct DocumentedArgument {
| `- note: consider making struct 'DocumentedArgument' conform to the 'Sendable' protocol
13 | /// A command line argument (flag or option) that is wrapped with documentation.
14 | enum Argument {
:
104 | ///
105 | /// `--experimental-skip-synthesized-symbols` produces a DocC archive without compiler-synthesized symbols.
106 | static let skipSynthesizedSymbols = Self(
| |- warning: static property 'skipSynthesizedSymbols' is not concurrency-safe because non-'Sendable' type 'DocumentedArgument' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'skipSynthesizedSymbols' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 | flag: .init(preferred: "--experimental-skip-synthesized-symbols"),
108 | abstract: "Exclude synthesized symbols from the generated documentation.",
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/DocumentedPluginFlags/DocumentedArgument.swift:115:16: warning: static property 'minimumAccessLevel' is not concurrency-safe because non-'Sendable' type 'DocumentedArgument' may have shared mutable state; this is an error in the Swift 6 language mode
10 | ///
11 | /// This may include some arguments (flags or options) that the plugin forwards to the symbol graph extract tool or to DocC.
12 | struct DocumentedArgument {
| `- note: consider making struct 'DocumentedArgument' conform to the 'Sendable' protocol
13 | /// A command line argument (flag or option) that is wrapped with documentation.
14 | enum Argument {
:
113 |
114 | /// The minimum access level that the symbol graph extractor will emit symbols for
115 | static let minimumAccessLevel = Self(
| |- warning: static property 'minimumAccessLevel' is not concurrency-safe because non-'Sendable' type 'DocumentedArgument' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'minimumAccessLevel' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
116 | option: .init(preferred: "--symbol-graph-minimum-access-level"),
117 | abstract: "Include symbols with this access level or more.",
[25/136] Compiling SymbolKit SourceOrigin.swift
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/ParsedArguments.swift:143:16: warning: static property 'fallbackDisplayName' is not concurrency-safe because non-'Sendable' type 'CommandLineArgument.Option' may have shared mutable state; this is an error in the Swift 6 language mode
141 | ///
142 | /// The plugin defines this option so that it can pass a default value for older versions of `docc` which require this.
143 | static let fallbackDisplayName = CommandLineArgument.Option(
| |- warning: static property 'fallbackDisplayName' is not concurrency-safe because non-'Sendable' type 'CommandLineArgument.Option' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fallbackDisplayName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
144 | preferred: "--fallback-display-name"
145 | )
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/CommandLineArguments/CommandLineArgument.swift:85:19: note: consider making struct 'Option' conform to the 'Sendable' protocol
83 | ///
84 | /// For example: `"--some-option", "value"` or `"--some-option=value"`.
85 | public struct Option {
| `- note: consider making struct 'Option' conform to the 'Sendable' protocol
86 | /// The names of this command line option.
87 | public var names: Names
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/ParsedArguments.swift:150:16: warning: static property 'fallbackBundleIdentifier' is not concurrency-safe because non-'Sendable' type 'CommandLineArgument.Option' may have shared mutable state; this is an error in the Swift 6 language mode
148 | ///
149 | /// The plugin defines this option so that it can pass a default value for older versions of `docc` which require this.
150 | static let fallbackBundleIdentifier = CommandLineArgument.Option(
| |- warning: static property 'fallbackBundleIdentifier' is not concurrency-safe because non-'Sendable' type 'CommandLineArgument.Option' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fallbackBundleIdentifier' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 | preferred: "--fallback-bundle-identifier"
152 | )
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/CommandLineArguments/CommandLineArgument.swift:85:19: note: consider making struct 'Option' conform to the 'Sendable' protocol
83 | ///
84 | /// For example: `"--some-option", "value"` or `"--some-option=value"`.
85 | public struct Option {
| `- note: consider making struct 'Option' conform to the 'Sendable' protocol
86 | /// The names of this command line option.
87 | public var names: Names
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/ParsedArguments.swift:157:16: warning: static property 'fallbackDefaultModuleKind' is not concurrency-safe because non-'Sendable' type 'CommandLineArgument.Option' may have shared mutable state; this is an error in the Swift 6 language mode
155 | ///
156 | /// The plugin defines this option so that it can pass a default value when building documentation for executable targets.
157 | static let fallbackDefaultModuleKind = CommandLineArgument.Option(
| |- warning: static property 'fallbackDefaultModuleKind' is not concurrency-safe because non-'Sendable' type 'CommandLineArgument.Option' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fallbackDefaultModuleKind' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
158 | preferred: "--fallback-default-module-kind"
159 | )
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/CommandLineArguments/CommandLineArgument.swift:85:19: note: consider making struct 'Option' conform to the 'Sendable' protocol
83 | ///
84 | /// For example: `"--some-option", "value"` or `"--some-option=value"`.
85 | public struct Option {
| `- note: consider making struct 'Option' conform to the 'Sendable' protocol
86 | /// The names of this command line option.
87 | public var names: Names
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/ParsedArguments.swift:164:16: warning: static property 'additionalSymbolGraphDirectory' is not concurrency-safe because non-'Sendable' type 'CommandLineArgument.Option' may have shared mutable state; this is an error in the Swift 6 language mode
162 | ///
163 | /// The plugin defines this option so that it can pass a default value.
164 | static let additionalSymbolGraphDirectory = CommandLineArgument.Option(
| |- warning: static property 'additionalSymbolGraphDirectory' is not concurrency-safe because non-'Sendable' type 'CommandLineArgument.Option' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'additionalSymbolGraphDirectory' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
165 | preferred: "--additional-symbol-graph-dir"
166 | )
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/CommandLineArguments/CommandLineArgument.swift:85:19: note: consider making struct 'Option' conform to the 'Sendable' protocol
83 | ///
84 | /// For example: `"--some-option", "value"` or `"--some-option=value"`.
85 | public struct Option {
| `- note: consider making struct 'Option' conform to the 'Sendable' protocol
86 | /// The names of this command line option.
87 | public var names: Names
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/ParsedArguments.swift:171:16: warning: static property 'emitLMDBIndex' is not concurrency-safe because non-'Sendable' type 'CommandLineArgument.Flag' may have shared mutable state; this is an error in the Swift 6 language mode
169 | ///
170 | /// The plugin defines this flag so that it can pass this flag by default.
171 | static let emitLMDBIndex = CommandLineArgument.Flag(
| |- warning: static property 'emitLMDBIndex' is not concurrency-safe because non-'Sendable' type 'CommandLineArgument.Flag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'emitLMDBIndex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
172 | preferred: "--emit-lmdb-index"
173 | )
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/CommandLineArguments/CommandLineArgument.swift:63:19: note: consider making struct 'Flag' conform to the 'Sendable' protocol
61 | ///
62 | /// For example: `"--some-flag"`.
63 | public struct Flag {
| `- note: consider making struct 'Flag' conform to the 'Sendable' protocol
64 | /// The names of this command line flag.
65 | public var names: Names
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/ParsedArguments.swift:178:16: warning: static property 'outputPath' is not concurrency-safe because non-'Sendable' type 'CommandLineArgument.Option' may have shared mutable state; this is an error in the Swift 6 language mode
176 | ///
177 | /// The plugin defines this option so that it can intercept it and support building documentation for multiple targets within one package build command.
178 | static let outputPath = CommandLineArgument.Option(
| |- warning: static property 'outputPath' is not concurrency-safe because non-'Sendable' type 'CommandLineArgument.Option' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'outputPath' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
179 | preferred: "--output-path",
180 | alternatives: ["--output-dir", "-o"]
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/CommandLineArguments/CommandLineArgument.swift:85:19: note: consider making struct 'Option' conform to the 'Sendable' protocol
83 | ///
84 | /// For example: `"--some-option", "value"` or `"--some-option=value"`.
85 | public struct Option {
| `- note: consider making struct 'Option' conform to the 'Sendable' protocol
86 | /// The names of this command line option.
87 | public var names: Names
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/ParsedArguments.swift:186:16: warning: static property 'enableExternalLinkSupport' is not concurrency-safe because non-'Sendable' type 'CommandLineArgument.Flag' may have shared mutable state; this is an error in the Swift 6 language mode
184 | ///
185 | /// The plugin defines this flag so that it can specify documentation dependencies based on target dependencies when building combined documentation for multiple targets.
186 | static let enableExternalLinkSupport = CommandLineArgument.Flag(
| |- warning: static property 'enableExternalLinkSupport' is not concurrency-safe because non-'Sendable' type 'CommandLineArgument.Flag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'enableExternalLinkSupport' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
187 | preferred: "--enable-experimental-external-link-support"
188 | )
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/CommandLineArguments/CommandLineArgument.swift:63:19: note: consider making struct 'Flag' conform to the 'Sendable' protocol
61 | ///
62 | /// For example: `"--some-flag"`.
63 | public struct Flag {
| `- note: consider making struct 'Flag' conform to the 'Sendable' protocol
64 | /// The names of this command line flag.
65 | public var names: Names
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/ParsedArguments.swift:193:16: warning: static property 'externalLinkDependency' is not concurrency-safe because non-'Sendable' type 'CommandLineArgument.Option' may have shared mutable state; this is an error in the Swift 6 language mode
191 | ///
192 | /// The plugin defines this option so that it can specify documentation dependencies based on target dependencies when building combined documentation for multiple targets.
193 | static let externalLinkDependency = CommandLineArgument.Option(
| |- warning: static property 'externalLinkDependency' is not concurrency-safe because non-'Sendable' type 'CommandLineArgument.Option' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'externalLinkDependency' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
194 | preferred: "--dependency",
195 | kind: .arrayOfValues
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/CommandLineArguments/CommandLineArgument.swift:85:19: note: consider making struct 'Option' conform to the 'Sendable' protocol
83 | ///
84 | /// For example: `"--some-option", "value"` or `"--some-option=value"`.
85 | public struct Option {
| `- note: consider making struct 'Option' conform to the 'Sendable' protocol
86 | /// The names of this command line option.
87 | public var names: Names
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/ParsedArguments.swift:201:16: warning: static property 'synthesizedLandingPageName' is not concurrency-safe because non-'Sendable' type 'CommandLineArgument.Option' may have shared mutable state; this is an error in the Swift 6 language mode
199 | ///
200 | /// The plugin defines this option so that it can specify the package name as the display name of the default landing page when building combined documentation for multiple targets.
201 | static let synthesizedLandingPageName = CommandLineArgument.Option(
| |- warning: static property 'synthesizedLandingPageName' is not concurrency-safe because non-'Sendable' type 'CommandLineArgument.Option' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'synthesizedLandingPageName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
202 | preferred: "--synthesized-landing-page-name"
203 | )
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/CommandLineArguments/CommandLineArgument.swift:85:19: note: consider making struct 'Option' conform to the 'Sendable' protocol
83 | ///
84 | /// For example: `"--some-option", "value"` or `"--some-option=value"`.
85 | public struct Option {
| `- note: consider making struct 'Option' conform to the 'Sendable' protocol
86 | /// The names of this command line option.
87 | public var names: Names
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/ParsedArguments.swift:208:16: warning: static property 'synthesizedLandingPageKind' is not concurrency-safe because non-'Sendable' type 'CommandLineArgument.Option' may have shared mutable state; this is an error in the Swift 6 language mode
206 | ///
207 | /// The plugin defines this option so that it can specify "Package" as the kind of the default landing page when building combined documentation for multiple targets.
208 | static let synthesizedLandingPageKind = CommandLineArgument.Option(
| |- warning: static property 'synthesizedLandingPageKind' is not concurrency-safe because non-'Sendable' type 'CommandLineArgument.Option' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'synthesizedLandingPageKind' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
209 | preferred: "--synthesized-landing-page-kind"
210 | )
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/CommandLineArguments/CommandLineArgument.swift:85:19: note: consider making struct 'Option' conform to the 'Sendable' protocol
83 | ///
84 | /// For example: `"--some-option", "value"` or `"--some-option=value"`.
85 | public struct Option {
| `- note: consider making struct 'Option' conform to the 'Sendable' protocol
86 | /// The names of this command line option.
87 | public var names: Names
[26/136] Compiling SymbolKit GenericConstraints.swift
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/ParsedArguments.swift:143:16: warning: static property 'fallbackDisplayName' is not concurrency-safe because non-'Sendable' type 'CommandLineArgument.Option' may have shared mutable state; this is an error in the Swift 6 language mode
141 | ///
142 | /// The plugin defines this option so that it can pass a default value for older versions of `docc` which require this.
143 | static let fallbackDisplayName = CommandLineArgument.Option(
| |- warning: static property 'fallbackDisplayName' is not concurrency-safe because non-'Sendable' type 'CommandLineArgument.Option' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fallbackDisplayName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
144 | preferred: "--fallback-display-name"
145 | )
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/CommandLineArguments/CommandLineArgument.swift:85:19: note: consider making struct 'Option' conform to the 'Sendable' protocol
83 | ///
84 | /// For example: `"--some-option", "value"` or `"--some-option=value"`.
85 | public struct Option {
| `- note: consider making struct 'Option' conform to the 'Sendable' protocol
86 | /// The names of this command line option.
87 | public var names: Names
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/ParsedArguments.swift:150:16: warning: static property 'fallbackBundleIdentifier' is not concurrency-safe because non-'Sendable' type 'CommandLineArgument.Option' may have shared mutable state; this is an error in the Swift 6 language mode
148 | ///
149 | /// The plugin defines this option so that it can pass a default value for older versions of `docc` which require this.
150 | static let fallbackBundleIdentifier = CommandLineArgument.Option(
| |- warning: static property 'fallbackBundleIdentifier' is not concurrency-safe because non-'Sendable' type 'CommandLineArgument.Option' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fallbackBundleIdentifier' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 | preferred: "--fallback-bundle-identifier"
152 | )
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/CommandLineArguments/CommandLineArgument.swift:85:19: note: consider making struct 'Option' conform to the 'Sendable' protocol
83 | ///
84 | /// For example: `"--some-option", "value"` or `"--some-option=value"`.
85 | public struct Option {
| `- note: consider making struct 'Option' conform to the 'Sendable' protocol
86 | /// The names of this command line option.
87 | public var names: Names
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/ParsedArguments.swift:157:16: warning: static property 'fallbackDefaultModuleKind' is not concurrency-safe because non-'Sendable' type 'CommandLineArgument.Option' may have shared mutable state; this is an error in the Swift 6 language mode
155 | ///
156 | /// The plugin defines this option so that it can pass a default value when building documentation for executable targets.
157 | static let fallbackDefaultModuleKind = CommandLineArgument.Option(
| |- warning: static property 'fallbackDefaultModuleKind' is not concurrency-safe because non-'Sendable' type 'CommandLineArgument.Option' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fallbackDefaultModuleKind' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
158 | preferred: "--fallback-default-module-kind"
159 | )
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/CommandLineArguments/CommandLineArgument.swift:85:19: note: consider making struct 'Option' conform to the 'Sendable' protocol
83 | ///
84 | /// For example: `"--some-option", "value"` or `"--some-option=value"`.
85 | public struct Option {
| `- note: consider making struct 'Option' conform to the 'Sendable' protocol
86 | /// The names of this command line option.
87 | public var names: Names
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/ParsedArguments.swift:164:16: warning: static property 'additionalSymbolGraphDirectory' is not concurrency-safe because non-'Sendable' type 'CommandLineArgument.Option' may have shared mutable state; this is an error in the Swift 6 language mode
162 | ///
163 | /// The plugin defines this option so that it can pass a default value.
164 | static let additionalSymbolGraphDirectory = CommandLineArgument.Option(
| |- warning: static property 'additionalSymbolGraphDirectory' is not concurrency-safe because non-'Sendable' type 'CommandLineArgument.Option' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'additionalSymbolGraphDirectory' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
165 | preferred: "--additional-symbol-graph-dir"
166 | )
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/CommandLineArguments/CommandLineArgument.swift:85:19: note: consider making struct 'Option' conform to the 'Sendable' protocol
83 | ///
84 | /// For example: `"--some-option", "value"` or `"--some-option=value"`.
85 | public struct Option {
| `- note: consider making struct 'Option' conform to the 'Sendable' protocol
86 | /// The names of this command line option.
87 | public var names: Names
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/ParsedArguments.swift:171:16: warning: static property 'emitLMDBIndex' is not concurrency-safe because non-'Sendable' type 'CommandLineArgument.Flag' may have shared mutable state; this is an error in the Swift 6 language mode
169 | ///
170 | /// The plugin defines this flag so that it can pass this flag by default.
171 | static let emitLMDBIndex = CommandLineArgument.Flag(
| |- warning: static property 'emitLMDBIndex' is not concurrency-safe because non-'Sendable' type 'CommandLineArgument.Flag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'emitLMDBIndex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
172 | preferred: "--emit-lmdb-index"
173 | )
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/CommandLineArguments/CommandLineArgument.swift:63:19: note: consider making struct 'Flag' conform to the 'Sendable' protocol
61 | ///
62 | /// For example: `"--some-flag"`.
63 | public struct Flag {
| `- note: consider making struct 'Flag' conform to the 'Sendable' protocol
64 | /// The names of this command line flag.
65 | public var names: Names
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/ParsedArguments.swift:178:16: warning: static property 'outputPath' is not concurrency-safe because non-'Sendable' type 'CommandLineArgument.Option' may have shared mutable state; this is an error in the Swift 6 language mode
176 | ///
177 | /// The plugin defines this option so that it can intercept it and support building documentation for multiple targets within one package build command.
178 | static let outputPath = CommandLineArgument.Option(
| |- warning: static property 'outputPath' is not concurrency-safe because non-'Sendable' type 'CommandLineArgument.Option' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'outputPath' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
179 | preferred: "--output-path",
180 | alternatives: ["--output-dir", "-o"]
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/CommandLineArguments/CommandLineArgument.swift:85:19: note: consider making struct 'Option' conform to the 'Sendable' protocol
83 | ///
84 | /// For example: `"--some-option", "value"` or `"--some-option=value"`.
85 | public struct Option {
| `- note: consider making struct 'Option' conform to the 'Sendable' protocol
86 | /// The names of this command line option.
87 | public var names: Names
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/ParsedArguments.swift:186:16: warning: static property 'enableExternalLinkSupport' is not concurrency-safe because non-'Sendable' type 'CommandLineArgument.Flag' may have shared mutable state; this is an error in the Swift 6 language mode
184 | ///
185 | /// The plugin defines this flag so that it can specify documentation dependencies based on target dependencies when building combined documentation for multiple targets.
186 | static let enableExternalLinkSupport = CommandLineArgument.Flag(
| |- warning: static property 'enableExternalLinkSupport' is not concurrency-safe because non-'Sendable' type 'CommandLineArgument.Flag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'enableExternalLinkSupport' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
187 | preferred: "--enable-experimental-external-link-support"
188 | )
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/CommandLineArguments/CommandLineArgument.swift:63:19: note: consider making struct 'Flag' conform to the 'Sendable' protocol
61 | ///
62 | /// For example: `"--some-flag"`.
63 | public struct Flag {
| `- note: consider making struct 'Flag' conform to the 'Sendable' protocol
64 | /// The names of this command line flag.
65 | public var names: Names
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/ParsedArguments.swift:193:16: warning: static property 'externalLinkDependency' is not concurrency-safe because non-'Sendable' type 'CommandLineArgument.Option' may have shared mutable state; this is an error in the Swift 6 language mode
191 | ///
192 | /// The plugin defines this option so that it can specify documentation dependencies based on target dependencies when building combined documentation for multiple targets.
193 | static let externalLinkDependency = CommandLineArgument.Option(
| |- warning: static property 'externalLinkDependency' is not concurrency-safe because non-'Sendable' type 'CommandLineArgument.Option' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'externalLinkDependency' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
194 | preferred: "--dependency",
195 | kind: .arrayOfValues
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/CommandLineArguments/CommandLineArgument.swift:85:19: note: consider making struct 'Option' conform to the 'Sendable' protocol
83 | ///
84 | /// For example: `"--some-option", "value"` or `"--some-option=value"`.
85 | public struct Option {
| `- note: consider making struct 'Option' conform to the 'Sendable' protocol
86 | /// The names of this command line option.
87 | public var names: Names
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/ParsedArguments.swift:201:16: warning: static property 'synthesizedLandingPageName' is not concurrency-safe because non-'Sendable' type 'CommandLineArgument.Option' may have shared mutable state; this is an error in the Swift 6 language mode
199 | ///
200 | /// The plugin defines this option so that it can specify the package name as the display name of the default landing page when building combined documentation for multiple targets.
201 | static let synthesizedLandingPageName = CommandLineArgument.Option(
| |- warning: static property 'synthesizedLandingPageName' is not concurrency-safe because non-'Sendable' type 'CommandLineArgument.Option' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'synthesizedLandingPageName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
202 | preferred: "--synthesized-landing-page-name"
203 | )
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/CommandLineArguments/CommandLineArgument.swift:85:19: note: consider making struct 'Option' conform to the 'Sendable' protocol
83 | ///
84 | /// For example: `"--some-option", "value"` or `"--some-option=value"`.
85 | public struct Option {
| `- note: consider making struct 'Option' conform to the 'Sendable' protocol
86 | /// The names of this command line option.
87 | public var names: Names
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/ParsedArguments.swift:208:16: warning: static property 'synthesizedLandingPageKind' is not concurrency-safe because non-'Sendable' type 'CommandLineArgument.Option' may have shared mutable state; this is an error in the Swift 6 language mode
206 | ///
207 | /// The plugin defines this option so that it can specify "Package" as the kind of the default landing page when building combined documentation for multiple targets.
208 | static let synthesizedLandingPageKind = CommandLineArgument.Option(
| |- warning: static property 'synthesizedLandingPageKind' is not concurrency-safe because non-'Sendable' type 'CommandLineArgument.Option' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'synthesizedLandingPageKind' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
209 | preferred: "--synthesized-landing-page-kind"
210 | )
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/CommandLineArguments/CommandLineArgument.swift:85:19: note: consider making struct 'Option' conform to the 'Sendable' protocol
83 | ///
84 | /// For example: `"--some-option", "value"` or `"--some-option=value"`.
85 | public struct Option {
| `- note: consider making struct 'Option' conform to the 'Sendable' protocol
86 | /// The names of this command line option.
87 | public var names: Names
[27/136] Compiling SymbolKit Position.swift
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/HelpInformation.swift:17:16: warning: static property '_doccHelp' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | ///
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
| |- warning: static property '_doccHelp' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_doccHelp' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_doccHelp' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | try Process.runAndCaptureOutput(
19 | doccExecutableURL,
/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:90:24: warning: static property 'convertPluginHelpOverview' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
88 | }
89 |
90 | private static var convertPluginHelpOverview = """
| |- warning: static property 'convertPluginHelpOverview' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'convertPluginHelpOverview' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'convertPluginHelpOverview' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 | OVERVIEW: Creates a Swift-DocC documentation archive from a Swift Package.
92 |
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/HelpInformation.swift:107:24: warning: static property 'previewPluginHelpOverview' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
105 | """
106 |
107 | private static var previewPluginHelpOverview = """
| |- warning: static property 'previewPluginHelpOverview' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'previewPluginHelpOverview' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'previewPluginHelpOverview' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
108 | OVERVIEW: Creates and previews a Swift-DocC documentation archive from a Swift Package.
109 |
/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 | ///
[28/136] Compiling SymbolKit SourceRange.swift
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/HelpInformation.swift:17:16: warning: static property '_doccHelp' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | ///
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
| |- warning: static property '_doccHelp' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_doccHelp' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_doccHelp' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | try Process.runAndCaptureOutput(
19 | doccExecutableURL,
/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:90:24: warning: static property 'convertPluginHelpOverview' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
88 | }
89 |
90 | private static var convertPluginHelpOverview = """
| |- warning: static property 'convertPluginHelpOverview' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'convertPluginHelpOverview' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'convertPluginHelpOverview' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 | OVERVIEW: Creates a Swift-DocC documentation archive from a Swift Package.
92 |
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/HelpInformation.swift:107:24: warning: static property 'previewPluginHelpOverview' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
105 | """
106 |
107 | private static var previewPluginHelpOverview = """
| |- warning: static property 'previewPluginHelpOverview' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'previewPluginHelpOverview' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'previewPluginHelpOverview' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
108 | OVERVIEW: Creates and previews a Swift-DocC documentation archive from a Swift Package.
109 |
/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 | ///
[29/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 = [
[30/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 = [
[31/136] Compiling SymbolKit OperatingSystem.swift
[32/136] Compiling SymbolKit Platform.swift
[33/136] Compiling SymbolKit Relationship.swift
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/CommandLineArguments/ParsedPluginArguments.swift:27:16: warning: static property 'help' is not concurrency-safe because non-'Sendable' type 'CommandLineArgument.Flag' may have shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | /// A common command line tool flag to print the help text instead of running the command.
27 | static let help = CommandLineArgument.Flag(
| |- warning: static property 'help' is not concurrency-safe because non-'Sendable' type 'CommandLineArgument.Flag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'help' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | preferred: "--help", alternatives: ["-h"]
29 | )
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/CommandLineArguments/CommandLineArgument.swift:63:19: note: consider making struct 'Flag' conform to the 'Sendable' protocol
61 | ///
62 | /// For example: `"--some-flag"`.
63 | public struct Flag {
| `- note: consider making struct 'Flag' conform to the 'Sendable' protocol
64 | /// The names of this command line flag.
65 | public var names: Names
/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))
[34/136] Compiling SymbolKit RelationshipKind.swift
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/CommandLineArguments/ParsedPluginArguments.swift:27:16: warning: static property 'help' is not concurrency-safe because non-'Sendable' type 'CommandLineArgument.Flag' may have shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | /// A common command line tool flag to print the help text instead of running the command.
27 | static let help = CommandLineArgument.Flag(
| |- warning: static property 'help' is not concurrency-safe because non-'Sendable' type 'CommandLineArgument.Flag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'help' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | preferred: "--help", alternatives: ["-h"]
29 | )
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/CommandLineArguments/CommandLineArgument.swift:63:19: note: consider making struct 'Flag' conform to the 'Sendable' protocol
61 | ///
62 | /// For example: `"--some-flag"`.
63 | public struct Flag {
| `- note: consider making struct 'Flag' conform to the 'Sendable' protocol
64 | /// The names of this command line flag.
65 | public var names: Names
/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))
error: emit-module command failed with exit code 1 (use -v to see invocation)
[35/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/CommandLineArguments/ParsedPluginArguments.swift:27:16: warning: static property 'help' is not concurrency-safe because non-'Sendable' type 'CommandLineArgument.Flag' may have shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | /// A common command line tool flag to print the help text instead of running the command.
27 | static let help = CommandLineArgument.Flag(
| |- warning: static property 'help' is not concurrency-safe because non-'Sendable' type 'CommandLineArgument.Flag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'help' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | preferred: "--help", alternatives: ["-h"]
29 | )
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/CommandLineArguments/CommandLineArgument.swift:63:19: note: consider making struct 'Flag' conform to the 'Sendable' protocol
61 | ///
62 | /// For example: `"--some-flag"`.
63 | public struct Flag {
| `- note: consider making struct 'Flag' conform to the 'Sendable' protocol
64 | /// The names of this command line flag.
65 | public var names: Names
/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/DocumentedPluginFlags/DocumentedArgument.swift:57:16: warning: static property 'enableCombinedDocumentation' is not concurrency-safe because non-'Sendable' type 'DocumentedArgument' may have shared mutable state; this is an error in the Swift 6 language mode
10 | ///
11 | /// This may include some arguments (flags or options) that the plugin forwards to the symbol graph extract tool or to DocC.
12 | struct DocumentedArgument {
| `- note: consider making struct 'DocumentedArgument' conform to the 'Sendable' protocol
13 | /// A command line argument (flag or option) that is wrapped with documentation.
14 | enum Argument {
:
55 | ///
56 | /// - Note: This flag requires that the `docc` executable supports ``Feature/linkDependencies``.
57 | static let enableCombinedDocumentation = Self(
| |- warning: static property 'enableCombinedDocumentation' is not concurrency-safe because non-'Sendable' type 'DocumentedArgument' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'enableCombinedDocumentation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 | flag: .init(preferred: "--enable-experimental-combined-documentation"),
59 | abstract: "Create a combined DocC archive with all generated documentation.",
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/DocumentedPluginFlags/DocumentedArgument.swift:67:16: warning: static property 'disableLMDBIndex' is not concurrency-safe because non-'Sendable' type 'DocumentedArgument' may have shared mutable state; this is an error in the Swift 6 language mode
10 | ///
11 | /// This may include some arguments (flags or options) that the plugin forwards to the symbol graph extract tool or to DocC.
12 | struct DocumentedArgument {
| `- note: consider making struct 'DocumentedArgument' conform to the 'Sendable' protocol
13 | /// A command line argument (flag or option) that is wrapped with documentation.
14 | enum Argument {
:
65 |
66 | /// A plugin feature flag to skip adding the `--emit-lmdb-index` flag, that the plugin adds by default.
67 | static let disableLMDBIndex = Self(
| |- warning: static property 'disableLMDBIndex' is not concurrency-safe because non-'Sendable' type 'DocumentedArgument' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'disableLMDBIndex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
68 | flag: .init(preferred: "--disable-indexing", alternatives: ["--no-indexing"]),
69 | abstract: "Disable indexing for the produced DocC archive.",
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/DocumentedPluginFlags/DocumentedArgument.swift:76:16: warning: static property 'verbose' is not concurrency-safe because non-'Sendable' type 'DocumentedArgument' may have shared mutable state; this is an error in the Swift 6 language mode
10 | ///
11 | /// This may include some arguments (flags or options) that the plugin forwards to the symbol graph extract tool or to DocC.
12 | struct DocumentedArgument {
| `- note: consider making struct 'DocumentedArgument' conform to the 'Sendable' protocol
13 | /// A command line argument (flag or option) that is wrapped with documentation.
14 | enum Argument {
:
74 |
75 | /// A plugin feature flag to enable verbose logging.
76 | static let verbose = Self(
| |- warning: static property 'verbose' is not concurrency-safe because non-'Sendable' type 'DocumentedArgument' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'verbose' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
77 | flag: .init(preferred: "--verbose"),
78 | abstract: "Increase verbosity to include informational output.",
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/DocumentedPluginFlags/DocumentedArgument.swift:94:16: warning: static property 'extendedTypes' is not concurrency-safe because non-'Sendable' type 'DocumentedArgument' may have shared mutable state; this is an error in the Swift 6 language mode
10 | ///
11 | /// This may include some arguments (flags or options) that the plugin forwards to the symbol graph extract tool or to DocC.
12 | struct DocumentedArgument {
| `- note: consider making struct 'DocumentedArgument' conform to the 'Sendable' protocol
13 | /// A command line argument (flag or option) that is wrapped with documentation.
14 | enum Argument {
:
92 | /// - Note: This flag is only available starting from Swift 5.8. It should be hidden from the `--help` command for lower toolchain versions.
93 | /// However, we do not hide the flag entirely, because this enables us to give a more precise warning when accidentally used with Swift 5.7 or lower.
94 | static let extendedTypes = Self(
| |- warning: static property 'extendedTypes' is not concurrency-safe because non-'Sendable' type 'DocumentedArgument' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'extendedTypes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
95 | flag: .init(
96 | preferred: "--include-extended-types",
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/DocumentedPluginFlags/DocumentedArgument.swift:106:16: warning: static property 'skipSynthesizedSymbols' is not concurrency-safe because non-'Sendable' type 'DocumentedArgument' may have shared mutable state; this is an error in the Swift 6 language mode
10 | ///
11 | /// This may include some arguments (flags or options) that the plugin forwards to the symbol graph extract tool or to DocC.
12 | struct DocumentedArgument {
| `- note: consider making struct 'DocumentedArgument' conform to the 'Sendable' protocol
13 | /// A command line argument (flag or option) that is wrapped with documentation.
14 | enum Argument {
:
104 | ///
105 | /// `--experimental-skip-synthesized-symbols` produces a DocC archive without compiler-synthesized symbols.
106 | static let skipSynthesizedSymbols = Self(
| |- warning: static property 'skipSynthesizedSymbols' is not concurrency-safe because non-'Sendable' type 'DocumentedArgument' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'skipSynthesizedSymbols' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 | flag: .init(preferred: "--experimental-skip-synthesized-symbols"),
108 | abstract: "Exclude synthesized symbols from the generated documentation.",
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/DocumentedPluginFlags/DocumentedArgument.swift:115:16: warning: static property 'minimumAccessLevel' is not concurrency-safe because non-'Sendable' type 'DocumentedArgument' may have shared mutable state; this is an error in the Swift 6 language mode
10 | ///
11 | /// This may include some arguments (flags or options) that the plugin forwards to the symbol graph extract tool or to DocC.
12 | struct DocumentedArgument {
| `- note: consider making struct 'DocumentedArgument' conform to the 'Sendable' protocol
13 | /// A command line argument (flag or option) that is wrapped with documentation.
14 | enum Argument {
:
113 |
114 | /// The minimum access level that the symbol graph extractor will emit symbols for
115 | static let minimumAccessLevel = Self(
| |- warning: static property 'minimumAccessLevel' is not concurrency-safe because non-'Sendable' type 'DocumentedArgument' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'minimumAccessLevel' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
116 | option: .init(preferred: "--symbol-graph-minimum-access-level"),
117 | abstract: "Include symbols with this access level or more.",
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/HelpInformation.swift:17:16: warning: static property '_doccHelp' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | ///
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
| |- warning: static property '_doccHelp' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_doccHelp' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_doccHelp' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | try Process.runAndCaptureOutput(
19 | doccExecutableURL,
/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:90:24: warning: static property 'convertPluginHelpOverview' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
88 | }
89 |
90 | private static var convertPluginHelpOverview = """
| |- warning: static property 'convertPluginHelpOverview' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'convertPluginHelpOverview' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'convertPluginHelpOverview' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 | OVERVIEW: Creates a Swift-DocC documentation archive from a Swift Package.
92 |
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/HelpInformation.swift:107:24: warning: static property 'previewPluginHelpOverview' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
105 | """
106 |
107 | private static var previewPluginHelpOverview = """
| |- warning: static property 'previewPluginHelpOverview' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'previewPluginHelpOverview' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'previewPluginHelpOverview' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
108 | OVERVIEW: Creates and previews a Swift-DocC documentation archive from a Swift Package.
109 |
/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/ParsedArguments.swift:143:16: warning: static property 'fallbackDisplayName' is not concurrency-safe because non-'Sendable' type 'CommandLineArgument.Option' may have shared mutable state; this is an error in the Swift 6 language mode
141 | ///
142 | /// The plugin defines this option so that it can pass a default value for older versions of `docc` which require this.
143 | static let fallbackDisplayName = CommandLineArgument.Option(
| |- warning: static property 'fallbackDisplayName' is not concurrency-safe because non-'Sendable' type 'CommandLineArgument.Option' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fallbackDisplayName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
144 | preferred: "--fallback-display-name"
145 | )
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/CommandLineArguments/CommandLineArgument.swift:85:19: note: consider making struct 'Option' conform to the 'Sendable' protocol
83 | ///
84 | /// For example: `"--some-option", "value"` or `"--some-option=value"`.
85 | public struct Option {
| `- note: consider making struct 'Option' conform to the 'Sendable' protocol
86 | /// The names of this command line option.
87 | public var names: Names
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/ParsedArguments.swift:150:16: warning: static property 'fallbackBundleIdentifier' is not concurrency-safe because non-'Sendable' type 'CommandLineArgument.Option' may have shared mutable state; this is an error in the Swift 6 language mode
148 | ///
149 | /// The plugin defines this option so that it can pass a default value for older versions of `docc` which require this.
150 | static let fallbackBundleIdentifier = CommandLineArgument.Option(
| |- warning: static property 'fallbackBundleIdentifier' is not concurrency-safe because non-'Sendable' type 'CommandLineArgument.Option' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fallbackBundleIdentifier' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 | preferred: "--fallback-bundle-identifier"
152 | )
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/CommandLineArguments/CommandLineArgument.swift:85:19: note: consider making struct 'Option' conform to the 'Sendable' protocol
83 | ///
84 | /// For example: `"--some-option", "value"` or `"--some-option=value"`.
85 | public struct Option {
| `- note: consider making struct 'Option' conform to the 'Sendable' protocol
86 | /// The names of this command line option.
87 | public var names: Names
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/ParsedArguments.swift:157:16: warning: static property 'fallbackDefaultModuleKind' is not concurrency-safe because non-'Sendable' type 'CommandLineArgument.Option' may have shared mutable state; this is an error in the Swift 6 language mode
155 | ///
156 | /// The plugin defines this option so that it can pass a default value when building documentation for executable targets.
157 | static let fallbackDefaultModuleKind = CommandLineArgument.Option(
| |- warning: static property 'fallbackDefaultModuleKind' is not concurrency-safe because non-'Sendable' type 'CommandLineArgument.Option' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fallbackDefaultModuleKind' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
158 | preferred: "--fallback-default-module-kind"
159 | )
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/CommandLineArguments/CommandLineArgument.swift:85:19: note: consider making struct 'Option' conform to the 'Sendable' protocol
83 | ///
84 | /// For example: `"--some-option", "value"` or `"--some-option=value"`.
85 | public struct Option {
| `- note: consider making struct 'Option' conform to the 'Sendable' protocol
86 | /// The names of this command line option.
87 | public var names: Names
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/ParsedArguments.swift:164:16: warning: static property 'additionalSymbolGraphDirectory' is not concurrency-safe because non-'Sendable' type 'CommandLineArgument.Option' may have shared mutable state; this is an error in the Swift 6 language mode
162 | ///
163 | /// The plugin defines this option so that it can pass a default value.
164 | static let additionalSymbolGraphDirectory = CommandLineArgument.Option(
| |- warning: static property 'additionalSymbolGraphDirectory' is not concurrency-safe because non-'Sendable' type 'CommandLineArgument.Option' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'additionalSymbolGraphDirectory' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
165 | preferred: "--additional-symbol-graph-dir"
166 | )
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/CommandLineArguments/CommandLineArgument.swift:85:19: note: consider making struct 'Option' conform to the 'Sendable' protocol
83 | ///
84 | /// For example: `"--some-option", "value"` or `"--some-option=value"`.
85 | public struct Option {
| `- note: consider making struct 'Option' conform to the 'Sendable' protocol
86 | /// The names of this command line option.
87 | public var names: Names
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/ParsedArguments.swift:171:16: warning: static property 'emitLMDBIndex' is not concurrency-safe because non-'Sendable' type 'CommandLineArgument.Flag' may have shared mutable state; this is an error in the Swift 6 language mode
169 | ///
170 | /// The plugin defines this flag so that it can pass this flag by default.
171 | static let emitLMDBIndex = CommandLineArgument.Flag(
| |- warning: static property 'emitLMDBIndex' is not concurrency-safe because non-'Sendable' type 'CommandLineArgument.Flag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'emitLMDBIndex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
172 | preferred: "--emit-lmdb-index"
173 | )
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/CommandLineArguments/CommandLineArgument.swift:63:19: note: consider making struct 'Flag' conform to the 'Sendable' protocol
61 | ///
62 | /// For example: `"--some-flag"`.
63 | public struct Flag {
| `- note: consider making struct 'Flag' conform to the 'Sendable' protocol
64 | /// The names of this command line flag.
65 | public var names: Names
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/ParsedArguments.swift:178:16: warning: static property 'outputPath' is not concurrency-safe because non-'Sendable' type 'CommandLineArgument.Option' may have shared mutable state; this is an error in the Swift 6 language mode
176 | ///
177 | /// The plugin defines this option so that it can intercept it and support building documentation for multiple targets within one package build command.
178 | static let outputPath = CommandLineArgument.Option(
| |- warning: static property 'outputPath' is not concurrency-safe because non-'Sendable' type 'CommandLineArgument.Option' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'outputPath' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
179 | preferred: "--output-path",
180 | alternatives: ["--output-dir", "-o"]
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/CommandLineArguments/CommandLineArgument.swift:85:19: note: consider making struct 'Option' conform to the 'Sendable' protocol
83 | ///
84 | /// For example: `"--some-option", "value"` or `"--some-option=value"`.
85 | public struct Option {
| `- note: consider making struct 'Option' conform to the 'Sendable' protocol
86 | /// The names of this command line option.
87 | public var names: Names
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/ParsedArguments.swift:186:16: warning: static property 'enableExternalLinkSupport' is not concurrency-safe because non-'Sendable' type 'CommandLineArgument.Flag' may have shared mutable state; this is an error in the Swift 6 language mode
184 | ///
185 | /// The plugin defines this flag so that it can specify documentation dependencies based on target dependencies when building combined documentation for multiple targets.
186 | static let enableExternalLinkSupport = CommandLineArgument.Flag(
| |- warning: static property 'enableExternalLinkSupport' is not concurrency-safe because non-'Sendable' type 'CommandLineArgument.Flag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'enableExternalLinkSupport' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
187 | preferred: "--enable-experimental-external-link-support"
188 | )
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/CommandLineArguments/CommandLineArgument.swift:63:19: note: consider making struct 'Flag' conform to the 'Sendable' protocol
61 | ///
62 | /// For example: `"--some-flag"`.
63 | public struct Flag {
| `- note: consider making struct 'Flag' conform to the 'Sendable' protocol
64 | /// The names of this command line flag.
65 | public var names: Names
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/ParsedArguments.swift:193:16: warning: static property 'externalLinkDependency' is not concurrency-safe because non-'Sendable' type 'CommandLineArgument.Option' may have shared mutable state; this is an error in the Swift 6 language mode
191 | ///
192 | /// The plugin defines this option so that it can specify documentation dependencies based on target dependencies when building combined documentation for multiple targets.
193 | static let externalLinkDependency = CommandLineArgument.Option(
| |- warning: static property 'externalLinkDependency' is not concurrency-safe because non-'Sendable' type 'CommandLineArgument.Option' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'externalLinkDependency' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
194 | preferred: "--dependency",
195 | kind: .arrayOfValues
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/CommandLineArguments/CommandLineArgument.swift:85:19: note: consider making struct 'Option' conform to the 'Sendable' protocol
83 | ///
84 | /// For example: `"--some-option", "value"` or `"--some-option=value"`.
85 | public struct Option {
| `- note: consider making struct 'Option' conform to the 'Sendable' protocol
86 | /// The names of this command line option.
87 | public var names: Names
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/ParsedArguments.swift:201:16: warning: static property 'synthesizedLandingPageName' is not concurrency-safe because non-'Sendable' type 'CommandLineArgument.Option' may have shared mutable state; this is an error in the Swift 6 language mode
199 | ///
200 | /// The plugin defines this option so that it can specify the package name as the display name of the default landing page when building combined documentation for multiple targets.
201 | static let synthesizedLandingPageName = CommandLineArgument.Option(
| |- warning: static property 'synthesizedLandingPageName' is not concurrency-safe because non-'Sendable' type 'CommandLineArgument.Option' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'synthesizedLandingPageName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
202 | preferred: "--synthesized-landing-page-name"
203 | )
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/CommandLineArguments/CommandLineArgument.swift:85:19: note: consider making struct 'Option' conform to the 'Sendable' protocol
83 | ///
84 | /// For example: `"--some-option", "value"` or `"--some-option=value"`.
85 | public struct Option {
| `- note: consider making struct 'Option' conform to the 'Sendable' protocol
86 | /// The names of this command line option.
87 | public var names: Names
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/ParsedArguments.swift:208:16: warning: static property 'synthesizedLandingPageKind' is not concurrency-safe because non-'Sendable' type 'CommandLineArgument.Option' may have shared mutable state; this is an error in the Swift 6 language mode
206 | ///
207 | /// The plugin defines this option so that it can specify "Package" as the kind of the default landing page when building combined documentation for multiple targets.
208 | static let synthesizedLandingPageKind = CommandLineArgument.Option(
| |- warning: static property 'synthesizedLandingPageKind' is not concurrency-safe because non-'Sendable' type 'CommandLineArgument.Option' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'synthesizedLandingPageKind' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
209 | preferred: "--synthesized-landing-page-kind"
210 | )
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/CommandLineArguments/CommandLineArgument.swift:85:19: note: consider making struct 'Option' conform to the 'Sendable' protocol
83 | ///
84 | /// For example: `"--some-option", "value"` or `"--some-option=value"`.
85 | public struct Option {
| `- note: consider making struct 'Option' conform to the 'Sendable' protocol
86 | /// The names of this command line option.
87 | public var names: Names
/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/136] Compiling SymbolKit Metadata.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)
[37/136] Compiling SymbolKit Module.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)
[38/136] Emitting module Snippets
[39/136] Compiling Snippets Snippet.swift
[40/136] Compiling Snippets SnippetLanguage.swift
[41/136] Compiling Snippets SnippetParser.swift
[42/137] Compiling Snippets SnippetLanguage.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:276d66a16377d3ee059b2e3429cbc1154d9f01e42871e5d702fd5d8b9044d93d
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/13] Write swift-version-24593BA9C3E375BF.txt
[4/120] Emitting module SwiftDocCPlugin
[5/120] Compiling SwiftDocCPlugin EmptyFile.swift
[6/121] Emitting module Snippets
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/121] 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()
[9/123] 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 | ///
[10/123] 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 | ///
[11/123] Compiling SymbolKit Position.swift
[12/123] Compiling SymbolKit SourceRange.swift
[13/123] Compiling SymbolKit SourceOrigin.swift
[14/123] Compiling SymbolKit GenericConstraints.swift
[15/123] Compiling SymbolKit OperatingSystem.swift
[16/123] Compiling SymbolKit Platform.swift
[17/123] Compiling SymbolKit Metadata.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/123] Compiling SymbolKit Module.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/123] 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 = [
[20/123] 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 = [
[21/123] 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)
[22/123] 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)
[23/123] Compiling SymbolKit Mixin.swift
[24/123] Compiling SymbolKit LineList.swift
[25/123] Compiling Snippets SnippetLanguage.swift
BUILD FAILURE 6.1 wasm