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.1 for macOS (SPM) on 24 Apr 2025 21:47:50 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.61.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/2329] Fetching commandant
Fetched https://github.com/Carthage/Commandant.git from cache (0.75s)
error: package 'package.swift' is using Swift tools version 3.1.0 which is no longer supported; consider using '// swift-tools-version: 6.1' to specify the current tools version in https://github.com/Carthage/Commandant.git
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/mklbtz/finch.git
https://github.com/mklbtz/finch.git
{
  "dependencies" : [
    {
      "identity" : "commandant",
      "requirement" : {
        "branch" : [
          "master"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Carthage/Commandant.git"
    }
  ],
  "manifest_display_name" : "Finch",
  "name" : "Finch",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "finch",
      "targets" : [
        "finch"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "finch-file",
      "targets" : [
        "finch-file"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "TaskManagement",
      "targets" : [
        "TaskManagement"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "3",
    "4"
  ],
  "targets" : [
    {
      "c99name" : "finch_file",
      "module_type" : "SwiftTarget",
      "name" : "finch-file",
      "path" : "Sources/finch-file",
      "product_dependencies" : [
        "Commandant"
      ],
      "product_memberships" : [
        "finch-file"
      ],
      "sources" : [
        "PathCommand.swift",
        "ReadCommand.swift",
        "WriteCommand.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "TaskManagement"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "finch",
      "module_type" : "SwiftTarget",
      "name" : "finch",
      "path" : "Sources/finch",
      "product_dependencies" : [
        "Commandant"
      ],
      "product_memberships" : [
        "finch"
      ],
      "sources" : [
        "AddCommand.swift",
        "Currying.swift",
        "DoCommand.swift",
        "EditCommand.swift",
        "ListCommand.swift",
        "RemoveCommand.swift",
        "SwapCommand.swift",
        "UndoCommand.swift",
        "VariadicArgument.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "TaskManagement"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "TaskManagement",
      "module_type" : "SwiftTarget",
      "name" : "TaskManagement",
      "path" : "Sources/TaskManagement",
      "product_memberships" : [
        "finch",
        "finch-file",
        "TaskManagement"
      ],
      "sources" : [
        "File.swift",
        "Storage.swift",
        "Task.swift",
        "TaskManager.swift",
        "Transcoder.swift",
        "extensions.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.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
[1/13] Write finch-file-entitlement.plist
[1/13] Write finch-entitlement.plist
[1/13] Write sources
[6/13] Write swift-version-2F0A5646E1D333AE.txt
[8/30] Compiling Commandant Result+Additions.swift
[9/30] Compiling Commandant OrderedSet.swift
[10/31] Compiling Commandant Switch.swift
[11/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.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 |
[12/31] Compiling Commandant HelpCommand.swift
[13/31] Compiling TaskManagement Transcoder.swift
[14/31] Compiling TaskManagement TaskManager.swift
[15/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)
[16/31] Compiling Commandant Errors.swift
[17/31] Compiling Commandant ArgumentParser.swift
[18/31] Emitting module Commandant
[19/31] Compiling Commandant ArgumentProtocol.swift
[20/31] Compiling Commandant Command.swift
[21/31] Compiling Commandant Argument.swift
[22/31] Compiling TaskManagement Task.swift
[23/31] Compiling TaskManagement Storage.swift
[24/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 | }
[25/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)
Updating https://github.com/Carthage/Commandant.git
Updated https://github.com/Carthage/Commandant.git (0.39s)
Creating working copy for https://github.com/Carthage/Commandant.git
Working copy of https://github.com/Carthage/Commandant.git resolved at master (0a192d3)
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/7] Write swift-version-2F0A5646E1D333AE.txt
[2/24] Compiling TaskManagement Transcoder.swift
[3/24] Compiling TaskManagement TaskManager.swift
[4/24] Compiling Commandant Result+Additions.swift
[5/24] Compiling Commandant OrderedSet.swift
[6/25] Compiling TaskManagement Storage.swift
[7/25] Compiling TaskManagement Task.swift
[8/25] Compiling TaskManagement File.swift
[9/25] Emitting module TaskManagement
/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)
[10/25] 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)
[11/25] Compiling Commandant Option.swift
[12/25] Compiling Commandant HelpCommand.swift
[13/25] Compiling Commandant Errors.swift
[14/25] Compiling Commandant ArgumentProtocol.swift
[15/25] Compiling Commandant ArgumentParser.swift
[16/25] Emitting module Commandant
[17/25] Compiling Commandant Command.swift
[18/25] Compiling Commandant Argument.swift
[19/25] Compiling Commandant Switch.swift
[20/40] Compiling finch_file WriteCommand.swift
/Users/admin/builder/spi-builder-workspace/Sources/finch-file/PathCommand.swift:2:8: error: no such module 'Result'
 1 | import Commandant
 2 | import Result
   |        `- error: no such module 'Result'
 3 | import TaskManagement
 4 |
[21/40] Compiling finch VariadicArgument.swift
/Users/admin/builder/spi-builder-workspace/Sources/finch/AddCommand.swift:4:8: error: no such module 'Result'
 2 | import Foundation
 3 | import TaskManagement
 4 | import Result
   |        `- error: no such module 'Result'
 5 |
 6 | struct AddCommand: CommandProtocol {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[22/41] Emitting module finch_file
/Users/admin/builder/spi-builder-workspace/Sources/finch-file/PathCommand.swift:2:8: error: no such module 'Result'
 1 | import Commandant
 2 | import Result
   |        `- error: no such module 'Result'
 3 | import TaskManagement
 4 |
[23/41] Compiling finch_file main.swift
/Users/admin/builder/spi-builder-workspace/Sources/finch-file/PathCommand.swift:2:8: error: no such module 'Result'
 1 | import Commandant
 2 | import Result
   |        `- error: no such module 'Result'
 3 | import TaskManagement
 4 |
[24/41] Compiling finch_file ReadCommand.swift
/Users/admin/builder/spi-builder-workspace/Sources/finch-file/PathCommand.swift:2:8: error: no such module 'Result'
 1 | import Commandant
 2 | import Result
   |        `- error: no such module 'Result'
 3 | import TaskManagement
 4 |
[25/41] Compiling finch_file PathCommand.swift
/Users/admin/builder/spi-builder-workspace/Sources/finch-file/PathCommand.swift:2:8: error: no such module 'Result'
 1 | import Commandant
 2 | import Result
   |        `- error: no such module 'Result'
 3 | import TaskManagement
 4 |
BUILD FAILURE 6.1 macosSpm