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 XCBuildKit, reference main (b00bf1), with Swift 6.1 for Wasm on 29 May 2025 22:07:14 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/engali94/XCBuildKit.git
Reference: main
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/engali94/XCBuildKit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at b00bf1e More granular control over the build process
Cloned https://github.com/engali94/XCBuildKit.git
Revision (git rev-parse @):
b00bf1e051149afcf8a200d5c1c71b8056aae672
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/engali94/XCBuildKit.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/engali94/XCBuildKit.git
https://github.com/engali94/XCBuildKit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    }
  ],
  "manifest_display_name" : "XCBuildKit",
  "name" : "XCBuildKit",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "XCBuildKit",
      "targets" : [
        "XCBuildKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "XCBuildKitTests",
      "module_type" : "SwiftTarget",
      "name" : "XCBuildKitTests",
      "path" : "Tests/XCBuildKitTests",
      "sources" : [
        "Shell/ShellCommandExecuterTests.swift",
        "XCBuild/XcodeBuildTests.swift"
      ],
      "target_dependencies" : [
        "XCBuildKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "XCBuildKit",
      "module_type" : "SwiftTarget",
      "name" : "XCBuildKit",
      "path" : "Sources/XCBuildKit",
      "product_memberships" : [
        "XCBuildKit"
      ],
      "sources" : [
        "Shell/ShellCommandExecuter.swift",
        "Shell/ShellCommandExecuting.swift",
        "Shell/ShellError.swift",
        "Shell/ShellOutput.swift",
        "XCBuild/BuildConfigurationValidator.swift",
        "XCBuild/BuildLogFormattable.swift",
        "XCBuild/BuildState.swift",
        "XCBuild/XcodeBuild.swift",
        "XCBuild/XcodeBuildAction.swift",
        "XCBuild/XcodeBuildOptions.swift",
        "XCBuild/XcodeBuilding.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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 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/apple/swift-docc-plugin
[1/2049] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (0.43s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (4.23s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3391] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.44s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.70s)
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.3
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/15] Emitting module XCBuildKit
/host/spi-builder-workspace/Sources/XCBuildKit/Shell/ShellCommandExecuter.swift:235:26: error: cannot find type 'Process' in scope
233 |
234 | private actor ProcessController {
235 |     private var process: Process?
    |                          `- error: cannot find type 'Process' in scope
236 |     private let stderrCollector = OutputCollector()
237 |
/host/spi-builder-workspace/Sources/XCBuildKit/Shell/ShellCommandExecuter.swift:243:10: error: cannot find type 'Process' in scope
241 |         environment: [String: String],
242 |         workingDirectory: String?
243 |     ) -> Process {
    |          `- error: cannot find type 'Process' in scope
244 |         let process = Process()
245 |         process.executableURL = executable
[6/16] Compiling XCBuildKit XcodeBuildOptions.swift
[7/16] Compiling XCBuildKit BuildState.swift
[8/16] Compiling XCBuildKit XcodeBuilding.swift
[9/16] Compiling XCBuildKit BuildConfigurationValidator.swift
[10/16] Compiling XCBuildKit BuildLogFormattable.swift
[11/16] Compiling XCBuildKit XcodeBuild.swift
[12/16] Compiling XCBuildKit ShellError.swift
[13/16] Compiling XCBuildKit ShellOutput.swift
[14/16] Compiling XCBuildKit XcodeBuildAction.swift
[15/16] Compiling XCBuildKit ShellCommandExecuter.swift
/host/spi-builder-workspace/Sources/XCBuildKit/Shell/ShellCommandExecuter.swift:235:26: error: cannot find type 'Process' in scope
233 |
234 | private actor ProcessController {
235 |     private var process: Process?
    |                          `- error: cannot find type 'Process' in scope
236 |     private let stderrCollector = OutputCollector()
237 |
/host/spi-builder-workspace/Sources/XCBuildKit/Shell/ShellCommandExecuter.swift:243:10: error: cannot find type 'Process' in scope
241 |         environment: [String: String],
242 |         workingDirectory: String?
243 |     ) -> Process {
    |          `- error: cannot find type 'Process' in scope
244 |         let process = Process()
245 |         process.executableURL = executable
/host/spi-builder-workspace/Sources/XCBuildKit/Shell/ShellCommandExecuter.swift:176:28: error: cannot find 'Process' in scope
174 |         }
175 |
176 |         let whichProcess = Process()
    |                            `- error: cannot find 'Process' in scope
177 |         whichProcess.executableURL = URL(fileURLWithPath: "/usr/bin/which")
178 |         whichProcess.arguments = [command]
/host/spi-builder-workspace/Sources/XCBuildKit/Shell/ShellCommandExecuter.swift:244:23: error: cannot find 'Process' in scope
242 |         workingDirectory: String?
243 |     ) -> Process {
244 |         let process = Process()
    |                       `- error: cannot find 'Process' in scope
245 |         process.executableURL = executable
246 |         process.arguments = arguments
[16/16] Compiling XCBuildKit ShellCommandExecuting.swift
/host/spi-builder-workspace/Sources/XCBuildKit/Shell/ShellCommandExecuter.swift:235:26: error: cannot find type 'Process' in scope
233 |
234 | private actor ProcessController {
235 |     private var process: Process?
    |                          `- error: cannot find type 'Process' in scope
236 |     private let stderrCollector = OutputCollector()
237 |
/host/spi-builder-workspace/Sources/XCBuildKit/Shell/ShellCommandExecuter.swift:243:10: error: cannot find type 'Process' in scope
241 |         environment: [String: String],
242 |         workingDirectory: String?
243 |     ) -> Process {
    |          `- error: cannot find type 'Process' in scope
244 |         let process = Process()
245 |         process.executableURL = executable
/host/spi-builder-workspace/Sources/XCBuildKit/Shell/ShellCommandExecuter.swift:176:28: error: cannot find 'Process' in scope
174 |         }
175 |
176 |         let whichProcess = Process()
    |                            `- error: cannot find 'Process' in scope
177 |         whichProcess.executableURL = URL(fileURLWithPath: "/usr/bin/which")
178 |         whichProcess.arguments = [command]
/host/spi-builder-workspace/Sources/XCBuildKit/Shell/ShellCommandExecuter.swift:244:23: error: cannot find 'Process' in scope
242 |         workingDirectory: String?
243 |     ) -> Process {
244 |         let process = Process()
    |                       `- error: cannot find 'Process' in scope
245 |         process.executableURL = executable
246 |         process.arguments = arguments
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/14] Compiling XCBuildKit XcodeBuildAction.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/15] Emitting module XCBuildKit
/host/spi-builder-workspace/Sources/XCBuildKit/Shell/ShellCommandExecuter.swift:235:26: error: cannot find type 'Process' in scope
233 |
234 | private actor ProcessController {
235 |     private var process: Process?
    |                          `- error: cannot find type 'Process' in scope
236 |     private let stderrCollector = OutputCollector()
237 |
/host/spi-builder-workspace/Sources/XCBuildKit/Shell/ShellCommandExecuter.swift:243:10: error: cannot find type 'Process' in scope
241 |         environment: [String: String],
242 |         workingDirectory: String?
243 |     ) -> Process {
    |          `- error: cannot find type 'Process' in scope
244 |         let process = Process()
245 |         process.executableURL = executable
[6/15] Compiling XCBuildKit XcodeBuilding.swift
[7/15] Compiling XCBuildKit ShellError.swift
[8/15] Compiling XCBuildKit ShellOutput.swift
[9/15] Compiling XCBuildKit BuildConfigurationValidator.swift
[10/15] Compiling XCBuildKit BuildLogFormattable.swift
[11/15] Compiling XCBuildKit ShellCommandExecuter.swift
/host/spi-builder-workspace/Sources/XCBuildKit/Shell/ShellCommandExecuter.swift:235:26: error: cannot find type 'Process' in scope
233 |
234 | private actor ProcessController {
235 |     private var process: Process?
    |                          `- error: cannot find type 'Process' in scope
236 |     private let stderrCollector = OutputCollector()
237 |
/host/spi-builder-workspace/Sources/XCBuildKit/Shell/ShellCommandExecuter.swift:243:10: error: cannot find type 'Process' in scope
241 |         environment: [String: String],
242 |         workingDirectory: String?
243 |     ) -> Process {
    |          `- error: cannot find type 'Process' in scope
244 |         let process = Process()
245 |         process.executableURL = executable
/host/spi-builder-workspace/Sources/XCBuildKit/Shell/ShellCommandExecuter.swift:176:28: error: cannot find 'Process' in scope
174 |         }
175 |
176 |         let whichProcess = Process()
    |                            `- error: cannot find 'Process' in scope
177 |         whichProcess.executableURL = URL(fileURLWithPath: "/usr/bin/which")
178 |         whichProcess.arguments = [command]
/host/spi-builder-workspace/Sources/XCBuildKit/Shell/ShellCommandExecuter.swift:244:23: error: cannot find 'Process' in scope
242 |         workingDirectory: String?
243 |     ) -> Process {
244 |         let process = Process()
    |                       `- error: cannot find 'Process' in scope
245 |         process.executableURL = executable
246 |         process.arguments = arguments
[12/15] Compiling XCBuildKit ShellCommandExecuting.swift
/host/spi-builder-workspace/Sources/XCBuildKit/Shell/ShellCommandExecuter.swift:235:26: error: cannot find type 'Process' in scope
233 |
234 | private actor ProcessController {
235 |     private var process: Process?
    |                          `- error: cannot find type 'Process' in scope
236 |     private let stderrCollector = OutputCollector()
237 |
/host/spi-builder-workspace/Sources/XCBuildKit/Shell/ShellCommandExecuter.swift:243:10: error: cannot find type 'Process' in scope
241 |         environment: [String: String],
242 |         workingDirectory: String?
243 |     ) -> Process {
    |          `- error: cannot find type 'Process' in scope
244 |         let process = Process()
245 |         process.executableURL = executable
/host/spi-builder-workspace/Sources/XCBuildKit/Shell/ShellCommandExecuter.swift:176:28: error: cannot find 'Process' in scope
174 |         }
175 |
176 |         let whichProcess = Process()
    |                            `- error: cannot find 'Process' in scope
177 |         whichProcess.executableURL = URL(fileURLWithPath: "/usr/bin/which")
178 |         whichProcess.arguments = [command]
/host/spi-builder-workspace/Sources/XCBuildKit/Shell/ShellCommandExecuter.swift:244:23: error: cannot find 'Process' in scope
242 |         workingDirectory: String?
243 |     ) -> Process {
244 |         let process = Process()
    |                       `- error: cannot find 'Process' in scope
245 |         process.executableURL = executable
246 |         process.arguments = arguments
[13/15] Compiling XCBuildKit XcodeBuild.swift
[14/15] Compiling XCBuildKit BuildState.swift
[15/15] Compiling XCBuildKit XcodeBuildOptions.swift
BUILD FAILURE 6.1 wasm