The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of Commandant, reference 0.18.0 (a1671c), with Swift 6.1 for Android on 27 May 2025 22:35:16 UTC.

Swift 6 data race errors: 1

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Carthage/Commandant.git
Reference: 0.18.0
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/Carthage/Commandant
 * tag               0.18.0     -> FETCH_HEAD
HEAD is now at a1671cf Merge pull request #159 from Carthage/release-0.18
Submodule path 'Carthage/Checkouts/Nimble': checked out 'e491a6731307bb23783bf664d003be9b2fa59ab5'
Submodule path 'Carthage/Checkouts/Quick': checked out '8a10ae40b78d2360ca56638f15fe721be8529993'
Submodule path 'Carthage/Checkouts/Quick/Externals/Nimble': checked out 'e491a6731307bb23783bf664d003be9b2fa59ab5'
Submodule path 'Carthage/Checkouts/xcconfigs': checked out '4ced0ad5a971220917994a4edfa6abf9702e3818'
Submodule 'Carthage/Checkouts/Nimble' (https://github.com/Quick/Nimble.git) registered for path 'Carthage/Checkouts/Nimble'
Submodule 'Carthage/Checkouts/Quick' (https://github.com/Quick/Quick.git) registered for path 'Carthage/Checkouts/Quick'
Submodule 'Carthage/Checkouts/xcconfigs' (https://github.com/jspahrsummers/xcconfigs.git) registered for path 'Carthage/Checkouts/xcconfigs'
Cloning into '/host/spi-builder-workspace/Carthage/Checkouts/Nimble'...
Cloning into '/host/spi-builder-workspace/Carthage/Checkouts/Quick'...
Cloning into '/host/spi-builder-workspace/Carthage/Checkouts/xcconfigs'...
Submodule 'Externals/Nimble' (https://github.com/Quick/Nimble.git) registered for path 'Carthage/Checkouts/Quick/Externals/Nimble'
Cloning into '/host/spi-builder-workspace/Carthage/Checkouts/Quick/Externals/Nimble'...
Cloned https://github.com/Carthage/Commandant.git
Revision (git rev-parse @):
a1671cf728db837cf5ec1980a80d276bbba748f6
SUCCESS checkout https://github.com/Carthage/Commandant.git at 0.18.0
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/Carthage/Commandant.git
https://github.com/Carthage/Commandant.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "quick",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.1.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Quick/Quick.git"
    },
    {
      "identity" : "nimble",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "9.0.0",
            "upper_bound" : "10.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Quick/Nimble.git"
    }
  ],
  "manifest_display_name" : "Commandant",
  "name" : "Commandant",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Commandant",
      "targets" : [
        "Commandant"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "CommandantTests",
      "module_type" : "SwiftTarget",
      "name" : "CommandantTests",
      "path" : "Tests/CommandantTests",
      "product_dependencies" : [
        "Quick",
        "Nimble"
      ],
      "sources" : [
        "CommandSpec.swift",
        "OptionSpec.swift",
        "OptionsWithEnumProtocolSpec.swift",
        "OrderedSetSpec.swift"
      ],
      "target_dependencies" : [
        "Commandant"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Commandant",
      "module_type" : "SwiftTarget",
      "name" : "Commandant",
      "path" : "Sources/Commandant",
      "product_memberships" : [
        "Commandant"
      ],
      "sources" : [
        "Argument.swift",
        "ArgumentParser.swift",
        "ArgumentProtocol.swift",
        "Command.swift",
        "Errors.swift",
        "HelpCommand.swift",
        "Option.swift",
        "OrderedSet.swift",
        "Result+Additions.swift",
        "Switch.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.2"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/Quick/Quick.git
Fetching https://github.com/Quick/Nimble.git
[1/14755] Fetching quick
[13281/34339] Fetching quick, nimble
Fetched https://github.com/Quick/Quick.git from cache (0.64s)
[14688/19584] Fetching nimble
Fetched https://github.com/Quick/Nimble.git from cache (1.32s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 3.1.2 (2.59s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 9.2.1 (0.50s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/1257] Fetching cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (0.24s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (0.75s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/455] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.23s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (0.69s)
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 3.1.2
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.2.2
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 9.2.1
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.2.1
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/12] Compiling Commandant OrderedSet.swift
[4/13] Compiling Commandant Result+Additions.swift
[5/13] Compiling Commandant Switch.swift
[6/13] Compiling Commandant HelpCommand.swift
/host/spi-builder-workspace/Sources/Commandant/HelpCommand.swift:44:48: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
42 | 				return .success(())
43 | 			} else {
44 | 				fputs("Unrecognized command: '\(verb)'\n", stderr)
   |                                                `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
45 | 			}
46 | 		}
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/stdio.h:64:23: note: var declared here
 62 | extern FILE* _Nonnull stdin __INTRODUCED_IN(23);
 63 | extern FILE* _Nonnull stdout __INTRODUCED_IN(23);
 64 | extern FILE* _Nonnull stderr __INTRODUCED_IN(23);
    |                       `- note: var declared here
 65 |
 66 | /* C99 and earlier plus current C++ standards say these must be macros. */
[7/13] Compiling Commandant Argument.swift
[8/13] Compiling Commandant ArgumentParser.swift
[9/13] Compiling Commandant Errors.swift
/host/spi-builder-workspace/Sources/Commandant/Errors.swift:20:7: warning: associated value 'commandError' of 'Sendable'-conforming generic enum 'CommandantError' has non-sendable type 'ClientError'; this is an error in the Swift 6 language mode
 13 | /// `ClientError` should be the type of error (if any) that can occur when
 14 | /// running commands.
 15 | public enum CommandantError<ClientError>: Error {
    |                             `- note: consider making generic parameter 'ClientError' conform to the 'Sendable' protocol
 16 | 	/// An option was used incorrectly.
 17 | 	case usageError(description: String)
 18 |
 19 | 	/// An error occurred while running a command.
 20 | 	case commandError(ClientError)
    |       `- warning: associated value 'commandError' of 'Sendable'-conforming generic enum 'CommandantError' has non-sendable type 'ClientError'; this is an error in the Swift 6 language mode
 21 | }
 22 |
[10/13] Emitting module Commandant
/host/spi-builder-workspace/Sources/Commandant/Errors.swift:20:7: warning: associated value 'commandError' of 'Sendable'-conforming generic enum 'CommandantError' has non-sendable type 'ClientError'; this is an error in the Swift 6 language mode
 13 | /// `ClientError` should be the type of error (if any) that can occur when
 14 | /// running commands.
 15 | public enum CommandantError<ClientError>: Error {
    |                             `- note: consider making generic parameter 'ClientError' conform to the 'Sendable' protocol
 16 | 	/// An option was used incorrectly.
 17 | 	case usageError(description: String)
 18 |
 19 | 	/// An error occurred while running a command.
 20 | 	case commandError(ClientError)
    |       `- warning: associated value 'commandError' of 'Sendable'-conforming generic enum 'CommandantError' has non-sendable type 'ClientError'; this is an error in the Swift 6 language mode
 21 | }
 22 |
[11/13] Compiling Commandant ArgumentProtocol.swift
/host/spi-builder-workspace/Sources/Commandant/Command.swift:180:31: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
178 | 			switch error {
179 | 			case let .usageError(description):
180 | 				fputs(description + "\n", stderr)
    |                               `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
181 |
182 | 			case let .commandError(error):
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/stdio.h:64:23: note: var declared here
 62 | extern FILE* _Nonnull stdin __INTRODUCED_IN(23);
 63 | extern FILE* _Nonnull stdout __INTRODUCED_IN(23);
 64 | extern FILE* _Nonnull stderr __INTRODUCED_IN(23);
    |                       `- note: var declared here
 65 |
 66 | /* C99 and earlier plus current C++ standards say these must be macros. */
/host/spi-builder-workspace/Sources/Commandant/Command.swift:193:78: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
191 | 			}
192 |
193 | 			fputs("Unrecognized command: '\(verb)'. See `\(executableName) help`.\n", stderr)
    |                                                                              `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
194 | 			exit(EXIT_FAILURE)
195 | 		}
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/stdio.h:64:23: note: var declared here
 62 | extern FILE* _Nonnull stdin __INTRODUCED_IN(23);
 63 | extern FILE* _Nonnull stdout __INTRODUCED_IN(23);
 64 | extern FILE* _Nonnull stderr __INTRODUCED_IN(23);
    |                       `- note: var declared here
 65 |
 66 | /* C99 and earlier plus current C++ standards say these must be macros. */
[12/13] Compiling Commandant Command.swift
/host/spi-builder-workspace/Sources/Commandant/Command.swift:180:31: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
178 | 			switch error {
179 | 			case let .usageError(description):
180 | 				fputs(description + "\n", stderr)
    |                               `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
181 |
182 | 			case let .commandError(error):
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/stdio.h:64:23: note: var declared here
 62 | extern FILE* _Nonnull stdin __INTRODUCED_IN(23);
 63 | extern FILE* _Nonnull stdout __INTRODUCED_IN(23);
 64 | extern FILE* _Nonnull stderr __INTRODUCED_IN(23);
    |                       `- note: var declared here
 65 |
 66 | /* C99 and earlier plus current C++ standards say these must be macros. */
/host/spi-builder-workspace/Sources/Commandant/Command.swift:193:78: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
191 | 			}
192 |
193 | 			fputs("Unrecognized command: '\(verb)'. See `\(executableName) help`.\n", stderr)
    |                                                                              `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
194 | 			exit(EXIT_FAILURE)
195 | 		}
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/stdio.h:64:23: note: var declared here
 62 | extern FILE* _Nonnull stdin __INTRODUCED_IN(23);
 63 | extern FILE* _Nonnull stdout __INTRODUCED_IN(23);
 64 | extern FILE* _Nonnull stderr __INTRODUCED_IN(23);
    |                       `- note: var declared here
 65 |
 66 | /* C99 and earlier plus current C++ standards say these must be macros. */
[13/13] Compiling Commandant Option.swift
/host/spi-builder-workspace/Sources/Commandant/Option.swift:239:32: error: instance method 'contains' requires that 'String.Element' (aka 'Character') conform to 'Collection'
237 | 			let components = unwrappedStringValue.split(
238 | 				omittingEmptySubsequences: true,
239 | 				whereSeparator: [",", " "].contains
    |                                `- error: instance method 'contains' requires that 'String.Element' (aka 'Character') conform to 'Collection'
240 | 			)
241 | 			var resultValues: [T] = []
_StringProcessing.Collection.contains:3:15: note: where 'C' = 'String.Element' (aka 'Character')
1 | protocol Collection {
2 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
3 |   public func contains<C>(_ other: C) -> Bool where C : Collection, Self.Element == C.Element}
  |               `- note: where 'C' = 'String.Element' (aka 'Character')
4 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 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
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/11] Compiling Commandant HelpCommand.swift
[3/11] Compiling Commandant Result+Additions.swift
[4/12] Compiling Commandant Errors.swift
[5/12] Compiling Commandant Option.swift
[6/12] Compiling Commandant OrderedSet.swift
[7/12] Compiling Commandant Switch.swift
[8/12] Compiling Commandant Argument.swift
[9/12] Compiling Commandant ArgumentParser.swift
[10/12] Compiling Commandant ArgumentProtocol.swift
[11/12] Compiling Commandant Command.swift
[12/12] Emitting module Commandant
Build complete! (5.86s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "quick",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.1.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Quick/Quick.git"
    },
    {
      "identity" : "nimble",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "9.0.0",
            "upper_bound" : "10.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Quick/Nimble.git"
    }
  ],
  "manifest_display_name" : "Commandant",
  "name" : "Commandant",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Commandant",
      "targets" : [
        "Commandant"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "CommandantTests",
      "module_type" : "SwiftTarget",
      "name" : "CommandantTests",
      "path" : "Tests/CommandantTests",
      "product_dependencies" : [
        "Quick",
        "Nimble"
      ],
      "sources" : [
        "CommandSpec.swift",
        "OptionSpec.swift",
        "OptionsWithEnumProtocolSpec.swift",
        "OrderedSetSpec.swift"
      ],
      "target_dependencies" : [
        "Commandant"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Commandant",
      "module_type" : "SwiftTarget",
      "name" : "Commandant",
      "path" : "Sources/Commandant",
      "product_memberships" : [
        "Commandant"
      ],
      "sources" : [
        "Argument.swift",
        "ArgumentParser.swift",
        "ArgumentProtocol.swift",
        "Command.swift",
        "Errors.swift",
        "HelpCommand.swift",
        "Option.swift",
        "OrderedSet.swift",
        "Result+Additions.swift",
        "Switch.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.2"
}
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.