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 master (87ddc1), with Swift 6.1 for Linux on 25 Apr 2025 12:30:27 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mklbtz/finch.git
Reference: master
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/mklbtz/finch
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 87ddc11 add MIT license
Cloned https://github.com/mklbtz/finch.git
Revision (git rev-parse @):
87ddc11a2c251404d64cd603075bd90094ec0e7a
SUCCESS checkout https://github.com/mklbtz/finch.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/mklbtz/finch.git
https://github.com/mklbtz/finch.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "commandant",
      "requirement" : {
        "branch" : [
          "master"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Carthage/Commandant.git"
    }
  ],
  "manifest_display_name" : "Finch",
  "name" : "Finch",
  "path" : "/host/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 ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/Carthage/Commandant.git
[1/2329] Fetching commandant
Fetched https://github.com/Carthage/Commandant.git from cache (0.32s)
Creating working copy for https://github.com/Carthage/Commandant.git
Working copy of https://github.com/Carthage/Commandant.git resolved at master (0a192d3)
Building for debugging...
[0/13] Write sources
[4/13] Write swift-version-24593BA9C3E375BF.txt
[6/30] Compiling Commandant Result+Additions.swift
[7/31] Compiling Commandant OrderedSet.swift
[8/31] Compiling Commandant Switch.swift
[9/31] Compiling TaskManagement extensions.swift
/host/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/31] Compiling Commandant Option.swift
/host/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 |
[11/31] Compiling TaskManagement TaskManager.swift
[12/31] Compiling TaskManagement Transcoder.swift
[13/31] Compiling TaskManagement Task.swift
[14/31] Compiling Commandant Errors.swift
[15/31] Compiling Commandant ArgumentProtocol.swift
[16/31] Compiling Commandant Command.swift
[17/31] Compiling Commandant Argument.swift
[18/31] Compiling Commandant ArgumentParser.swift
[19/31] Compiling Commandant HelpCommand.swift
[20/31] Emitting module Commandant
[21/31] Compiling TaskManagement File.swift
/host/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 |   }
/host/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 | }
[22/31] Emitting module TaskManagement
/host/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 |   }
/host/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 | }
/host/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)
[23/31] Compiling TaskManagement Storage.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/9] Write swift-version-24593BA9C3E375BF.txt
[2/26] Compiling TaskManagement Task.swift
[3/26] Compiling Commandant Result+Additions.swift
[4/27] Compiling TaskManagement Storage.swift
[5/27] Compiling TaskManagement extensions.swift
/host/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)
[6/27] Compiling Commandant OrderedSet.swift
[7/27] Compiling Commandant Option.swift
[8/27] Emitting module TaskManagement
/host/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)
[9/27] Compiling TaskManagement File.swift
[10/27] Compiling Commandant Switch.swift
[11/27] Compiling TaskManagement Transcoder.swift
[12/27] Compiling TaskManagement TaskManager.swift
[13/28] Compiling Commandant Errors.swift
[14/28] Compiling Commandant HelpCommand.swift
[16/28] Compiling Commandant Argument.swift
[17/28] Compiling Commandant ArgumentParser.swift
[18/28] Compiling Commandant ArgumentProtocol.swift
[19/28] Compiling Commandant Command.swift
[20/28] Emitting module Commandant
[21/29] Wrapping AST for TaskManagement for debugging
[22/29] Wrapping AST for Commandant for debugging
[24/44] Compiling finch SwapCommand.swift
/host/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 {
[25/45] Compiling finch_file main.swift
/host/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 |
[26/45] Compiling finch main.swift
/host/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 {
[27/45] Compiling finch UndoCommand.swift
/host/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 {
[28/45] Compiling finch VariadicArgument.swift
/host/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)
[29/45] Emitting module finch_file
/host/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 |
[30/45] Compiling finch_file PathCommand.swift
/host/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 |
[31/45] Compiling finch_file ReadCommand.swift
/host/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 |
[32/45] Compiling finch_file WriteCommand.swift
/host/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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[33/45] Emitting module finch
/host/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 {
[34/45] Compiling finch AddCommand.swift
/host/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 {
[35/45] Compiling finch Currying.swift
/host/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 {
[36/45] Compiling finch DoCommand.swift
/host/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 {
[37/45] Compiling finch EditCommand.swift
/host/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 {
[38/45] Compiling finch ListCommand.swift
/host/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 {
[39/45] Compiling finch RemoveCommand.swift
/host/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 {
BUILD FAILURE 6.1 linux