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

Failed to build Finch, reference 1.0.0 (c54cc6), with Swift 6.0 for macOS (SPM) on 26 Nov 2024 21:52:03 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/mklbtz/finch.git
Reference: 1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/mklbtz/finch
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at c54cc69 Create README.md
Cloned https://github.com/mklbtz/finch.git
Revision (git rev-parse @):
c54cc69ced1d8fae78a7ccb47456da33e8dab59e
SUCCESS checkout https://github.com/mklbtz/finch.git at 1.0.0
Fetching https://github.com/Carthage/Commandant.git
[1/2323] Fetching commandant
Fetched https://github.com/Carthage/Commandant.git from cache (1.10s)
error: package 'package.swift' is using Swift tools version 3.1.0 which is no longer supported; consider using '// swift-tools-version: 6.0' to specify the current tools version in https://github.com/Carthage/Commandant.git
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/mklbtz/finch.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/13] Write sources
[4/13] Write finch-entitlement.plist
[4/13] Write finch-file-entitlement.plist
[6/13] Write swift-version--7754E27361AE5C74.txt
[8/30] Compiling Commandant OrderedSet.swift
[9/30] Compiling Commandant Result+Additions.swift
[10/31] Compiling TaskManagement TaskManager.swift
[11/31] Compiling TaskManagement extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/TaskManagement/extensions.swift:1:1: warning: extension declares a conformance of imported type 'String' to imported protocol 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
 1 | extension String: Error {
   | |- warning: extension declares a conformance of imported type 'String' to imported protocol 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
 2 |   public func print(terminator: String = "") {
 3 |     Swift.print(self, terminator: terminator)
[12/31] Compiling Commandant Switch.swift
[13/31] Compiling TaskManagement Transcoder.swift
[14/31] Compiling TaskManagement Task.swift
[15/31] Compiling TaskManagement File.swift
/Users/admin/builder/spi-builder-workspace/Sources/TaskManagement/File.swift:36:10: warning: associated value 'couldNotCreate' of 'Sendable'-conforming enum 'Error' has non-sendable type 'File'; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct File {
   |               `- note: consider making struct 'File' conform to the 'Sendable' protocol
 4 |   public let path: String
 5 |
   :
34 | extension File {
35 |   public enum Error: Swift.Error {
36 |     case couldNotCreate(File)
   |          `- warning: associated value 'couldNotCreate' of 'Sendable'-conforming enum 'Error' has non-sendable type 'File'; this is an error in the Swift 6 language mode
37 |     case couldNotRead(File)
38 |   }
/Users/admin/builder/spi-builder-workspace/Sources/TaskManagement/File.swift:37:10: warning: associated value 'couldNotRead' of 'Sendable'-conforming enum 'Error' has non-sendable type 'File'; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct File {
   |               `- note: consider making struct 'File' conform to the 'Sendable' protocol
 4 |   public let path: String
 5 |
   :
35 |   public enum Error: Swift.Error {
36 |     case couldNotCreate(File)
37 |     case couldNotRead(File)
   |          `- warning: associated value 'couldNotRead' of 'Sendable'-conforming enum 'Error' has non-sendable type 'File'; this is an error in the Swift 6 language mode
38 |   }
39 | }
[16/31] Emitting module TaskManagement
/Users/admin/builder/spi-builder-workspace/Sources/TaskManagement/File.swift:36:10: warning: associated value 'couldNotCreate' of 'Sendable'-conforming enum 'Error' has non-sendable type 'File'; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct File {
   |               `- note: consider making struct 'File' conform to the 'Sendable' protocol
 4 |   public let path: String
 5 |
   :
34 | extension File {
35 |   public enum Error: Swift.Error {
36 |     case couldNotCreate(File)
   |          `- warning: associated value 'couldNotCreate' of 'Sendable'-conforming enum 'Error' has non-sendable type 'File'; this is an error in the Swift 6 language mode
37 |     case couldNotRead(File)
38 |   }
/Users/admin/builder/spi-builder-workspace/Sources/TaskManagement/File.swift:37:10: warning: associated value 'couldNotRead' of 'Sendable'-conforming enum 'Error' has non-sendable type 'File'; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct File {
   |               `- note: consider making struct 'File' conform to the 'Sendable' protocol
 4 |   public let path: String
 5 |
   :
35 |   public enum Error: Swift.Error {
36 |     case couldNotCreate(File)
37 |     case couldNotRead(File)
   |          `- warning: associated value 'couldNotRead' of 'Sendable'-conforming enum 'Error' has non-sendable type 'File'; this is an error in the Swift 6 language mode
38 |   }
39 | }
/Users/admin/builder/spi-builder-workspace/Sources/TaskManagement/extensions.swift:1:1: warning: extension declares a conformance of imported type 'String' to imported protocol 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
 1 | extension String: Error {
   | |- warning: extension declares a conformance of imported type 'String' to imported protocol 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
 2 |   public func print(terminator: String = "") {
 3 |     Swift.print(self, terminator: terminator)
[17/31] Compiling TaskManagement Storage.swift
[18/31] Compiling Commandant Option.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Commandant/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 | }
[19/31] Compiling Commandant Errors.swift
[20/31] Compiling Commandant HelpCommand.swift
[21/31] Emitting module Commandant
[22/31] Compiling Commandant ArgumentProtocol.swift
[23/31] Compiling Commandant ArgumentParser.swift
[24/31] Compiling Commandant Argument.swift
[25/31] Compiling Commandant Command.swift
Updating https://github.com/Carthage/Commandant.git
Updated https://github.com/Carthage/Commandant.git (0.52s)
Creating working copy for https://github.com/Carthage/Commandant.git
Working copy of https://github.com/Carthage/Commandant.git resolved at master (0a192d3)
BUILD FAILURE 6.0 macosSpm