Build Information
Successful build of SwiftDocCPlugin, reference main (5f2e24), with Swift 6.1 for Android on 29 May 2025 02:42:48 UTC.
Swift 6 data race errors: 5
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/themomax/swift-docc-plugin.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/themomax/swift-docc-plugin
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 5f2e247 Rename snippet-build to snippet-extract (#33)
Cloned https://github.com/themomax/swift-docc-plugin.git
Revision (git rev-parse @):
5f2e247f5efef4ff8ee603443a9a29225ce9f0e2
SUCCESS checkout https://github.com/themomax/swift-docc-plugin.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/themomax/swift-docc-plugin.git
https://github.com/themomax/swift-docc-plugin.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-docc-symbolkit",
"requirement" : {
"branch" : [
"main"
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-docc-symbolkit"
}
],
"manifest_display_name" : "SwiftDocCPlugin",
"name" : "SwiftDocCPlugin",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15.4"
}
],
"products" : [
{
"name" : "Swift-DocC",
"targets" : [
"Swift-DocC"
],
"type" : {
"plugin" : null
}
},
{
"name" : "Swift-DocC Preview",
"targets" : [
"Swift-DocC Preview"
],
"type" : {
"plugin" : null
}
},
{
"name" : "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" : "/host/spi-builder-workspace/Tests/SwiftDocCPluginUtilitiesTests/Test Fixtures",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"ArgumentsOutputPathTests.swift",
"CommandLineOptions/RequiredCommandLineOptionTests.swift",
"DispatchTimeIntervalExtensionTests.swift",
"HelpInformationTests.swift",
"ParsedArgumentsTests.swift",
"PluginFlags/DisableIndexFlagTests.swift",
"PluginFlags/PluginFlagTests.swift",
"SnippetParseTests.swift",
"Snippets/SnippetExtractTests.swift",
"Utilities/XCTest+testResourceAsString.swift"
],
"target_dependencies" : [
"Snippets",
"SwiftDocCPluginUtilities"
],
"type" : "test"
},
{
"c99name" : "SwiftDocCPluginUtilities",
"module_type" : "SwiftTarget",
"name" : "SwiftDocCPluginUtilities",
"path" : "Sources/SwiftDocCPluginUtilities",
"sources" : [
"Arguments+outputPath.swift",
"Arguments.swift",
"CommandLineOptions/CommandLineOption.swift",
"CommandLineOptions/RequiredCommandLineOption.swift",
"DispatchTimeInterval+descriptionInSeconds.swift",
"DocumentationTargetKind.swift",
"FoundationExtensions/String+singleQuoted.swift",
"HelpInformation.swift",
"ParsedArguments.swift",
"PluginAction.swift",
"PluginFlags/ArgumentsTransforming.swift",
"PluginFlags/DisableIndexFlag.swift",
"PluginFlags/PluginFlag.swift",
"Snippets/SnippetExtractor.swift"
],
"type" : "library"
},
{
"c99name" : "SwiftDocCPlugin",
"module_type" : "SwiftTarget",
"name" : "SwiftDocCPlugin",
"path" : "Sources/SwiftDocCPluginDocumentation",
"sources" : [
"EmptyFile.swift"
],
"type" : "library"
},
{
"c99name" : "Swift_DocC_Preview",
"module_type" : "PluginTarget",
"name" : "Swift-DocC Preview",
"path" : "Plugins/Swift-DocC Preview",
"plugin_capability" : {
"intent" : {
"description" : "Preview the Swift-DocC documentation for a specified target.",
"type" : "custom",
"verb" : "preview-documentation"
},
"permissions" : [
],
"type" : "command"
},
"product_memberships" : [
"Swift-DocC Preview"
],
"sources" : [
"SwiftDocCPreview.swift",
"Symbolic Links/SharedPackagePluginExtensions/ArgumentExtractor+extractSpecifiedTargets.swift",
"Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift",
"Symbolic Links/SharedPackagePluginExtensions/PackageManager+getSymbolGraphsForDocC.swift",
"Symbolic Links/SharedPackagePluginExtensions/PluginContext+doccExecutableURL.swift",
"Symbolic Links/SharedPackagePluginExtensions/SnippetExtractor+generateSnippetsForTarget.swift",
"Symbolic Links/SharedPackagePluginExtensions/SourceModuleTarget+doccCatalogPath.swift",
"Symbolic Links/SharedPackagePluginExtensions/Target+defaultSymbolGraphOptions.swift",
"Symbolic Links/SharedPackagePluginExtensions/Target+doccArchiveOutputPath.swift",
"Symbolic Links/SwiftDocCPluginUtilities/Arguments+outputPath.swift",
"Symbolic Links/SwiftDocCPluginUtilities/Arguments.swift",
"Symbolic Links/SwiftDocCPluginUtilities/CommandLineOptions/CommandLineOption.swift",
"Symbolic Links/SwiftDocCPluginUtilities/CommandLineOptions/RequiredCommandLineOption.swift",
"Symbolic Links/SwiftDocCPluginUtilities/DispatchTimeInterval+descriptionInSeconds.swift",
"Symbolic Links/SwiftDocCPluginUtilities/DocumentationTargetKind.swift",
"Symbolic Links/SwiftDocCPluginUtilities/FoundationExtensions/String+singleQuoted.swift",
"Symbolic Links/SwiftDocCPluginUtilities/HelpInformation.swift",
"Symbolic Links/SwiftDocCPluginUtilities/ParsedArguments.swift",
"Symbolic Links/SwiftDocCPluginUtilities/PluginAction.swift",
"Symbolic Links/SwiftDocCPluginUtilities/PluginFlags/ArgumentsTransforming.swift",
"Symbolic Links/SwiftDocCPluginUtilities/PluginFlags/DisableIndexFlag.swift",
"Symbolic Links/SwiftDocCPluginUtilities/PluginFlags/PluginFlag.swift",
"Symbolic Links/SwiftDocCPluginUtilities/Snippets/SnippetExtractor.swift"
],
"target_dependencies" : [
"snippet-extract"
],
"type" : "plugin"
},
{
"c99name" : "Swift_DocC",
"module_type" : "PluginTarget",
"name" : "Swift-DocC",
"path" : "Plugins/Swift-DocC Convert",
"plugin_capability" : {
"intent" : {
"type" : "documentationGeneration"
},
"permissions" : [
],
"type" : "command"
},
"product_memberships" : [
"Swift-DocC"
],
"sources" : [
"SwiftDocCConvert.swift",
"Symbolic Links/SharedPackagePluginExtensions/ArgumentExtractor+extractSpecifiedTargets.swift",
"Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift",
"Symbolic Links/SharedPackagePluginExtensions/PackageManager+getSymbolGraphsForDocC.swift",
"Symbolic Links/SharedPackagePluginExtensions/PluginContext+doccExecutableURL.swift",
"Symbolic Links/SharedPackagePluginExtensions/SnippetExtractor+generateSnippetsForTarget.swift",
"Symbolic Links/SharedPackagePluginExtensions/SourceModuleTarget+doccCatalogPath.swift",
"Symbolic Links/SharedPackagePluginExtensions/Target+defaultSymbolGraphOptions.swift",
"Symbolic Links/SharedPackagePluginExtensions/Target+doccArchiveOutputPath.swift",
"Symbolic Links/SwiftDocCPluginUtilities/Arguments+outputPath.swift",
"Symbolic Links/SwiftDocCPluginUtilities/Arguments.swift",
"Symbolic Links/SwiftDocCPluginUtilities/CommandLineOptions/CommandLineOption.swift",
"Symbolic Links/SwiftDocCPluginUtilities/CommandLineOptions/RequiredCommandLineOption.swift",
"Symbolic Links/SwiftDocCPluginUtilities/DispatchTimeInterval+descriptionInSeconds.swift",
"Symbolic Links/SwiftDocCPluginUtilities/DocumentationTargetKind.swift",
"Symbolic Links/SwiftDocCPluginUtilities/FoundationExtensions/String+singleQuoted.swift",
"Symbolic Links/SwiftDocCPluginUtilities/HelpInformation.swift",
"Symbolic Links/SwiftDocCPluginUtilities/ParsedArguments.swift",
"Symbolic Links/SwiftDocCPluginUtilities/PluginAction.swift",
"Symbolic Links/SwiftDocCPluginUtilities/PluginFlags/ArgumentsTransforming.swift",
"Symbolic Links/SwiftDocCPluginUtilities/PluginFlags/DisableIndexFlag.swift",
"Symbolic Links/SwiftDocCPluginUtilities/PluginFlags/PluginFlag.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.6"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/apple/swift-docc-symbolkit
[1/3391] Fetching swift-docc-symbolkit
Fetched https://github.com/apple/swift-docc-symbolkit from cache (0.44s)
Creating working copy for https://github.com/apple/swift-docc-symbolkit
Working copy of https://github.com/apple/swift-docc-symbolkit resolved at main (ddacb65)
/host/spi-builder-workspace/Plugins/Swift-DocC Preview/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values; this is an error in the Swift 6 language mode
29 | func addTargetDependencies(_ target: Target) {
30 | for dependency in target.dependencies {
31 | switch dependency {
| |- warning: switch covers known cases, but 'TargetDependency' may have additional unknown values; this is an error in the Swift 6 language mode
| `- note: handle unknown values using "@unknown default"
32 | case .product(let product):
33 | addTargets(product.targets)
[1/1] Compiling plugin Swift-DocC Preview
/host/spi-builder-workspace/Plugins/Swift-DocC Convert/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values; this is an error in the Swift 6 language mode
29 | func addTargetDependencies(_ target: Target) {
30 | for dependency in target.dependencies {
31 | switch dependency {
| |- warning: switch covers known cases, but 'TargetDependency' may have additional unknown values; this is an error in the Swift 6 language mode
| `- note: handle unknown values using "@unknown default"
32 | case .product(let product):
33 | addTargets(product.targets)
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/21] Write sources
[10/21] Write swift-version-24593BA9C3E375BF.txt
[12/143] Emitting module Snippets
[13/143] Emitting module SwiftDocCPlugin
[14/143] Compiling SwiftDocCPlugin EmptyFile.swift
[16/144] Compiling SwiftDocCPluginUtilities PluginFlag.swift
[17/144] Compiling SymbolKit SemanticVersion.swift
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/PluginFlags/DisableIndexFlag.swift:14:16: warning: static property 'disableIndex' is not concurrency-safe because non-'Sendable' type 'PluginFlag' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// Removes the `--index` flag from a given set of arguments if the `--disable-index` flag
13 | /// is found.
14 | static let disableIndex = PluginFlag(
| |- warning: static property 'disableIndex' is not concurrency-safe because non-'Sendable' type 'PluginFlag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'disableIndex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | parsedValues: [
16 | "--disable-indexing",
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/PluginFlags/PluginFlag.swift:12:8: note: consider making struct 'PluginFlag' conform to the 'Sendable' protocol
10 | ///
11 | /// Plugin flags are distinct from options that are for the docc command-line tool itself.
12 | struct PluginFlag: ArgumentsTransforming {
| `- note: consider making struct 'PluginFlag' conform to the 'Sendable' protocol
13 | /// The string values that will be parsed when detecting this flag.
14 | ///
[18/144] Compiling SymbolKit AccessControl.swift
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/PluginFlags/DisableIndexFlag.swift:14:16: warning: static property 'disableIndex' is not concurrency-safe because non-'Sendable' type 'PluginFlag' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// Removes the `--index` flag from a given set of arguments if the `--disable-index` flag
13 | /// is found.
14 | static let disableIndex = PluginFlag(
| |- warning: static property 'disableIndex' is not concurrency-safe because non-'Sendable' type 'PluginFlag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'disableIndex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | parsedValues: [
16 | "--disable-indexing",
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/PluginFlags/PluginFlag.swift:12:8: note: consider making struct 'PluginFlag' conform to the 'Sendable' protocol
10 | ///
11 | /// Plugin flags are distinct from options that are for the docc command-line tool itself.
12 | struct PluginFlag: ArgumentsTransforming {
| `- note: consider making struct 'PluginFlag' conform to the 'Sendable' protocol
13 | /// The string values that will be parsed when detecting this flag.
14 | ///
[19/145] Compiling SymbolKit SourceRange.swift
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/ParsedArguments.swift:172:24: warning: static property 'argumentsTransformers' is not concurrency-safe because non-'Sendable' type '[any ArgumentsTransforming]' may have shared mutable state; this is an error in the Swift 6 language mode
170 | ]
171 |
172 | private static let argumentsTransformers: [ArgumentsTransforming] = [
| |- warning: static property 'argumentsTransformers' is not concurrency-safe because non-'Sendable' type '[any ArgumentsTransforming]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'argumentsTransformers' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
173 | PluginFlag.disableIndex
174 | ]
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/PluginFlags/ArgumentsTransforming.swift:10:10: note: protocol 'ArgumentsTransforming' does not conform to the 'Sendable' protocol
8 |
9 | /// Transforms a set of arguments.
10 | protocol ArgumentsTransforming {
| `- note: protocol 'ArgumentsTransforming' does not conform to the 'Sendable' protocol
11 | /// Apply the transformation to the given arguments.
12 | func transform(_ arguments: Arguments) -> Arguments
[20/145] Compiling SymbolKit SourceOrigin.swift
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/ParsedArguments.swift:172:24: warning: static property 'argumentsTransformers' is not concurrency-safe because non-'Sendable' type '[any ArgumentsTransforming]' may have shared mutable state; this is an error in the Swift 6 language mode
170 | ]
171 |
172 | private static let argumentsTransformers: [ArgumentsTransforming] = [
| |- warning: static property 'argumentsTransformers' is not concurrency-safe because non-'Sendable' type '[any ArgumentsTransforming]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'argumentsTransformers' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
173 | PluginFlag.disableIndex
174 | ]
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/PluginFlags/ArgumentsTransforming.swift:10:10: note: protocol 'ArgumentsTransforming' does not conform to the 'Sendable' protocol
8 |
9 | /// Transforms a set of arguments.
10 | protocol ArgumentsTransforming {
| `- note: protocol 'ArgumentsTransforming' does not conform to the 'Sendable' protocol
11 | /// Apply the transformation to the given arguments.
12 | func transform(_ arguments: Arguments) -> Arguments
[21/145] Emitting module SymbolKit
[22/151] Compiling SymbolKit OverloadData.swift
[23/151] Compiling SymbolKit PlistDetails.swift
[24/151] Compiling SymbolKit SPI.swift
[25/151] Compiling SymbolKit Snippet.swift
[26/151] Compiling SymbolKit Extension.swift
[27/151] Compiling SymbolKit GenericConstraint.swift
[28/151] Compiling SymbolKit GenericParameter.swift
[29/151] Compiling SymbolKit Generics.swift
[30/151] Compiling SymbolKit Namespace.swift
[31/151] Compiling SymbolKit Symbol.swift
[32/151] Compiling SymbolKit SymbolKind.swift
[33/151] Compiling SymbolKit ValueConstraints.swift
[34/151] Compiling SymbolKit SymbolGraph+Overloads.swift
[35/151] Compiling SymbolKit SymbolGraph.swift
[36/151] Compiling SymbolKit FunctionSignature.swift
[37/151] Compiling SymbolKit HTTP.swift
[38/151] Compiling SymbolKit Identifier.swift
[39/151] Compiling SymbolKit KindIdentifier.swift
[40/151] Compiling SymbolKit Location.swift
[41/151] Compiling SymbolKit Mutability.swift
[42/151] Compiling SymbolKit Names.swift
[43/157] Compiling SymbolKit AvailabilityItem.swift
[44/157] Compiling SymbolKit Domain.swift
[45/157] Compiling SymbolKit DeclarationFragments+Simplify.swift
[46/157] Compiling SymbolKit DeclarationFragments.swift
[47/157] Compiling SymbolKit Fragment.swift
[48/157] Compiling SymbolKit FragmentKind.swift
[49/157] Compiling SymbolKit FunctionParameter.swift
[50/157] Emitting module SymbolKit
[51/157] Compiling SymbolKit Mixin+Equals.swift
[52/157] Compiling SymbolKit Mixin+Hash.swift
[53/157] Compiling SymbolKit Mixin.swift
[54/157] Compiling SymbolKit AnyScalar.swift
[55/157] Compiling SymbolKit LineList.swift
[56/157] Compiling SymbolKit Position.swift
[58/157] Compiling SymbolKit Metadata.swift
[59/157] Compiling SymbolKit Module.swift
[60/157] Compiling SymbolKit OperatingSystem.swift
[61/157] Compiling SymbolKit Platform.swift
[62/157] Compiling SymbolKit ReferenceLocation.swift
[63/157] Compiling SymbolKit Relationship.swift
[64/157] Compiling SymbolKit RelationshipKind.swift
[66/157] Compiling SymbolKit GenericConstraints.swift
[67/157] Compiling SymbolKit Swift.swift
[70/157] Compiling SymbolKit AlternateDeclarations.swift
[71/157] Compiling SymbolKit Availability.swift
[72/157] Compiling Snippets SnippetParser.swift
[73/157] Compiling Snippets Snippet.swift
[75/158] Compiling Snippets SnippetParser.swift
[76/158] Emitting module SwiftDocCPluginUtilities
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/HelpInformation.swift:17:16: warning: static property '_doccHelp' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | ///
16 | /// This is defined as a static variable to allow for mocking in tests.
17 | static var _doccHelp: (PluginAction, URL) throws -> (String?) = { pluginAction, doccExecutableURL in
| |- warning: static property '_doccHelp' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_doccHelp' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_doccHelp' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | try Process.runAndCaptureOutput(
19 | doccExecutableURL,
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/HelpInformation.swift:72: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
70 | }
71 |
72 | private static var convertPluginHelpOverview = """
| |- warning: static property 'convertPluginHelpOverview' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'convertPluginHelpOverview' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'convertPluginHelpOverview' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
73 | OVERVIEW: Creates a Swift-DocC documentation archive from a Swift Package.
74 |
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/HelpInformation.swift:89: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
87 | """
88 |
89 | private static var previewPluginHelpOverview = """
| |- warning: static property 'previewPluginHelpOverview' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'previewPluginHelpOverview' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'previewPluginHelpOverview' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 | OVERVIEW: Creates and previews a Swift-DocC documentation archive from a Swift Package.
91 |
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/ParsedArguments.swift:172:24: warning: static property 'argumentsTransformers' is not concurrency-safe because non-'Sendable' type '[any ArgumentsTransforming]' may have shared mutable state; this is an error in the Swift 6 language mode
170 | ]
171 |
172 | private static let argumentsTransformers: [ArgumentsTransforming] = [
| |- warning: static property 'argumentsTransformers' is not concurrency-safe because non-'Sendable' type '[any ArgumentsTransforming]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'argumentsTransformers' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
173 | PluginFlag.disableIndex
174 | ]
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/PluginFlags/ArgumentsTransforming.swift:10:10: note: protocol 'ArgumentsTransforming' does not conform to the 'Sendable' protocol
8 |
9 | /// Transforms a set of arguments.
10 | protocol ArgumentsTransforming {
| `- note: protocol 'ArgumentsTransforming' does not conform to the 'Sendable' protocol
11 | /// Apply the transformation to the given arguments.
12 | func transform(_ arguments: Arguments) -> Arguments
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/PluginFlags/DisableIndexFlag.swift:14:16: warning: static property 'disableIndex' is not concurrency-safe because non-'Sendable' type 'PluginFlag' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// Removes the `--index` flag from a given set of arguments if the `--disable-index` flag
13 | /// is found.
14 | static let disableIndex = PluginFlag(
| |- warning: static property 'disableIndex' is not concurrency-safe because non-'Sendable' type 'PluginFlag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'disableIndex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | parsedValues: [
16 | "--disable-indexing",
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/PluginFlags/PluginFlag.swift:12:8: note: consider making struct 'PluginFlag' conform to the 'Sendable' protocol
10 | ///
11 | /// Plugin flags are distinct from options that are for the docc command-line tool itself.
12 | struct PluginFlag: ArgumentsTransforming {
| `- note: consider making struct 'PluginFlag' conform to the 'Sendable' protocol
13 | /// The string values that will be parsed when detecting this flag.
14 | ///
[77/158] Emitting module Snippets
[78/158] Compiling Snippets Snippet.swift
[79/159] Compiling SwiftDocCPluginUtilities SnippetExtractor.swift
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/HelpInformation.swift:17:16: warning: static property '_doccHelp' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | ///
16 | /// This is defined as a static variable to allow for mocking in tests.
17 | static var _doccHelp: (PluginAction, URL) throws -> (String?) = { pluginAction, doccExecutableURL in
| |- warning: static property '_doccHelp' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_doccHelp' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_doccHelp' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | try Process.runAndCaptureOutput(
19 | doccExecutableURL,
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/HelpInformation.swift:72: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
70 | }
71 |
72 | private static var convertPluginHelpOverview = """
| |- warning: static property 'convertPluginHelpOverview' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'convertPluginHelpOverview' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'convertPluginHelpOverview' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
73 | OVERVIEW: Creates a Swift-DocC documentation archive from a Swift Package.
74 |
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/HelpInformation.swift:89: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
87 | """
88 |
89 | private static var previewPluginHelpOverview = """
| |- warning: static property 'previewPluginHelpOverview' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'previewPluginHelpOverview' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'previewPluginHelpOverview' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 | OVERVIEW: Creates and previews a Swift-DocC documentation archive from a Swift Package.
91 |
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/HelpInformation.swift:17:16: warning: static property '_doccHelp' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | ///
16 | /// This is defined as a static variable to allow for mocking in tests.
17 | static var _doccHelp: (PluginAction, URL) throws -> (String?) = { pluginAction, doccExecutableURL in
| |- warning: static property '_doccHelp' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_doccHelp' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_doccHelp' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | try Process.runAndCaptureOutput(
19 | doccExecutableURL,
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/HelpInformation.swift:72: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
70 | }
71 |
72 | private static var convertPluginHelpOverview = """
| |- warning: static property 'convertPluginHelpOverview' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'convertPluginHelpOverview' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'convertPluginHelpOverview' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
73 | OVERVIEW: Creates a Swift-DocC documentation archive from a Swift Package.
74 |
/host/spi-builder-workspace/Sources/SwiftDocCPluginUtilities/HelpInformation.swift:89: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
87 | """
88 |
89 | private static var previewPluginHelpOverview = """
| |- warning: static property 'previewPluginHelpOverview' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'previewPluginHelpOverview' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'previewPluginHelpOverview' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 | OVERVIEW: Creates and previews a Swift-DocC documentation archive from a Swift Package.
91 |
[87/160] Wrapping AST for Snippets for debugging
[140/160] Compiling SymbolKit GraphCollector.swift
[141/160] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[142/160] Compiling SymbolKit UnifiedSymbol.swift
[143/160] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[144/160] Compiling SymbolKit UnifiedSymbolGraph+Overloads.swift
[145/160] Compiling SymbolKit UnifiedSymbolGraph.swift
[145/160] Wrapping AST for Snippets for debugging
[147/161] Wrapping AST for SymbolKit for debugging
[149/165] Compiling snippet_extract URL+Status.swift
/host/spi-builder-workspace/Sources/snippet-extract/Utility/URL+Status.swift:19:29: warning: result of call to 'fileExists(atPath:isDirectory:)' is unused
17 | var isDirectory: Bool {
18 | var isADirectory: ObjCBool = false
19 | FileManager.default.fileExists(atPath: self.path, isDirectory: &isADirectory)
| `- warning: result of call to 'fileExists(atPath:isDirectory:)' is unused
20 | return isADirectory.boolValue
21 | }
[150/165] Compiling snippet_extract SymbolGraph+Snippet.swift
[151/165] Emitting module snippet_extract
[152/165] Compiling snippet_extract SnippetBuildCommand.swift
[153/166] Wrapping AST for snippet-extract for debugging
[154/166] Write Objects.LinkFileList
[155/166] Linking snippet-extract
[163/167] Wrapping AST for SymbolKit for debugging
[165/171] Emitting module snippet_extract
[166/171] Compiling snippet_extract URL+Status.swift
/host/spi-builder-workspace/Sources/snippet-extract/Utility/URL+Status.swift:19:29: warning: result of call to 'fileExists(atPath:isDirectory:)' is unused
17 | var isDirectory: Bool {
18 | var isADirectory: ObjCBool = false
19 | FileManager.default.fileExists(atPath: self.path, isDirectory: &isADirectory)
| `- warning: result of call to 'fileExists(atPath:isDirectory:)' is unused
20 | return isADirectory.boolValue
21 | }
[167/171] Compiling snippet_extract SymbolGraph+Snippet.swift
[168/171] Compiling snippet_extract SnippetBuildCommand.swift
[169/172] Wrapping AST for snippet-extract for debugging
[170/172] Write Objects.LinkFileList
[171/172] Linking snippet-extract-tool
Build complete! (48.57s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-docc-symbolkit",
"requirement" : {
"branch" : [
"main"
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-docc-symbolkit"
}
],
"manifest_display_name" : "SwiftDocCPlugin",
"name" : "SwiftDocCPlugin",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15.4"
}
],
"products" : [
{
"name" : "Swift-DocC",
"targets" : [
"Swift-DocC"
],
"type" : {
"plugin" : null
}
},
{
"name" : "Swift-DocC Preview",
"targets" : [
"Swift-DocC Preview"
],
"type" : {
"plugin" : null
}
},
{
"name" : "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" : "/host/spi-builder-workspace/Tests/SwiftDocCPluginUtilitiesTests/Test Fixtures",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"ArgumentsOutputPathTests.swift",
"CommandLineOptions/RequiredCommandLineOptionTests.swift",
"DispatchTimeIntervalExtensionTests.swift",
"HelpInformationTests.swift",
"ParsedArgumentsTests.swift",
"PluginFlags/DisableIndexFlagTests.swift",
"PluginFlags/PluginFlagTests.swift",
"SnippetParseTests.swift",
"Snippets/SnippetExtractTests.swift",
"Utilities/XCTest+testResourceAsString.swift"
],
"target_dependencies" : [
"Snippets",
"SwiftDocCPluginUtilities"
],
"type" : "test"
},
{
"c99name" : "SwiftDocCPluginUtilities",
"module_type" : "SwiftTarget",
"name" : "SwiftDocCPluginUtilities",
"path" : "Sources/SwiftDocCPluginUtilities",
"sources" : [
"Arguments+outputPath.swift",
"Arguments.swift",
"CommandLineOptions/CommandLineOption.swift",
"CommandLineOptions/RequiredCommandLineOption.swift",
"DispatchTimeInterval+descriptionInSeconds.swift",
"DocumentationTargetKind.swift",
"FoundationExtensions/String+singleQuoted.swift",
"HelpInformation.swift",
"ParsedArguments.swift",
"PluginAction.swift",
"PluginFlags/ArgumentsTransforming.swift",
"PluginFlags/DisableIndexFlag.swift",
"PluginFlags/PluginFlag.swift",
"Snippets/SnippetExtractor.swift"
],
"type" : "library"
},
{
"c99name" : "SwiftDocCPlugin",
"module_type" : "SwiftTarget",
"name" : "SwiftDocCPlugin",
"path" : "Sources/SwiftDocCPluginDocumentation",
"sources" : [
"EmptyFile.swift"
],
"type" : "library"
},
{
"c99name" : "Swift_DocC_Preview",
"module_type" : "PluginTarget",
"name" : "Swift-DocC Preview",
"path" : "Plugins/Swift-DocC Preview",
"plugin_capability" : {
"intent" : {
"description" : "Preview the Swift-DocC documentation for a specified target.",
"type" : "custom",
"verb" : "preview-documentation"
},
"permissions" : [
],
"type" : "command"
},
"product_memberships" : [
"Swift-DocC Preview"
],
"sources" : [
"SwiftDocCPreview.swift",
"Symbolic Links/SharedPackagePluginExtensions/ArgumentExtractor+extractSpecifiedTargets.swift",
"Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift",
"Symbolic Links/SharedPackagePluginExtensions/PackageManager+getSymbolGraphsForDocC.swift",
"Symbolic Links/SharedPackagePluginExtensions/PluginContext+doccExecutableURL.swift",
"Symbolic Links/SharedPackagePluginExtensions/SnippetExtractor+generateSnippetsForTarget.swift",
"Symbolic Links/SharedPackagePluginExtensions/SourceModuleTarget+doccCatalogPath.swift",
"Symbolic Links/SharedPackagePluginExtensions/Target+defaultSymbolGraphOptions.swift",
"Symbolic Links/SharedPackagePluginExtensions/Target+doccArchiveOutputPath.swift",
"Symbolic Links/SwiftDocCPluginUtilities/Arguments+outputPath.swift",
"Symbolic Links/SwiftDocCPluginUtilities/Arguments.swift",
"Symbolic Links/SwiftDocCPluginUtilities/CommandLineOptions/CommandLineOption.swift",
"Symbolic Links/SwiftDocCPluginUtilities/CommandLineOptions/RequiredCommandLineOption.swift",
"Symbolic Links/SwiftDocCPluginUtilities/DispatchTimeInterval+descriptionInSeconds.swift",
"Symbolic Links/SwiftDocCPluginUtilities/DocumentationTargetKind.swift",
"Symbolic Links/SwiftDocCPluginUtilities/FoundationExtensions/String+singleQuoted.swift",
"Symbolic Links/SwiftDocCPluginUtilities/HelpInformation.swift",
"Symbolic Links/SwiftDocCPluginUtilities/ParsedArguments.swift",
"Symbolic Links/SwiftDocCPluginUtilities/PluginAction.swift",
"Symbolic Links/SwiftDocCPluginUtilities/PluginFlags/ArgumentsTransforming.swift",
"Symbolic Links/SwiftDocCPluginUtilities/PluginFlags/DisableIndexFlag.swift",
"Symbolic Links/SwiftDocCPluginUtilities/PluginFlags/PluginFlag.swift",
"Symbolic Links/SwiftDocCPluginUtilities/Snippets/SnippetExtractor.swift"
],
"target_dependencies" : [
"snippet-extract"
],
"type" : "plugin"
},
{
"c99name" : "Swift_DocC",
"module_type" : "PluginTarget",
"name" : "Swift-DocC",
"path" : "Plugins/Swift-DocC Convert",
"plugin_capability" : {
"intent" : {
"type" : "documentationGeneration"
},
"permissions" : [
],
"type" : "command"
},
"product_memberships" : [
"Swift-DocC"
],
"sources" : [
"SwiftDocCConvert.swift",
"Symbolic Links/SharedPackagePluginExtensions/ArgumentExtractor+extractSpecifiedTargets.swift",
"Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift",
"Symbolic Links/SharedPackagePluginExtensions/PackageManager+getSymbolGraphsForDocC.swift",
"Symbolic Links/SharedPackagePluginExtensions/PluginContext+doccExecutableURL.swift",
"Symbolic Links/SharedPackagePluginExtensions/SnippetExtractor+generateSnippetsForTarget.swift",
"Symbolic Links/SharedPackagePluginExtensions/SourceModuleTarget+doccCatalogPath.swift",
"Symbolic Links/SharedPackagePluginExtensions/Target+defaultSymbolGraphOptions.swift",
"Symbolic Links/SharedPackagePluginExtensions/Target+doccArchiveOutputPath.swift",
"Symbolic Links/SwiftDocCPluginUtilities/Arguments+outputPath.swift",
"Symbolic Links/SwiftDocCPluginUtilities/Arguments.swift",
"Symbolic Links/SwiftDocCPluginUtilities/CommandLineOptions/CommandLineOption.swift",
"Symbolic Links/SwiftDocCPluginUtilities/CommandLineOptions/RequiredCommandLineOption.swift",
"Symbolic Links/SwiftDocCPluginUtilities/DispatchTimeInterval+descriptionInSeconds.swift",
"Symbolic Links/SwiftDocCPluginUtilities/DocumentationTargetKind.swift",
"Symbolic Links/SwiftDocCPluginUtilities/FoundationExtensions/String+singleQuoted.swift",
"Symbolic Links/SwiftDocCPluginUtilities/HelpInformation.swift",
"Symbolic Links/SwiftDocCPluginUtilities/ParsedArguments.swift",
"Symbolic Links/SwiftDocCPluginUtilities/PluginAction.swift",
"Symbolic Links/SwiftDocCPluginUtilities/PluginFlags/ArgumentsTransforming.swift",
"Symbolic Links/SwiftDocCPluginUtilities/PluginFlags/DisableIndexFlag.swift",
"Symbolic Links/SwiftDocCPluginUtilities/PluginFlags/PluginFlag.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.6"
}
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Done.