The Swift Package Index logo.Swift Package Index

Build Information

Failed to build GnuPG, reference 0.1.6 (1fb04e), with Swift 6.2 for Wasm on 5 Oct 2026 03:57:59 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344844-2":/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.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Kingpin-Apps/swift-gnupg.git
Reference: 0.1.6
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/Kingpin-Apps/swift-gnupg
 * tag               0.1.6      -> FETCH_HEAD
HEAD is now at 1fb04e1 bump: version 0.1.5 → 0.1.6
Cloned https://github.com/Kingpin-Apps/swift-gnupg.git
Revision (git rev-parse @):
1fb04e199332b203e7ed47c29b5017a0028394ce
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/Kingpin-Apps/swift-gnupg.git at 0.1.6
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/Kingpin-Apps/swift-gnupg.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-2":/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.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:ff44196b45f83e5a0a99a627b185f548850d9bc1242e3dee2178fb1570812fe8
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-system.git
[1/8232] Fetching swift-log
[8233/15347] Fetching swift-log, swift-system
Fetched https://github.com/apple/swift-log.git from cache (0.73s)
[2704/7115] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.89s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (1.40s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.46s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.15.1
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.8.1
Building for debugging...
[0/5] Write sources
[3/5] Compiling CSystem shims.c
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/53] Compiling SystemPackage Errno.swift
[7/53] Compiling SystemPackage ErrnoWindows.swift
[8/53] Compiling SystemPackage FileDescriptor.swift
[9/53] Compiling SystemPackage FileHelpers.swift
[10/53] Compiling SystemPackage FileOperations.swift
[11/53] Compiling SystemPackage FilePath.swift
[12/58] Compiling Logging LoggingSystem.swift
[13/59] Compiling Logging MetadataProvider.swift
[14/59] Compiling Logging Logger.swift
[15/59] Compiling SystemPackage FilePathParsing.swift
[16/59] Compiling SystemPackage FilePathString.swift
[17/59] Compiling Logging Logger+Attributes.swift
[18/59] Compiling Logging Logger+With.swift
[19/59] Compiling SystemPackage RawBuffer.swift
[20/59] Compiling SystemPackage Syscalls.swift
[21/59] Compiling SystemPackage WindowsSyscallAdapters.swift
[22/59] Compiling SystemPackage MachPort.swift
[23/59] Compiling SystemPackage PlatformString.swift
[24/59] Compiling SystemPackage FilePathComponentView.swift
[25/59] Compiling SystemPackage FilePathComponents.swift
[28/59] Compiling SystemPackage FilePathSyntax.swift
[29/59] Emitting module SystemPackage
[30/59] Compiling SystemPackage IOCompletion.swift
[31/59] Compiling SystemPackage IORequest.swift
[32/59] Compiling SystemPackage IORing+Util.swift
[33/59] Compiling SystemPackage IORing.swift
[34/59] Compiling SystemPackage RawIORequest.swift
[35/59] Compiling SystemPackage Backcompat.swift
[36/59] Compiling SystemPackage CInterop.swift
[37/59] Compiling SystemPackage Constants.swift
[38/59] Compiling SystemPackage Exports.swift
[39/59] Compiling SystemPackage Mocking.swift
[42/59] Emitting module Logging
[45/60] Compiling SystemPackage FileFlags.swift
[46/60] Compiling SystemPackage FileMode.swift
[47/60] Compiling SystemPackage FileType.swift
[48/60] Compiling SystemPackage Identifiers.swift
[49/60] Compiling SystemPackage Stat.swift
[50/60] Compiling SystemPackage FilePathTemp.swift
[51/60] Compiling SystemPackage FilePathTempPosix.swift
[52/60] Compiling SystemPackage FilePathTempWindows.swift
[53/60] Compiling SystemPackage FilePathWindows.swift
[54/60] Compiling SystemPackage FilePermissions.swift
[56/60] Compiling SystemPackage SystemString.swift
[57/60] Compiling SystemPackage Util+StringArray.swift
[58/60] Compiling SystemPackage Util.swift
[59/60] Compiling SystemPackage UtilConsumers.swift
[60/60] Compiling SystemPackage WinSDK+Overlay.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[62/79] Emitting module GnuPG
/host/spi-builder-workspace/Sources/GnuPG/Core/GPGLogger.swift:94:25: error: cannot find 'DispatchQueue' in scope
 92 |     public static let shared = GPGLogger()
 93 |
 94 |     private let queue = DispatchQueue(label: "com.gnupg.swift.logger", qos: .utility)
    |                         `- error: cannot find 'DispatchQueue' in scope
 95 |     private var _handlers: [GPGLogHandler] = []
 96 |     private var _level: GPGLogLevel = .info
/host/spi-builder-workspace/Sources/GnuPG/Core/GPGLogger.swift:94:78: error: cannot infer contextual base in reference to member 'utility'
 92 |     public static let shared = GPGLogger()
 93 |
 94 |     private let queue = DispatchQueue(label: "com.gnupg.swift.logger", qos: .utility)
    |                                                                              `- error: cannot infer contextual base in reference to member 'utility'
 95 |     private var _handlers: [GPGLogHandler] = []
 96 |     private var _level: GPGLogLevel = .info
