Build Information
Failed to build XPkg, reference v2.3.0 (792276
), with Swift 6.1 for Wasm on 28 May 2025 08:54:02 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-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/elegantchaos/Xpkg.git
Reference: v2.3.0
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/elegantchaos/Xpkg
* tag v2.3.0 -> FETCH_HEAD
HEAD is now at 7922766 added xg-edit and xg-show
Cloned https://github.com/elegantchaos/Xpkg.git
Revision (git rev-parse @):
792276640ce0bdf91872e63888fd3ada22f783d2
SUCCESS checkout https://github.com/elegantchaos/Xpkg.git at v2.3.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/elegantchaos/Xpkg.git
https://github.com/elegantchaos/Xpkg.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "commandshell",
"requirement" : {
"range" : [
{
"lower_bound" : "2.1.5",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/elegantchaos/CommandShell.git"
},
{
"identity" : "expressions",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/elegantchaos/Expressions.git"
},
{
"identity" : "files",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.2",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/elegantchaos/Files.git"
},
{
"identity" : "logger",
"requirement" : {
"range" : [
{
"lower_bound" : "1.8.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/elegantchaos/Logger.git"
},
{
"identity" : "runner",
"requirement" : {
"range" : [
{
"lower_bound" : "1.3.2",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/elegantchaos/Runner.git"
},
{
"identity" : "semanticversion",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/elegantchaos/SemanticVersion.git"
},
{
"identity" : "xpkgpackage",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/elegantchaos/XPkgPackage.git"
},
{
"identity" : "versionator",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.3",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/elegantchaos/Versionator.git"
}
],
"manifest_display_name" : "XPkg",
"name" : "XPkg",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.13"
}
],
"products" : [
{
"name" : "xpkg",
"targets" : [
"XPkgCommand"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "XPkgTests",
"module_type" : "SwiftTarget",
"name" : "XPkgTests",
"path" : "Tests/XPkgTests",
"sources" : [
"XCTestManifests.swift",
"XPkgTests.swift"
],
"target_dependencies" : [
"XPkgCore"
],
"type" : "test"
},
{
"c99name" : "XPkgCore",
"module_type" : "SwiftTarget",
"name" : "XPkgCore",
"path" : "Sources/XPkgCore",
"product_dependencies" : [
"CommandShell",
"Expressions",
"Files",
"Logger",
"Runner",
"SemanticVersion",
"XPkgPackage"
],
"product_memberships" : [
"xpkg"
],
"sources" : [
"Commands/CheckCommand.swift",
"Commands/InitCommand.swift",
"Commands/InstallCommand.swift",
"Commands/LinkCommand.swift",
"Commands/ListCommand.swift",
"Commands/PathCommand.swift",
"Commands/RebuildCommand.swift",
"Commands/ReinstallCommand.swift",
"Commands/RemoveCommand.swift",
"Commands/RenameCommand.swift",
"Commands/RepairCommand.swift",
"Commands/RevealCommand.swift",
"Commands/UpdateCommand.swift",
"Engine.swift",
"Failure.swift",
"Package.swift",
"URL+Extensions.swift"
],
"type" : "library"
},
{
"c99name" : "XPkgCommand",
"module_type" : "SwiftTarget",
"name" : "XPkgCommand",
"path" : "Sources/XPkgCommand",
"product_dependencies" : [
"VersionatorPlugin"
],
"product_memberships" : [
"xpkg"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"XPkgCore"
],
"type" : "executable"
}
],
"tools_version" : "5.6"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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/elegantchaos/Runner.git
Fetching https://github.com/elegantchaos/SemanticVersion.git
Fetching https://github.com/elegantchaos/Versionator.git
Fetching https://github.com/elegantchaos/Logger.git
Fetching https://github.com/elegantchaos/Files.git
Fetching https://github.com/elegantchaos/XPkgPackage.git
[1/384] Fetching versionator
[385/1071] Fetching versionator, files
[392/3122] Fetching versionator, files, logger
[2426/3798] Fetching versionator, files, logger, runner
[3799/4027] Fetching versionator, files, logger, runner, xpkgpackage
[4028/4179] Fetching versionator, files, logger, runner, xpkgpackage, semanticversion
[3368/3492] Fetching versionator, logger, runner, xpkgpackage, semanticversion
Fetched https://github.com/elegantchaos/Files.git from cache (0.32s)
Fetching https://github.com/elegantchaos/Expressions.git
Fetched https://github.com/elegantchaos/Runner.git from cache (0.41s)
Fetched https://github.com/elegantchaos/XPkgPackage.git from cache (0.40s)
Fetched https://github.com/elegantchaos/Logger.git from cache (0.41s)
Fetched https://github.com/elegantchaos/SemanticVersion.git from cache (0.41s)
Fetched https://github.com/elegantchaos/Versionator.git from cache (0.41s)
Fetching https://github.com/elegantchaos/CommandShell.git
[1/354] Fetching commandshell
[129/552] Fetching commandshell, expressions
Fetched https://github.com/elegantchaos/CommandShell.git from cache (0.22s)
Fetched https://github.com/elegantchaos/Expressions.git from cache (0.32s)
Computing version for https://github.com/elegantchaos/Versionator.git
Computed https://github.com/elegantchaos/Versionator.git at 1.0.3 (1.34s)
Computing version for https://github.com/elegantchaos/XPkgPackage.git
Computed https://github.com/elegantchaos/XPkgPackage.git at 1.2.0 (1.16s)
Computing version for https://github.com/elegantchaos/Files.git
Computed https://github.com/elegantchaos/Files.git at 1.2.2 (0.66s)
Fetching https://github.com/elegantchaos/XCTestExtensions.git
[1/571] Fetching xctestextensions
Fetched https://github.com/elegantchaos/XCTestExtensions.git from cache (0.33s)
Computing version for https://github.com/elegantchaos/Expressions.git
Computed https://github.com/elegantchaos/Expressions.git at 1.1.1 (2.24s)
Computing version for https://github.com/elegantchaos/CommandShell.git
Computed https://github.com/elegantchaos/CommandShell.git at 2.1.5 (0.59s)
Fetching https://github.com/apple/swift-argument-parser
[1/15351] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.45s)
Computing version for https://github.com/elegantchaos/SemanticVersion.git
Computed https://github.com/elegantchaos/SemanticVersion.git at 1.1.2 (2.09s)
Computing version for https://github.com/elegantchaos/Runner.git
Computed https://github.com/elegantchaos/Runner.git at 1.3.3 (0.59s)
Computing version for https://github.com/elegantchaos/Logger.git
Computed https://github.com/elegantchaos/Logger.git at 1.8.2 (0.59s)
Computing version for https://github.com/elegantchaos/XCTestExtensions.git
Computed https://github.com/elegantchaos/XCTestExtensions.git at 1.5.1 (0.90s)
Fetching https://github.com/elegantchaos/Matchable.git
[1/113] Fetching matchable
Fetched https://github.com/elegantchaos/Matchable.git from cache (1.44s)
Computing version for https://github.com/elegantchaos/Matchable.git
Computed https://github.com/elegantchaos/Matchable.git at 1.0.7 (2.19s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.5.0 (0.91s)
Creating working copy for https://github.com/elegantchaos/SemanticVersion.git
Working copy of https://github.com/elegantchaos/SemanticVersion.git resolved at 1.1.2
Creating working copy for https://github.com/elegantchaos/Files.git
Working copy of https://github.com/elegantchaos/Files.git resolved at 1.2.2
Creating working copy for https://github.com/elegantchaos/Expressions.git
Working copy of https://github.com/elegantchaos/Expressions.git resolved at 1.1.1
Creating working copy for https://github.com/elegantchaos/Versionator.git
Working copy of https://github.com/elegantchaos/Versionator.git resolved at 1.0.3
Creating working copy for https://github.com/elegantchaos/XCTestExtensions.git
Working copy of https://github.com/elegantchaos/XCTestExtensions.git resolved at 1.5.1
Creating working copy for https://github.com/elegantchaos/Matchable.git
Working copy of https://github.com/elegantchaos/Matchable.git resolved at 1.0.7
Creating working copy for https://github.com/elegantchaos/Logger.git
Working copy of https://github.com/elegantchaos/Logger.git resolved at 1.8.2
Creating working copy for https://github.com/elegantchaos/CommandShell.git
Working copy of https://github.com/elegantchaos/CommandShell.git resolved at 2.1.5
Creating working copy for https://github.com/elegantchaos/Runner.git
Working copy of https://github.com/elegantchaos/Runner.git resolved at 1.3.3
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 0.5.0
Creating working copy for https://github.com/elegantchaos/XPkgPackage.git
Working copy of https://github.com/elegantchaos/XPkgPackage.git resolved at 1.2.0
[0/7] Write sources
[2/7] Write swift-version-24593BA9C3E375BF.txt
[4/9] Emitting module Runner
[5/9] Compiling Runner Runner.swift
[6/10] Wrapping AST for Runner for debugging
[8/12] Emitting module VersionatorTool
[9/12] Compiling VersionatorTool VersionatorTool.swift
[10/13] Wrapping AST for VersionatorTool for debugging
[11/13] Write Objects.LinkFileList
[12/13] Linking VersionatorTool-tool
[1/1] Compiling plugin VersionatorPlugin
Building for debugging...
[1/33] Write sources
[13/33] Write swift-version-24593BA9C3E375BF.txt
[15/70] Emitting module Runner
[17/71] Emitting module ArgumentParserToolInfo
[17/71] Wrapping AST for Runner for debugging
[19/72] Emitting module VersionatorTool
[20/73] Wrapping AST for VersionatorTool for debugging
[21/73] Write Objects.LinkFileList
[22/73] Linking VersionatorTool-tool
[23/73] Calculating Version
[24/73] Write sources
error: emit-module command failed with exit code 1 (use -v to see invocation)
[26/73] Emitting module Files
/host/spi-builder-workspace/.build/checkouts/Files/Sources/Files/Throwing/ThrowingManager.swift:39:1: error: type 'ThrowingManager' does not conform to protocol 'Equatable'
7 |
8 | public struct ThrowingManager: FolderManager {
9 | public let manager: FileManager
| `- note: stored property type 'FileManager' does not conform to protocol 'Equatable', preventing synthesized conformance of 'ThrowingManager' to 'Equatable'
10 | public typealias FileType = ThrowingFile
11 | public typealias FolderType = ThrowingFolder
:
37 | }
38 |
39 | extension ThrowingManager: Equatable {
| |- error: type 'ThrowingManager' does not conform to protocol 'Equatable'
| `- note: add stubs for conformance
40 |
41 | }
Swift.==:1:24: note: candidate would match if 'ThrowingManager' conformed to 'RawRepresentable'
1 | @inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
| `- note: candidate would match if 'ThrowingManager' conformed to 'RawRepresentable'
Swift.FloatingPoint.==:2:20: note: candidate would match if 'ThrowingManager' conformed to 'FloatingPoint'
1 | protocol FloatingPoint {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'ThrowingManager' conformed to 'FloatingPoint'
3 |
Swift.BinaryInteger.==:2:20: note: candidate would match if 'ThrowingManager' conformed to 'BinaryInteger'
1 | protocol BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
| `- note: candidate would match if 'ThrowingManager' conformed to 'BinaryInteger'
3 |
Swift._Pointer.==:2:20: note: candidate would match if 'ThrowingManager' conformed to '_Pointer'
1 | protocol _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'ThrowingManager' conformed to '_Pointer'
3 |
Swift._Pointer.==:2:31: note: candidate would match if 'ThrowingManager' conformed to '_Pointer'
1 | protocol _Pointer {
2 | @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer}
| `- note: candidate would match if 'ThrowingManager' conformed to '_Pointer'
3 |
Swift.Strideable.==:2:31: note: candidate would match if 'ThrowingManager' conformed to 'Strideable'
1 | protocol Strideable {
2 | @inlinable public static func == (x: Self, y: Self) -> Bool}
| `- note: candidate would match if 'ThrowingManager' conformed to 'Strideable'
3 |
Swift.StringProtocol.==:2:31: note: candidate would match if 'ThrowingManager' conformed to 'StringProtocol'
1 | protocol StringProtocol {
2 | @inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol}
| `- note: candidate would match if 'ThrowingManager' conformed to 'StringProtocol'
3 |
Swift.SIMD.==:2:20: note: candidate would match if 'ThrowingManager' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func == (a: Self, b: Self) -> Bool}
| `- note: candidate would match if 'ThrowingManager' conformed to 'SIMD'
3 |
Foundation.__BridgedNSError.==:2:20: note: candidate would match if 'ThrowingManager' conformed to '__BridgedNSError'
1 | protocol __BridgedNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'ThrowingManager' conformed to '__BridgedNSError'
3 |
Foundation._BridgedStoredNSError.==:2:20: note: candidate would match if 'ThrowingManager' conformed to '_BridgedStoredNSError'
1 | protocol _BridgedStoredNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'ThrowingManager' conformed to '_BridgedStoredNSError'
3 |
FoundationEssentials.AttributedStringProtocol.==:2:20: note: candidate would match if 'ThrowingManager' conformed to 'AttributedStringProtocol'
1 | protocol AttributedStringProtocol {
2 | public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol}
| `- note: candidate would match if 'ThrowingManager' conformed to 'AttributedStringProtocol'
3 |
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(ThrowingManager, ThrowingManager) -> Bool'
1 | protocol Equatable {
2 | static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: protocol requires function '==' with type '(ThrowingManager, ThrowingManager) -> Bool'
3 |
[27/75] Compiling ArgumentParserToolInfo ToolInfo.swift
[29/76] Compiling SemanticVersion SemanticVersion.swift
[30/76] Compiling Logger PrintHandler.swift
[31/76] Compiling Logger OSLogHandler.swift
[32/77] Compiling Logger NSLogHandler.swift
[32/77] Wrapping AST for ArgumentParserToolInfo for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[34/111] Emitting module ArgumentParser
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
59 |
60 | /// An exit code that indicates successful completion of a command.
61 | public static let success = ExitCode(EXIT_SUCCESS)
| `- error: cannot find 'EXIT_SUCCESS' in scope
62 |
63 | /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:64:40: error: cannot find 'EXIT_FAILURE' in scope
62 |
63 | /// An exit code that indicates that the command failed.
64 | public static let failure = ExitCode(EXIT_FAILURE)
| `- error: cannot find 'EXIT_FAILURE' in scope
65 |
66 | /// An exit code that indicates that the user provided invalid input.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
68 | public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
69 | #else
70 | public static let validationFailure = ExitCode(EX_USAGE)
| `- error: cannot find 'EX_USAGE' in scope
71 | #endif
72 |
[35/111] Compiling ArgumentParser BashCompletionsGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Completions/CompletionsGenerator.swift:49:26: error: cannot find 'getenv' in scope
47 | #else
48 | // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
49 | guard let shellVar = getenv("SHELL") else { return nil }
| `- error: cannot find 'getenv' in scope
50 | let shellParts = String(cString: shellVar).split(separator: "/")
51 | return CompletionShell(rawValue: String(shellParts.last ?? ""))
[36/111] Compiling ArgumentParser CompletionsGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Completions/CompletionsGenerator.swift:49:26: error: cannot find 'getenv' in scope
47 | #else
48 | // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
49 | guard let shellVar = getenv("SHELL") else { return nil }
| `- error: cannot find 'getenv' in scope
50 | let shellParts = String(cString: shellVar).split(separator: "/")
51 | return CompletionShell(rawValue: String(shellParts.last ?? ""))
[37/111] Compiling ArgumentParser FishCompletionsGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Completions/CompletionsGenerator.swift:49:26: error: cannot find 'getenv' in scope
47 | #else
48 | // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
49 | guard let shellVar = getenv("SHELL") else { return nil }
| `- error: cannot find 'getenv' in scope
50 | let shellParts = String(cString: shellVar).split(separator: "/")
51 | return CompletionShell(rawValue: String(shellParts.last ?? ""))
[38/111] Compiling ArgumentParser ZshCompletionsGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Completions/CompletionsGenerator.swift:49:26: error: cannot find 'getenv' in scope
47 | #else
48 | // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
49 | guard let shellVar = getenv("SHELL") else { return nil }
| `- error: cannot find 'getenv' in scope
50 | let shellParts = String(cString: shellVar).split(separator: "/")
51 | return CompletionShell(rawValue: String(shellParts.last ?? ""))
[39/111] Compiling ArgumentParser Argument.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Completions/CompletionsGenerator.swift:49:26: error: cannot find 'getenv' in scope
47 | #else
48 | // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
49 | guard let shellVar = getenv("SHELL") else { return nil }
| `- error: cannot find 'getenv' in scope
50 | let shellParts = String(cString: shellVar).split(separator: "/")
51 | return CompletionShell(rawValue: String(shellParts.last ?? ""))
[40/115] Compiling Logger ManagerSettings.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[41/115] Emitting module Runner
/host/spi-builder-workspace/.build/checkouts/Runner/Sources/Runner/Runner.swift:12:16: error: cannot find type 'DispatchQueue' in scope
10 | public typealias PipeCallback = (String) -> Void
11 |
12 | let queue: DispatchQueue
| `- error: cannot find type 'DispatchQueue' in scope
13 | var environment: [String:String]
14 | let executable: URL
/host/spi-builder-workspace/.build/checkouts/Runner/Sources/Runner/Runner.swift:90:20: error: cannot find type 'DispatchQueue' in scope
88 |
89 | let pipe: Pipe
90 | let queue: DispatchQueue
| `- error: cannot find type 'DispatchQueue' in scope
91 | var callback: PipeCallback
92 | var handle: FileHandle?
/host/spi-builder-workspace/.build/checkouts/Runner/Sources/Runner/Runner.swift:96:55: error: cannot find type 'DispatchQueue' in scope
94 | var buffer: Buffer
95 |
96 | init(tee teeHandle: FileHandle? = nil, queue: DispatchQueue, callback: PipeCallback? = nil) {
| `- error: cannot find type 'DispatchQueue' in scope
97 | let buffer = Buffer()
98 |
/host/spi-builder-workspace/.build/checkouts/Runner/Sources/Runner/Runner.swift:167:22: error: cannot find type 'Process' in scope
165 | let stdout: PipeInfo?
166 | let stderr: PipeInfo?
167 | let process: Process
| `- error: cannot find type 'Process' in scope
168 | }
169 |
[42/115] Compiling Runner Runner.swift
/host/spi-builder-workspace/.build/checkouts/Runner/Sources/Runner/Runner.swift:12:16: error: cannot find type 'DispatchQueue' in scope
10 | public typealias PipeCallback = (String) -> Void
11 |
12 | let queue: DispatchQueue
| `- error: cannot find type 'DispatchQueue' in scope
13 | var environment: [String:String]
14 | let executable: URL
/host/spi-builder-workspace/.build/checkouts/Runner/Sources/Runner/Runner.swift:90:20: error: cannot find type 'DispatchQueue' in scope
88 |
89 | let pipe: Pipe
90 | let queue: DispatchQueue
| `- error: cannot find type 'DispatchQueue' in scope
91 | var callback: PipeCallback
92 | var handle: FileHandle?
/host/spi-builder-workspace/.build/checkouts/Runner/Sources/Runner/Runner.swift:96:55: error: cannot find type 'DispatchQueue' in scope
94 | var buffer: Buffer
95 |
96 | init(tee teeHandle: FileHandle? = nil, queue: DispatchQueue, callback: PipeCallback? = nil) {
| `- error: cannot find type 'DispatchQueue' in scope
97 | let buffer = Buffer()
98 |
/host/spi-builder-workspace/.build/checkouts/Runner/Sources/Runner/Runner.swift:167:22: error: cannot find type 'Process' in scope
165 | let stdout: PipeInfo?
166 | let stderr: PipeInfo?
167 | let process: Process
| `- error: cannot find type 'Process' in scope
168 | }
169 |
/host/spi-builder-workspace/.build/checkouts/Runner/Sources/Runner/Runner.swift:44:22: error: cannot find 'DispatchQueue' in scope
42 | self.environment = environment
43 | self.cwd = cwd
44 | self.queue = DispatchQueue(label: "runner.\(executable.lastPathComponent)")
| `- error: cannot find 'DispatchQueue' in scope
45 | }
46 |
/host/spi-builder-workspace/.build/checkouts/Runner/Sources/Runner/Runner.swift:56:22: error: cannot find 'DispatchQueue' in scope
54 | self.environment = environment
55 | self.cwd = cwd
56 | self.queue = DispatchQueue(label: "runner.\(command)")
| `- error: cannot find 'DispatchQueue' in scope
57 | }
58 |
/host/spi-builder-workspace/.build/checkouts/Runner/Sources/Runner/Runner.swift:65:23: error: cannot find 'Process' in scope
63 |
64 | public func exec(arguments: [String] = []) -> Never {
65 | let process = Process()
| `- error: cannot find 'Process' in scope
66 | if let cwd = cwd {
67 | process.currentDirectoryURL = cwd
/host/spi-builder-workspace/.build/checkouts/Runner/Sources/Runner/Runner.swift:106:21: error: value of type 'FileHandle' has no member 'readabilityHandler'
104 | self.callback = callback ?? { buffer.text.append($0) }
105 |
106 | handle?.readabilityHandler = { handle in
| `- error: value of type 'FileHandle' has no member 'readabilityHandler'
107 | let data = handle.availableData
108 | queue.async {
/host/spi-builder-workspace/.build/checkouts/Runner/Sources/Runner/Runner.swift:106:44: error: cannot infer type of closure parameter 'handle' without a type annotation
104 | self.callback = callback ?? { buffer.text.append($0) }
105 |
106 | handle?.readabilityHandler = { handle in
| `- error: cannot infer type of closure parameter 'handle' without a type annotation
107 | let data = handle.availableData
108 | queue.async {
/host/spi-builder-workspace/.build/checkouts/Runner/Sources/Runner/Runner.swift:118:28: error: value of type 'FileHandle' has no member 'readabilityHandler'
116 | queue.async {
117 | let data = handle.readDataToEndOfFile()
118 | handle.readabilityHandler = nil
| `- error: value of type 'FileHandle' has no member 'readabilityHandler'
119 | self.write(data: data)
120 | }
/host/spi-builder-workspace/.build/checkouts/Runner/Sources/Runner/Runner.swift:147:23: error: cannot find 'Process' in scope
145 |
146 | public func sync(arguments: [String] = [], stdoutMode: Mode = .capture, stderrMode: Mode = .capture) throws -> Result {
147 | let process = Process()
| `- error: cannot find 'Process' in scope
148 | if let cwd = cwd {
149 | process.currentDirectoryURL = cwd
/host/spi-builder-workspace/.build/checkouts/Runner/Sources/Runner/Runner.swift:177:23: error: cannot find 'Process' in scope
175 | public func async(arguments: [String] = [], stdoutMode: Mode = .capture, stderrMode: Mode = .capture) throws -> RunningProcess {
176 |
177 | let process = Process()
| `- error: cannot find 'Process' in scope
178 | if let cwd = cwd {
179 | process.currentDirectoryURL = cwd
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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/5] Write swift-version-24593BA9C3E375BF.txt
[2/7] Compiling Runner Runner.swift
[3/7] Emitting module Runner
[4/8] Wrapping AST for Runner for debugging
[6/10] Emitting module VersionatorTool
[7/10] Compiling VersionatorTool VersionatorTool.swift
[8/11] Wrapping AST for VersionatorTool for debugging
[9/11] Write Objects.LinkFileList
[10/11] Linking VersionatorTool-tool
[0/1] Planning build
[1/1] Compiling plugin VersionatorPlugin
Building for debugging...
[1/21] Write swift-version-24593BA9C3E375BF.txt
[3/41] Compiling Expressions Substitution.swift
[4/54] Compiling SemanticVersion SemanticVersion.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/58] Emitting module Runner
/host/spi-builder-workspace/.build/checkouts/Runner/Sources/Runner/Runner.swift:12:16: error: cannot find type 'DispatchQueue' in scope
10 | public typealias PipeCallback = (String) -> Void
11 |
12 | let queue: DispatchQueue
| `- error: cannot find type 'DispatchQueue' in scope
13 | var environment: [String:String]
14 | let executable: URL
/host/spi-builder-workspace/.build/checkouts/Runner/Sources/Runner/Runner.swift:90:20: error: cannot find type 'DispatchQueue' in scope
88 |
89 | let pipe: Pipe
90 | let queue: DispatchQueue
| `- error: cannot find type 'DispatchQueue' in scope
91 | var callback: PipeCallback
92 | var handle: FileHandle?
/host/spi-builder-workspace/.build/checkouts/Runner/Sources/Runner/Runner.swift:96:55: error: cannot find type 'DispatchQueue' in scope
94 | var buffer: Buffer
95 |
96 | init(tee teeHandle: FileHandle? = nil, queue: DispatchQueue, callback: PipeCallback? = nil) {
| `- error: cannot find type 'DispatchQueue' in scope
97 | let buffer = Buffer()
98 |
/host/spi-builder-workspace/.build/checkouts/Runner/Sources/Runner/Runner.swift:167:22: error: cannot find type 'Process' in scope
165 | let stdout: PipeInfo?
166 | let stderr: PipeInfo?
167 | let process: Process
| `- error: cannot find type 'Process' in scope
168 | }
169 |
[6/58] Compiling Runner Runner.swift
/host/spi-builder-workspace/.build/checkouts/Runner/Sources/Runner/Runner.swift:12:16: error: cannot find type 'DispatchQueue' in scope
10 | public typealias PipeCallback = (String) -> Void
11 |
12 | let queue: DispatchQueue
| `- error: cannot find type 'DispatchQueue' in scope
13 | var environment: [String:String]
14 | let executable: URL
/host/spi-builder-workspace/.build/checkouts/Runner/Sources/Runner/Runner.swift:90:20: error: cannot find type 'DispatchQueue' in scope
88 |
89 | let pipe: Pipe
90 | let queue: DispatchQueue
| `- error: cannot find type 'DispatchQueue' in scope
91 | var callback: PipeCallback
92 | var handle: FileHandle?
/host/spi-builder-workspace/.build/checkouts/Runner/Sources/Runner/Runner.swift:96:55: error: cannot find type 'DispatchQueue' in scope
94 | var buffer: Buffer
95 |
96 | init(tee teeHandle: FileHandle? = nil, queue: DispatchQueue, callback: PipeCallback? = nil) {
| `- error: cannot find type 'DispatchQueue' in scope
97 | let buffer = Buffer()
98 |
/host/spi-builder-workspace/.build/checkouts/Runner/Sources/Runner/Runner.swift:167:22: error: cannot find type 'Process' in scope
165 | let stdout: PipeInfo?
166 | let stderr: PipeInfo?
167 | let process: Process
| `- error: cannot find type 'Process' in scope
168 | }
169 |
/host/spi-builder-workspace/.build/checkouts/Runner/Sources/Runner/Runner.swift:44:22: error: cannot find 'DispatchQueue' in scope
42 | self.environment = environment
43 | self.cwd = cwd
44 | self.queue = DispatchQueue(label: "runner.\(executable.lastPathComponent)")
| `- error: cannot find 'DispatchQueue' in scope
45 | }
46 |
/host/spi-builder-workspace/.build/checkouts/Runner/Sources/Runner/Runner.swift:56:22: error: cannot find 'DispatchQueue' in scope
54 | self.environment = environment
55 | self.cwd = cwd
56 | self.queue = DispatchQueue(label: "runner.\(command)")
| `- error: cannot find 'DispatchQueue' in scope
57 | }
58 |
/host/spi-builder-workspace/.build/checkouts/Runner/Sources/Runner/Runner.swift:65:23: error: cannot find 'Process' in scope
63 |
64 | public func exec(arguments: [String] = []) -> Never {
65 | let process = Process()
| `- error: cannot find 'Process' in scope
66 | if let cwd = cwd {
67 | process.currentDirectoryURL = cwd
/host/spi-builder-workspace/.build/checkouts/Runner/Sources/Runner/Runner.swift:106:21: error: value of type 'FileHandle' has no member 'readabilityHandler'
104 | self.callback = callback ?? { buffer.text.append($0) }
105 |
106 | handle?.readabilityHandler = { handle in
| `- error: value of type 'FileHandle' has no member 'readabilityHandler'
107 | let data = handle.availableData
108 | queue.async {
/host/spi-builder-workspace/.build/checkouts/Runner/Sources/Runner/Runner.swift:106:44: error: cannot infer type of closure parameter 'handle' without a type annotation
104 | self.callback = callback ?? { buffer.text.append($0) }
105 |
106 | handle?.readabilityHandler = { handle in
| `- error: cannot infer type of closure parameter 'handle' without a type annotation
107 | let data = handle.availableData
108 | queue.async {
/host/spi-builder-workspace/.build/checkouts/Runner/Sources/Runner/Runner.swift:118:28: error: value of type 'FileHandle' has no member 'readabilityHandler'
116 | queue.async {
117 | let data = handle.readDataToEndOfFile()
118 | handle.readabilityHandler = nil
| `- error: value of type 'FileHandle' has no member 'readabilityHandler'
119 | self.write(data: data)
120 | }
/host/spi-builder-workspace/.build/checkouts/Runner/Sources/Runner/Runner.swift:147:23: error: cannot find 'Process' in scope
145 |
146 | public func sync(arguments: [String] = [], stdoutMode: Mode = .capture, stderrMode: Mode = .capture) throws -> Result {
147 | let process = Process()
| `- error: cannot find 'Process' in scope
148 | if let cwd = cwd {
149 | process.currentDirectoryURL = cwd
/host/spi-builder-workspace/.build/checkouts/Runner/Sources/Runner/Runner.swift:177:23: error: cannot find 'Process' in scope
175 | public func async(arguments: [String] = [], stdoutMode: Mode = .capture, stderrMode: Mode = .capture) throws -> RunningProcess {
176 |
177 | let process = Process()
| `- error: cannot find 'Process' in scope
178 | if let cwd = cwd {
179 | process.currentDirectoryURL = cwd
[7/58] Emitting module ArgumentParserToolInfo
BUILD FAILURE 6.1 wasm