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 xcframework, reference 0.2.3 (df89dc), with Swift 6.1 for Wasm on 27 May 2025 20:53:05 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/jeffctown/xcframework.git
Reference: 0.2.3
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/jeffctown/xcframework
 * tag               0.2.3      -> FETCH_HEAD
HEAD is now at df89dc9 Merge pull request #1 from jeffctown/feature/FixingSpaces
Cloned https://github.com/jeffctown/xcframework.git
Revision (git rev-parse @):
df89dc9cc456c511a17ee762b3ef82ed4223026b
SUCCESS checkout https://github.com/jeffctown/xcframework.git at 0.2.3
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/jeffctown/xcframework.git
https://github.com/jeffctown/xcframework.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "shell",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.1.4",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/AlwaysRightInstitute/Shell"
    },
    {
      "identity" : "commandant",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.17.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Carthage/Commandant"
    }
  ],
  "manifest_display_name" : "xcframework",
  "name" : "xcframework",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "XCFrameworkKit",
      "targets" : [
        "XCFrameworkKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "xcframework",
      "targets" : [
        "xcframework"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "xcframework",
      "module_type" : "SwiftTarget",
      "name" : "xcframework",
      "path" : "Sources/xcframework",
      "product_dependencies" : [
        "Commandant"
      ],
      "product_memberships" : [
        "xcframework"
      ],
      "sources" : [
        "Commands/BuildCommand.swift",
        "Commands/VersionCommand.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "XCFrameworkKit"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "XCFrameworkKitTests",
      "module_type" : "SwiftTarget",
      "name" : "XCFrameworkKitTests",
      "path" : "Tests/XCFrameworkKitTests",
      "sources" : [
        "test.swift"
      ],
      "target_dependencies" : [
        "XCFrameworkKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "XCFrameworkKit",
      "module_type" : "SwiftTarget",
      "name" : "XCFrameworkKit",
      "path" : "Sources/XCFrameworkKit",
      "product_dependencies" : [
        "Shell"
      ],
      "product_memberships" : [
        "XCFrameworkKit",
        "xcframework"
      ],
      "sources" : [
        "Version.swift",
        "XCFrameworkBuilder.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/Carthage/Commandant
Fetching https://github.com/AlwaysRightInstitute/Shell
[1/81] Fetching shell
[82/2410] Fetching shell, commandant
[47/2329] Fetching commandant
Fetched https://github.com/AlwaysRightInstitute/Shell from cache (0.24s)
Fetched https://github.com/Carthage/Commandant from cache (0.32s)
Computing version for https://github.com/AlwaysRightInstitute/Shell
Computed https://github.com/AlwaysRightInstitute/Shell at 0.1.4 (1.25s)
Computing version for https://github.com/Carthage/Commandant
Computed https://github.com/Carthage/Commandant at 0.18.0 (0.65s)
Creating working copy for https://github.com/Carthage/Commandant
Working copy of https://github.com/Carthage/Commandant resolved at 0.18.0
Creating working copy for https://github.com/AlwaysRightInstitute/Shell
Working copy of https://github.com/AlwaysRightInstitute/Shell resolved at 0.1.4
Building for debugging...
[0/11] Write sources
[4/11] Write swift-version-24593BA9C3E375BF.txt
[6/25] Compiling Commandant Result+Additions.swift
[7/26] Compiling Commandant OrderedSet.swift
[8/26] Compiling Commandant Switch.swift
[9/26] Compiling Commandant HelpCommand.swift
[10/26] 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/26] Compiling Commandant Argument.swift
[12/26] Compiling Commandant ArgumentParser.swift
[13/26] Emitting module Commandant
[14/26] Compiling Commandant Errors.swift
[15/26] 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 |
[16/26] 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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[17/26] Emitting module Shell
/host/spi-builder-workspace/.build/checkouts/Shell/Sources/Shell/ProcessHelper.swift:6:11: error: cannot find type 'Process' in scope
  4 | import Foundation
  5 |
  6 | extension Process {
    |           `- error: cannot find type 'Process' in scope
  7 |
  8 |     public struct FancyResult {
/host/spi-builder-workspace/.build/checkouts/Shell/Sources/Shell/ProcessHelper.swift:77:11: error: cannot find type 'Process' in scope
 75 | }
 76 |
 77 | extension Process.FancyResult : CustomStringConvertible {
    |           `- error: cannot find type 'Process' in scope
 78 |
 79 |     public var description : String {
/host/spi-builder-workspace/.build/checkouts/Shell/Sources/Shell/Shell.swift:33:13: error: cannot find type 'Process' in scope
 31 |     @discardableResult
 32 |     public func dynamicallyCall(withArguments arguments: [ String ])
 33 |          -> Process.FancyResult
    |             `- error: cannot find type 'Process' in scope
 34 |     {
 35 |         func makeError(code: Int, info: String) -> Process.FancyResult {
[18/26] Compiling Shell EnvironmentTrampoline.swift
[19/26] Compiling Shell ProcessHelper.swift
/host/spi-builder-workspace/.build/checkouts/Shell/Sources/Shell/ProcessHelper.swift:6:11: error: cannot find type 'Process' in scope
  4 | import Foundation
  5 |
  6 | extension Process {
    |           `- error: cannot find type 'Process' in scope
  7 |
  8 |     public struct FancyResult {
/host/spi-builder-workspace/.build/checkouts/Shell/Sources/Shell/ProcessHelper.swift:77:11: error: cannot find type 'Process' in scope
 75 | }
 76 |
 77 | extension Process.FancyResult : CustomStringConvertible {
    |           `- error: cannot find type 'Process' in scope
 78 |
 79 |     public var description : String {
/host/spi-builder-workspace/.build/checkouts/Shell/Sources/Shell/ProcessHelper.swift:32:20: error: cannot find type 'FancyResult' in scope
 30 |     static func launch(at launchPath: String, with arguments: [ String ],
 31 |                        using shell: String? = "/bin/bash")
 32 |                 -> FancyResult
    |                    `- error: cannot find type 'FancyResult' in scope
 33 |     {
 34 |         let process = Process()
/host/spi-builder-workspace/.build/checkouts/Shell/Sources/Shell/Shell.swift:33:13: error: cannot find type 'Process' in scope
 31 |     @discardableResult
 32 |     public func dynamicallyCall(withArguments arguments: [ String ])
 33 |          -> Process.FancyResult
    |             `- error: cannot find type 'Process' in scope
 34 |     {
 35 |         func makeError(code: Int, info: String) -> Process.FancyResult {
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
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/7] Write swift-version-24593BA9C3E375BF.txt
[2/21] Compiling Commandant Result+Additions.swift
[3/22] Compiling Shell ProcessHelper.swift
/host/spi-builder-workspace/.build/checkouts/Shell/Sources/Shell/ProcessHelper.swift:6:11: error: cannot find type 'Process' in scope
  4 | import Foundation
  5 |
  6 | extension Process {
    |           `- error: cannot find type 'Process' in scope
  7 |
  8 |     public struct FancyResult {
/host/spi-builder-workspace/.build/checkouts/Shell/Sources/Shell/ProcessHelper.swift:77:11: error: cannot find type 'Process' in scope
 75 | }
 76 |
 77 | extension Process.FancyResult : CustomStringConvertible {
    |           `- error: cannot find type 'Process' in scope
 78 |
 79 |     public var description : String {
/host/spi-builder-workspace/.build/checkouts/Shell/Sources/Shell/ProcessHelper.swift:32:20: error: cannot find type 'FancyResult' in scope
 30 |     static func launch(at launchPath: String, with arguments: [ String ],
 31 |                        using shell: String? = "/bin/bash")
 32 |                 -> FancyResult
    |                    `- error: cannot find type 'FancyResult' in scope
 33 |     {
 34 |         let process = Process()
[4/22] Compiling Shell Shell.swift
/host/spi-builder-workspace/.build/checkouts/Shell/Sources/Shell/Shell.swift:33:13: error: cannot find type 'Process' in scope
 31 |     @discardableResult
 32 |     public func dynamicallyCall(withArguments arguments: [ String ])
 33 |          -> Process.FancyResult
    |             `- error: cannot find type 'Process' in scope
 34 |     {
 35 |         func makeError(code: Int, info: String) -> Process.FancyResult {
/host/spi-builder-workspace/.build/checkouts/Shell/Sources/Shell/Shell.swift:35:52: error: cannot find type 'Process' in scope
 33 |          -> Process.FancyResult
 34 |     {
 35 |         func makeError(code: Int, info: String) -> Process.FancyResult {
    |                                                    `- error: cannot find type 'Process' in scope
 36 |             let error = "\(url.path): \(info)".data(using: .utf8) ?? Data()
 37 |             return Process.FancyResult(status: code, outputData: Data(),
[5/22] Compiling Commandant OrderedSet.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/22] Emitting module Shell
/host/spi-builder-workspace/.build/checkouts/Shell/Sources/Shell/ProcessHelper.swift:6:11: error: cannot find type 'Process' in scope
  4 | import Foundation
  5 |
  6 | extension Process {
    |           `- error: cannot find type 'Process' in scope
  7 |
  8 |     public struct FancyResult {
/host/spi-builder-workspace/.build/checkouts/Shell/Sources/Shell/ProcessHelper.swift:77:11: error: cannot find type 'Process' in scope
 75 | }
 76 |
 77 | extension Process.FancyResult : CustomStringConvertible {
    |           `- error: cannot find type 'Process' in scope
 78 |
 79 |     public var description : String {
/host/spi-builder-workspace/.build/checkouts/Shell/Sources/Shell/Shell.swift:33:13: error: cannot find type 'Process' in scope
 31 |     @discardableResult
 32 |     public func dynamicallyCall(withArguments arguments: [ String ])
 33 |          -> Process.FancyResult
    |             `- error: cannot find type 'Process' in scope
 34 |     {
 35 |         func makeError(code: Int, info: String) -> Process.FancyResult {
[7/22] Compiling Shell EnvironmentTrampoline.swift
[8/22] 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 |
[9/22] 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 |
BUILD FAILURE 6.1 wasm