The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ConsoleIO, reference master (3933eb), with Swift 6.1 for Wasm on 27 May 2025 14:53:14 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/ConsoleIO.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/wendyliga/ConsoleIO
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 3933eb8 Improve input (#1)
Cloned https://github.com/wendyliga/ConsoleIO.git
Revision (git rev-parse @):
3933eb8c8f4ce00d07c2a80896b6463bdf1d31d1
SUCCESS checkout https://github.com/wendyliga/ConsoleIO.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/wendyliga/ConsoleIO.git
https://github.com/wendyliga/ConsoleIO.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" : "ConsoleIO",
  "name" : "ConsoleIO",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "ConsoleIO",
      "targets" : [
        "ConsoleIO"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ConsoleIOTests",
      "module_type" : "SwiftTarget",
      "name" : "ConsoleIOTests",
      "path" : "Tests/ConsoleIOTests",
      "sources" : [
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "ConsoleIO"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ConsoleIO",
      "module_type" : "SwiftTarget",
      "name" : "ConsoleIO",
      "path" : "Sources/ConsoleIO",
      "product_dependencies" : [
        "SwiftKit"
      ],
      "product_memberships" : [
        "ConsoleIO"
      ],
      "sources" : [
        "Input.swift",
        "Output.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
Fetching https://github.com/wendyliga/SwiftKit.git
[1/717] Fetching swiftkit
Fetched https://github.com/wendyliga/SwiftKit.git from cache (0.33s)
Computing version for https://github.com/wendyliga/SwiftKit.git
Computed https://github.com/wendyliga/SwiftKit.git at 2.4.2 (1.11s)
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 DefaultValue.swift
[5/14] Compiling SwiftKit Deprecated.swift
[6/14] Compiling SwiftKit Error.swift
[7/14] Compiling SwiftKit Log.swift
[8/14] Compiling SwiftKit Array+Extension.swift
[9/14] Compiling SwiftKit Result+Extension.swift
[10/14] Emitting module SwiftKit
[11/14] Compiling SwiftKit String+Extension.swift
[12/14] Compiling SwiftKit NonEmpty.swift
[13/14] Compiling SwiftKit Traceable.swift
[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-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 NonEmpty.swift
[3/12] Compiling SwiftKit DefaultValue.swift
[4/12] Compiling SwiftKit Log.swift
[5/12] Compiling SwiftKit Traceable.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] Compiling SwiftKit String+Extension.swift
[11/12] Emitting module SwiftKit
[12/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
BUILD FAILURE 6.1 wasm