The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftSlash with Swift 5.9 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.9-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.21.6
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tannerdsilva/SwiftSlash.git
Reference: master
Cloned https://github.com/tannerdsilva/SwiftSlash.git into spi-builder-workspace
SUCCESS checkout https://github.com/tannerdsilva/SwiftSlash.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
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.9-latest swift build 2>&1
Building for debugging...
[0/1] Compiling ClibSwiftSlash libswiftslash.c
[2/15] Compiling SwiftSlash BufferedLineParser.swift
[3/15] Compiling SwiftSlash EventTrigger.swift
[4/15] Compiling SwiftSlash Equatable.swift
[5/15] Compiling SwiftSlash Hashable.swift
[6/16] Emitting module SwiftSlash
[7/16] Compiling SwiftSlash CurrentProcessState.swift
[8/16] Compiling SwiftSlash DataChannel.swift
[9/16] Compiling SwiftSlash ChildSignalCatcher.swift
/host/spi-builder-workspace/Sources/SwiftSlash/Command.swift:69:33: error: cannot call value of non-function type 'String'
                        absolutePath = executableURL.path()
                                                     ^   ~~
                                                         
[10/16] Compiling SwiftSlash Command.swift
/host/spi-builder-workspace/Sources/SwiftSlash/Command.swift:69:33: error: cannot call value of non-function type 'String'
                        absolutePath = executableURL.path()
                                                     ^   ~~
                                                         
[11/16] Compiling SwiftSlash PosixBasics.swift
[12/16] Compiling SwiftSlash ProcessSpawner.swift
[13/16] Compiling SwiftSlash InboundChannelState.swift
[14/16] Compiling SwiftSlash OutboundChannelState.swift
[15/16] Compiling SwiftSlash ProcessInterface.swift
/host/spi-builder-workspace/Sources/SwiftSlash/ProcessInterface.swift:164:232: warning: passing argument of non-sendable type 'ThrowingTaskGroup<Void, any Error>' into actor-isolated context may introduce data races
                                try await ProcessSpawner.global.launch(path:self.command.executable, args:self.command.arguments, wd:self.command.workingDirectory, env:self.command.environment, writables:self.outboundChannels, readables:self.inboundChannels, taskGroup:&tg, onBehalfOf:self)
                                                                                                                                                                                                                                                                   ^
_Concurrency.ThrowingTaskGroup:2:23: note: generic struct 'ThrowingTaskGroup' does not conform to the 'Sendable' protocol
@frozen public struct ThrowingTaskGroup<ChildTaskResult, Failure> where ChildTaskResult : Sendable, Failure : Error {
                      ^
[16/16] Compiling SwiftSlash SwiftSlash.swift
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 2