The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Work, reference 0.1.1 (4a7a6f), with Swift 6.3 for Wasm on 18 Apr 2026 18:03:44 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/flint-engine/Work.git
Reference: 0.1.1
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/flint-engine/Work
 * tag               0.1.1      -> FETCH_HEAD
HEAD is now at 4a7a6ff Merge branch 'develop'
Cloned https://github.com/flint-engine/Work.git
Revision (git rev-parse @):
4a7a6ff7a87bac408cfc69382b8332f53f89e046
SUCCESS checkout https://github.com/flint-engine/Work.git at 0.1.1
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/flint-engine/Work.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Building for debugging...
[0/11] Write sources
[3/11] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/15] Compiling Work String+Trimming.swift
/host/spi-builder-workspace/Sources/Work/String+Trimming.swift:34:5: warning: 'public' modifier is redundant for instance method declared in a public extension
32 |     ///
33 |     /// - Returns: Trimmed string.
34 |     public func trimmingNewLineCharacter() -> String {
   |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
35 |         if hasSuffix("\n") {
36 |             return String(dropLast())
[6/15] Compiling Work WorkResult.swift
[7/15] Emitting module Work
/host/spi-builder-workspace/Sources/Work/String+Trimming.swift:34:5: warning: 'public' modifier is redundant for instance method declared in a public extension
32 |     ///
33 |     /// - Returns: Trimmed string.
34 |     public func trimmingNewLineCharacter() -> String {
   |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
35 |         if hasSuffix("\n") {
36 |             return String(dropLast())
/host/spi-builder-workspace/Sources/Work/Work.swift:29:18: error: cannot find type 'Operation' in scope
 27 |
 28 | /// Shell command.
 29 | open class Work: Operation {
    |                  `- error: cannot find type 'Operation' in scope
 30 |
 31 |     /// Termination result.
/host/spi-builder-workspace/Sources/Work/Work.swift:54:22: error: cannot find type 'Process' in scope
 52 |
 53 |     /// Process object.
 54 |     public let task: Process
    |                      `- error: cannot find type 'Process' in scope
 55 |     /// Standard output handler.
 56 |     open var standardOutputHandler: ((String) -> Void)?
/host/spi-builder-workspace/Sources/Work/Work.swift:106:24: error: method does not override any method from its superclass
104 |
105 |     /// Execute shell command.
106 |     open override func main() {
    |                        `- error: method does not override any method from its superclass
107 |         task.launch()
108 |         task.waitUntilExit()
[8/15] Compiling Work Work.swift
/host/spi-builder-workspace/Sources/Work/Work.swift:29:18: error: cannot find type 'Operation' in scope
 27 |
 28 | /// Shell command.
 29 | open class Work: Operation {
    |                  `- error: cannot find type 'Operation' in scope
 30 |
 31 |     /// Termination result.
/host/spi-builder-workspace/Sources/Work/Work.swift:54:22: error: cannot find type 'Process' in scope
 52 |
 53 |     /// Process object.
 54 |     public let task: Process
    |                      `- error: cannot find type 'Process' in scope
 55 |     /// Standard output handler.
 56 |     open var standardOutputHandler: ((String) -> Void)?
/host/spi-builder-workspace/Sources/Work/Work.swift:106:24: error: method does not override any method from its superclass
104 |
105 |     /// Execute shell command.
106 |     open override func main() {
    |                        `- error: method does not override any method from its superclass
107 |         task.launch()
108 |         task.waitUntilExit()
/host/spi-builder-workspace/Sources/Work/Work.swift:73:16: error: cannot find 'Process' in scope
 71 |                 standardErrorHandler: ((String) -> Void)? = nil,
 72 |                 completion: ((WorkResult) -> Void)? = nil) {
 73 |         task = Process()
    |                `- error: cannot find 'Process' in scope
 74 |         self.standardOutputHandler = standardOutputHandler
 75 |         self.standardErrorHandler = standardErrorHandler
/host/spi-builder-workspace/Sources/Work/Work.swift:84:9: error: 'super' cannot be used in class 'Work' because it has no superclass
 82 |         standardErrorRawString = ""
 83 |
 84 |         super.init()
    |         `- error: 'super' cannot be used in class 'Work' because it has no superclass
 85 |
 86 |         task.launchPath = "/bin/bash"
/host/spi-builder-workspace/Sources/Work/Work.swift:91:49: error: value of type 'FileHandle' has no member 'readabilityHandler'
 89 |         task.standardError = standardErrorPipe
 90 |
 91 |         standardOutputPipe.fileHandleForReading.readabilityHandler = { [weak self] fileHandle in
    |                                                 `- error: value of type 'FileHandle' has no member 'readabilityHandler'
 92 |             guard let string = String(data: fileHandle.availableData, encoding: .utf8) else { return }
 93 |             guard !string.isEmpty else { return }
/host/spi-builder-workspace/Sources/Work/Work.swift:91:84: error: cannot infer type of closure parameter 'fileHandle' without a type annotation
 89 |         task.standardError = standardErrorPipe
 90 |
 91 |         standardOutputPipe.fileHandleForReading.readabilityHandler = { [weak self] fileHandle in
    |                                                                                    `- error: cannot infer type of closure parameter 'fileHandle' without a type annotation
 92 |             guard let string = String(data: fileHandle.availableData, encoding: .utf8) else { return }
 93 |             guard !string.isEmpty else { return }
/host/spi-builder-workspace/Sources/Work/Work.swift:97:48: error: value of type 'FileHandle' has no member 'readabilityHandler'
 95 |             self?.standardOutputHandler?(string.trimmingNewLineCharacter())
 96 |         }
 97 |         standardErrorPipe.fileHandleForReading.readabilityHandler = { [weak self] fileHandle in
    |                                                `- error: value of type 'FileHandle' has no member 'readabilityHandler'
 98 |             guard let string = String(data: fileHandle.availableData, encoding: .utf8) else { return }
 99 |             guard !string.isEmpty else { return }
/host/spi-builder-workspace/Sources/Work/Work.swift:97:83: error: cannot infer type of closure parameter 'fileHandle' without a type annotation
 95 |             self?.standardOutputHandler?(string.trimmingNewLineCharacter())
 96 |         }
 97 |         standardErrorPipe.fileHandleForReading.readabilityHandler = { [weak self] fileHandle in
    |                                                                                   `- error: cannot infer type of closure parameter 'fileHandle' without a type annotation
 98 |             guard let string = String(data: fileHandle.availableData, encoding: .utf8) else { return }
 99 |             guard !string.isEmpty else { return }
BUILD FAILURE 6.3 wasm