Build Information
Failed to build Commandant, reference 0.18.0 (a1671c
), with Swift 6.0 for macOS (SPM) on 27 Nov 2024 23:39:13 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.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.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Carthage/Commandant.git
Reference: 0.18.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
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 '/Users/admin/builder/spi-builder-workspace/Carthage/Checkouts/Nimble'...
Cloning into '/Users/admin/builder/spi-builder-workspace/Carthage/Checkouts/Quick'...
Cloning into '/Users/admin/builder/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 '/Users/admin/builder/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
Fetching https://github.com/mattgallagher/CwlCatchException.git
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
Fetching https://github.com/Quick/Quick.git
Fetching https://github.com/Quick/Nimble.git
[1/1257] Fetching cwlpreconditiontesting
[228/1712] Fetching cwlpreconditiontesting, cwlcatchexception
[1713/16452] Fetching cwlpreconditiontesting, cwlcatchexception, quick
[16453/35727] Fetching cwlpreconditiontesting, cwlcatchexception, quick, nimble
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (2.71s)
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (2.71s)
Fetched https://github.com/Quick/Quick.git from cache (2.71s)
Fetched https://github.com/Quick/Nimble.git from cache (2.71s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 9.0.0 (0.57s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 3.1.0 (0.56s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.0.0 (0.55s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.0.0 (0.53s)
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 3.1.0
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.0.0
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 9.0.0
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.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": "commandant",
"name": "Commandant",
"url": "https://github.com/Carthage/Commandant.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Commandant",
"dependencies": [
]
}
]
}
Fetching https://github.com/Carthage/Commandant.git
[1/2323] Fetching commandant
Fetched https://github.com/Carthage/Commandant.git from cache (0.92s)
Creating working copy for https://github.com/Carthage/Commandant.git
Working copy of https://github.com/Carthage/Commandant.git resolved at 0.18.0 (a1671cf)
warning: '.resolve-product-dependencies': dependency 'commandant' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/Carthage/Commandant.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/12] Compiling Commandant OrderedSet.swift
[4/12] Compiling Commandant Errors.swift
/Users/admin/builder/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 |
[5/12] Compiling Commandant Command.swift
[6/12] Compiling Commandant ArgumentParser.swift
[7/12] Compiling Commandant Argument.swift
[8/12] Emitting module Commandant
/Users/admin/builder/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 |
[9/12] Compiling Commandant Result+Additions.swift
[10/12] Compiling Commandant HelpCommand.swift
[11/12] Compiling Commandant ArgumentProtocol.swift
[12/12] Compiling Commandant Option.swift
/Users/admin/builder/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:3:17: note: where 'C' = 'String.Element' (aka 'Character')
1 | extension Collection where Self.Element : Equatable {
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 | }
[13/13] Compiling Commandant Switch.swift
warning: 'quick': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Quick/Sources/Quick/Info.plist
BUILD FAILURE 6.0 macosSpm