The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ProcessService with Swift 5.8 for Linux.

Build Command

docker run --rm -v "checkouts-4609320-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.8-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.8
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4609320-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.8-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/126] Fetching queue
[127/275] Fetching queue, processenv
Fetched https://github.com/mattmassicotte/Queue (0.40s)
Fetched https://github.com/ChimeHQ/ProcessEnv (0.40s)
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.72s)
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/ProcessEnv
Working copy of https://github.com/ChimeHQ/ProcessEnv resolved at 0.3.1
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 ProcessEnv ProcessInfo+UserEnvironment.swift
[2/13] Compiling AsyncXPCConnection QueuedRemoteXPCService.swift
/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) {
                                              ^~~~~~~~~~~~~~~
[3/13] Compiling AsyncXPCConnection RemoteXPCService.swift
/host/spi-builder-workspace/.build/checkouts/AsyncXPCConnection/Sources/AsyncXPCConnection/RemoteXPCService.swift:7:18: error: cannot find type 'NSXPCConnection' in scope
        let connection: NSXPCConnection
                        ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/AsyncXPCConnection/Sources/AsyncXPCConnection/RemoteXPCService.swift:10:26: error: cannot find type 'NSXPCConnection' in scope
        public init(connection: NSXPCConnection, remoteInterface: Protocol) {
                                ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/AsyncXPCConnection/Sources/AsyncXPCConnection/RemoteXPCService.swift:10:60: error: cannot find type 'Protocol' in scope
        public init(connection: NSXPCConnection, remoteInterface: Protocol) {
                                                                  ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/AsyncXPCConnection/Sources/AsyncXPCConnection/RemoteXPCService.swift:18:26: error: cannot find type 'NSXPCConnection' in scope
        public init(connection: NSXPCConnection) {
                                ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/AsyncXPCConnection/Sources/AsyncXPCConnection/RemoteXPCService.swift:14:38: error: cannot find 'NSXPCInterface' in scope
                connection.remoteObjectInterface = NSXPCInterface(with: remoteInterface)
                                                   ^~~~~~~~~~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/13] Emitting module ProcessServiceShared
/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)
[5/13] Emitting module AsyncXPCConnection
/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) {
                                              ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/AsyncXPCConnection/Sources/AsyncXPCConnection/RemoteXPCService.swift:7:18: error: cannot find type 'NSXPCConnection' in scope
        let connection: NSXPCConnection
                        ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/AsyncXPCConnection/Sources/AsyncXPCConnection/RemoteXPCService.swift:10:26: error: cannot find type 'NSXPCConnection' in scope
        public init(connection: NSXPCConnection, remoteInterface: Protocol) {
                                ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/AsyncXPCConnection/Sources/AsyncXPCConnection/RemoteXPCService.swift:10:60: error: cannot find type 'Protocol' in scope
        public init(connection: NSXPCConnection, remoteInterface: Protocol) {
                                                                  ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/AsyncXPCConnection/Sources/AsyncXPCConnection/RemoteXPCService.swift:18:26: error: cannot find type 'NSXPCConnection' in scope
        public init(connection: NSXPCConnection) {
                                ^~~~~~~~~~~~~~~
[6/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 {
          ^~~~~~~~~~~~~~~
[7/13] Compiling ProcessServiceShared Process+Event.swift
/host/spi-builder-workspace/Sources/ProcessServiceShared/ProcessServiceXPCProtocols.swift:2:8: error: no such module 'Combine'
import Combine
       ^
[8/13] Compiling ProcessServiceShared ProcessServiceXPCProtocols.swift
/host/spi-builder-workspace/Sources/ProcessServiceShared/ProcessServiceXPCProtocols.swift:2:8: error: no such module 'Combine'
import Combine
       ^
[9/13] Emitting module Queue
[10/13] Compiling Queue AsyncQueue.swift
[13/15] 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 
[14/15] Compiling ProcessEnv Process+Output.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
BUILD FAILURE 5.8 linux

Build Machine: Linux 2