The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Explorer, reference 0.0.6 (b538e6), with Swift 6.1 for Wasm on 27 May 2025 20:36:29 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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/wendyliga/Explorer.git
Reference: 0.0.6
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/Explorer
 * tag               0.0.6      -> FETCH_HEAD
HEAD is now at b538e66 fix bug no extension
Cloned https://github.com/wendyliga/Explorer.git
Revision (git rev-parse @):
b538e662b69792fc85d3ae477c3a597f34fc9507
SUCCESS checkout https://github.com/wendyliga/Explorer.git at 0.0.6
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/wendyliga/Explorer.git
https://github.com/wendyliga/Explorer.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swiftkit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/wendyliga/SwiftKit.git"
    }
  ],
  "manifest_display_name" : "Explorer",
  "name" : "Explorer",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Explorer",
      "targets" : [
        "Explorer"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ExplorerTests",
      "module_type" : "SwiftTarget",
      "name" : "ExplorerTests",
      "path" : "Tests/ExplorerTests",
      "sources" : [
        "ExplorerTests.swift",
        "FileProvider+Mock.swift",
        "StringTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "Explorer"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Explorer",
      "module_type" : "SwiftTarget",
      "name" : "Explorer",
      "path" : "Sources/Explorer",
      "product_dependencies" : [
        "SwiftKit"
      ],
      "product_memberships" : [
        "Explorer"
      ],
      "sources" : [
        "Explorer.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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/wendyliga/SwiftKit.git
[1/717] Fetching swiftkit
Fetched https://github.com/wendyliga/SwiftKit.git from cache (0.28s)
Computing version for https://github.com/wendyliga/SwiftKit.git
Computed https://github.com/wendyliga/SwiftKit.git at 2.4.2 (0.83s)
Creating working copy for https://github.com/wendyliga/SwiftKit.git
Working copy of https://github.com/wendyliga/SwiftKit.git resolved at 2.4.2
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/13] Compiling SwiftKit Traceable.swift
[5/13] Compiling SwiftKit NonEmpty.swift
[6/13] Compiling SwiftKit DefaultValue.swift
[7/14] Compiling SwiftKit Log.swift
[8/14] Compiling SwiftKit Array+Extension.swift
[9/14] Compiling SwiftKit Result+Extension.swift
[10/14] Compiling SwiftKit Deprecated.swift
[11/14] Compiling SwiftKit Error.swift
[12/14] Compiling SwiftKit String+Extension.swift
[13/14] Emitting module SwiftKit
[14/14] Compiling SwiftKit Shell.swift
/host/spi-builder-workspace/.build/checkouts/SwiftKit/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/.build/checkouts/SwiftKit/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/.build/checkouts/SwiftKit/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/.build/checkouts/SwiftKit/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/.build/checkouts/SwiftKit/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/.build/checkouts/SwiftKit/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/.build/checkouts/SwiftKit/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-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/1] Write swift-version-24593BA9C3E375BF.txt
[2/11] Compiling SwiftKit Traceable.swift
[3/11] Emitting module SwiftKit
[4/11] Compiling SwiftKit Deprecated.swift
[5/11] Compiling SwiftKit Error.swift
[6/12] Compiling SwiftKit DefaultValue.swift
[7/12] Compiling SwiftKit NonEmpty.swift
[8/12] Compiling SwiftKit Log.swift
[9/12] Compiling SwiftKit Shell.swift
/host/spi-builder-workspace/.build/checkouts/SwiftKit/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/.build/checkouts/SwiftKit/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/.build/checkouts/SwiftKit/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/.build/checkouts/SwiftKit/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/.build/checkouts/SwiftKit/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/.build/checkouts/SwiftKit/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/.build/checkouts/SwiftKit/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
[10/12] Compiling SwiftKit Array+Extension.swift
[11/12] Compiling SwiftKit Result+Extension.swift
[12/12] Compiling SwiftKit String+Extension.swift
BUILD FAILURE 6.1 wasm