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 Linux on 25 Apr 2025 12:30:48 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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: 1.0.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/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
========================================
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-3":/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.23s)
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 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)
[7/30] Compiling Commandant Result+Additions.swift
[8/31] Compiling TaskManagement TaskManager.swift
[9/31] Compiling Commandant Switch.swift
[10/31] Compiling Commandant OrderedSet.swift
[11/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)
[12/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 | }
[13/31] Compiling TaskManagement Transcoder.swift
[14/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 |
[15/31] Emitting module Commandant
[16/31] Compiling Commandant Argument.swift
[17/31] Compiling Commandant ArgumentParser.swift
[18/31] Compiling TaskManagement Task.swift
[19/31] Compiling TaskManagement Storage.swift
[20/32] Compiling Commandant HelpCommand.swift
[21/32] Compiling Commandant ArgumentProtocol.swift
[22/32] Compiling Commandant Command.swift
[23/32] Compiling Commandant Errors.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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 Commandant Result+Additions.swift
[3/27] Compiling Commandant Option.swift
[4/27] Compiling Commandant OrderedSet.swift
[5/27] Compiling TaskManagement Task.swift
[6/27] Compiling TaskManagement File.swift
[7/27] Compiling TaskManagement Storage.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 Commandant HelpCommand.swift
[10/27] Compiling TaskManagement TaskManager.swift
[11/27] Compiling TaskManagement Transcoder.swift
[12/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)
[13/27] Compiling Commandant Switch.swift
[14/28] Compiling Commandant Errors.swift
[15/28] Emitting module Commandant
[16/28] Compiling Commandant ArgumentProtocol.swift
[17/28] Compiling Commandant Command.swift
[18/28] Compiling Commandant Argument.swift
[19/28] Compiling Commandant ArgumentParser.swift
[21/29] Wrapping AST for Commandant for debugging
[22/29] Wrapping AST for TaskManagement for debugging
[24/44] 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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[25/44] 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 |
[26/44] 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 |
[27/44] 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 |
[28/44] 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 |
BUILD FAILURE 6.1 linux