The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftDocCPlugin, reference main (d8c85d), with Swift 6.1 for Wasm on 5 Jun 2025 07:03:09 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ry-sun/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/ry-sun/swift-docc-plugin
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at d8c85d9 feat: add multi targets documentation generation supporting
Cloned https://github.com/ry-sun/swift-docc-plugin.git
Revision (git rev-parse @):
d8c85d959b9c5f755e835e44302fde5d214bec42
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/ry-sun/swift-docc-plugin.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/ry-sun/swift-docc-plugin.git
https://github.com/ry-sun/swift-docc-plugin.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-docc-symbolkit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-symbolkit"
    }
  ],
  "manifest_display_name" : "SwiftDocCPlugin",
  "name" : "SwiftDocCPlugin",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15.4"
    }
  ],
  "products" : [
    {
      "name" : "Swift-DocC",
      "targets" : [
        "Swift-DocC"
      ],
      "type" : {
        "plugin" : null
      }
    },
    {
      "name" : "Swift-DocC Preview",
      "targets" : [
        "Swift-DocC Preview"
      ],
      "type" : {
        "plugin" : null
      }
    },
    {
      "name" : "Swift-DocC MultiTargets",
      "targets" : [
        "Swift-DocC MultiTargets"
      ],
      "type" : {
        "plugin" : null
      }
    },
    {
      "name" : "snippet-extract",
      "targets" : [
        "snippet-extract"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "snippet_extract",
      "module_type" : "SwiftTarget",
      "name" : "snippet-extract",
      "path" : "Sources/snippet-extract",
      "product_dependencies" : [
        "SymbolKit"
      ],
      "product_memberships" : [
        "Swift-DocC",
        "Swift-DocC Preview",
        "Swift-DocC MultiTargets",
        "snippet-extract"
      ],
      "sources" : [
        "SnippetBuildCommand.swift",
        "Utility/SymbolGraph+Snippet.swift",
        "Utility/URL+Status.swift"
      ],
      "target_dependencies" : [
        "Snippets"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "SwiftDocCPluginUtilitiesTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftDocCPluginUtilitiesTests",
      "path" : "Tests/SwiftDocCPluginUtilitiesTests",
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Tests/SwiftDocCPluginUtilitiesTests/Test Fixtures",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "ArgumentsOutputPathTests.swift",
        "CommandLineOptions/RequiredCommandLineOptionTests.swift",
        "DispatchTimeIntervalExtensionTests.swift",
        "HelpInformationTests.swift",
        "ParsedArgumentsTests.swift",
        "PluginFlags/DisableIndexFlagTests.swift",
        "PluginFlags/ExtendedTypesFlagTests.swift",
        "PluginFlags/PluginFlagTests.swift",
        "PluginFlags/SkipSynthesizedSymbolsFlagTests.swift",
        "SnippetParseTests.swift",
        "Snippets/SnippetExtractTests.swift",
        "Snippets/SnippetSymbolTests.swift",
        "Utilities/XCTest+testResourceAsString.swift"
      ],
      "target_dependencies" : [
        "Snippets",
        "SwiftDocCPluginUtilities",
        "snippet-extract"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftDocCPluginUtilities",
      "module_type" : "SwiftTarget",
      "name" : "SwiftDocCPluginUtilities",
      "path" : "Sources/SwiftDocCPluginUtilities",
      "sources" : [
        "Arguments+outputPath.swift",
        "Arguments.swift",
        "CommandLineOptions/CommandLineOption.swift",
        "CommandLineOptions/RequiredCommandLineOption.swift",
        "DispatchTimeInterval+descriptionInSeconds.swift",
        "DocumentationTargetKind.swift",
        "FoundationExtensions/String+singleQuoted.swift",
        "HelpInformation.swift",
        "ParsedArguments.swift",
        "PluginAction.swift",
        "PluginFlags/ArgumentsTransforming.swift",
        "PluginFlags/DisableIndexFlag.swift",
        "PluginFlags/ExtendedTypesFlag.swift",
        "PluginFlags/PluginFlag+Equatable.swift",
        "PluginFlags/PluginFlag.swift",
        "PluginFlags/SkipSynthesizedSymbolsFlag.swift",
        "Snippets/SnippetExtractor.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SwiftDocCPlugin",
      "module_type" : "SwiftTarget",
      "name" : "SwiftDocCPlugin",
      "path" : "Sources/SwiftDocCPluginDocumentation",
      "sources" : [
        "EmptyFile.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Swift_DocC_Preview",
      "module_type" : "PluginTarget",
      "name" : "Swift-DocC Preview",
      "path" : "Plugins/Swift-DocC Preview",
      "plugin_capability" : {
        "intent" : {
          "description" : "Preview the Swift-DocC documentation for a specified target.",
          "type" : "custom",
          "verb" : "preview-documentation"
        },
        "permissions" : [
        ],
        "type" : "command"
      },
      "product_memberships" : [
        "Swift-DocC Preview"
      ],
      "sources" : [
        "SwiftDocCPreview.swift",
        "Symbolic Links/SharedPackagePluginExtensions/ArgumentExtractor+extractSpecifiedTargets.swift",
        "Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift",
        "Symbolic Links/SharedPackagePluginExtensions/PackageManager+getSymbolGraphsForDocC.swift",
        "Symbolic Links/SharedPackagePluginExtensions/PluginContext+doccExecutableURL.swift",
        "Symbolic Links/SharedPackagePluginExtensions/SnippetExtractor+generateSnippetsForTarget.swift",
        "Symbolic Links/SharedPackagePluginExtensions/SourceModuleTarget+doccCatalogPath.swift",
        "Symbolic Links/SharedPackagePluginExtensions/Target+defaultSymbolGraphOptions.swift",
        "Symbolic Links/SharedPackagePluginExtensions/Target+doccArchiveOutputPath.swift",
        "Symbolic Links/SwiftDocCPluginUtilities/Arguments+outputPath.swift",
        "Symbolic Links/SwiftDocCPluginUtilities/Arguments.swift",
        "Symbolic Links/SwiftDocCPluginUtilities/CommandLineOptions/CommandLineOption.swift",
        "Symbolic Links/SwiftDocCPluginUtilities/CommandLineOptions/RequiredCommandLineOption.swift",
        "Symbolic Links/SwiftDocCPluginUtilities/DispatchTimeInterval+descriptionInSeconds.swift",
        "Symbolic Links/SwiftDocCPluginUtilities/DocumentationTargetKind.swift",
        "Symbolic Links/SwiftDocCPluginUtilities/FoundationExtensions/String+singleQuoted.swift",
        "Symbolic Links/SwiftDocCPluginUtilities/HelpInformation.swift",
        "Symbolic Links/SwiftDocCPluginUtilities/ParsedArguments.swift",
        "Symbolic Links/SwiftDocCPluginUtilities/PluginAction.swift",
        "Symbolic Links/SwiftDocCPluginUtilities/PluginFlags/ArgumentsTransforming.swift",
        "Symbolic Links/SwiftDocCPluginUtilities/PluginFlags/DisableIndexFlag.swift",
        "Symbolic Links/SwiftDocCPluginUtilities/PluginFlags/ExtendedTypesFlag.swift",
        "Symbolic Links/SwiftDocCPluginUtilities/PluginFlags/PluginFlag+Equatable.swift",
        "Symbolic Links/SwiftDocCPluginUtilities/PluginFlags/PluginFlag.swift",
        "Symbolic Links/SwiftDocCPluginUtilities/PluginFlags/SkipSynthesizedSymbolsFlag.swift",
        "Symbolic Links/SwiftDocCPluginUtilities/Snippets/SnippetExtractor.swift"
      ],
      "target_dependencies" : [
        "snippet-extract"
      ],
      "type" : "plugin"
    },
    {
      "c99name" : "Swift_DocC_MultiTargets",
      "module_type" : "PluginTarget",
      "name" : "Swift-DocC MultiTargets",
      "path" : "Plugins/Swift-DocC MultiTargets",
      "plugin_capability" : {
        "intent" : {
          "description" : "Generate documentation for multiple targets.",
          "type" : "custom",
          "verb" : "generate-documentation-multitarget"
        },
        "permissions" : [
        ],
        "type" : "command"
      },
      "product_memberships" : [
        "Swift-DocC MultiTargets"
      ],
      "sources" : [
        "SwiftDocCMultiTargets.swift",
        "Symbolic Links/SharedPackagePluginExtensions/ArgumentExtractor+extractSpecifiedTargets.swift",
        "Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift",
        "Symbolic Links/SharedPackagePluginExtensions/PackageManager+getSymbolGraphsForDocC.swift",
        "Symbolic Links/SharedPackagePluginExtensions/PluginContext+doccExecutableURL.swift",
        "Symbolic Links/SharedPackagePluginExtensions/SnippetExtractor+generateSnippetsForTarget.swift",
        "Symbolic Links/SharedPackagePluginExtensions/SourceModuleTarget+doccCatalogPath.swift",
        "Symbolic Links/SharedPackagePluginExtensions/Target+defaultSymbolGraphOptions.swift",
        "Symbolic Links/SharedPackagePluginExtensions/Target+doccArchiveOutputPath.swift",
        "Symbolic Links/SwiftDocCPluginUtilities/Arguments+outputPath.swift",
        "Symbolic Links/SwiftDocCPluginUtilities/Arguments.swift",
        "Symbolic Links/SwiftDocCPluginUtilities/CommandLineOptions/CommandLineOption.swift",
        "Symbolic Links/SwiftDocCPluginUtilities/CommandLineOptions/RequiredCommandLineOption.swift",
        "Symbolic Links/SwiftDocCPluginUtilities/DispatchTimeInterval+descriptionInSeconds.swift",
        "Symbolic Links/SwiftDocCPluginUtilities/DocumentationTargetKind.swift",
        "Symbolic Links/SwiftDocCPluginUtilities/FoundationExtensions/String+singleQuoted.swift",
        "Symbolic Links/SwiftDocCPluginUtilities/HelpInformation.swift",
        "Symbolic Links/SwiftDocCPluginUtilities/ParsedArguments.swift",
        "Symbolic Links/SwiftDocCPluginUtilities/PluginAction.swift",
        "Symbolic Links/SwiftDocCPluginUtilities/PluginFlags/ArgumentsTransforming.swift",
        "Symbolic Links/SwiftDocCPluginUtilities/PluginFlags/DisableIndexFlag.swift",
        "Symbolic Links/SwiftDocCPluginUtilities/PluginFlags/ExtendedTypesFlag.swift",
        "Symbolic Links/SwiftDocCPluginUtilities/PluginFlags/PluginFlag+Equatable.swift",
        "Symbolic Links/SwiftDocCPluginUtilities/PluginFlags/PluginFlag.swift",
        "Symbolic Links/SwiftDocCPluginUtilities/PluginFlags/SkipSynthesizedSymbolsFlag.swift",
        "Symbolic Links/SwiftDocCPluginUtilities/Snippets/SnippetExtractor.swift"
      ],
      "target_dependencies" : [
        "snippet-extract"
      ],
      "type" : "plugin"
    },
    {
      "c99name" : "Swift_DocC",
      "module_type" : "PluginTarget",
      "name" : "Swift-DocC",
      "path" : "Plugins/Swift-DocC Convert",
      "plugin_capability" : {
        "intent" : {
          "type" : "documentationGeneration"
        },
        "permissions" : [
        ],
        "type" : "command"
      },
      "product_memberships" : [
        "Swift-DocC"
      ],
      "sources" : [
        "SwiftDocCConvert.swift",
        "Symbolic Links/SharedPackagePluginExtensions/ArgumentExtractor+extractSpecifiedTargets.swift",
        "Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift",
        "Symbolic Links/SharedPackagePluginExtensions/PackageManager+getSymbolGraphsForDocC.swift",
        "Symbolic Links/SharedPackagePluginExtensions/PluginContext+doccExecutableURL.swift",
        "Symbolic Links/SharedPackagePluginExtensions/SnippetExtractor+generateSnippetsForTarget.swift",
        "Symbolic Links/SharedPackagePluginExtensions/SourceModuleTarget+doccCatalogPath.swift",
        "Symbolic Links/SharedPackagePluginExtensions/Target+defaultSymbolGraphOptions.swift",
        "Symbolic Links/SharedPackagePluginExtensions/Target+doccArchiveOutputPath.swift",
        "Symbolic Links/SwiftDocCPluginUtilities/Arguments+outputPath.swift",
        "Symbolic Links/SwiftDocCPluginUtilities/Arguments.swift",
        "Symbolic Links/SwiftDocCPluginUtilities/CommandLineOptions/CommandLineOption.swift",
        "Symbolic Links/SwiftDocCPluginUtilities/CommandLineOptions/RequiredCommandLineOption.swift",
        "Symbolic Links/SwiftDocCPluginUtilities/DispatchTimeInterval+descriptionInSeconds.swift",
        "Symbolic Links/SwiftDocCPluginUtilities/DocumentationTargetKind.swift",
        "Symbolic Links/SwiftDocCPluginUtilities/FoundationExtensions/String+singleQuoted.swift",
        "Symbolic Links/SwiftDocCPluginUtilities/HelpInformation.swift",
        "Symbolic Links/SwiftDocCPluginUtilities/ParsedArguments.swift",
        "Symbolic Links/SwiftDocCPluginUtilities/PluginAction.swift",
        "Symbolic Links/SwiftDocCPluginUtilities/PluginFlags/ArgumentsTransforming.swift",
        "Symbolic Links/SwiftDocCPluginUtilities/PluginFlags/DisableIndexFlag.swift",
        "Symbolic Links/SwiftDocCPluginUtilities/PluginFlags/ExtendedTypesFlag.swift",
        "Symbolic Links/SwiftDocCPluginUtilities/PluginFlags/PluginFlag+Equatable.swift",
        "Symbolic Links/SwiftDocCPluginUtilities/PluginFlags/PluginFlag.swift",
        "Symbolic Links/SwiftDocCPluginUtilities/PluginFlags/SkipSynthesizedSymbolsFlag.swift",
        "Symbolic Links/SwiftDocCPluginUtilities/Snippets/SnippetExtractor.swift"
      ],
      "target_dependencies" : [
        "snippet-extract"
      ],
      "type" : "plugin"
    },
    {
      "c99name" : "Snippets",
      "module_type" : "SwiftTarget",
      "name" : "Snippets",
      "path" : "Sources/Snippets",
      "product_memberships" : [
        "Swift-DocC",
        "Swift-DocC Preview",
        "Swift-DocC MultiTargets",
        "snippet-extract"
      ],
      "sources" : [
        "Model/Snippet.swift",
        "Parsing/SnippetParser.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.6"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/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 finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-docc-symbolkit
[1/3406] Fetching swift-docc-symbolkit
Fetched https://github.com/apple/swift-docc-symbolkit from cache (1.10s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (2.34s)
Creating working copy for https://github.com/apple/swift-docc-symbolkit
Working copy of https://github.com/apple/swift-docc-symbolkit resolved at 1.0.0
/host/spi-builder-workspace/Plugins/Swift-DocC MultiTargets/SwiftDocCMultiTargets.swift:19:13: warning: initialization of immutable value 'doccExecutableURL' was never used; consider replacing with assignment to '_' or removing it
 17 | @main struct SwiftDocCMultiTargets: CommandPlugin {
 18 |     func performCommand(context: PluginContext, arguments: [String]) throws {
 19 |         let doccExecutableURL = try context.doccExecutable
    |             `- warning: initialization of immutable value 'doccExecutableURL' was never used; consider replacing with assignment to '_' or removing it
 20 |
 21 |         var argumentExtractor = ArgumentExtractor(arguments)
/host/spi-builder-workspace/Plugins/Swift-DocC MultiTargets/SwiftDocCMultiTargets.swift:136:22: warning: variable 'language' was never mutated; consider changing to 'let' constant
134 |             let targetIndex = try readJsonFile(url: cacheDirectory.appending(path: target).appending(path: "index").appending(path: "index.json"))
135 |             let targetInterfaceLanguages = targetIndex["interfaceLanguages"] as! [String: [Any]]
136 |             for var (language, value) in targetInterfaceLanguages {
    |                      `- warning: variable 'language' was never mutated; consider changing to 'let' constant
137 |                 for var (i, subValue) in value.enumerated() {
138 |                     if
/host/spi-builder-workspace/Plugins/Swift-DocC MultiTargets/SwiftDocCMultiTargets.swift:137:26: warning: variable 'i' was never mutated; consider changing to 'let' constant
135 |             let targetInterfaceLanguages = targetIndex["interfaceLanguages"] as! [String: [Any]]
136 |             for var (language, value) in targetInterfaceLanguages {
137 |                 for var (i, subValue) in value.enumerated() {
    |                          `- warning: variable 'i' was never mutated; consider changing to 'let' constant
138 |                     if
139 |                         var subValue = subValue as? [String: Any],
/host/spi-builder-workspace/Plugins/Swift-DocC MultiTargets/SwiftDocCMultiTargets.swift:137:29: warning: variable 'subValue' was never mutated; consider changing to 'let' constant
135 |             let targetInterfaceLanguages = targetIndex["interfaceLanguages"] as! [String: [Any]]
136 |             for var (language, value) in targetInterfaceLanguages {
137 |                 for var (i, subValue) in value.enumerated() {
    |                             `- warning: variable 'subValue' was never mutated; consider changing to 'let' constant
138 |                     if
139 |                         var subValue = subValue as? [String: Any],
[1/1] Compiling plugin Swift-DocC MultiTargets
[2/2] Compiling plugin Swift-DocC Preview
[3/3] Compiling plugin Swift-DocC
Building for debugging...
[3/22] Write sources
[11/22] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[13/128] Emitting module SwiftDocCPluginUtilities
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/DispatchTimeInterval+descriptionInSeconds.swift:14:11: error: cannot find type 'DispatchTimeInterval' in scope
12 | // Swift Package Manager here:
13 | // https://github.com/apple/swift-package-manager/blob/beac985/Sources/Basics/DispatchTimeInterval+Extensions.swift
14 | extension DispatchTimeInterval {
   |           `- error: cannot find type 'DispatchTimeInterval' in scope
15 |     /// A description of the current time interval suitable for presentation, in seconds.
16 |     ///
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/HelpInformation.swift: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:86: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
 84 |     }
 85 |
 86 |     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
 87 |         OVERVIEW: Creates a Swift-DocC documentation archive from a Swift Package.
 88 |
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/HelpInformation.swift:103: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
101 |         """
102 |
103 |     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
104 |         OVERVIEW: Creates and previews a Swift-DocC documentation archive from a Swift Package.
105 |
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/HelpInformation.swift:129:19: error: cannot find type 'Process' in scope
127 | }
128 |
129 | private extension Process {
    |                   `- error: cannot find type 'Process' in scope
130 |     /// Creates and runs a task with the given url and arguments, and returns the process output.
131 |     ///
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/ParsedArguments.swift:183:24: warning: static property 'argumentsTransformers' is not concurrency-safe because non-'Sendable' type '[any ArgumentsTransforming]' may have shared mutable state; this is an error in the Swift 6 language mode
181 |     ]
182 |
183 |     private static let argumentsTransformers: [ArgumentsTransforming] = [
    |                        |- warning: static property 'argumentsTransformers' is not concurrency-safe because non-'Sendable' type '[any ArgumentsTransforming]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'argumentsTransformers' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
184 |         PluginFlag.disableIndex,
185 |         PluginFlag.extendedTypes,
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/PluginFlags/ArgumentsTransforming.swift:10:10: note: protocol 'ArgumentsTransforming' does not conform to the 'Sendable' protocol
 8 |
 9 | /// Transforms a set of arguments.
10 | protocol ArgumentsTransforming {
   |          `- note: protocol 'ArgumentsTransforming' does not conform to the 'Sendable' protocol
11 |     /// Apply the transformation to the given arguments.
12 |     func transform(_ arguments: Arguments) -> Arguments
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/PluginFlags/DisableIndexFlag.swift:14:16: warning: static property 'disableIndex' is not concurrency-safe because non-'Sendable' type 'PluginFlag' may have shared mutable state; this is an error in the Swift 6 language mode
12 |     /// Removes the `--index` flag from a given set of arguments if the `--disable-index` flag
13 |     /// is found.
14 |     static let disableIndex = PluginFlag(
   |                |- warning: static property 'disableIndex' is not concurrency-safe because non-'Sendable' type 'PluginFlag' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: add '@MainActor' to make static property 'disableIndex' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |         parsedValues: [
16 |             "--disable-indexing",
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/PluginFlags/PluginFlag.swift:12:8: note: consider making struct 'PluginFlag' conform to the 'Sendable' protocol
 10 | ///
 11 | /// Plugin flags are distinct from options that are for the docc command-line tool itself.
 12 | struct PluginFlag: ArgumentsTransforming {
    |        `- note: consider making struct 'PluginFlag' conform to the 'Sendable' protocol
 13 |     /// The string values that will be parsed when detecting this flag.
 14 |     ///
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/PluginFlags/ExtendedTypesFlag.swift:19:16: warning: static property 'extendedTypes' is not concurrency-safe because non-'Sendable' type 'PluginFlag' may have shared mutable state; this is an error in the Swift 6 language mode
17 |     /// However, we do not hide the flag entirely, because this enables us to give
18 |     /// a more precise warning when accidentally used with Swift 5.7 or lower.
19 |     static let extendedTypes = PluginFlag(
   |                |- warning: static property 'extendedTypes' is not concurrency-safe because non-'Sendable' type 'PluginFlag' 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
20 |         positiveValues: [
21 |             "--include-extended-types",
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/PluginFlags/PluginFlag.swift:12:8: note: consider making struct 'PluginFlag' conform to the 'Sendable' protocol
 10 | ///
 11 | /// Plugin flags are distinct from options that are for the docc command-line tool itself.
 12 | struct PluginFlag: ArgumentsTransforming {
    |        `- note: consider making struct 'PluginFlag' conform to the 'Sendable' protocol
 13 |     /// The string values that will be parsed when detecting this flag.
 14 |     ///
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/PluginFlags/SkipSynthesizedSymbolsFlag.swift:13:16: warning: static property 'skipSynthesizedSymbols' is not concurrency-safe because non-'Sendable' type 'PluginFlag' may have shared mutable state; this is an error in the Swift 6 language mode
11 |     ///
12 |     /// `--experimental-skip-synthesized-symbols` produces a DocC archive without compiler synthesized symbols.
13 |     static let skipSynthesizedSymbols = PluginFlag(
   |                |- warning: static property 'skipSynthesizedSymbols' is not concurrency-safe because non-'Sendable' type 'PluginFlag' 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
14 |         parsedValues: [
15 |             "--experimental-skip-synthesized-symbols"
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/PluginFlags/PluginFlag.swift:12:8: note: consider making struct 'PluginFlag' conform to the 'Sendable' protocol
 10 | ///
 11 | /// Plugin flags are distinct from options that are for the docc command-line tool itself.
 12 | struct PluginFlag: ArgumentsTransforming {
    |        `- note: consider making struct 'PluginFlag' conform to the 'Sendable' protocol
 13 |     /// The string values that will be parsed when detecting this flag.
 14 |     ///
/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()
[14/130] Compiling SymbolKit Module.swift
[15/130] Compiling SymbolKit OperatingSystem.swift
[16/130] Compiling SymbolKit Availability.swift
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/PluginFlags/DisableIndexFlag.swift:14:16: warning: static property 'disableIndex' is not concurrency-safe because non-'Sendable' type 'PluginFlag' may have shared mutable state; this is an error in the Swift 6 language mode
12 |     /// Removes the `--index` flag from a given set of arguments if the `--disable-index` flag
13 |     /// is found.
14 |     static let disableIndex = PluginFlag(
   |                |- warning: static property 'disableIndex' is not concurrency-safe because non-'Sendable' type 'PluginFlag' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: add '@MainActor' to make static property 'disableIndex' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |         parsedValues: [
16 |             "--disable-indexing",
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/PluginFlags/PluginFlag.swift:12:8: note: consider making struct 'PluginFlag' conform to the 'Sendable' protocol
 10 | ///
 11 | /// Plugin flags are distinct from options that are for the docc command-line tool itself.
 12 | struct PluginFlag: ArgumentsTransforming {
    |        `- note: consider making struct 'PluginFlag' conform to the 'Sendable' protocol
 13 |     /// The string values that will be parsed when detecting this flag.
 14 |     ///
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/PluginFlags/ExtendedTypesFlag.swift:19:16: warning: static property 'extendedTypes' is not concurrency-safe because non-'Sendable' type 'PluginFlag' may have shared mutable state; this is an error in the Swift 6 language mode
17 |     /// However, we do not hide the flag entirely, because this enables us to give
18 |     /// a more precise warning when accidentally used with Swift 5.7 or lower.
19 |     static let extendedTypes = PluginFlag(
   |                |- warning: static property 'extendedTypes' is not concurrency-safe because non-'Sendable' type 'PluginFlag' 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
20 |         positiveValues: [
21 |             "--include-extended-types",
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/PluginFlags/PluginFlag.swift:12:8: note: consider making struct 'PluginFlag' conform to the 'Sendable' protocol
 10 | ///
 11 | /// Plugin flags are distinct from options that are for the docc command-line tool itself.
 12 | struct PluginFlag: ArgumentsTransforming {
    |        `- note: consider making struct 'PluginFlag' conform to the 'Sendable' protocol
 13 |     /// The string values that will be parsed when detecting this flag.
 14 |     ///
[17/130] Compiling SymbolKit Metadata.swift
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/PluginFlags/DisableIndexFlag.swift:14:16: warning: static property 'disableIndex' is not concurrency-safe because non-'Sendable' type 'PluginFlag' may have shared mutable state; this is an error in the Swift 6 language mode
12 |     /// Removes the `--index` flag from a given set of arguments if the `--disable-index` flag
13 |     /// is found.
14 |     static let disableIndex = PluginFlag(
   |                |- warning: static property 'disableIndex' is not concurrency-safe because non-'Sendable' type 'PluginFlag' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: add '@MainActor' to make static property 'disableIndex' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |         parsedValues: [
16 |             "--disable-indexing",
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/PluginFlags/PluginFlag.swift:12:8: note: consider making struct 'PluginFlag' conform to the 'Sendable' protocol
 10 | ///
 11 | /// Plugin flags are distinct from options that are for the docc command-line tool itself.
 12 | struct PluginFlag: ArgumentsTransforming {
    |        `- note: consider making struct 'PluginFlag' conform to the 'Sendable' protocol
 13 |     /// The string values that will be parsed when detecting this flag.
 14 |     ///
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/PluginFlags/ExtendedTypesFlag.swift:19:16: warning: static property 'extendedTypes' is not concurrency-safe because non-'Sendable' type 'PluginFlag' may have shared mutable state; this is an error in the Swift 6 language mode
17 |     /// However, we do not hide the flag entirely, because this enables us to give
18 |     /// a more precise warning when accidentally used with Swift 5.7 or lower.
19 |     static let extendedTypes = PluginFlag(
   |                |- warning: static property 'extendedTypes' is not concurrency-safe because non-'Sendable' type 'PluginFlag' 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
20 |         positiveValues: [
21 |             "--include-extended-types",
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/PluginFlags/PluginFlag.swift:12:8: note: consider making struct 'PluginFlag' conform to the 'Sendable' protocol
 10 | ///
 11 | /// Plugin flags are distinct from options that are for the docc command-line tool itself.
 12 | struct PluginFlag: ArgumentsTransforming {
    |        `- note: consider making struct 'PluginFlag' conform to the 'Sendable' protocol
 13 |     /// The string values that will be parsed when detecting this flag.
 14 |     ///
[18/130] Compiling SymbolKit SemanticVersion.swift
[19/130] Compiling SymbolKit AccessControl.swift
[20/130] Emitting module SwiftDocCPlugin
[21/130] Compiling SwiftDocCPlugin EmptyFile.swift
[23/131] Emitting module SymbolKit
[24/136] Compiling Snippets SnippetParser.swift
[25/136] Compiling SymbolKit RelationshipKind.swift
[26/136] Compiling SymbolKit SourceOrigin.swift
[27/136] Compiling SymbolKit GenericConstraints.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:86: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
 84 |     }
 85 |
 86 |     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
 87 |         OVERVIEW: Creates a Swift-DocC documentation archive from a Swift Package.
 88 |
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/HelpInformation.swift:103: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
101 |         """
102 |
103 |     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
104 |         OVERVIEW: Creates and previews a Swift-DocC documentation archive from a Swift Package.
105 |
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/HelpInformation.swift:129:19: error: cannot find type 'Process' in scope
127 | }
128 |
129 | private extension Process {
    |                   `- error: cannot find type 'Process' in scope
130 |     /// Creates and runs a task with the given url and arguments, and returns the process output.
131 |     ///
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/ParsedArguments.swift:183:24: warning: static property 'argumentsTransformers' is not concurrency-safe because non-'Sendable' type '[any ArgumentsTransforming]' may have shared mutable state; this is an error in the Swift 6 language mode
181 |     ]
182 |
183 |     private static let argumentsTransformers: [ArgumentsTransforming] = [
    |                        |- warning: static property 'argumentsTransformers' is not concurrency-safe because non-'Sendable' type '[any ArgumentsTransforming]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'argumentsTransformers' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
184 |         PluginFlag.disableIndex,
185 |         PluginFlag.extendedTypes,
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/PluginFlags/ArgumentsTransforming.swift:10:10: note: protocol 'ArgumentsTransforming' does not conform to the 'Sendable' protocol
 8 |
 9 | /// Transforms a set of arguments.
10 | protocol ArgumentsTransforming {
   |          `- note: protocol 'ArgumentsTransforming' does not conform to the 'Sendable' protocol
11 |     /// Apply the transformation to the given arguments.
12 |     func transform(_ arguments: Arguments) -> Arguments
[28/136] Compiling SymbolKit Swift.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:86: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
 84 |     }
 85 |
 86 |     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
 87 |         OVERVIEW: Creates a Swift-DocC documentation archive from a Swift Package.
 88 |
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/HelpInformation.swift:103: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
101 |         """
102 |
103 |     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
104 |         OVERVIEW: Creates and previews a Swift-DocC documentation archive from a Swift Package.
105 |
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/HelpInformation.swift:129:19: error: cannot find type 'Process' in scope
127 | }
128 |
129 | private extension Process {
    |                   `- error: cannot find type 'Process' in scope
130 |     /// Creates and runs a task with the given url and arguments, and returns the process output.
131 |     ///
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/ParsedArguments.swift:183:24: warning: static property 'argumentsTransformers' is not concurrency-safe because non-'Sendable' type '[any ArgumentsTransforming]' may have shared mutable state; this is an error in the Swift 6 language mode
181 |     ]
182 |
183 |     private static let argumentsTransformers: [ArgumentsTransforming] = [
    |                        |- warning: static property 'argumentsTransformers' is not concurrency-safe because non-'Sendable' type '[any ArgumentsTransforming]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'argumentsTransformers' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
184 |         PluginFlag.disableIndex,
185 |         PluginFlag.extendedTypes,
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/PluginFlags/ArgumentsTransforming.swift:10:10: note: protocol 'ArgumentsTransforming' does not conform to the 'Sendable' protocol
 8 |
 9 | /// Transforms a set of arguments.
10 | protocol ArgumentsTransforming {
   |          `- note: protocol 'ArgumentsTransforming' does not conform to the 'Sendable' protocol
11 |     /// Apply the transformation to the given arguments.
12 |     func transform(_ arguments: Arguments) -> Arguments
[29/136] Compiling SymbolKit Generics.swift
[30/136] Compiling SymbolKit Namespace.swift
[31/136] Compiling SymbolKit Symbol.swift
[32/136] Compiling SymbolKit SymbolKind.swift
[33/136] Compiling SymbolKit SymbolGraph.swift
[34/141] Compiling Snippets Snippet.swift
[35/141] Emitting module Snippets
[36/141] Compiling SwiftDocCPluginUtilities SkipSynthesizedSymbolsFlag.swift
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/PluginFlags/SkipSynthesizedSymbolsFlag.swift:13:16: warning: static property 'skipSynthesizedSymbols' is not concurrency-safe because non-'Sendable' type 'PluginFlag' may have shared mutable state; this is an error in the Swift 6 language mode
11 |     ///
12 |     /// `--experimental-skip-synthesized-symbols` produces a DocC archive without compiler synthesized symbols.
13 |     static let skipSynthesizedSymbols = PluginFlag(
   |                |- warning: static property 'skipSynthesizedSymbols' is not concurrency-safe because non-'Sendable' type 'PluginFlag' 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
14 |         parsedValues: [
15 |             "--experimental-skip-synthesized-symbols"
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/PluginFlags/PluginFlag.swift:12:8: note: consider making struct 'PluginFlag' conform to the 'Sendable' protocol
 10 | ///
 11 | /// Plugin flags are distinct from options that are for the docc command-line tool itself.
 12 | struct PluginFlag: ArgumentsTransforming {
    |        `- note: consider making struct 'PluginFlag' conform to the 'Sendable' protocol
 13 |     /// The string values that will be parsed when detecting this flag.
 14 |     ///
/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 = [
[37/141] Compiling SwiftDocCPluginUtilities SnippetExtractor.swift
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/PluginFlags/SkipSynthesizedSymbolsFlag.swift:13:16: warning: static property 'skipSynthesizedSymbols' is not concurrency-safe because non-'Sendable' type 'PluginFlag' may have shared mutable state; this is an error in the Swift 6 language mode
11 |     ///
12 |     /// `--experimental-skip-synthesized-symbols` produces a DocC archive without compiler synthesized symbols.
13 |     static let skipSynthesizedSymbols = PluginFlag(
   |                |- warning: static property 'skipSynthesizedSymbols' is not concurrency-safe because non-'Sendable' type 'PluginFlag' 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
14 |         parsedValues: [
15 |             "--experimental-skip-synthesized-symbols"
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/PluginFlags/PluginFlag.swift:12:8: note: consider making struct 'PluginFlag' conform to the 'Sendable' protocol
 10 | ///
 11 | /// Plugin flags are distinct from options that are for the docc command-line tool itself.
 12 | struct PluginFlag: ArgumentsTransforming {
    |        `- note: consider making struct 'PluginFlag' conform to the 'Sendable' protocol
 13 |     /// The string values that will be parsed when detecting this flag.
 14 |     ///
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/Snippets/SnippetExtractor.swift:57:23: error: cannot find type 'Process' in scope
 55 |     ///
 56 |     /// Provided for testing.
 57 |     var _runProcess: (Process) throws -> () = { process in
    |                       `- error: cannot find type 'Process' in scope
 58 |         try process.run()
 59 |         process.waitUntilExit()
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/Snippets/SnippetExtractor.swift:139:23: error: cannot find 'Process' in scope
137 |         let outputFile = outputDirectory.appendingPathComponent("\(packageDisplayName)-snippets.symbols.json")
138 |
139 |         let process = Process()
    |                       `- error: cannot find 'Process' in scope
140 |         process.executableURL = snippetTool
141 |         process.arguments = [
[38/142] Compiling SymbolKit Metadata.swift
[39/142] Compiling SymbolKit Module.swift
[40/142] Compiling SymbolKit OperatingSystem.swift
[41/142] Compiling SymbolKit Platform.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 |     ///
[42/142] Compiling SymbolKit Relationship.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 |     ///
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
/host/spi-builder-workspace/Plugins/Swift-DocC MultiTargets/SwiftDocCMultiTargets.swift:19:13: warning: initialization of immutable value 'doccExecutableURL' was never used; consider replacing with assignment to '_' or removing it
 17 | @main struct SwiftDocCMultiTargets: CommandPlugin {
 18 |     func performCommand(context: PluginContext, arguments: [String]) throws {
 19 |         let doccExecutableURL = try context.doccExecutable
    |             `- warning: initialization of immutable value 'doccExecutableURL' was never used; consider replacing with assignment to '_' or removing it
 20 |
 21 |         var argumentExtractor = ArgumentExtractor(arguments)
/host/spi-builder-workspace/Plugins/Swift-DocC MultiTargets/SwiftDocCMultiTargets.swift:136:22: warning: variable 'language' was never mutated; consider changing to 'let' constant
134 |             let targetIndex = try readJsonFile(url: cacheDirectory.appending(path: target).appending(path: "index").appending(path: "index.json"))
135 |             let targetInterfaceLanguages = targetIndex["interfaceLanguages"] as! [String: [Any]]
136 |             for var (language, value) in targetInterfaceLanguages {
    |                      `- warning: variable 'language' was never mutated; consider changing to 'let' constant
137 |                 for var (i, subValue) in value.enumerated() {
138 |                     if
/host/spi-builder-workspace/Plugins/Swift-DocC MultiTargets/SwiftDocCMultiTargets.swift:137:26: warning: variable 'i' was never mutated; consider changing to 'let' constant
135 |             let targetInterfaceLanguages = targetIndex["interfaceLanguages"] as! [String: [Any]]
136 |             for var (language, value) in targetInterfaceLanguages {
137 |                 for var (i, subValue) in value.enumerated() {
    |                          `- warning: variable 'i' was never mutated; consider changing to 'let' constant
138 |                     if
139 |                         var subValue = subValue as? [String: Any],
/host/spi-builder-workspace/Plugins/Swift-DocC MultiTargets/SwiftDocCMultiTargets.swift:137:29: warning: variable 'subValue' was never mutated; consider changing to 'let' constant
135 |             let targetInterfaceLanguages = targetIndex["interfaceLanguages"] as! [String: [Any]]
136 |             for var (language, value) in targetInterfaceLanguages {
137 |                 for var (i, subValue) in value.enumerated() {
    |                             `- warning: variable 'subValue' was never mutated; consider changing to 'let' constant
138 |                     if
139 |                         var subValue = subValue as? [String: Any],
[1/1] Compiling plugin Swift-DocC MultiTargets
[2/2] Compiling plugin Swift-DocC Preview
[3/3] Compiling plugin Swift-DocC
Building for debugging...
[3/14] Write swift-version-24593BA9C3E375BF.txt
[5/79] Emitting module Snippets
[6/120] Compiling SwiftDocCPlugin EmptyFile.swift
[7/120] Emitting module SwiftDocCPlugin
[9/121] Compiling SymbolKit GenericConstraints.swift
[10/121] Compiling SymbolKit Swift.swift
[11/121] Compiling SymbolKit SemanticVersion.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:129:19: error: cannot find type 'Process' in scope
127 | }
128 |
129 | private extension Process {
    |                   `- error: cannot find type 'Process' in scope
130 |     /// Creates and runs a task with the given url and arguments, and returns the process output.
131 |     ///
[12/121] Compiling SymbolKit AccessControl.swift
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/HelpInformation.swift:18:13: error: cannot find 'Process' in scope
 16 |     /// This is defined as a static variable to allow for mocking in tests.
 17 |     static var _doccHelp: (PluginAction, URL) throws -> (String?) = { pluginAction, doccExecutableURL in
 18 |         try Process.runAndCaptureOutput(
    |             `- error: cannot find 'Process' in scope
 19 |             doccExecutableURL,
 20 |             arguments: [
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/HelpInformation.swift:129:19: error: cannot find type 'Process' in scope
127 | }
128 |
129 | private extension Process {
    |                   `- error: cannot find type 'Process' in scope
130 |     /// Creates and runs a task with the given url and arguments, and returns the process output.
131 |     ///
[13/123] Compiling SymbolKit SourceRange.swift
[14/123] Compiling SymbolKit SourceOrigin.swift
[15/123] Compiling SymbolKit LineList.swift
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/DispatchTimeInterval+descriptionInSeconds.swift:14:11: error: cannot find type 'DispatchTimeInterval' in scope
12 | // Swift Package Manager here:
13 | // https://github.com/apple/swift-package-manager/blob/beac985/Sources/Basics/DispatchTimeInterval+Extensions.swift
14 | extension DispatchTimeInterval {
   |           `- error: cannot find type 'DispatchTimeInterval' in scope
15 |     /// A description of the current time interval suitable for presentation, in seconds.
16 |     ///
[16/123] Compiling SymbolKit Position.swift
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/DispatchTimeInterval+descriptionInSeconds.swift:14:11: error: cannot find type 'DispatchTimeInterval' in scope
12 | // Swift Package Manager here:
13 | // https://github.com/apple/swift-package-manager/blob/beac985/Sources/Basics/DispatchTimeInterval+Extensions.swift
14 | extension DispatchTimeInterval {
   |           `- error: cannot find type 'DispatchTimeInterval' in scope
15 |     /// A description of the current time interval suitable for presentation, in seconds.
16 |     ///
[17/123] Emitting module Snippets
error: emit-module command failed with exit code 1 (use -v to see invocation)
[18/123] Compiling SymbolKit Mixin+Equals.swift
[19/123] Compiling SymbolKit Mixin+Hash.swift
[20/123] Compiling SymbolKit Mixin.swift
[21/123] Emitting module SwiftDocCPluginUtilities
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/DispatchTimeInterval+descriptionInSeconds.swift:14:11: error: cannot find type 'DispatchTimeInterval' in scope
12 | // Swift Package Manager here:
13 | // https://github.com/apple/swift-package-manager/blob/beac985/Sources/Basics/DispatchTimeInterval+Extensions.swift
14 | extension DispatchTimeInterval {
   |           `- error: cannot find type 'DispatchTimeInterval' in scope
15 |     /// A description of the current time interval suitable for presentation, in seconds.
16 |     ///
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/HelpInformation.swift:18:13: error: cannot find 'Process' in scope
 16 |     /// This is defined as a static variable to allow for mocking in tests.
 17 |     static var _doccHelp: (PluginAction, URL) throws -> (String?) = { pluginAction, doccExecutableURL in
 18 |         try Process.runAndCaptureOutput(
    |             `- error: cannot find 'Process' in scope
 19 |             doccExecutableURL,
 20 |             arguments: [
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/HelpInformation.swift:129:19: error: cannot find type 'Process' in scope
127 | }
128 |
129 | private extension Process {
    |                   `- error: cannot find type 'Process' in scope
130 |     /// Creates and runs a task with the given url and arguments, and returns the process output.
131 |     ///
/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()
[22/123] Compiling SymbolKit Module.swift
[23/123] Compiling SymbolKit OperatingSystem.swift
[24/123] Compiling SymbolKit Availability.swift
[25/123] Compiling SymbolKit Metadata.swift
[26/123] Compiling SwiftDocCPluginUtilities SkipSynthesizedSymbolsFlag.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 = [
[27/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 = [
[28/123] Compiling Snippets Snippet.swift
BUILD FAILURE 6.1 wasm