Build Information
Successful build of SwiftDocCPlugin, reference main (8357c7
), with Swift 6.0 for macOS (SPM) on 12 Dec 2024 17:51:40 UTC.
Swift 6 data race errors: 20
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64 -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
Build Log
========================================
RunAll
========================================
Builder version: 4.59.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swiftlang/swift-docc-plugin.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/swiftlang/swift-docc-plugin
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 8357c77 Preview: Add new Android overlay
Cloned https://github.com/swiftlang/swift-docc-plugin.git
Revision (git rev-parse @):
8357c7750dbed168f245f46def146b454d371b1a
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/swiftlang/swift-docc-plugin.git at main
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3205] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.33s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.60s)
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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "swift-docc-plugin",
"name": "SwiftDocCPlugin",
"url": "https://github.com/swiftlang/swift-docc-plugin.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-docc-plugin",
"dependencies": [
{
"identity": "swift-docc-symbolkit",
"name": "SymbolKit",
"url": "https://github.com/swiftlang/swift-docc-symbolkit",
"version": "1.0.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-docc-symbolkit",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/swiftlang/swift-docc-plugin.git
[1/2044] Fetching swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin.git from cache (1.21s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit from cache
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.73s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.03s)
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
Creating working copy for https://github.com/swiftlang/swift-docc-plugin.git
Working copy of https://github.com/swiftlang/swift-docc-plugin.git resolved at main (8357c77)
Found 1 product dependencies
- SymbolKit
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/swiftlang/swift-docc-plugin.git
https://github.com/swiftlang/swift-docc-plugin.git
{
"dependencies" : [
{
"identity" : "swift-docc-symbolkit",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swiftlang/swift-docc-symbolkit"
}
],
"manifest_display_name" : "SwiftDocCPlugin",
"name" : "SwiftDocCPlugin",
"path" : "/Users/admin/builder/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" : "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",
"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" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftDocCPluginUtilitiesTests/Test Fixtures",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"CommandLineArgumentsTests.swift",
"DispatchTimeIntervalExtensionTests.swift",
"DocCFeaturesTests.swift",
"DocumentationBuildGraphRunnerTests.swift",
"HelpInformationTests.swift",
"ParsedArgumentsTests.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" : [
"BuildGraph/DocumentationBuildGraph.swift",
"BuildGraph/DocumentationBuildGraphRunner.swift",
"CommandLineArguments/CommandLineArgument.swift",
"CommandLineArguments/CommandLineArguments.swift",
"CommandLineArguments/ParsedPluginArguments.swift",
"DispatchTimeInterval+descriptionInSeconds.swift",
"DocCFeatures.swift",
"DocumentationTargetKind.swift",
"DocumentedPluginFlags/DocumentedArgument.swift",
"FoundationExtensions/String+singleQuoted.swift",
"HelpInformation.swift",
"Lock.swift",
"ParsedArguments.swift",
"PluginAction.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/BuildGraph/DocumentationBuildGraph.swift",
"Symbolic Links/SwiftDocCPluginUtilities/BuildGraph/DocumentationBuildGraphRunner.swift",
"Symbolic Links/SwiftDocCPluginUtilities/CommandLineArguments/CommandLineArgument.swift",
"Symbolic Links/SwiftDocCPluginUtilities/CommandLineArguments/CommandLineArguments.swift",
"Symbolic Links/SwiftDocCPluginUtilities/CommandLineArguments/ParsedPluginArguments.swift",
"Symbolic Links/SwiftDocCPluginUtilities/DispatchTimeInterval+descriptionInSeconds.swift",
"Symbolic Links/SwiftDocCPluginUtilities/DocCFeatures.swift",
"Symbolic Links/SwiftDocCPluginUtilities/DocumentationTargetKind.swift",
"Symbolic Links/SwiftDocCPluginUtilities/DocumentedPluginFlags/DocumentedArgument.swift",
"Symbolic Links/SwiftDocCPluginUtilities/FoundationExtensions/String+singleQuoted.swift",
"Symbolic Links/SwiftDocCPluginUtilities/HelpInformation.swift",
"Symbolic Links/SwiftDocCPluginUtilities/Lock.swift",
"Symbolic Links/SwiftDocCPluginUtilities/ParsedArguments.swift",
"Symbolic Links/SwiftDocCPluginUtilities/PluginAction.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/BuildGraph/DocumentationBuildGraph.swift",
"Symbolic Links/SwiftDocCPluginUtilities/BuildGraph/DocumentationBuildGraphRunner.swift",
"Symbolic Links/SwiftDocCPluginUtilities/CommandLineArguments/CommandLineArgument.swift",
"Symbolic Links/SwiftDocCPluginUtilities/CommandLineArguments/CommandLineArguments.swift",
"Symbolic Links/SwiftDocCPluginUtilities/CommandLineArguments/ParsedPluginArguments.swift",
"Symbolic Links/SwiftDocCPluginUtilities/DispatchTimeInterval+descriptionInSeconds.swift",
"Symbolic Links/SwiftDocCPluginUtilities/DocCFeatures.swift",
"Symbolic Links/SwiftDocCPluginUtilities/DocumentationTargetKind.swift",
"Symbolic Links/SwiftDocCPluginUtilities/DocumentedPluginFlags/DocumentedArgument.swift",
"Symbolic Links/SwiftDocCPluginUtilities/FoundationExtensions/String+singleQuoted.swift",
"Symbolic Links/SwiftDocCPluginUtilities/HelpInformation.swift",
"Symbolic Links/SwiftDocCPluginUtilities/Lock.swift",
"Symbolic Links/SwiftDocCPluginUtilities/ParsedArguments.swift",
"Symbolic Links/SwiftDocCPluginUtilities/PluginAction.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",
"snippet-extract"
],
"sources" : [
"Model/Snippet.swift",
"Parsing/SnippetParser.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64 -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
[1/1] Compiling plugin Swift-DocC
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/12] Write sources
[4/12] Write snippet-extract-entitlement.plist
[6/12] Write sources
[8/12] Write swift-version-5BDAB9E9C0126B9D.txt
[10/74] Emitting module SwiftDocCPlugin
[11/74] Compiling SwiftDocCPlugin EmptyFile.swift
[12/74] Compiling SwiftDocCPluginUtilities PluginAction.swift
[13/75] Emitting module SymbolKit
[14/79] Compiling SwiftDocCPluginUtilities SnippetExtractor.swift
[15/79] Emitting module Snippets
[16/79] Compiling Snippets SnippetParser.swift
[17/79] Compiling Snippets Snippet.swift
[18/79] Emitting module SwiftDocCPluginUtilities
/Users/admin/builder/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: annotate 'help' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | preferred: "--help", alternatives: ["-h"]
29 | )
/Users/admin/builder/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
/Users/admin/builder/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: annotate 'enableCombinedDocumentation' with '@MainActor' if property should only be accessed from the main actor
| `- 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.",
/Users/admin/builder/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: annotate 'disableLMDBIndex' with '@MainActor' if property should only be accessed from the main actor
| `- 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.",
/Users/admin/builder/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: annotate 'verbose' with '@MainActor' if property should only be accessed from the main actor
| `- 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.",
/Users/admin/builder/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: annotate 'extendedTypes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
95 | flag: .init(
96 | preferred: "--include-extended-types",
/Users/admin/builder/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: annotate 'skipSynthesizedSymbols' with '@MainActor' if property should only be accessed from the main actor
| `- 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.",
/Users/admin/builder/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: annotate 'minimumAccessLevel' with '@MainActor' if property should only be accessed from the main actor
| `- 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.",
/Users/admin/builder/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: annotate '_doccHelp' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | try Process.runAndCaptureOutput(
19 | doccExecutableURL,
/Users/admin/builder/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: annotate 'convertPluginHelpOverview' with '@MainActor' if property should only be accessed from the main actor
| `- 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 |
/Users/admin/builder/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: annotate 'previewPluginHelpOverview' with '@MainActor' if property should only be accessed from the main actor
| `- 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 |
/Users/admin/builder/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: annotate 'fallbackDisplayName' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
144 | preferred: "--fallback-display-name"
145 | )
/Users/admin/builder/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
/Users/admin/builder/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: annotate 'fallbackBundleIdentifier' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 | preferred: "--fallback-bundle-identifier"
152 | )
/Users/admin/builder/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
/Users/admin/builder/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: annotate 'fallbackDefaultModuleKind' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
158 | preferred: "--fallback-default-module-kind"
159 | )
/Users/admin/builder/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
/Users/admin/builder/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: annotate 'additionalSymbolGraphDirectory' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
165 | preferred: "--additional-symbol-graph-dir"
166 | )
/Users/admin/builder/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
/Users/admin/builder/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: annotate 'emitLMDBIndex' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
172 | preferred: "--emit-lmdb-index"
173 | )
/Users/admin/builder/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
/Users/admin/builder/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: annotate 'outputPath' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
179 | preferred: "--output-path",
180 | alternatives: ["--output-dir", "-o"]
/Users/admin/builder/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
/Users/admin/builder/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: annotate 'enableExternalLinkSupport' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
187 | preferred: "--enable-experimental-external-link-support"
188 | )
/Users/admin/builder/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
/Users/admin/builder/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: annotate 'externalLinkDependency' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
194 | preferred: "--dependency",
195 | kind: .arrayOfValues
/Users/admin/builder/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
/Users/admin/builder/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: annotate 'synthesizedLandingPageName' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
202 | preferred: "--synthesized-landing-page-name"
203 | )
/Users/admin/builder/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
/Users/admin/builder/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: annotate 'synthesizedLandingPageKind' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
209 | preferred: "--synthesized-landing-page-kind"
210 | )
/Users/admin/builder/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
[19/79] Compiling SwiftDocCPluginUtilities HelpInformation.swift
/Users/admin/builder/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: annotate '_doccHelp' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | try Process.runAndCaptureOutput(
19 | doccExecutableURL,
/Users/admin/builder/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: annotate 'convertPluginHelpOverview' with '@MainActor' if property should only be accessed from the main actor
| `- 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 |
/Users/admin/builder/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: annotate 'previewPluginHelpOverview' with '@MainActor' if property should only be accessed from the main actor
| `- 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 |
/Users/admin/builder/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: annotate 'disableLMDBIndex' with '@MainActor' if property should only be accessed from the main actor
| `- 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.",
/Users/admin/builder/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: annotate 'verbose' with '@MainActor' if property should only be accessed from the main actor
| `- 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.",
/Users/admin/builder/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: annotate 'enableCombinedDocumentation' with '@MainActor' if property should only be accessed from the main actor
| `- 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.",
/Users/admin/builder/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: annotate 'skipSynthesizedSymbols' with '@MainActor' if property should only be accessed from the main actor
| `- 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.",
/Users/admin/builder/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: annotate 'minimumAccessLevel' with '@MainActor' if property should only be accessed from the main actor
| `- 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.",
/Users/admin/builder/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: annotate 'extendedTypes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
95 | flag: .init(
96 | preferred: "--include-extended-types",
[20/79] Compiling SymbolKit RelationshipKind.swift
/Users/admin/builder/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: annotate 'help' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | preferred: "--help", alternatives: ["-h"]
29 | )
/Users/admin/builder/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
/Users/admin/builder/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: annotate 'enableCombinedDocumentation' with '@MainActor' if property should only be accessed from the main actor
| `- 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.",
/Users/admin/builder/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: annotate 'disableLMDBIndex' with '@MainActor' if property should only be accessed from the main actor
| `- 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.",
/Users/admin/builder/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: annotate 'verbose' with '@MainActor' if property should only be accessed from the main actor
| `- 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.",
/Users/admin/builder/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: annotate 'minimumAccessLevel' with '@MainActor' if property should only be accessed from the main actor
| `- 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.",
/Users/admin/builder/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: annotate 'skipSynthesizedSymbols' with '@MainActor' if property should only be accessed from the main actor
| `- 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.",
/Users/admin/builder/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: annotate 'extendedTypes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
95 | flag: .init(
96 | preferred: "--include-extended-types",
[21/79] Compiling SymbolKit SourceOrigin.swift
/Users/admin/builder/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: annotate 'help' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | preferred: "--help", alternatives: ["-h"]
29 | )
/Users/admin/builder/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
/Users/admin/builder/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: annotate 'enableCombinedDocumentation' with '@MainActor' if property should only be accessed from the main actor
| `- 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.",
/Users/admin/builder/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: annotate 'disableLMDBIndex' with '@MainActor' if property should only be accessed from the main actor
| `- 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.",
/Users/admin/builder/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: annotate 'verbose' with '@MainActor' if property should only be accessed from the main actor
| `- 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.",
/Users/admin/builder/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: annotate 'minimumAccessLevel' with '@MainActor' if property should only be accessed from the main actor
| `- 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.",
/Users/admin/builder/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: annotate 'skipSynthesizedSymbols' with '@MainActor' if property should only be accessed from the main actor
| `- 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.",
/Users/admin/builder/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: annotate 'extendedTypes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
95 | flag: .init(
96 | preferred: "--include-extended-types",
[22/79] Compiling SymbolKit GenericConstraints.swift
[23/79] Compiling SymbolKit Swift.swift
[24/79] Compiling SymbolKit Position.swift
/Users/admin/builder/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: annotate 'enableCombinedDocumentation' with '@MainActor' if property should only be accessed from the main actor
| `- 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.",
/Users/admin/builder/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: annotate 'disableLMDBIndex' with '@MainActor' if property should only be accessed from the main actor
| `- 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.",
/Users/admin/builder/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: annotate 'verbose' with '@MainActor' if property should only be accessed from the main actor
| `- 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.",
/Users/admin/builder/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: annotate 'extendedTypes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
95 | flag: .init(
96 | preferred: "--include-extended-types",
/Users/admin/builder/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: annotate 'skipSynthesizedSymbols' with '@MainActor' if property should only be accessed from the main actor
| `- 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.",
/Users/admin/builder/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: annotate 'minimumAccessLevel' with '@MainActor' if property should only be accessed from the main actor
| `- 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/79] Compiling SymbolKit Relationship.swift
/Users/admin/builder/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: annotate 'enableCombinedDocumentation' with '@MainActor' if property should only be accessed from the main actor
| `- 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.",
/Users/admin/builder/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: annotate 'disableLMDBIndex' with '@MainActor' if property should only be accessed from the main actor
| `- 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.",
/Users/admin/builder/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: annotate 'verbose' with '@MainActor' if property should only be accessed from the main actor
| `- 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.",
/Users/admin/builder/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: annotate 'extendedTypes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
95 | flag: .init(
96 | preferred: "--include-extended-types",
/Users/admin/builder/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: annotate 'skipSynthesizedSymbols' with '@MainActor' if property should only be accessed from the main actor
| `- 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.",
/Users/admin/builder/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: annotate 'minimumAccessLevel' with '@MainActor' if property should only be accessed from the main actor
| `- 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.",
[26/79] Compiling SymbolKit Mixin.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/BuildGraph/DocumentationBuildGraph.swift:106:17: warning: capture of 'work' with non-sendable type '(DocumentationBuildGraph<Target>.Task) -> Void' in a `@Sendable` closure
104 | // Copy the closure and the target into a block operation object
105 | let new = BlockOperation { [work, task] in
106 | work(task)
| |- warning: capture of 'work' with non-sendable type '(DocumentationBuildGraph<Target>.Task) -> Void' in a `@Sendable` closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
107 | }
108 | operationsByID[task.id] = new
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/BuildGraph/DocumentationBuildGraph.swift:106:22: warning: capture of 'task' with non-sendable type 'DocumentationBuildGraph<Target>.Task' in a `@Sendable` closure
57 | extension DocumentationBuildGraph {
58 | /// A documentation task in the build graph
59 | final class Task {
| `- note: class 'Task' does not conform to the 'Sendable' protocol
60 | /// The target to build documentation for
61 | let target: Target
:
104 | // Copy the closure and the target into a block operation object
105 | let new = BlockOperation { [work, task] in
106 | work(task)
| `- warning: capture of 'task' with non-sendable type 'DocumentationBuildGraph<Target>.Task' in a `@Sendable` closure
107 | }
108 | operationsByID[task.id] = new
[27/79] Compiling SymbolKit LineList.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/BuildGraph/DocumentationBuildGraph.swift:106:17: warning: capture of 'work' with non-sendable type '(DocumentationBuildGraph<Target>.Task) -> Void' in a `@Sendable` closure
104 | // Copy the closure and the target into a block operation object
105 | let new = BlockOperation { [work, task] in
106 | work(task)
| |- warning: capture of 'work' with non-sendable type '(DocumentationBuildGraph<Target>.Task) -> Void' in a `@Sendable` closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
107 | }
108 | operationsByID[task.id] = new
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/BuildGraph/DocumentationBuildGraph.swift:106:22: warning: capture of 'task' with non-sendable type 'DocumentationBuildGraph<Target>.Task' in a `@Sendable` closure
57 | extension DocumentationBuildGraph {
58 | /// A documentation task in the build graph
59 | final class Task {
| `- note: class 'Task' does not conform to the 'Sendable' protocol
60 | /// The target to build documentation for
61 | let target: Target
:
104 | // Copy the closure and the target into a block operation object
105 | let new = BlockOperation { [work, task] in
106 | work(task)
| `- warning: capture of 'task' with non-sendable type 'DocumentationBuildGraph<Target>.Task' in a `@Sendable` closure
107 | }
108 | operationsByID[task.id] = new
[28/79] Compiling SymbolKit Mixin+Equals.swift
[29/79] Compiling SymbolKit Mixin+Hash.swift
[30/79] Compiling SwiftDocCPluginUtilities Lock.swift
[31/79] Compiling SwiftDocCPluginUtilities ParsedArguments.swift
/Users/admin/builder/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: annotate 'fallbackDisplayName' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
144 | preferred: "--fallback-display-name"
145 | )
/Users/admin/builder/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
/Users/admin/builder/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: annotate 'fallbackBundleIdentifier' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 | preferred: "--fallback-bundle-identifier"
152 | )
/Users/admin/builder/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
/Users/admin/builder/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: annotate 'fallbackDefaultModuleKind' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
158 | preferred: "--fallback-default-module-kind"
159 | )
/Users/admin/builder/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
/Users/admin/builder/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: annotate 'additionalSymbolGraphDirectory' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
165 | preferred: "--additional-symbol-graph-dir"
166 | )
/Users/admin/builder/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
/Users/admin/builder/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: annotate 'emitLMDBIndex' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
172 | preferred: "--emit-lmdb-index"
173 | )
/Users/admin/builder/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
/Users/admin/builder/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: annotate 'outputPath' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
179 | preferred: "--output-path",
180 | alternatives: ["--output-dir", "-o"]
/Users/admin/builder/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
/Users/admin/builder/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: annotate 'enableExternalLinkSupport' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
187 | preferred: "--enable-experimental-external-link-support"
188 | )
/Users/admin/builder/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
/Users/admin/builder/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: annotate 'externalLinkDependency' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
194 | preferred: "--dependency",
195 | kind: .arrayOfValues
/Users/admin/builder/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
/Users/admin/builder/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: annotate 'synthesizedLandingPageName' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
202 | preferred: "--synthesized-landing-page-name"
203 | )
/Users/admin/builder/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
/Users/admin/builder/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: annotate 'synthesizedLandingPageKind' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
209 | preferred: "--synthesized-landing-page-kind"
210 | )
/Users/admin/builder/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
[32/79] Compiling SymbolKit GenericConstraint.swift
[33/79] Compiling SymbolKit GenericParameter.swift
[34/79] Compiling SymbolKit Generics.swift
[35/79] Compiling SymbolKit Namespace.swift
[41/79] Compiling SymbolKit DeclarationFragments.swift
[42/79] Compiling SymbolKit Fragment.swift
[43/79] Compiling SymbolKit FragmentKind.swift
[44/79] Compiling SymbolKit FunctionParameter.swift
[45/79] Compiling SymbolKit FunctionSignature.swift
[46/79] Compiling SymbolKit Identifier.swift
[47/79] Compiling SymbolKit KindIdentifier.swift
[48/79] Compiling SymbolKit Location.swift
[49/79] Compiling SymbolKit Mutability.swift
[50/79] Compiling SymbolKit SourceRange.swift
[51/79] Compiling SymbolKit Metadata.swift
[52/79] Compiling SymbolKit Module.swift
[53/79] Compiling SymbolKit OperatingSystem.swift
[54/79] Compiling SymbolKit Platform.swift
[55/79] Compiling SymbolKit SemanticVersion.swift
[56/79] Compiling SymbolKit AccessControl.swift
[57/79] Compiling SymbolKit Availability.swift
[58/79] Compiling SymbolKit AvailabilityItem.swift
[59/79] Compiling SymbolKit Domain.swift
[60/79] Compiling SymbolKit Names.swift
[61/79] Compiling SymbolKit SPI.swift
[62/79] Compiling SymbolKit Snippet.swift
[63/79] Compiling SymbolKit Extension.swift
[64/79] Compiling SymbolKit Symbol.swift
[65/79] Compiling SymbolKit SymbolKind.swift
[66/79] Compiling SymbolKit SymbolGraph.swift
[67/79] Compiling SymbolKit GraphCollector.swift
[73/79] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[74/79] Compiling SymbolKit UnifiedSymbol.swift
[75/79] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[76/79] Compiling SymbolKit UnifiedSymbolGraph.swift
[77/83] Compiling snippet_extract URL+Status.swift
[78/83] Compiling snippet_extract SymbolGraph+Snippet.swift
[79/83] Compiling snippet_extract SnippetBuildCommand.swift
[80/83] Emitting module snippet_extract
[80/83] Write Objects.LinkFileList
[81/83] Linking snippet-extract
[82/83] Applying snippet-extract
Build complete! (28.99s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-docc-symbolkit",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swiftlang/swift-docc-symbolkit"
}
],
"manifest_display_name" : "SwiftDocCPlugin",
"name" : "SwiftDocCPlugin",
"path" : "/Users/admin/builder/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" : "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",
"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" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftDocCPluginUtilitiesTests/Test Fixtures",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"CommandLineArgumentsTests.swift",
"DispatchTimeIntervalExtensionTests.swift",
"DocCFeaturesTests.swift",
"DocumentationBuildGraphRunnerTests.swift",
"HelpInformationTests.swift",
"ParsedArgumentsTests.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" : [
"BuildGraph/DocumentationBuildGraph.swift",
"BuildGraph/DocumentationBuildGraphRunner.swift",
"CommandLineArguments/CommandLineArgument.swift",
"CommandLineArguments/CommandLineArguments.swift",
"CommandLineArguments/ParsedPluginArguments.swift",
"DispatchTimeInterval+descriptionInSeconds.swift",
"DocCFeatures.swift",
"DocumentationTargetKind.swift",
"DocumentedPluginFlags/DocumentedArgument.swift",
"FoundationExtensions/String+singleQuoted.swift",
"HelpInformation.swift",
"Lock.swift",
"ParsedArguments.swift",
"PluginAction.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/BuildGraph/DocumentationBuildGraph.swift",
"Symbolic Links/SwiftDocCPluginUtilities/BuildGraph/DocumentationBuildGraphRunner.swift",
"Symbolic Links/SwiftDocCPluginUtilities/CommandLineArguments/CommandLineArgument.swift",
"Symbolic Links/SwiftDocCPluginUtilities/CommandLineArguments/CommandLineArguments.swift",
"Symbolic Links/SwiftDocCPluginUtilities/CommandLineArguments/ParsedPluginArguments.swift",
"Symbolic Links/SwiftDocCPluginUtilities/DispatchTimeInterval+descriptionInSeconds.swift",
"Symbolic Links/SwiftDocCPluginUtilities/DocCFeatures.swift",
"Symbolic Links/SwiftDocCPluginUtilities/DocumentationTargetKind.swift",
"Symbolic Links/SwiftDocCPluginUtilities/DocumentedPluginFlags/DocumentedArgument.swift",
"Symbolic Links/SwiftDocCPluginUtilities/FoundationExtensions/String+singleQuoted.swift",
"Symbolic Links/SwiftDocCPluginUtilities/HelpInformation.swift",
"Symbolic Links/SwiftDocCPluginUtilities/Lock.swift",
"Symbolic Links/SwiftDocCPluginUtilities/ParsedArguments.swift",
"Symbolic Links/SwiftDocCPluginUtilities/PluginAction.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/BuildGraph/DocumentationBuildGraph.swift",
"Symbolic Links/SwiftDocCPluginUtilities/BuildGraph/DocumentationBuildGraphRunner.swift",
"Symbolic Links/SwiftDocCPluginUtilities/CommandLineArguments/CommandLineArgument.swift",
"Symbolic Links/SwiftDocCPluginUtilities/CommandLineArguments/CommandLineArguments.swift",
"Symbolic Links/SwiftDocCPluginUtilities/CommandLineArguments/ParsedPluginArguments.swift",
"Symbolic Links/SwiftDocCPluginUtilities/DispatchTimeInterval+descriptionInSeconds.swift",
"Symbolic Links/SwiftDocCPluginUtilities/DocCFeatures.swift",
"Symbolic Links/SwiftDocCPluginUtilities/DocumentationTargetKind.swift",
"Symbolic Links/SwiftDocCPluginUtilities/DocumentedPluginFlags/DocumentedArgument.swift",
"Symbolic Links/SwiftDocCPluginUtilities/FoundationExtensions/String+singleQuoted.swift",
"Symbolic Links/SwiftDocCPluginUtilities/HelpInformation.swift",
"Symbolic Links/SwiftDocCPluginUtilities/Lock.swift",
"Symbolic Links/SwiftDocCPluginUtilities/ParsedArguments.swift",
"Symbolic Links/SwiftDocCPluginUtilities/PluginAction.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",
"snippet-extract"
],
"sources" : [
"Model/Snippet.swift",
"Parsing/SnippetParser.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
✅ Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path: $PWD/.docs/swiftlang/swift-docc-plugin/main
Repository: swiftlang/swift-docc-plugin
Swift version used: 6.0
Target: SwiftDocCPlugin
Extracting symbol information for 'SwiftDocCPlugin'...
Finished extracting symbol information for 'SwiftDocCPlugin'. (0.37s)
Building documentation for 'SwiftDocCPlugin'...
Finished building documentation for 'SwiftDocCPlugin' (0.35s)
Generated documentation archive at:
/Users/admin/builder/spi-builder-workspace/.docs/swiftlang/swift-docc-plugin/main
Building for debugging...
[0/8] Write sources
[1/8] Write snippet-extract-tool-entitlement.plist
[4/8] Write swift-version-5BDAB9E9C0126B9D.txt
[6/53] Compiling Snippets SnippetParser.swift
[7/53] Emitting module Snippets
[8/53] Compiling Snippets Snippet.swift
[9/53] Compiling SymbolKit DeclarationFragments.swift
[10/53] Compiling SymbolKit Fragment.swift
[11/53] Compiling SymbolKit FragmentKind.swift
[12/53] Compiling SymbolKit FunctionParameter.swift
[13/53] Compiling SymbolKit FunctionSignature.swift
[14/57] Emitting module SymbolKit
[15/57] Compiling SymbolKit GenericConstraint.swift
[16/57] Compiling SymbolKit GenericParameter.swift
[17/57] Compiling SymbolKit Generics.swift
[18/57] Compiling SymbolKit Namespace.swift
[19/57] Compiling SymbolKit SemanticVersion.swift
[20/57] Compiling SymbolKit AccessControl.swift
[21/57] Compiling SymbolKit Availability.swift
[22/57] Compiling SymbolKit AvailabilityItem.swift
[23/57] Compiling SymbolKit Domain.swift
[24/57] Compiling SymbolKit Mixin+Equals.swift
[25/57] Compiling SymbolKit Mixin+Hash.swift
[26/57] Compiling SymbolKit Mixin.swift
[27/57] Compiling SymbolKit LineList.swift
[28/57] Compiling SymbolKit Position.swift
[29/57] Compiling SymbolKit Names.swift
[30/57] Compiling SymbolKit SPI.swift
[31/57] Compiling SymbolKit Snippet.swift
[32/57] Compiling SymbolKit Extension.swift
[33/57] Compiling SymbolKit Relationship.swift
[34/57] Compiling SymbolKit RelationshipKind.swift
[35/57] Compiling SymbolKit SourceOrigin.swift
[36/57] Compiling SymbolKit GenericConstraints.swift
[37/57] Compiling SymbolKit Swift.swift
[38/57] Compiling SymbolKit SourceRange.swift
[39/57] Compiling SymbolKit Metadata.swift
[40/57] Compiling SymbolKit Module.swift
[41/57] Compiling SymbolKit OperatingSystem.swift
[42/57] Compiling SymbolKit Platform.swift
[43/57] Compiling SymbolKit Identifier.swift
[44/57] Compiling SymbolKit KindIdentifier.swift
[45/57] Compiling SymbolKit Location.swift
[46/57] Compiling SymbolKit Mutability.swift
[47/57] Compiling SymbolKit Symbol.swift
[48/57] Compiling SymbolKit SymbolKind.swift
[49/57] Compiling SymbolKit SymbolGraph.swift
[50/57] Compiling SymbolKit GraphCollector.swift
[51/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[52/57] Compiling SymbolKit UnifiedSymbol.swift
[53/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[54/57] Compiling SymbolKit UnifiedSymbolGraph.swift
[55/61] Emitting module snippet_extract
[56/61] Compiling snippet_extract SnippetBuildCommand.swift
[57/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[58/61] Compiling snippet_extract URL+Status.swift
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (2.49s)
Building for debugging...
[0/1] Write swift-version-5BDAB9E9C0126B9D.txt
[2/3] Compiling SwiftDocCPlugin EmptyFile.swift
[3/3] Emitting module SwiftDocCPlugin
Build of target: 'SwiftDocCPlugin' complete! (0.29s)
66
3 /Users/admin/builder/spi-builder-workspace/.docs/swiftlang/swift-docc-plugin/main
✅ Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/swiftlang/swift-docc-plugin/main
File count: 66
Doc size: 3.0MB
Preparing doc bundle ...
Uploading prod-swiftlang-swift-docc-plugin-main-fae2e1cc.zip to s3://spi-docs-inbox/prod-swiftlang-swift-docc-plugin-main-fae2e1cc.zip
Copying... [12%]
Copying... [20%]
Copying... [32%]
Copying... [40%]
Copying... [52%]
Copying... [60%]
Copying... [72%]
Copying... [80%]
Copying... [92%]
Copying... [100%]
Done.