The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ProcessService with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4606859-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.22.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ChimeHQ/ProcessService.git
Reference: main
Cloned https://github.com/ChimeHQ/ProcessService.git into spi-builder-workspace
SPI manifest file found: spi-builder-workspace/.spi.yml
SUCCESS checkout https://github.com/ChimeHQ/ProcessService.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/ChimeHQ/AsyncXPCConnection
Fetched https://github.com/ChimeHQ/AsyncXPCConnection (0.20s)
Fetching https://github.com/ChimeHQ/ProcessEnv
Fetching https://github.com/mattmassicotte/Queue
[1/149] Fetching processenv
[150/275] Fetching processenv, queue
Fetched https://github.com/mattmassicotte/Queue (0.33s)
Fetched https://github.com/ChimeHQ/ProcessEnv (0.33s)
Computing version for https://github.com/mattmassicotte/Queue
Computed https://github.com/mattmassicotte/Queue at 0.1.4 (0.61s)
Computing version for https://github.com/ChimeHQ/ProcessEnv
Computed https://github.com/ChimeHQ/ProcessEnv at 0.3.1 (0.69s)
Creating working copy for https://github.com/ChimeHQ/ProcessEnv
Working copy of https://github.com/ChimeHQ/ProcessEnv resolved at 0.3.1
Creating working copy for https://github.com/mattmassicotte/Queue
Working copy of https://github.com/mattmassicotte/Queue resolved at 0.1.4
Creating working copy for https://github.com/ChimeHQ/AsyncXPCConnection
Working copy of https://github.com/ChimeHQ/AsyncXPCConnection resolved at 82a0eb00a0d881e6a65cad0acc031c1efd058d06
Building for debugging...
[1/13] Compiling ProcessServiceShared ProcessServiceXPCProtocols.swift
/host/spi-builder-workspace/Sources/ProcessServiceShared/ProcessServiceXPCProtocols.swift:2:8: error: no such module 'Combine'
import Combine
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/13] Emitting module ProcessServiceShared
/host/spi-builder-workspace/Sources/ProcessServiceShared/ProcessServiceXPCProtocols.swift:2:8: error: no such module 'Combine'
import Combine
       ^
[3/13] Compiling ProcessServiceShared Process+Event.swift
/host/spi-builder-workspace/Sources/ProcessServiceShared/ProcessServiceXPCProtocols.swift:2:8: error: no such module 'Combine'
import Combine
       ^
[4/13] Compiling ProcessEnv ProcessInfo+UserEnvironment.swift
[5/13] Compiling ProcessEnv Process+Parameters.swift
/host/spi-builder-workspace/.build/checkouts/ProcessEnv/Sources/ProcessEnv/Process+Parameters.swift:1:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency 
error: fatalError
[6/13] Emitting module ProcessEnv
/host/spi-builder-workspace/.build/checkouts/ProcessEnv/Sources/ProcessEnv/Process+Parameters.swift:1:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency 
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/13] Compiling AsyncXPCConnection NSXPCConnection+Continuations.swift
/host/spi-builder-workspace/.build/checkouts/AsyncXPCConnection/Sources/AsyncXPCConnection/NSXPCConnection+Continuations.swift:8:11: error: cannot find type 'NSXPCConnection' in scope
extension NSXPCConnection {
          ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/AsyncXPCConnection/Sources/AsyncXPCConnection/NSXPCConnection+Continuations.swift:49:11: error: cannot find type 'NSXPCConnection' in scope
extension NSXPCConnection {
          ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/AsyncXPCConnection/Sources/AsyncXPCConnection/QueuedRemoteXPCService.swift:14:70: error: cannot find type 'NSXPCConnection' in scope
        public typealias ConnectionProvider = @MainActor () async throws -> NSXPCConnection
                                                                            ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/AsyncXPCConnection/Sources/AsyncXPCConnection/QueuedRemoteXPCService.swift:24:40: error: cannot find type 'NSXPCConnection' in scope
        public init(queue: Queue, connection: NSXPCConnection) {
                                              ^~~~~~~~~~~~~~~
[8/13] Emitting module Queue
BUILD FAILURE 5.9 linux

Build Machine: Linux 1