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 SwiftKit, reference main (cd4ab8), with Swift 6.1 for Wasm on 28 May 2025 12:50:32 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/wendyliga/SwiftKit.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/wendyliga/SwiftKit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at cd4ab8d Fix Shell (#16)
Cloned https://github.com/wendyliga/SwiftKit.git
Revision (git rev-parse @):
cd4ab8d71b82209b774004954451517e565575bf
SUCCESS checkout https://github.com/wendyliga/SwiftKit.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/wendyliga/SwiftKit.git
https://github.com/wendyliga/SwiftKit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SwiftKit",
  "name" : "SwiftKit",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SwiftKit",
      "targets" : [
        "SwiftKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftKitTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftKitTests",
      "path" : "Tests/SwiftKitTests",
      "sources" : [
        "Array+Tests.swift",
        "DefaultValue+Tests.swift",
        "NonEmpty+Tests.swift",
        "Result+Tests.swift",
        "String+Tests.swift",
        "Traceable+Tests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "SwiftKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftKit",
      "module_type" : "SwiftTarget",
      "name" : "SwiftKit",
      "path" : "Sources/SwiftKit",
      "product_memberships" : [
        "SwiftKit"
      ],
      "sources" : [
        "Deprecated.swift",
        "Error.swift",
        "Extensions/Array+Extension.swift",
        "Extensions/Result+Extension.swift",
        "Extensions/String+Extension.swift",
        "Log.swift",
        "PropertyWrapper/DefaultValue.swift",
        "PropertyWrapper/NonEmpty.swift",
        "PropertyWrapper/Traceable.swift",
        "Shell.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/12] Compiling SwiftKit NonEmpty.swift
[4/13] Emitting module SwiftKit
[5/13] Compiling SwiftKit Array+Extension.swift
[6/13] Compiling SwiftKit Result+Extension.swift
[7/13] Compiling SwiftKit Traceable.swift
[8/13] Compiling SwiftKit Log.swift
[9/13] Compiling SwiftKit String+Extension.swift
[10/13] Compiling SwiftKit Deprecated.swift
[11/13] Compiling SwiftKit Error.swift
[12/13] Compiling SwiftKit DefaultValue.swift
[13/13] Compiling SwiftKit Shell.swift
/host/spi-builder-workspace/Sources/SwiftKit/Shell.swift:39:20: error: cannot find 'Process' in scope
 37 |         stream result: @escaping (Shell.ResultStream) -> Void
 38 |     ) -> Shell.TerminationStatus {
 39 |         let task = Process()
    |                    `- error: cannot find 'Process' in scope
 40 |         task.arguments = arguments
 41 |
/host/spi-builder-workspace/Sources/SwiftKit/Shell.swift:66:26: error: cannot find 'NotificationCenter' in scope
 64 |         // set listener
 65 |         var stdOutObserver: NSObjectProtocol!
 66 |         stdOutObserver = NotificationCenter.default.addObserver(
    |                          `- error: cannot find 'NotificationCenter' in scope
 67 |             forName: NSNotification.Name.NSFileHandleDataAvailable,
 68 |             object: stdOutReading,
/host/spi-builder-workspace/Sources/SwiftKit/Shell.swift:81:17: error: cannot find 'NotificationCenter' in scope
 79 |             } else {
 80 |                 // That means we've reached the end of the input.
 81 |                 NotificationCenter.default.removeObserver(stdOutObserver!)
    |                 `- error: cannot find 'NotificationCenter' in scope
 82 |             }
 83 |         }
/host/spi-builder-workspace/Sources/SwiftKit/Shell.swift:69:20: error: 'nil' requires a contextual type
 67 |             forName: NSNotification.Name.NSFileHandleDataAvailable,
 68 |             object: stdOutReading,
 69 |             queue: nil
    |                    `- error: 'nil' requires a contextual type
 70 |         ) { _ -> Void in
 71 |             let data = stdOutReading.availableData
/host/spi-builder-workspace/Sources/SwiftKit/Shell.swift:86:26: error: cannot find 'NotificationCenter' in scope
 84 |
 85 |         var stdErrObserver: NSObjectProtocol!
 86 |         stdErrObserver = NotificationCenter.default.addObserver(
    |                          `- error: cannot find 'NotificationCenter' in scope
 87 |             forName: NSNotification.Name.NSFileHandleDataAvailable,
 88 |             object: stdErrReading,
/host/spi-builder-workspace/Sources/SwiftKit/Shell.swift:101:17: error: cannot find 'NotificationCenter' in scope
 99 |             } else {
100 |                 // That means we've reached the end of the input.
101 |                 NotificationCenter.default.removeObserver(stdErrObserver!)
    |                 `- error: cannot find 'NotificationCenter' in scope
102 |             }
103 |         }
/host/spi-builder-workspace/Sources/SwiftKit/Shell.swift:89:20: error: 'nil' requires a contextual type
 87 |             forName: NSNotification.Name.NSFileHandleDataAvailable,
 88 |             object: stdErrReading,
 89 |             queue: nil
    |                    `- error: 'nil' requires a contextual type
 90 |         ) { _ -> Void in
 91 |             let data = stdErrReading.availableData
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: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/1] Write swift-version-24593BA9C3E375BF.txt
[2/11] Compiling SwiftKit Traceable.swift
[3/11] Compiling SwiftKit NonEmpty.swift
[4/11] Compiling SwiftKit DefaultValue.swift
[5/11] Compiling SwiftKit Log.swift
[6/12] Compiling SwiftKit Array+Extension.swift
[7/12] Compiling SwiftKit Result+Extension.swift
[8/12] Compiling SwiftKit Deprecated.swift
[9/12] Compiling SwiftKit Error.swift
[10/12] Emitting module SwiftKit
[11/12] Compiling SwiftKit String+Extension.swift
[12/12] Compiling SwiftKit Shell.swift
/host/spi-builder-workspace/Sources/SwiftKit/Shell.swift:39:20: error: cannot find 'Process' in scope
 37 |         stream result: @escaping (Shell.ResultStream) -> Void
 38 |     ) -> Shell.TerminationStatus {
 39 |         let task = Process()
    |                    `- error: cannot find 'Process' in scope
 40 |         task.arguments = arguments
 41 |
/host/spi-builder-workspace/Sources/SwiftKit/Shell.swift:66:26: error: cannot find 'NotificationCenter' in scope
 64 |         // set listener
 65 |         var stdOutObserver: NSObjectProtocol!
 66 |         stdOutObserver = NotificationCenter.default.addObserver(
    |                          `- error: cannot find 'NotificationCenter' in scope
 67 |             forName: NSNotification.Name.NSFileHandleDataAvailable,
 68 |             object: stdOutReading,
/host/spi-builder-workspace/Sources/SwiftKit/Shell.swift:81:17: error: cannot find 'NotificationCenter' in scope
 79 |             } else {
 80 |                 // That means we've reached the end of the input.
 81 |                 NotificationCenter.default.removeObserver(stdOutObserver!)
    |                 `- error: cannot find 'NotificationCenter' in scope
 82 |             }
 83 |         }
/host/spi-builder-workspace/Sources/SwiftKit/Shell.swift:69:20: error: 'nil' requires a contextual type
 67 |             forName: NSNotification.Name.NSFileHandleDataAvailable,
 68 |             object: stdOutReading,
 69 |             queue: nil
    |                    `- error: 'nil' requires a contextual type
 70 |         ) { _ -> Void in
 71 |             let data = stdOutReading.availableData
/host/spi-builder-workspace/Sources/SwiftKit/Shell.swift:86:26: error: cannot find 'NotificationCenter' in scope
 84 |
 85 |         var stdErrObserver: NSObjectProtocol!
 86 |         stdErrObserver = NotificationCenter.default.addObserver(
    |                          `- error: cannot find 'NotificationCenter' in scope
 87 |             forName: NSNotification.Name.NSFileHandleDataAvailable,
 88 |             object: stdErrReading,
/host/spi-builder-workspace/Sources/SwiftKit/Shell.swift:101:17: error: cannot find 'NotificationCenter' in scope
 99 |             } else {
100 |                 // That means we've reached the end of the input.
101 |                 NotificationCenter.default.removeObserver(stdErrObserver!)
    |                 `- error: cannot find 'NotificationCenter' in scope
102 |             }
103 |         }
/host/spi-builder-workspace/Sources/SwiftKit/Shell.swift:89:20: error: 'nil' requires a contextual type
 87 |             forName: NSNotification.Name.NSFileHandleDataAvailable,
 88 |             object: stdErrReading,
 89 |             queue: nil
    |                    `- error: 'nil' requires a contextual type
 90 |         ) { _ -> Void in
 91 |             let data = stdErrReading.availableData
BUILD FAILURE 6.1 wasm