Build Information
Failed to build spm, reference 0.0.2 (90cb00), with Swift 6.3 for Wasm on 4 Sep 2026 15:38:01 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886770-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.0.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/0xwdg/spm.git
Reference: 0.0.2
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/0xwdg/spm
* tag 0.0.2 -> FETCH_HEAD
HEAD is now at 90cb004 Disable linux run, fix documentation deployment
Cloned https://github.com/0xwdg/spm.git
Revision (git rev-parse @):
90cb00464bfbd31d0425936bcd025db9411c3677
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/0xwdg/spm.git at 0.0.2
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/0xwdg/spm.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:e92e38b97676c18adb57b57429ddfb766786102cb50cb918e0d9e8055d05b35d
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest
Building for debugging...
[0/7] Write sources
[2/7] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/60] Emitting module SPMCore
/host/spi-builder-workspace/Sources/spm/helpers/CLI.swift:218:46: error: cannot find type 'Process' in scope
216 |
217 | /// Runs a process while showing an indeterminate terminal spinner.
218 | static func runProcessWithSpinner(_ process: Process, message: String) throws -> Int32 {
| `- error: cannot find type 'Process' in scope
219 | let frames = ["-", "\\", "|", "/"]
220 | let state = CLIProgressState()
[5/67] Compiling SPMCore FileTransaction.swift
/host/spi-builder-workspace/Sources/spm/FileTransaction.swift:45:66: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
43 | "\(change.url.lastPathComponent).backup-\(Int(Date().timeIntervalSince1970))"
44 | )
45 | try originalData.write(to: backup, options: .atomic)
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
46 | backups.append(backup)
47 | }
FoundationEssentials.Data.WritingOptions.atomic:4:23: note: 'atomic' has been explicitly marked unavailable here
2 | struct WritingOptions {
3 | @available(*, unavailable, message: "atomic writing is unavailable in WASI because temporary files are not supported")
4 | public static let atomic: Data.WritingOptions }
| `- note: 'atomic' has been explicitly marked unavailable here
5 | }
6 |
/host/spi-builder-workspace/Sources/spm/FileTransaction.swift:48:65: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
46 | backups.append(backup)
47 | }
48 | try change.data.write(to: change.url, options: .atomic)
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
49 | }
50 | } catch {
FoundationEssentials.Data.WritingOptions.atomic:4:23: note: 'atomic' has been explicitly marked unavailable here
2 | struct WritingOptions {
3 | @available(*, unavailable, message: "atomic writing is unavailable in WASI because temporary files are not supported")
4 | public static let atomic: Data.WritingOptions }
| `- note: 'atomic' has been explicitly marked unavailable here
5 | }
6 |
/host/spi-builder-workspace/Sources/spm/FileTransaction.swift:53:56: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
51 | for (url, data) in originals {
52 | if let data {
53 | try? data.write(to: url, options: .atomic)
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
54 | } else {
55 | try? fileManager.removeItem(at: url)
FoundationEssentials.Data.WritingOptions.atomic:4:23: note: 'atomic' has been explicitly marked unavailable here
2 | struct WritingOptions {
3 | @available(*, unavailable, message: "atomic writing is unavailable in WASI because temporary files are not supported")
4 | public static let atomic: Data.WritingOptions }
| `- note: 'atomic' has been explicitly marked unavailable here
5 | }
6 |
/host/spi-builder-workspace/Sources/spm/ProcessRunner.swift:54:23: error: cannot find 'Process' in scope
52 | timeout: TimeInterval = 120
53 | ) throws -> ProcessResult {
54 | let process = Process()
| `- error: cannot find 'Process' in scope
55 | let outputPipe = Pipe()
56 | let errorPipe = Pipe()
/host/spi-builder-workspace/Sources/spm/ProcessRunner.swift:66:41: error: value of type 'FileHandle' has no member 'readabilityHandler'
64 | process.standardError = errorPipe
65 |
66 | outputPipe.fileHandleForReading.readabilityHandler = { handle in
| `- error: value of type 'FileHandle' has no member 'readabilityHandler'
67 | outputBuffer.append(handle.availableData)
68 | }
/host/spi-builder-workspace/Sources/spm/ProcessRunner.swift:66:64: error: cannot infer type of closure parameter 'handle' without a type annotation
64 | process.standardError = errorPipe
65 |
66 | outputPipe.fileHandleForReading.readabilityHandler = { handle in
| `- error: cannot infer type of closure parameter 'handle' without a type annotation
67 | outputBuffer.append(handle.availableData)
68 | }
/host/spi-builder-workspace/Sources/spm/ProcessRunner.swift:69:40: error: value of type 'FileHandle' has no member 'readabilityHandler'
67 | outputBuffer.append(handle.availableData)
68 | }
69 | errorPipe.fileHandleForReading.readabilityHandler = { handle in
| `- error: value of type 'FileHandle' has no member 'readabilityHandler'
70 | errorBuffer.append(handle.availableData)
71 | }
/host/spi-builder-workspace/Sources/spm/ProcessRunner.swift:69:63: error: cannot infer type of closure parameter 'handle' without a type annotation
67 | outputBuffer.append(handle.availableData)
68 | }
69 | errorPipe.fileHandleForReading.readabilityHandler = { handle in
| `- error: cannot infer type of closure parameter 'handle' without a type annotation
70 | errorBuffer.append(handle.availableData)
71 | }
/host/spi-builder-workspace/Sources/spm/ProcessRunner.swift:81:29: error: value of type 'RunLoop' has no member 'run'
79 | let deadline = Date().addingTimeInterval(timeout)
80 | while process.isRunning && Date() < deadline {
81 | RunLoop.current.run(until: Date().addingTimeInterval(0.01))
| `- error: value of type 'RunLoop' has no member 'run'
82 | }
83 |
/host/spi-builder-workspace/Sources/spm/ProcessRunner.swift:87:45: error: value of type 'FileHandle' has no member 'readabilityHandler'
85 | process.terminate()
86 | process.waitUntilExit()
87 | outputPipe.fileHandleForReading.readabilityHandler = nil
| `- error: value of type 'FileHandle' has no member 'readabilityHandler'
88 | errorPipe.fileHandleForReading.readabilityHandler = nil
89 | throw SPMCommandError.failure(
/host/spi-builder-workspace/Sources/spm/ProcessRunner.swift:88:44: error: value of type 'FileHandle' has no member 'readabilityHandler'
86 | process.waitUntilExit()
87 | outputPipe.fileHandleForReading.readabilityHandler = nil
88 | errorPipe.fileHandleForReading.readabilityHandler = nil
| `- error: value of type 'FileHandle' has no member 'readabilityHandler'
89 | throw SPMCommandError.failure(
90 | "Command timed out after \(Int(timeout)) seconds: \(executable)",
/host/spi-builder-workspace/Sources/spm/ProcessRunner.swift:95:41: error: value of type 'FileHandle' has no member 'readabilityHandler'
93 | }
94 |
95 | outputPipe.fileHandleForReading.readabilityHandler = nil
| `- error: value of type 'FileHandle' has no member 'readabilityHandler'
96 | errorPipe.fileHandleForReading.readabilityHandler = nil
97 | outputBuffer.append(outputPipe.fileHandleForReading.readDataToEndOfFile())
/host/spi-builder-workspace/Sources/spm/ProcessRunner.swift:96:40: error: value of type 'FileHandle' has no member 'readabilityHandler'
94 |
95 | outputPipe.fileHandleForReading.readabilityHandler = nil
96 | errorPipe.fileHandleForReading.readabilityHandler = nil
| `- error: value of type 'FileHandle' has no member 'readabilityHandler'
97 | outputBuffer.append(outputPipe.fileHandleForReading.readDataToEndOfFile())
98 | errorBuffer.append(errorPipe.fileHandleForReading.readDataToEndOfFile())
[6/67] Compiling SPMCore OverwriteOptions.swift
/host/spi-builder-workspace/Sources/spm/FileTransaction.swift:45:66: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
43 | "\(change.url.lastPathComponent).backup-\(Int(Date().timeIntervalSince1970))"
44 | )
45 | try originalData.write(to: backup, options: .atomic)
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
46 | backups.append(backup)
47 | }
FoundationEssentials.Data.WritingOptions.atomic:4:23: note: 'atomic' has been explicitly marked unavailable here
2 | struct WritingOptions {
3 | @available(*, unavailable, message: "atomic writing is unavailable in WASI because temporary files are not supported")
4 | public static let atomic: Data.WritingOptions }
| `- note: 'atomic' has been explicitly marked unavailable here
5 | }
6 |
/host/spi-builder-workspace/Sources/spm/FileTransaction.swift:48:65: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
46 | backups.append(backup)
47 | }
48 | try change.data.write(to: change.url, options: .atomic)
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
49 | }
50 | } catch {
FoundationEssentials.Data.WritingOptions.atomic:4:23: note: 'atomic' has been explicitly marked unavailable here
2 | struct WritingOptions {
3 | @available(*, unavailable, message: "atomic writing is unavailable in WASI because temporary files are not supported")
4 | public static let atomic: Data.WritingOptions }
| `- note: 'atomic' has been explicitly marked unavailable here
5 | }
6 |
/host/spi-builder-workspace/Sources/spm/FileTransaction.swift:53:56: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
51 | for (url, data) in originals {
52 | if let data {
53 | try? data.write(to: url, options: .atomic)
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
54 | } else {
55 | try? fileManager.removeItem(at: url)
FoundationEssentials.Data.WritingOptions.atomic:4:23: note: 'atomic' has been explicitly marked unavailable here
2 | struct WritingOptions {
3 | @available(*, unavailable, message: "atomic writing is unavailable in WASI because temporary files are not supported")
4 | public static let atomic: Data.WritingOptions }
| `- note: 'atomic' has been explicitly marked unavailable here
5 | }
6 |
/host/spi-builder-workspace/Sources/spm/ProcessRunner.swift:54:23: error: cannot find 'Process' in scope
52 | timeout: TimeInterval = 120
53 | ) throws -> ProcessResult {
54 | let process = Process()
| `- error: cannot find 'Process' in scope
55 | let outputPipe = Pipe()
56 | let errorPipe = Pipe()
/host/spi-builder-workspace/Sources/spm/ProcessRunner.swift:66:41: error: value of type 'FileHandle' has no member 'readabilityHandler'
64 | process.standardError = errorPipe
65 |
66 | outputPipe.fileHandleForReading.readabilityHandler = { handle in
| `- error: value of type 'FileHandle' has no member 'readabilityHandler'
67 | outputBuffer.append(handle.availableData)
68 | }
/host/spi-builder-workspace/Sources/spm/ProcessRunner.swift:66:64: error: cannot infer type of closure parameter 'handle' without a type annotation
64 | process.standardError = errorPipe
65 |
66 | outputPipe.fileHandleForReading.readabilityHandler = { handle in
| `- error: cannot infer type of closure parameter 'handle' without a type annotation
67 | outputBuffer.append(handle.availableData)
68 | }
/host/spi-builder-workspace/Sources/spm/ProcessRunner.swift:69:40: error: value of type 'FileHandle' has no member 'readabilityHandler'
67 | outputBuffer.append(handle.availableData)
68 | }
69 | errorPipe.fileHandleForReading.readabilityHandler = { handle in
| `- error: value of type 'FileHandle' has no member 'readabilityHandler'
70 | errorBuffer.append(handle.availableData)
71 | }
/host/spi-builder-workspace/Sources/spm/ProcessRunner.swift:69:63: error: cannot infer type of closure parameter 'handle' without a type annotation
67 | outputBuffer.append(handle.availableData)
68 | }
69 | errorPipe.fileHandleForReading.readabilityHandler = { handle in
| `- error: cannot infer type of closure parameter 'handle' without a type annotation
70 | errorBuffer.append(handle.availableData)
71 | }
/host/spi-builder-workspace/Sources/spm/ProcessRunner.swift:81:29: error: value of type 'RunLoop' has no member 'run'
79 | let deadline = Date().addingTimeInterval(timeout)
80 | while process.isRunning && Date() < deadline {
81 | RunLoop.current.run(until: Date().addingTimeInterval(0.01))
| `- error: value of type 'RunLoop' has no member 'run'
82 | }
83 |
/host/spi-builder-workspace/Sources/spm/ProcessRunner.swift:87:45: error: value of type 'FileHandle' has no member 'readabilityHandler'
85 | process.terminate()
86 | process.waitUntilExit()
87 | outputPipe.fileHandleForReading.readabilityHandler = nil
| `- error: value of type 'FileHandle' has no member 'readabilityHandler'
88 | errorPipe.fileHandleForReading.readabilityHandler = nil
89 | throw SPMCommandError.failure(
/host/spi-builder-workspace/Sources/spm/ProcessRunner.swift:88:44: error: value of type 'FileHandle' has no member 'readabilityHandler'
86 | process.waitUntilExit()
87 | outputPipe.fileHandleForReading.readabilityHandler = nil
88 | errorPipe.fileHandleForReading.readabilityHandler = nil
| `- error: value of type 'FileHandle' has no member 'readabilityHandler'
89 | throw SPMCommandError.failure(
90 | "Command timed out after \(Int(timeout)) seconds: \(executable)",
/host/spi-builder-workspace/Sources/spm/ProcessRunner.swift:95:41: error: value of type 'FileHandle' has no member 'readabilityHandler'
93 | }
94 |
95 | outputPipe.fileHandleForReading.readabilityHandler = nil
| `- error: value of type 'FileHandle' has no member 'readabilityHandler'
96 | errorPipe.fileHandleForReading.readabilityHandler = nil
97 | outputBuffer.append(outputPipe.fileHandleForReading.readDataToEndOfFile())
/host/spi-builder-workspace/Sources/spm/ProcessRunner.swift:96:40: error: value of type 'FileHandle' has no member 'readabilityHandler'
94 |
95 | outputPipe.fileHandleForReading.readabilityHandler = nil
96 | errorPipe.fileHandleForReading.readabilityHandler = nil
| `- error: value of type 'FileHandle' has no member 'readabilityHandler'
97 | outputBuffer.append(outputPipe.fileHandleForReading.readDataToEndOfFile())
98 | errorBuffer.append(errorPipe.fileHandleForReading.readDataToEndOfFile())
[7/67] Compiling SPMCore PackageCommands.swift
/host/spi-builder-workspace/Sources/spm/FileTransaction.swift:45:66: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
43 | "\(change.url.lastPathComponent).backup-\(Int(Date().timeIntervalSince1970))"
44 | )
45 | try originalData.write(to: backup, options: .atomic)
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
46 | backups.append(backup)
47 | }
FoundationEssentials.Data.WritingOptions.atomic:4:23: note: 'atomic' has been explicitly marked unavailable here
2 | struct WritingOptions {
3 | @available(*, unavailable, message: "atomic writing is unavailable in WASI because temporary files are not supported")
4 | public static let atomic: Data.WritingOptions }
| `- note: 'atomic' has been explicitly marked unavailable here
5 | }
6 |
/host/spi-builder-workspace/Sources/spm/FileTransaction.swift:48:65: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
46 | backups.append(backup)
47 | }
48 | try change.data.write(to: change.url, options: .atomic)
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
49 | }
50 | } catch {
FoundationEssentials.Data.WritingOptions.atomic:4:23: note: 'atomic' has been explicitly marked unavailable here
2 | struct WritingOptions {
3 | @available(*, unavailable, message: "atomic writing is unavailable in WASI because temporary files are not supported")
4 | public static let atomic: Data.WritingOptions }
| `- note: 'atomic' has been explicitly marked unavailable here
5 | }
6 |
/host/spi-builder-workspace/Sources/spm/FileTransaction.swift:53:56: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
51 | for (url, data) in originals {
52 | if let data {
53 | try? data.write(to: url, options: .atomic)
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
54 | } else {
55 | try? fileManager.removeItem(at: url)
FoundationEssentials.Data.WritingOptions.atomic:4:23: note: 'atomic' has been explicitly marked unavailable here
2 | struct WritingOptions {
3 | @available(*, unavailable, message: "atomic writing is unavailable in WASI because temporary files are not supported")
4 | public static let atomic: Data.WritingOptions }
| `- note: 'atomic' has been explicitly marked unavailable here
5 | }
6 |
/host/spi-builder-workspace/Sources/spm/ProcessRunner.swift:54:23: error: cannot find 'Process' in scope
52 | timeout: TimeInterval = 120
53 | ) throws -> ProcessResult {
54 | let process = Process()
| `- error: cannot find 'Process' in scope
55 | let outputPipe = Pipe()
56 | let errorPipe = Pipe()
/host/spi-builder-workspace/Sources/spm/ProcessRunner.swift:66:41: error: value of type 'FileHandle' has no member 'readabilityHandler'
64 | process.standardError = errorPipe
65 |
66 | outputPipe.fileHandleForReading.readabilityHandler = { handle in
| `- error: value of type 'FileHandle' has no member 'readabilityHandler'
67 | outputBuffer.append(handle.availableData)
68 | }
/host/spi-builder-workspace/Sources/spm/ProcessRunner.swift:66:64: error: cannot infer type of closure parameter 'handle' without a type annotation
64 | process.standardError = errorPipe
65 |
66 | outputPipe.fileHandleForReading.readabilityHandler = { handle in
| `- error: cannot infer type of closure parameter 'handle' without a type annotation
67 | outputBuffer.append(handle.availableData)
68 | }
/host/spi-builder-workspace/Sources/spm/ProcessRunner.swift:69:40: error: value of type 'FileHandle' has no member 'readabilityHandler'
67 | outputBuffer.append(handle.availableData)
68 | }
69 | errorPipe.fileHandleForReading.readabilityHandler = { handle in
| `- error: value of type 'FileHandle' has no member 'readabilityHandler'
70 | errorBuffer.append(handle.availableData)
71 | }
/host/spi-builder-workspace/Sources/spm/ProcessRunner.swift:69:63: error: cannot infer type of closure parameter 'handle' without a type annotation
67 | outputBuffer.append(handle.availableData)
68 | }
69 | errorPipe.fileHandleForReading.readabilityHandler = { handle in
| `- error: cannot infer type of closure parameter 'handle' without a type annotation
70 | errorBuffer.append(handle.availableData)
71 | }
/host/spi-builder-workspace/Sources/spm/ProcessRunner.swift:81:29: error: value of type 'RunLoop' has no member 'run'
79 | let deadline = Date().addingTimeInterval(timeout)
80 | while process.isRunning && Date() < deadline {
81 | RunLoop.current.run(until: Date().addingTimeInterval(0.01))
| `- error: value of type 'RunLoop' has no member 'run'
82 | }
83 |
/host/spi-builder-workspace/Sources/spm/ProcessRunner.swift:87:45: error: value of type 'FileHandle' has no member 'readabilityHandler'
85 | process.terminate()
86 | process.waitUntilExit()
87 | outputPipe.fileHandleForReading.readabilityHandler = nil
| `- error: value of type 'FileHandle' has no member 'readabilityHandler'
88 | errorPipe.fileHandleForReading.readabilityHandler = nil
89 | throw SPMCommandError.failure(
/host/spi-builder-workspace/Sources/spm/ProcessRunner.swift:88:44: error: value of type 'FileHandle' has no member 'readabilityHandler'
86 | process.waitUntilExit()
87 | outputPipe.fileHandleForReading.readabilityHandler = nil
88 | errorPipe.fileHandleForReading.readabilityHandler = nil
| `- error: value of type 'FileHandle' has no member 'readabilityHandler'
89 | throw SPMCommandError.failure(
90 | "Command timed out after \(Int(timeout)) seconds: \(executable)",
/host/spi-builder-workspace/Sources/spm/ProcessRunner.swift:95:41: error: value of type 'FileHandle' has no member 'readabilityHandler'
93 | }
94 |
95 | outputPipe.fileHandleForReading.readabilityHandler = nil
| `- error: value of type 'FileHandle' has no member 'readabilityHandler'
96 | errorPipe.fileHandleForReading.readabilityHandler = nil
97 | outputBuffer.append(outputPipe.fileHandleForReading.readDataToEndOfFile())
/host/spi-builder-workspace/Sources/spm/ProcessRunner.swift:96:40: error: value of type 'FileHandle' has no member 'readabilityHandler'
94 |
95 | outputPipe.fileHandleForReading.readabilityHandler = nil
96 | errorPipe.fileHandleForReading.readabilityHandler = nil
| `- error: value of type 'FileHandle' has no member 'readabilityHandler'
97 | outputBuffer.append(outputPipe.fileHandleForReading.readDataToEndOfFile())
98 | errorBuffer.append(errorPipe.fileHandleForReading.readDataToEndOfFile())
[8/67] Compiling SPMCore PackageContext.swift
/host/spi-builder-workspace/Sources/spm/FileTransaction.swift:45:66: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
43 | "\(change.url.lastPathComponent).backup-\(Int(Date().timeIntervalSince1970))"
44 | )
45 | try originalData.write(to: backup, options: .atomic)
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
46 | backups.append(backup)
47 | }
FoundationEssentials.Data.WritingOptions.atomic:4:23: note: 'atomic' has been explicitly marked unavailable here
2 | struct WritingOptions {
3 | @available(*, unavailable, message: "atomic writing is unavailable in WASI because temporary files are not supported")
4 | public static let atomic: Data.WritingOptions }
| `- note: 'atomic' has been explicitly marked unavailable here
5 | }
6 |
/host/spi-builder-workspace/Sources/spm/FileTransaction.swift:48:65: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
46 | backups.append(backup)
47 | }
48 | try change.data.write(to: change.url, options: .atomic)
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
49 | }
50 | } catch {
FoundationEssentials.Data.WritingOptions.atomic:4:23: note: 'atomic' has been explicitly marked unavailable here
2 | struct WritingOptions {
3 | @available(*, unavailable, message: "atomic writing is unavailable in WASI because temporary files are not supported")
4 | public static let atomic: Data.WritingOptions }
| `- note: 'atomic' has been explicitly marked unavailable here
5 | }
6 |
/host/spi-builder-workspace/Sources/spm/FileTransaction.swift:53:56: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
51 | for (url, data) in originals {
52 | if let data {
53 | try? data.write(to: url, options: .atomic)
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
54 | } else {
55 | try? fileManager.removeItem(at: url)
FoundationEssentials.Data.WritingOptions.atomic:4:23: note: 'atomic' has been explicitly marked unavailable here
2 | struct WritingOptions {
3 | @available(*, unavailable, message: "atomic writing is unavailable in WASI because temporary files are not supported")
4 | public static let atomic: Data.WritingOptions }
| `- note: 'atomic' has been explicitly marked unavailable here
5 | }
6 |
/host/spi-builder-workspace/Sources/spm/ProcessRunner.swift:54:23: error: cannot find 'Process' in scope
52 | timeout: TimeInterval = 120
53 | ) throws -> ProcessResult {
54 | let process = Process()
| `- error: cannot find 'Process' in scope
55 | let outputPipe = Pipe()
56 | let errorPipe = Pipe()
/host/spi-builder-workspace/Sources/spm/ProcessRunner.swift:66:41: error: value of type 'FileHandle' has no member 'readabilityHandler'
64 | process.standardError = errorPipe
65 |
66 | outputPipe.fileHandleForReading.readabilityHandler = { handle in
| `- error: value of type 'FileHandle' has no member 'readabilityHandler'
67 | outputBuffer.append(handle.availableData)
68 | }
/host/spi-builder-workspace/Sources/spm/ProcessRunner.swift:66:64: error: cannot infer type of closure parameter 'handle' without a type annotation
64 | process.standardError = errorPipe
65 |
66 | outputPipe.fileHandleForReading.readabilityHandler = { handle in
| `- error: cannot infer type of closure parameter 'handle' without a type annotation
67 | outputBuffer.append(handle.availableData)
68 | }
/host/spi-builder-workspace/Sources/spm/ProcessRunner.swift:69:40: error: value of type 'FileHandle' has no member 'readabilityHandler'
67 | outputBuffer.append(handle.availableData)
68 | }
69 | errorPipe.fileHandleForReading.readabilityHandler = { handle in
| `- error: value of type 'FileHandle' has no member 'readabilityHandler'
70 | errorBuffer.append(handle.availableData)
71 | }
/host/spi-builder-workspace/Sources/spm/ProcessRunner.swift:69:63: error: cannot infer type of closure parameter 'handle' without a type annotation
67 | outputBuffer.append(handle.availableData)
68 | }
69 | errorPipe.fileHandleForReading.readabilityHandler = { handle in
| `- error: cannot infer type of closure parameter 'handle' without a type annotation
70 | errorBuffer.append(handle.availableData)
71 | }
/host/spi-builder-workspace/Sources/spm/ProcessRunner.swift:81:29: error: value of type 'RunLoop' has no member 'run'
79 | let deadline = Date().addingTimeInterval(timeout)
80 | while process.isRunning && Date() < deadline {
81 | RunLoop.current.run(until: Date().addingTimeInterval(0.01))
| `- error: value of type 'RunLoop' has no member 'run'
82 | }
83 |
/host/spi-builder-workspace/Sources/spm/ProcessRunner.swift:87:45: error: value of type 'FileHandle' has no member 'readabilityHandler'
85 | process.terminate()
86 | process.waitUntilExit()
87 | outputPipe.fileHandleForReading.readabilityHandler = nil
| `- error: value of type 'FileHandle' has no member 'readabilityHandler'
88 | errorPipe.fileHandleForReading.readabilityHandler = nil
89 | throw SPMCommandError.failure(
/host/spi-builder-workspace/Sources/spm/ProcessRunner.swift:88:44: error: value of type 'FileHandle' has no member 'readabilityHandler'
86 | process.waitUntilExit()
87 | outputPipe.fileHandleForReading.readabilityHandler = nil
88 | errorPipe.fileHandleForReading.readabilityHandler = nil
| `- error: value of type 'FileHandle' has no member 'readabilityHandler'
89 | throw SPMCommandError.failure(
90 | "Command timed out after \(Int(timeout)) seconds: \(executable)",
/host/spi-builder-workspace/Sources/spm/ProcessRunner.swift:95:41: error: value of type 'FileHandle' has no member 'readabilityHandler'
93 | }
94 |
95 | outputPipe.fileHandleForReading.readabilityHandler = nil
| `- error: value of type 'FileHandle' has no member 'readabilityHandler'
96 | errorPipe.fileHandleForReading.readabilityHandler = nil
97 | outputBuffer.append(outputPipe.fileHandleForReading.readDataToEndOfFile())
/host/spi-builder-workspace/Sources/spm/ProcessRunner.swift:96:40: error: value of type 'FileHandle' has no member 'readabilityHandler'
94 |
95 | outputPipe.fileHandleForReading.readabilityHandler = nil
96 | errorPipe.fileHandleForReading.readabilityHandler = nil
| `- error: value of type 'FileHandle' has no member 'readabilityHandler'
97 | outputBuffer.append(outputPipe.fileHandleForReading.readDataToEndOfFile())
98 | errorBuffer.append(errorPipe.fileHandleForReading.readDataToEndOfFile())
[9/67] Compiling SPMCore ProcessRunner.swift
/host/spi-builder-workspace/Sources/spm/FileTransaction.swift:45:66: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
43 | "\(change.url.lastPathComponent).backup-\(Int(Date().timeIntervalSince1970))"
44 | )
45 | try originalData.write(to: backup, options: .atomic)
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
46 | backups.append(backup)
47 | }
FoundationEssentials.Data.WritingOptions.atomic:4:23: note: 'atomic' has been explicitly marked unavailable here
2 | struct WritingOptions {
3 | @available(*, unavailable, message: "atomic writing is unavailable in WASI because temporary files are not supported")
4 | public static let atomic: Data.WritingOptions }
| `- note: 'atomic' has been explicitly marked unavailable here
5 | }
6 |
/host/spi-builder-workspace/Sources/spm/FileTransaction.swift:48:65: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
46 | backups.append(backup)
47 | }
48 | try change.data.write(to: change.url, options: .atomic)
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
49 | }
50 | } catch {
FoundationEssentials.Data.WritingOptions.atomic:4:23: note: 'atomic' has been explicitly marked unavailable here
2 | struct WritingOptions {
3 | @available(*, unavailable, message: "atomic writing is unavailable in WASI because temporary files are not supported")
4 | public static let atomic: Data.WritingOptions }
| `- note: 'atomic' has been explicitly marked unavailable here
5 | }
6 |
/host/spi-builder-workspace/Sources/spm/FileTransaction.swift:53:56: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
51 | for (url, data) in originals {
52 | if let data {
53 | try? data.write(to: url, options: .atomic)
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
54 | } else {
55 | try? fileManager.removeItem(at: url)
FoundationEssentials.Data.WritingOptions.atomic:4:23: note: 'atomic' has been explicitly marked unavailable here
2 | struct WritingOptions {
3 | @available(*, unavailable, message: "atomic writing is unavailable in WASI because temporary files are not supported")
4 | public static let atomic: Data.WritingOptions }
| `- note: 'atomic' has been explicitly marked unavailable here
5 | }
6 |
/host/spi-builder-workspace/Sources/spm/ProcessRunner.swift:54:23: error: cannot find 'Process' in scope
52 | timeout: TimeInterval = 120
53 | ) throws -> ProcessResult {
54 | let process = Process()
| `- error: cannot find 'Process' in scope
55 | let outputPipe = Pipe()
56 | let errorPipe = Pipe()
/host/spi-builder-workspace/Sources/spm/ProcessRunner.swift:66:41: error: value of type 'FileHandle' has no member 'readabilityHandler'
64 | process.standardError = errorPipe
65 |
66 | outputPipe.fileHandleForReading.readabilityHandler = { handle in
| `- error: value of type 'FileHandle' has no member 'readabilityHandler'
67 | outputBuffer.append(handle.availableData)
68 | }
/host/spi-builder-workspace/Sources/spm/ProcessRunner.swift:66:64: error: cannot infer type of closure parameter 'handle' without a type annotation
64 | process.standardError = errorPipe
65 |
66 | outputPipe.fileHandleForReading.readabilityHandler = { handle in
| `- error: cannot infer type of closure parameter 'handle' without a type annotation
67 | outputBuffer.append(handle.availableData)
68 | }
/host/spi-builder-workspace/Sources/spm/ProcessRunner.swift:69:40: error: value of type 'FileHandle' has no member 'readabilityHandler'
67 | outputBuffer.append(handle.availableData)
68 | }
69 | errorPipe.fileHandleForReading.readabilityHandler = { handle in
| `- error: value of type 'FileHandle' has no member 'readabilityHandler'
70 | errorBuffer.append(handle.availableData)
71 | }
/host/spi-builder-workspace/Sources/spm/ProcessRunner.swift:69:63: error: cannot infer type of closure parameter 'handle' without a type annotation
67 | outputBuffer.append(handle.availableData)
68 | }
69 | errorPipe.fileHandleForReading.readabilityHandler = { handle in
| `- error: cannot infer type of closure parameter 'handle' without a type annotation
70 | errorBuffer.append(handle.availableData)
71 | }
/host/spi-builder-workspace/Sources/spm/ProcessRunner.swift:81:29: error: value of type 'RunLoop' has no member 'run'
79 | let deadline = Date().addingTimeInterval(timeout)
80 | while process.isRunning && Date() < deadline {
81 | RunLoop.current.run(until: Date().addingTimeInterval(0.01))
| `- error: value of type 'RunLoop' has no member 'run'
82 | }
83 |
/host/spi-builder-workspace/Sources/spm/ProcessRunner.swift:87:45: error: value of type 'FileHandle' has no member 'readabilityHandler'
85 | process.terminate()
86 | process.waitUntilExit()
87 | outputPipe.fileHandleForReading.readabilityHandler = nil
| `- error: value of type 'FileHandle' has no member 'readabilityHandler'
88 | errorPipe.fileHandleForReading.readabilityHandler = nil
89 | throw SPMCommandError.failure(
/host/spi-builder-workspace/Sources/spm/ProcessRunner.swift:88:44: error: value of type 'FileHandle' has no member 'readabilityHandler'
86 | process.waitUntilExit()
87 | outputPipe.fileHandleForReading.readabilityHandler = nil
88 | errorPipe.fileHandleForReading.readabilityHandler = nil
| `- error: value of type 'FileHandle' has no member 'readabilityHandler'
89 | throw SPMCommandError.failure(
90 | "Command timed out after \(Int(timeout)) seconds: \(executable)",
/host/spi-builder-workspace/Sources/spm/ProcessRunner.swift:95:41: error: value of type 'FileHandle' has no member 'readabilityHandler'
93 | }
94 |
95 | outputPipe.fileHandleForReading.readabilityHandler = nil
| `- error: value of type 'FileHandle' has no member 'readabilityHandler'
96 | errorPipe.fileHandleForReading.readabilityHandler = nil
97 | outputBuffer.append(outputPipe.fileHandleForReading.readDataToEndOfFile())
/host/spi-builder-workspace/Sources/spm/ProcessRunner.swift:96:40: error: value of type 'FileHandle' has no member 'readabilityHandler'
94 |
95 | outputPipe.fileHandleForReading.readabilityHandler = nil
96 | errorPipe.fileHandleForReading.readabilityHandler = nil
| `- error: value of type 'FileHandle' has no member 'readabilityHandler'
97 | outputBuffer.append(outputPipe.fileHandleForReading.readDataToEndOfFile())
98 | errorBuffer.append(errorPipe.fileHandleForReading.readDataToEndOfFile())
[10/67] Compiling SPMCore SPMCommandError.swift
/host/spi-builder-workspace/Sources/spm/FileTransaction.swift:45:66: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
43 | "\(change.url.lastPathComponent).backup-\(Int(Date().timeIntervalSince1970))"
44 | )
45 | try originalData.write(to: backup, options: .atomic)
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
46 | backups.append(backup)
47 | }
FoundationEssentials.Data.WritingOptions.atomic:4:23: note: 'atomic' has been explicitly marked unavailable here
2 | struct WritingOptions {
3 | @available(*, unavailable, message: "atomic writing is unavailable in WASI because temporary files are not supported")
4 | public static let atomic: Data.WritingOptions }
| `- note: 'atomic' has been explicitly marked unavailable here
5 | }
6 |
/host/spi-builder-workspace/Sources/spm/FileTransaction.swift:48:65: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
46 | backups.append(backup)
47 | }
48 | try change.data.write(to: change.url, options: .atomic)
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
49 | }
50 | } catch {
FoundationEssentials.Data.WritingOptions.atomic:4:23: note: 'atomic' has been explicitly marked unavailable here
2 | struct WritingOptions {
3 | @available(*, unavailable, message: "atomic writing is unavailable in WASI because temporary files are not supported")
4 | public static let atomic: Data.WritingOptions }
| `- note: 'atomic' has been explicitly marked unavailable here
5 | }
6 |
/host/spi-builder-workspace/Sources/spm/FileTransaction.swift:53:56: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
51 | for (url, data) in originals {
52 | if let data {
53 | try? data.write(to: url, options: .atomic)
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
54 | } else {
55 | try? fileManager.removeItem(at: url)
FoundationEssentials.Data.WritingOptions.atomic:4:23: note: 'atomic' has been explicitly marked unavailable here
2 | struct WritingOptions {
3 | @available(*, unavailable, message: "atomic writing is unavailable in WASI because temporary files are not supported")
4 | public static let atomic: Data.WritingOptions }
| `- note: 'atomic' has been explicitly marked unavailable here
5 | }
6 |
/host/spi-builder-workspace/Sources/spm/ProcessRunner.swift:54:23: error: cannot find 'Process' in scope
52 | timeout: TimeInterval = 120
53 | ) throws -> ProcessResult {
54 | let process = Process()
| `- error: cannot find 'Process' in scope
55 | let outputPipe = Pipe()
56 | let errorPipe = Pipe()
/host/spi-builder-workspace/Sources/spm/ProcessRunner.swift:66:41: error: value of type 'FileHandle' has no member 'readabilityHandler'
64 | process.standardError = errorPipe
65 |
66 | outputPipe.fileHandleForReading.readabilityHandler = { handle in
| `- error: value of type 'FileHandle' has no member 'readabilityHandler'
67 | outputBuffer.append(handle.availableData)
68 | }
/host/spi-builder-workspace/Sources/spm/ProcessRunner.swift:66:64: error: cannot infer type of closure parameter 'handle' without a type annotation
64 | process.standardError = errorPipe
65 |
66 | outputPipe.fileHandleForReading.readabilityHandler = { handle in
| `- error: cannot infer type of closure parameter 'handle' without a type annotation
67 | outputBuffer.append(handle.availableData)
68 | }
/host/spi-builder-workspace/Sources/spm/ProcessRunner.swift:69:40: error: value of type 'FileHandle' has no member 'readabilityHandler'
67 | outputBuffer.append(handle.availableData)
68 | }
69 | errorPipe.fileHandleForReading.readabilityHandler = { handle in
| `- error: value of type 'FileHandle' has no member 'readabilityHandler'
70 | errorBuffer.append(handle.availableData)
71 | }
/host/spi-builder-workspace/Sources/spm/ProcessRunner.swift:69:63: error: cannot infer type of closure parameter 'handle' without a type annotation
67 | outputBuffer.append(handle.availableData)
68 | }
69 | errorPipe.fileHandleForReading.readabilityHandler = { handle in
| `- error: cannot infer type of closure parameter 'handle' without a type annotation
70 | errorBuffer.append(handle.availableData)
71 | }
/host/spi-builder-workspace/Sources/spm/ProcessRunner.swift:81:29: error: value of type 'RunLoop' has no member 'run'
79 | let deadline = Date().addingTimeInterval(timeout)
80 | while process.isRunning && Date() < deadline {
81 | RunLoop.current.run(until: Date().addingTimeInterval(0.01))
| `- error: value of type 'RunLoop' has no member 'run'
82 | }
83 |
/host/spi-builder-workspace/Sources/spm/ProcessRunner.swift:87:45: error: value of type 'FileHandle' has no member 'readabilityHandler'
85 | process.terminate()
86 | process.waitUntilExit()
87 | outputPipe.fileHandleForReading.readabilityHandler = nil
| `- error: value of type 'FileHandle' has no member 'readabilityHandler'
88 | errorPipe.fileHandleForReading.readabilityHandler = nil
89 | throw SPMCommandError.failure(
/host/spi-builder-workspace/Sources/spm/ProcessRunner.swift:88:44: error: value of type 'FileHandle' has no member 'readabilityHandler'
86 | process.waitUntilExit()
87 | outputPipe.fileHandleForReading.readabilityHandler = nil
88 | errorPipe.fileHandleForReading.readabilityHandler = nil
| `- error: value of type 'FileHandle' has no member 'readabilityHandler'
89 | throw SPMCommandError.failure(
90 | "Command timed out after \(Int(timeout)) seconds: \(executable)",
/host/spi-builder-workspace/Sources/spm/ProcessRunner.swift:95:41: error: value of type 'FileHandle' has no member 'readabilityHandler'
93 | }
94 |
95 | outputPipe.fileHandleForReading.readabilityHandler = nil
| `- error: value of type 'FileHandle' has no member 'readabilityHandler'
96 | errorPipe.fileHandleForReading.readabilityHandler = nil
97 | outputBuffer.append(outputPipe.fileHandleForReading.readDataToEndOfFile())
/host/spi-builder-workspace/Sources/spm/ProcessRunner.swift:96:40: error: value of type 'FileHandle' has no member 'readabilityHandler'
94 |
95 | outputPipe.fileHandleForReading.readabilityHandler = nil
96 | errorPipe.fileHandleForReading.readabilityHandler = nil
| `- error: value of type 'FileHandle' has no member 'readabilityHandler'
97 | outputBuffer.append(outputPipe.fileHandleForReading.readDataToEndOfFile())
98 | errorBuffer.append(errorPipe.fileHandleForReading.readDataToEndOfFile())
[11/67] Compiling SPMCore SPMOutput.swift
/host/spi-builder-workspace/Sources/spm/FileTransaction.swift:45:66: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
43 | "\(change.url.lastPathComponent).backup-\(Int(Date().timeIntervalSince1970))"
44 | )
45 | try originalData.write(to: backup, options: .atomic)
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
46 | backups.append(backup)
47 | }
FoundationEssentials.Data.WritingOptions.atomic:4:23: note: 'atomic' has been explicitly marked unavailable here
2 | struct WritingOptions {
3 | @available(*, unavailable, message: "atomic writing is unavailable in WASI because temporary files are not supported")
4 | public static let atomic: Data.WritingOptions }
| `- note: 'atomic' has been explicitly marked unavailable here
5 | }
6 |
/host/spi-builder-workspace/Sources/spm/FileTransaction.swift:48:65: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
46 | backups.append(backup)
47 | }
48 | try change.data.write(to: change.url, options: .atomic)
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
49 | }
50 | } catch {
FoundationEssentials.Data.WritingOptions.atomic:4:23: note: 'atomic' has been explicitly marked unavailable here
2 | struct WritingOptions {
3 | @available(*, unavailable, message: "atomic writing is unavailable in WASI because temporary files are not supported")
4 | public static let atomic: Data.WritingOptions }
| `- note: 'atomic' has been explicitly marked unavailable here
5 | }
6 |
/host/spi-builder-workspace/Sources/spm/FileTransaction.swift:53:56: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
51 | for (url, data) in originals {
52 | if let data {
53 | try? data.write(to: url, options: .atomic)
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
54 | } else {
55 | try? fileManager.removeItem(at: url)
FoundationEssentials.Data.WritingOptions.atomic:4:23: note: 'atomic' has been explicitly marked unavailable here
2 | struct WritingOptions {
3 | @available(*, unavailable, message: "atomic writing is unavailable in WASI because temporary files are not supported")
4 | public static let atomic: Data.WritingOptions }
| `- note: 'atomic' has been explicitly marked unavailable here
5 | }
6 |
/host/spi-builder-workspace/Sources/spm/ProcessRunner.swift:54:23: error: cannot find 'Process' in scope
52 | timeout: TimeInterval = 120
53 | ) throws -> ProcessResult {
54 | let process = Process()
| `- error: cannot find 'Process' in scope
55 | let outputPipe = Pipe()
56 | let errorPipe = Pipe()
/host/spi-builder-workspace/Sources/spm/ProcessRunner.swift:66:41: error: value of type 'FileHandle' has no member 'readabilityHandler'
64 | process.standardError = errorPipe
65 |
66 | outputPipe.fileHandleForReading.readabilityHandler = { handle in
| `- error: value of type 'FileHandle' has no member 'readabilityHandler'
67 | outputBuffer.append(handle.availableData)
68 | }
/host/spi-builder-workspace/Sources/spm/ProcessRunner.swift:66:64: error: cannot infer type of closure parameter 'handle' without a type annotation
64 | process.standardError = errorPipe
65 |
66 | outputPipe.fileHandleForReading.readabilityHandler = { handle in
| `- error: cannot infer type of closure parameter 'handle' without a type annotation
67 | outputBuffer.append(handle.availableData)
68 | }
/host/spi-builder-workspace/Sources/spm/ProcessRunner.swift:69:40: error: value of type 'FileHandle' has no member 'readabilityHandler'
67 | outputBuffer.append(handle.availableData)
68 | }
69 | errorPipe.fileHandleForReading.readabilityHandler = { handle in
| `- error: value of type 'FileHandle' has no member 'readabilityHandler'
70 | errorBuffer.append(handle.availableData)
71 | }
/host/spi-builder-workspace/Sources/spm/ProcessRunner.swift:69:63: error: cannot infer type of closure parameter 'handle' without a type annotation
67 | outputBuffer.append(handle.availableData)
68 | }
69 | errorPipe.fileHandleForReading.readabilityHandler = { handle in
| `- error: cannot infer type of closure parameter 'handle' without a type annotation
70 | errorBuffer.append(handle.availableData)
71 | }
/host/spi-builder-workspace/Sources/spm/ProcessRunner.swift:81:29: error: value of type 'RunLoop' has no member 'run'
79 | let deadline = Date().addingTimeInterval(timeout)
80 | while process.isRunning && Date() < deadline {
81 | RunLoop.current.run(until: Date().addingTimeInterval(0.01))
| `- error: value of type 'RunLoop' has no member 'run'
82 | }
83 |
/host/spi-builder-workspace/Sources/spm/ProcessRunner.swift:87:45: error: value of type 'FileHandle' has no member 'readabilityHandler'
85 | process.terminate()
86 | process.waitUntilExit()
87 | outputPipe.fileHandleForReading.readabilityHandler = nil
| `- error: value of type 'FileHandle' has no member 'readabilityHandler'
88 | errorPipe.fileHandleForReading.readabilityHandler = nil
89 | throw SPMCommandError.failure(
/host/spi-builder-workspace/Sources/spm/ProcessRunner.swift:88:44: error: value of type 'FileHandle' has no member 'readabilityHandler'
86 | process.waitUntilExit()
87 | outputPipe.fileHandleForReading.readabilityHandler = nil
88 | errorPipe.fileHandleForReading.readabilityHandler = nil
| `- error: value of type 'FileHandle' has no member 'readabilityHandler'
89 | throw SPMCommandError.failure(
90 | "Command timed out after \(Int(timeout)) seconds: \(executable)",
/host/spi-builder-workspace/Sources/spm/ProcessRunner.swift:95:41: error: value of type 'FileHandle' has no member 'readabilityHandler'
93 | }
94 |
95 | outputPipe.fileHandleForReading.readabilityHandler = nil
| `- error: value of type 'FileHandle' has no member 'readabilityHandler'
96 | errorPipe.fileHandleForReading.readabilityHandler = nil
97 | outputBuffer.append(outputPipe.fileHandleForReading.readDataToEndOfFile())
/host/spi-builder-workspace/Sources/spm/ProcessRunner.swift:96:40: error: value of type 'FileHandle' has no member 'readabilityHandler'
94 |
95 | outputPipe.fileHandleForReading.readabilityHandler = nil
96 | errorPipe.fileHandleForReading.readabilityHandler = nil
| `- error: value of type 'FileHandle' has no member 'readabilityHandler'
97 | outputBuffer.append(outputPipe.fileHandleForReading.readDataToEndOfFile())
98 | errorBuffer.append(errorPipe.fileHandleForReading.readDataToEndOfFile())
[12/67] Compiling SPMCore SPMRuntime.swift
/host/spi-builder-workspace/Sources/spm/FileTransaction.swift:45:66: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
43 | "\(change.url.lastPathComponent).backup-\(Int(Date().timeIntervalSince1970))"
44 | )
45 | try originalData.write(to: backup, options: .atomic)
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
46 | backups.append(backup)
47 | }
FoundationEssentials.Data.WritingOptions.atomic:4:23: note: 'atomic' has been explicitly marked unavailable here
2 | struct WritingOptions {
3 | @available(*, unavailable, message: "atomic writing is unavailable in WASI because temporary files are not supported")
4 | public static let atomic: Data.WritingOptions }
| `- note: 'atomic' has been explicitly marked unavailable here
5 | }
6 |
/host/spi-builder-workspace/Sources/spm/FileTransaction.swift:48:65: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
46 | backups.append(backup)
47 | }
48 | try change.data.write(to: change.url, options: .atomic)
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
49 | }
50 | } catch {
FoundationEssentials.Data.WritingOptions.atomic:4:23: note: 'atomic' has been explicitly marked unavailable here
2 | struct WritingOptions {
3 | @available(*, unavailable, message: "atomic writing is unavailable in WASI because temporary files are not supported")
4 | public static let atomic: Data.WritingOptions }
| `- note: 'atomic' has been explicitly marked unavailable here
5 | }
6 |
/host/spi-builder-workspace/Sources/spm/FileTransaction.swift:53:56: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
51 | for (url, data) in originals {
52 | if let data {
53 | try? data.write(to: url, options: .atomic)
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
54 | } else {
55 | try? fileManager.removeItem(at: url)
FoundationEssentials.Data.WritingOptions.atomic:4:23: note: 'atomic' has been explicitly marked unavailable here
2 | struct WritingOptions {
3 | @available(*, unavailable, message: "atomic writing is unavailable in WASI because temporary files are not supported")
4 | public static let atomic: Data.WritingOptions }
| `- note: 'atomic' has been explicitly marked unavailable here
5 | }
6 |
/host/spi-builder-workspace/Sources/spm/ProcessRunner.swift:54:23: error: cannot find 'Process' in scope
52 | timeout: TimeInterval = 120
53 | ) throws -> ProcessResult {
54 | let process = Process()
| `- error: cannot find 'Process' in scope
55 | let outputPipe = Pipe()
56 | let errorPipe = Pipe()
/host/spi-builder-workspace/Sources/spm/ProcessRunner.swift:66:41: error: value of type 'FileHandle' has no member 'readabilityHandler'
64 | process.standardError = errorPipe
65 |
66 | outputPipe.fileHandleForReading.readabilityHandler = { handle in
| `- error: value of type 'FileHandle' has no member 'readabilityHandler'
67 | outputBuffer.append(handle.availableData)
68 | }
/host/spi-builder-workspace/Sources/spm/ProcessRunner.swift:66:64: error: cannot infer type of closure parameter 'handle' without a type annotation
64 | process.standardError = errorPipe
65 |
66 | outputPipe.fileHandleForReading.readabilityHandler = { handle in
| `- error: cannot infer type of closure parameter 'handle' without a type annotation
67 | outputBuffer.append(handle.availableData)
68 | }
/host/spi-builder-workspace/Sources/spm/ProcessRunner.swift:69:40: error: value of type 'FileHandle' has no member 'readabilityHandler'
67 | outputBuffer.append(handle.availableData)
68 | }
69 | errorPipe.fileHandleForReading.readabilityHandler = { handle in
| `- error: value of type 'FileHandle' has no member 'readabilityHandler'
70 | errorBuffer.append(handle.availableData)
71 | }
/host/spi-builder-workspace/Sources/spm/ProcessRunner.swift:69:63: error: cannot infer type of closure parameter 'handle' without a type annotation
67 | outputBuffer.append(handle.availableData)
68 | }
69 | errorPipe.fileHandleForReading.readabilityHandler = { handle in
| `- error: cannot infer type of closure parameter 'handle' without a type annotation
70 | errorBuffer.append(handle.availableData)
71 | }
/host/spi-builder-workspace/Sources/spm/ProcessRunner.swift:81:29: error: value of type 'RunLoop' has no member 'run'
79 | let deadline = Date().addingTimeInterval(timeout)
80 | while process.isRunning && Date() < deadline {
81 | RunLoop.current.run(until: Date().addingTimeInterval(0.01))
| `- error: value of type 'RunLoop' has no member 'run'
82 | }
83 |
/host/spi-builder-workspace/Sources/spm/ProcessRunner.swift:87:45: error: value of type 'FileHandle' has no member 'readabilityHandler'
85 | process.terminate()
86 | process.waitUntilExit()
87 | outputPipe.fileHandleForReading.readabilityHandler = nil
| `- error: value of type 'FileHandle' has no member 'readabilityHandler'
88 | errorPipe.fileHandleForReading.readabilityHandler = nil
89 | throw SPMCommandError.failure(
/host/spi-builder-workspace/Sources/spm/ProcessRunner.swift:88:44: error: value of type 'FileHandle' has no member 'readabilityHandler'
86 | process.waitUntilExit()
87 | outputPipe.fileHandleForReading.readabilityHandler = nil
88 | errorPipe.fileHandleForReading.readabilityHandler = nil
| `- error: value of type 'FileHandle' has no member 'readabilityHandler'
89 | throw SPMCommandError.failure(
90 | "Command timed out after \(Int(timeout)) seconds: \(executable)",
/host/spi-builder-workspace/Sources/spm/ProcessRunner.swift:95:41: error: value of type 'FileHandle' has no member 'readabilityHandler'
93 | }
94 |
95 | outputPipe.fileHandleForReading.readabilityHandler = nil
| `- error: value of type 'FileHandle' has no member 'readabilityHandler'
96 | errorPipe.fileHandleForReading.readabilityHandler = nil
97 | outputBuffer.append(outputPipe.fileHandleForReading.readDataToEndOfFile())
/host/spi-builder-workspace/Sources/spm/ProcessRunner.swift:96:40: error: value of type 'FileHandle' has no member 'readabilityHandler'
94 |
95 | outputPipe.fileHandleForReading.readabilityHandler = nil
96 | errorPipe.fileHandleForReading.readabilityHandler = nil
| `- error: value of type 'FileHandle' has no member 'readabilityHandler'
97 | outputBuffer.append(outputPipe.fileHandleForReading.readDataToEndOfFile())
98 | errorBuffer.append(errorPipe.fileHandleForReading.readDataToEndOfFile())
[13/67] Compiling SPMCore PossibleSwiftPackageProductNames.swift
[14/67] Compiling SPMCore RunXcodePackageInstallerCommand.swift
[15/67] Compiling SPMCore SafeArraySubscript.swift
[16/67] Compiling SPMCore SwiftPackageName.swift
[17/67] Compiling SPMCore SwiftPackageProductDependencyObject.swift
[18/67] Compiling SPMCore UninstallPackage.swift
[19/67] Compiling SPMCore XcodeListBlockRange.swift
[20/67] Compiling SPMCore XcodeObjectComment.swift
[21/67] Compiling SPMCore XcodeObjectID.swift
[22/67] Compiling SPMCore XcodeObjectRangeContaining.swift
[23/67] Compiling SPMCore XcodeObjectRangeWithID.swift
[24/67] Compiling SPMCore XcodeObjectRangesContaining.swift
[25/67] Compiling SPMCore XcodePackageInstaller.swift
[26/67] Compiling SPMCore XcodePackageInstallerTypes.swift
[27/67] Compiling SPMCore BuildOptions.swift
[28/67] Compiling SPMCore CommandRunner.swift
[29/67] Compiling SPMCore CompileExecutable.swift
[30/67] Compiling SPMCore CompletionCommand.swift
[31/67] Compiling SPMCore Configuration.swift
[32/67] Compiling SPMCore ConfigurationValidation.swift
[33/67] Compiling SPMCore DoctorCommand.swift
[34/67] Compiling SPMCore DocumentationOptions.swift
[35/67] Compiling SPMCore swiftLint.swift
/host/spi-builder-workspace/Sources/spm/helpers/CLI.swift:218:46: error: cannot find type 'Process' in scope
216 |
217 | /// Runs a process while showing an indeterminate terminal spinner.
218 | static func runProcessWithSpinner(_ process: Process, message: String) throws -> Int32 {
| `- error: cannot find type 'Process' in scope
219 | let frames = ["-", "\\", "|", "/"]
220 | let state = CLIProgressState()
/host/spi-builder-workspace/Sources/spm/helpers/CLI.swift:228:5: error: cannot find 'DispatchQueue' in scope
226 | }
227 |
228 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot find 'DispatchQueue' in scope
229 | var frameIndex = 0
230 | while true {
/host/spi-builder-workspace/Sources/spm/helpers/CLI.swift:241:13: error: cannot find 'Thread' in scope
239 | printC("\(frames[frameIndex % frames.count]) \(message)", terminator: "\r")
240 | frameIndex += 1
241 | Thread.sleep(forTimeInterval: 0.12)
| `- error: cannot find 'Thread' in scope
242 | }
243 | }
/host/spi-builder-workspace/Sources/spm/helpers/CLI.swift:228:32: error: cannot infer contextual base in reference to member 'userInitiated'
226 | }
227 |
228 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot infer contextual base in reference to member 'userInitiated'
229 | var frameIndex = 0
230 | while true {
[36/67] Compiling SPMCore CLI.swift
/host/spi-builder-workspace/Sources/spm/helpers/CLI.swift:218:46: error: cannot find type 'Process' in scope
216 |
217 | /// Runs a process while showing an indeterminate terminal spinner.
218 | static func runProcessWithSpinner(_ process: Process, message: String) throws -> Int32 {
| `- error: cannot find type 'Process' in scope
219 | let frames = ["-", "\\", "|", "/"]
220 | let state = CLIProgressState()
/host/spi-builder-workspace/Sources/spm/helpers/CLI.swift:228:5: error: cannot find 'DispatchQueue' in scope
226 | }
227 |
228 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot find 'DispatchQueue' in scope
229 | var frameIndex = 0
230 | while true {
/host/spi-builder-workspace/Sources/spm/helpers/CLI.swift:241:13: error: cannot find 'Thread' in scope
239 | printC("\(frames[frameIndex % frames.count]) \(message)", terminator: "\r")
240 | frameIndex += 1
241 | Thread.sleep(forTimeInterval: 0.12)
| `- error: cannot find 'Thread' in scope
242 | }
243 | }
/host/spi-builder-workspace/Sources/spm/helpers/CLI.swift:228:32: error: cannot infer contextual base in reference to member 'userInitiated'
226 | }
227 |
228 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot infer contextual base in reference to member 'userInitiated'
229 | var frameIndex = 0
230 | while true {
[37/67] Compiling SPMCore AddPackageProductToTarget.swift
/host/spi-builder-workspace/Sources/spm/helpers/CLI.swift:218:46: error: cannot find type 'Process' in scope
216 |
217 | /// Runs a process while showing an indeterminate terminal spinner.
218 | static func runProcessWithSpinner(_ process: Process, message: String) throws -> Int32 {
| `- error: cannot find type 'Process' in scope
219 | let frames = ["-", "\\", "|", "/"]
220 | let state = CLIProgressState()
/host/spi-builder-workspace/Sources/spm/helpers/CLI.swift:228:5: error: cannot find 'DispatchQueue' in scope
226 | }
227 |
228 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot find 'DispatchQueue' in scope
229 | var frameIndex = 0
230 | while true {
/host/spi-builder-workspace/Sources/spm/helpers/CLI.swift:241:13: error: cannot find 'Thread' in scope
239 | printC("\(frames[frameIndex % frames.count]) \(message)", terminator: "\r")
240 | frameIndex += 1
241 | Thread.sleep(forTimeInterval: 0.12)
| `- error: cannot find 'Thread' in scope
242 | }
243 | }
/host/spi-builder-workspace/Sources/spm/helpers/CLI.swift:228:32: error: cannot infer contextual base in reference to member 'userInitiated'
226 | }
227 |
228 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot infer contextual base in reference to member 'userInitiated'
229 | var frameIndex = 0
230 | while true {
[38/67] Compiling SPMCore AddPackageReferenceListEntry.swift
/host/spi-builder-workspace/Sources/spm/helpers/CLI.swift:218:46: error: cannot find type 'Process' in scope
216 |
217 | /// Runs a process while showing an indeterminate terminal spinner.
218 | static func runProcessWithSpinner(_ process: Process, message: String) throws -> Int32 {
| `- error: cannot find type 'Process' in scope
219 | let frames = ["-", "\\", "|", "/"]
220 | let state = CLIProgressState()
/host/spi-builder-workspace/Sources/spm/helpers/CLI.swift:228:5: error: cannot find 'DispatchQueue' in scope
226 | }
227 |
228 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot find 'DispatchQueue' in scope
229 | var frameIndex = 0
230 | while true {
/host/spi-builder-workspace/Sources/spm/helpers/CLI.swift:241:13: error: cannot find 'Thread' in scope
239 | printC("\(frames[frameIndex % frames.count]) \(message)", terminator: "\r")
240 | frameIndex += 1
241 | Thread.sleep(forTimeInterval: 0.12)
| `- error: cannot find 'Thread' in scope
242 | }
243 | }
/host/spi-builder-workspace/Sources/spm/helpers/CLI.swift:228:32: error: cannot infer contextual base in reference to member 'userInitiated'
226 | }
227 |
228 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot infer contextual base in reference to member 'userInitiated'
229 | var frameIndex = 0
230 | while true {
[39/67] Compiling SPMCore AddXcodeListEntry.swift
/host/spi-builder-workspace/Sources/spm/helpers/CLI.swift:218:46: error: cannot find type 'Process' in scope
216 |
217 | /// Runs a process while showing an indeterminate terminal spinner.
218 | static func runProcessWithSpinner(_ process: Process, message: String) throws -> Int32 {
| `- error: cannot find type 'Process' in scope
219 | let frames = ["-", "\\", "|", "/"]
220 | let state = CLIProgressState()
/host/spi-builder-workspace/Sources/spm/helpers/CLI.swift:228:5: error: cannot find 'DispatchQueue' in scope
226 | }
227 |
228 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot find 'DispatchQueue' in scope
229 | var frameIndex = 0
230 | while true {
/host/spi-builder-workspace/Sources/spm/helpers/CLI.swift:241:13: error: cannot find 'Thread' in scope
239 | printC("\(frames[frameIndex % frames.count]) \(message)", terminator: "\r")
240 | frameIndex += 1
241 | Thread.sleep(forTimeInterval: 0.12)
| `- error: cannot find 'Thread' in scope
242 | }
243 | }
/host/spi-builder-workspace/Sources/spm/helpers/CLI.swift:228:32: error: cannot infer contextual base in reference to member 'userInitiated'
226 | }
227 |
228 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot infer contextual base in reference to member 'userInitiated'
229 | var frameIndex = 0
230 | while true {
[40/67] Compiling SPMCore BuildFileObject.swift
/host/spi-builder-workspace/Sources/spm/helpers/CLI.swift:218:46: error: cannot find type 'Process' in scope
216 |
217 | /// Runs a process while showing an indeterminate terminal spinner.
218 | static func runProcessWithSpinner(_ process: Process, message: String) throws -> Int32 {
| `- error: cannot find type 'Process' in scope
219 | let frames = ["-", "\\", "|", "/"]
220 | let state = CLIProgressState()
/host/spi-builder-workspace/Sources/spm/helpers/CLI.swift:228:5: error: cannot find 'DispatchQueue' in scope
226 | }
227 |
228 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot find 'DispatchQueue' in scope
229 | var frameIndex = 0
230 | while true {
/host/spi-builder-workspace/Sources/spm/helpers/CLI.swift:241:13: error: cannot find 'Thread' in scope
239 | printC("\(frames[frameIndex % frames.count]) \(message)", terminator: "\r")
240 | frameIndex += 1
241 | Thread.sleep(forTimeInterval: 0.12)
| `- error: cannot find 'Thread' in scope
242 | }
243 | }
/host/spi-builder-workspace/Sources/spm/helpers/CLI.swift:228:32: error: cannot infer contextual base in reference to member 'userInitiated'
226 | }
227 |
228 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot infer contextual base in reference to member 'userInitiated'
229 | var frameIndex = 0
230 | while true {
[41/67] Compiling SPMCore DefaultBranch.swift
/host/spi-builder-workspace/Sources/spm/helpers/CLI.swift:218:46: error: cannot find type 'Process' in scope
216 |
217 | /// Runs a process while showing an indeterminate terminal spinner.
218 | static func runProcessWithSpinner(_ process: Process, message: String) throws -> Int32 {
| `- error: cannot find type 'Process' in scope
219 | let frames = ["-", "\\", "|", "/"]
220 | let state = CLIProgressState()
/host/spi-builder-workspace/Sources/spm/helpers/CLI.swift:228:5: error: cannot find 'DispatchQueue' in scope
226 | }
227 |
228 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot find 'DispatchQueue' in scope
229 | var frameIndex = 0
230 | while true {
/host/spi-builder-workspace/Sources/spm/helpers/CLI.swift:241:13: error: cannot find 'Thread' in scope
239 | printC("\(frames[frameIndex % frames.count]) \(message)", terminator: "\r")
240 | frameIndex += 1
241 | Thread.sleep(forTimeInterval: 0.12)
| `- error: cannot find 'Thread' in scope
242 | }
243 | }
/host/spi-builder-workspace/Sources/spm/helpers/CLI.swift:228:32: error: cannot infer contextual base in reference to member 'userInitiated'
226 | }
227 |
228 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot infer contextual base in reference to member 'userInitiated'
229 | var frameIndex = 0
230 | while true {
[42/67] Compiling SPMCore ExistingBuildFileID.swift
[43/67] Compiling SPMCore ExistingPackageReferenceID.swift
[44/67] Compiling SPMCore ExistingProductDependencyID.swift
[45/67] Compiling SPMCore FindXcodeProject.swift
[46/67] Compiling SPMCore InsertPackageReferenceObject.swift
[47/67] Compiling SPMCore InsertXcodeObject.swift
[48/67] Compiling SPMCore LibraryProducts.swift
[49/67] Compiling SPMCore MakeXcodeObjectID.swift
[50/67] Compiling SPMCore NativeTargets.swift
[51/67] Compiling SPMCore NormalizedSwiftPackageURL.swift
[52/67] Compiling SPMCore PackageReferenceObject.swift
[53/67] Compiling SPMCore PackageReferenceSection.swift
[54/67] Compiling SPMCore PackageRequirement.swift
[55/67] Compiling SPMCore ParseXcodePackageSemanticVersion.swift
[56/67] Compiling SPMCore SPMVersion.swift
[57/67] Compiling SPMCore StringHelpers.swift
[58/67] Compiling SPMCore TextDiff.swift
[59/67] Compiling SPMCore editorConfig.swift
[60/67] Compiling SPMCore gitIgnore.swift
[61/67] Compiling SPMCore header.swift
[62/67] Compiling SPMCore mitLicense.swift
[63/67] Compiling SPMCore readme.swift
BUILD FAILURE 6.3 wasm