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 Wasm on 27 May 2025 11:33:03 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
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:         wasm
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-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/Carthage/Commandant.git
[1/2329] Fetching commandant
Fetched https://github.com/Carthage/Commandant.git from cache (0.29s)
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/30] Compiling Commandant OrderedSet.swift
[9/31] Compiling Commandant Switch.swift
[10/31] Compiling TaskManagement Transcoder.swift
[11/31] Compiling TaskManagement TaskManager.swift
[12/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 |
[13/31] Compiling Commandant Errors.swift
[14/31] Compiling Commandant HelpCommand.swift
[15/31] Emitting module Commandant
[16/31] Compiling TaskManagement Storage.swift
[17/31] Compiling TaskManagement Task.swift
[18/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)
[19/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 | }
[20/32] Compiling Commandant Argument.swift
[21/32] Compiling Commandant ArgumentParser.swift
[22/32] Compiling Commandant ArgumentProtocol.swift
/host/spi-builder-workspace/.build/checkouts/Commandant/Sources/Commandant/Command.swift:206:15: error: cannot find 'Process' in scope
204 |
205 | 		func launchTask(_ path: String, arguments: [String]) -> Int32 {
206 | 			let task = Process()
    |               `- error: cannot find 'Process' in scope
207 | 			task.arguments = arguments
208 |
[23/32] Compiling Commandant Command.swift
/host/spi-builder-workspace/.build/checkouts/Commandant/Sources/Commandant/Command.swift:206:15: error: cannot find 'Process' in scope
204 |
205 | 		func launchTask(_ path: String, arguments: [String]) -> Int32 {
206 | 			let task = Process()
    |               `- error: cannot find 'Process' in scope
207 | 			task.arguments = arguments
208 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-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] 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)
[4/27] Compiling TaskManagement File.swift
[5/27] Compiling TaskManagement Storage.swift
[6/27] Compiling Commandant Option.swift
[7/27] Compiling Commandant OrderedSet.swift
[8/27] Compiling Commandant Switch.swift
[9/27] Compiling TaskManagement Task.swift
[10/27] Compiling TaskManagement Transcoder.swift
[11/27] Compiling TaskManagement TaskManager.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/28] Compiling Commandant HelpCommand.swift
[14/28] Compiling Commandant ArgumentProtocol.swift
/host/spi-builder-workspace/.build/checkouts/Commandant/Sources/Commandant/Command.swift:206:15: error: cannot find 'Process' in scope
204 |
205 | 		func launchTask(_ path: String, arguments: [String]) -> Int32 {
206 | 			let task = Process()
    |               `- error: cannot find 'Process' in scope
207 | 			task.arguments = arguments
208 |
[15/28] Compiling Commandant Command.swift
/host/spi-builder-workspace/.build/checkouts/Commandant/Sources/Commandant/Command.swift:206:15: error: cannot find 'Process' in scope
204 |
205 | 		func launchTask(_ path: String, arguments: [String]) -> Int32 {
206 | 			let task = Process()
    |               `- error: cannot find 'Process' in scope
207 | 			task.arguments = arguments
208 |
[16/28] Compiling Commandant Errors.swift
[18/28] Emitting module Commandant
[19/28] Compiling Commandant Argument.swift
[20/28] Compiling Commandant ArgumentParser.swift
BUILD FAILURE 6.1 wasm