/host/spi-builder-workspace/Sources/GnuPG/GnuPG.swift:276:82: error: cannot find type 'Process' in scope
274 |     /// - Returns: The Process instance
275 |     /// - Throws: GPGError if the process cannot be created
276 |     func openSubprocess(_ args: [String], hasPassphrase: Bool = false) throws -> Process {
    |                                                                                  `- error: cannot find type 'Process' in scope
277 |         let cmd = makeArgs(args, hasPassphrase: hasPassphrase)
278 |
/host/spi-builder-workspace/Sources/GnuPG/GnuPG.swift:440:33: error: cannot find type 'Process' in scope
438 |     ///   - result: The status handler to collect output
439 |     /// - Throws: GPGError if the process fails
440 |     func collectOutput(process: Process, result: StatusHandler) throws {
    |                                 `- error: cannot find type 'Process' in scope
441 |         guard let stdout = process.standardOutput as? Pipe,
442 |               let stderr = process.standardError as? Pipe else {
[63/81] Compiling GnuPG GnuPG.swift
/host/spi-builder-workspace/Sources/GnuPG/GnuPG.swift:276:82: error: cannot find type 'Process' in scope
274 |     /// - Returns: The Process instance
275 |     /// - Throws: GPGError if the process cannot be created
276 |     func openSubprocess(_ args: [String], hasPassphrase: Bool = false) throws -> Process {
    |                                                                                  `- error: cannot find type 'Process' in scope
277 |         let cmd = makeArgs(args, hasPassphrase: hasPassphrase)
278 |
/host/spi-builder-workspace/Sources/GnuPG/GnuPG.swift:440:33: error: cannot find type 'Process' in scope
438 |     ///   - result: The status handler to collect output
439 |     /// - Throws: GPGError if the process fails
440 |     func collectOutput(process: Process, result: StatusHandler) throws {
    |                                 `- error: cannot find type 'Process' in scope
441 |         guard let stdout = process.standardOutput as? Pipe,
442 |               let stderr = process.standardError as? Pipe else {
/host/spi-builder-workspace/Sources/GnuPG/GnuPG.swift:141:23: error: cannot find 'Process' in scope
139 |
140 |         // For relative paths like "gpg", try to find the binary using 'which'
141 |         let process = Process()
    |                       `- error: cannot find 'Process' in scope
142 |         process.executableURL = URL(fileURLWithPath: "/usr/bin/which")
143 |         process.arguments = [preferredPath]
/host/spi-builder-workspace/Sources/GnuPG/GnuPG.swift:281:23: error: cannot find 'Process' in scope
279 |         logger.logCommand(cmd, category: "Process")
280 |
281 |         let process = Process()
    |                       `- error: cannot find 'Process' in scope
282 |         process.executableURL = URL(fileURLWithPath: cmd[0])
283 |         process.arguments = Array(cmd.dropFirst())
/host/spi-builder-workspace/Sources/GnuPG/GnuPG.swift:450:27: error: cannot find 'DispatchGroup' in scope
448 |
449 |         // Read stderr in background for status messages
450 |         let stderrGroup = DispatchGroup()
    |                           `- error: cannot find 'DispatchGroup' in scope
451 |         stderrGroup.enter()
452 |         DispatchQueue.global().async {
/host/spi-builder-workspace/Sources/GnuPG/GnuPG.swift:452:9: error: cannot find 'DispatchQueue' in scope
450 |         let stderrGroup = DispatchGroup()
451 |         stderrGroup.enter()
452 |         DispatchQueue.global().async {
    |         `- error: cannot find 'DispatchQueue' in scope
453 |             defer { stderrGroup.leave() }
454 |             self.readResponse(from: stderr, result: result)
/host/spi-builder-workspace/Sources/GnuPG/GnuPG.swift:458:27: error: cannot find 'DispatchGroup' in scope
456 |
457 |         // Read stdout in background for data
458 |         let stdoutGroup = DispatchGroup()
    |                           `- error: cannot find 'DispatchGroup' in scope
459 |         stdoutGroup.enter()
460 |         DispatchQueue.global().async {
/host/spi-builder-workspace/Sources/GnuPG/GnuPG.swift:460:9: error: cannot find 'DispatchQueue' in scope
458 |         let stdoutGroup = DispatchGroup()
459 |         stdoutGroup.enter()
460 |         DispatchQueue.global().async {
    |         `- error: cannot find 'DispatchQueue' in scope
461 |             defer { stdoutGroup.leave() }
462 |             self.readData(from: stdout, result: result)
[64/81] Compiling GnuPG AdvancedOperations.swift
/host/spi-builder-workspace/Sources/GnuPG/GnuPG.swift:276:82: error: cannot find type 'Process' in scope
274 |     /// - Returns: The Process instance
275 |     /// - Throws: GPGError if the process cannot be created
276 |     func openSubprocess(_ args: [String], hasPassphrase: Bool = false) throws -> Process {
    |                                                                                  `- error: cannot find type 'Process' in scope
277 |         let cmd = makeArgs(args, hasPassphrase: hasPassphrase)
278 |
/host/spi-builder-workspace/Sources/GnuPG/GnuPG.swift:440:33: error: cannot find type 'Process' in scope
438 |     ///   - result: The status handler to collect output
439 |     /// - Throws: GPGError if the process fails
440 |     func collectOutput(process: Process, result: StatusHandler) throws {
    |                                 `- error: cannot find type 'Process' in scope
441 |         guard let stdout = process.standardOutput as? Pipe,
442 |               let stderr = process.standardError as? Pipe else {
/host/spi-builder-workspace/Sources/GnuPG/GnuPG.swift:141:23: error: cannot find 'Process' in scope
139 |
140 |         // For relative paths like "gpg", try to find the binary using 'which'
141 |         let process = Process()
    |                       `- error: cannot find 'Process' in scope
142 |         process.executableURL = URL(fileURLWithPath: "/usr/bin/which")
143 |         process.arguments = [preferredPath]
/host/spi-builder-workspace/Sources/GnuPG/GnuPG.swift:281:23: error: cannot find 'Process' in scope
279 |         logger.logCommand(cmd, category: "Process")
280 |
281 |         let process = Process()
    |                       `- error: cannot find 'Process' in scope
282 |         process.executableURL = URL(fileURLWithPath: cmd[0])
283 |         process.arguments = Array(cmd.dropFirst())
/host/spi-builder-workspace/Sources/GnuPG/GnuPG.swift:450:27: error: cannot find 'DispatchGroup' in scope
448 |
449 |         // Read stderr in background for status messages
450 |         let stderrGroup = DispatchGroup()
    |                           `- error: cannot find 'DispatchGroup' in scope
451 |         stderrGroup.enter()
452 |         DispatchQueue.global().async {
/host/spi-builder-workspace/Sources/GnuPG/GnuPG.swift:452:9: error: cannot find 'DispatchQueue' in scope
450 |         let stderrGroup = DispatchGroup()
451 |         stderrGroup.enter()
452 |         DispatchQueue.global().async {
    |         `- error: cannot find 'DispatchQueue' in scope
453 |             defer { stderrGroup.leave() }
454 |             self.readResponse(from: stderr, result: result)
/host/spi-builder-workspace/Sources/GnuPG/GnuPG.swift:458:27: error: cannot find 'DispatchGroup' in scope
456 |
457 |         // Read stdout in background for data
458 |         let stdoutGroup = DispatchGroup()
    |                           `- error: cannot find 'DispatchGroup' in scope
459 |         stdoutGroup.enter()
460 |         DispatchQueue.global().async {
/host/spi-builder-workspace/Sources/GnuPG/GnuPG.swift:460:9: error: cannot find 'DispatchQueue' in scope
458 |         let stdoutGroup = DispatchGroup()
459 |         stdoutGroup.enter()
460 |         DispatchQueue.global().async {
    |         `- error: cannot find 'DispatchQueue' in scope
461 |             defer { stdoutGroup.leave() }
462 |             self.readData(from: stdout, result: result)
[65/81] Compiling GnuPG DecryptOperations.swift
/host/spi-builder-workspace/Sources/GnuPG/GnuPG.swift:276:82: error: cannot find type 'Process' in scope
274 |     /// - Returns: The Process instance
275 |     /// - Throws: GPGError if the process cannot be created
276 |     func openSubprocess(_ args: [String], hasPassphrase: Bool = false) throws -> Process {
    |                                                                                  `- error: cannot find type 'Process' in scope
277 |         let cmd = makeArgs(args, hasPassphrase: hasPassphrase)
278 |
/host/spi-builder-workspace/Sources/GnuPG/GnuPG.swift:440:33: error: cannot find type 'Process' in scope
438 |     ///   - result: The status handler to collect output
439 |     /// - Throws: GPGError if the process fails
440 |     func collectOutput(process: Process, result: StatusHandler) throws {
    |                                 `- error: cannot find type 'Process' in scope
441 |         guard let stdout = process.standardOutput as? Pipe,
442 |               let stderr = process.standardError as? Pipe else {
/host/spi-builder-workspace/Sources/GnuPG/GnuPG.swift:141:23: error: cannot find 'Process' in scope
139 |
140 |         // For relative paths like "gpg", try to find the binary using 'which'
141 |         let process = Process()
    |                       `- error: cannot find 'Process' in scope
142 |         process.executableURL = URL(fileURLWithPath: "/usr/bin/which")
143 |         process.arguments = [preferredPath]
/host/spi-builder-workspace/Sources/GnuPG/GnuPG.swift:281:23: error: cannot find 'Process' in scope
279 |         logger.logCommand(cmd, category: "Process")
280 |
281 |         let process = Process()
    |                       `- error: cannot find 'Process' in scope
282 |         process.executableURL = URL(fileURLWithPath: cmd[0])
283 |         process.arguments = Array(cmd.dropFirst())
/host/spi-builder-workspace/Sources/GnuPG/GnuPG.swift:450:27: error: cannot find 'DispatchGroup' in scope
448 |
449 |         // Read stderr in background for status messages
450 |         let stderrGroup = DispatchGroup()
    |                           `- error: cannot find 'DispatchGroup' in scope
451 |         stderrGroup.enter()
452 |         DispatchQueue.global().async {
/host/spi-builder-workspace/Sources/GnuPG/GnuPG.swift:452:9: error: cannot find 'DispatchQueue' in scope
450 |         let stderrGroup = DispatchGroup()
451 |         stderrGroup.enter()
452 |         DispatchQueue.global().async {
    |         `- error: cannot find 'DispatchQueue' in scope
453 |             defer { stderrGroup.leave() }
454 |             self.readResponse(from: stderr, result: result)
/host/spi-builder-workspace/Sources/GnuPG/GnuPG.swift:458:27: error: cannot find 'DispatchGroup' in scope
456 |
457 |         // Read stdout in background for data
458 |         let stdoutGroup = DispatchGroup()
    |                           `- error: cannot find 'DispatchGroup' in scope
459 |         stdoutGroup.enter()
460 |         DispatchQueue.global().async {
/host/spi-builder-workspace/Sources/GnuPG/GnuPG.swift:460:9: error: cannot find 'DispatchQueue' in scope
458 |         let stdoutGroup = DispatchGroup()
459 |         stdoutGroup.enter()
460 |         DispatchQueue.global().async {
    |         `- error: cannot find 'DispatchQueue' in scope
461 |             defer { stdoutGroup.leave() }
462 |             self.readData(from: stdout, result: result)
[66/81] Compiling GnuPG VerifyResult.swift
[67/81] Compiling GnuPG GPGUtilities.swift
[68/81] Compiling GnuPG GPGLogger.swift
/host/spi-builder-workspace/Sources/GnuPG/Core/GPGLogger.swift:94:25: error: cannot find 'DispatchQueue' in scope
 92 |     public static let shared = GPGLogger()
 93 |
 94 |     private let queue = DispatchQueue(label: "com.gnupg.swift.logger", qos: .utility)
    |                         `- error: cannot find 'DispatchQueue' in scope
 95 |     private var _handlers: [GPGLogHandler] = []
 96 |     private var _level: GPGLogLevel = .info
/host/spi-builder-workspace/Sources/GnuPG/Core/GPGLogger.swift:94:78: error: cannot infer contextual base in reference to member 'utility'
 92 |     public static let shared = GPGLogger()
 93 |
 94 |     private let queue = DispatchQueue(label: "com.gnupg.swift.logger", qos: .utility)
    |                                                                              `- error: cannot infer contextual base in reference to member 'utility'
 95 |     private var _handlers: [GPGLogHandler] = []
 96 |     private var _level: GPGLogLevel = .info
[69/81] Compiling GnuPG GPGTypes.swift
/host/spi-builder-workspace/Sources/GnuPG/Core/GPGLogger.swift:94:25: error: cannot find 'DispatchQueue' in scope
 92 |     public static let shared = GPGLogger()
 93 |
 94 |     private let queue = DispatchQueue(label: "com.gnupg.swift.logger", qos: .utility)
    |                         `- error: cannot find 'DispatchQueue' in scope
 95 |     private var _handlers: [GPGLogHandler] = []
 96 |     private var _level: GPGLogLevel = .info
/host/spi-builder-workspace/Sources/GnuPG/Core/GPGLogger.swift:94:78: error: cannot infer contextual base in reference to member 'utility'
 92 |     public static let shared = GPGLogger()
 93 |
 94 |     private let queue = DispatchQueue(label: "com.gnupg.swift.logger", qos: .utility)
    |                                                                              `- error: cannot infer contextual base in reference to member 'utility'
 95 |     private var _handlers: [GPGLogHandler] = []
 96 |     private var _level: GPGLogLevel = .info
[70/81] Compiling GnuPG StatusHandler.swift
/host/spi-builder-workspace/Sources/GnuPG/Core/GPGLogger.swift:94:25: error: cannot find 'DispatchQueue' in scope
 92 |     public static let shared = GPGLogger()
 93 |
 94 |     private let queue = DispatchQueue(label: "com.gnupg.swift.logger", qos: .utility)
    |                         `- error: cannot find 'DispatchQueue' in scope
 95 |     private var _handlers: [GPGLogHandler] = []
 96 |     private var _level: GPGLogLevel = .info
/host/spi-builder-workspace/Sources/GnuPG/Core/GPGLogger.swift:94:78: error: cannot infer contextual base in reference to member 'utility'
 92 |     public static let shared = GPGLogger()
 93 |
 94 |     private let queue = DispatchQueue(label: "com.gnupg.swift.logger", qos: .utility)
    |                                                                              `- error: cannot infer contextual base in reference to member 'utility'
 95 |     private var _handlers: [GPGLogHandler] = []
 96 |     private var _level: GPGLogLevel = .info
[71/81] Compiling GnuPG EncryptOperations.swift
[72/81] Compiling GnuPG KeyManagementOperations.swift
[73/81] Compiling GnuPG KeyOperations.swift
[74/81] Compiling GnuPG SignOperations.swift
[75/81] Compiling GnuPG SubkeyOperations.swift
[76/81] Compiling GnuPG EncryptResult.swift
[77/81] Compiling GnuPG ImportResult.swift
[78/81] Compiling GnuPG ListKeysResult.swift
[79/81] Compiling GnuPG SignResult.swift
[80/81] Compiling GnuPG VerifyOperations.swift
[81/81] Compiling GnuPG DecryptResult.swift
BUILD FAILURE 6.2 wasm