The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftSlash with Swift 5.8 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.8-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.8
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.8-latest swift build 2>&1
Building for debugging...
[0/1] Compiling ClibSwiftSlash libswiftslash.c
[2/15] Emitting module SwiftSlash
[3/16] Compiling SwiftSlash CurrentProcessState.swift
[4/16] Compiling SwiftSlash DataChannel.swift
[5/16] Compiling SwiftSlash Equatable.swift
[6/16] Compiling SwiftSlash Hashable.swift
[7/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()
                                                     ^   ~~
                                                         
[8/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()
                                                     ^   ~~
                                                         
[9/16] Compiling SwiftSlash PosixBasics.swift
[10/16] Compiling SwiftSlash ProcessSpawner.swift
[11/16] Compiling SwiftSlash ProcessInterface.swift
/host/spi-builder-workspace/Sources/SwiftSlash/ProcessInterface.swift:164:37: warning: non-sendable type 'ThrowingTaskGroup<Void, any Error>' passed in call to actor-isolated instance method 'launch(path:args:wd:env:writables:readables:taskGroup:onBehalfOf:)' cannot cross actor boundary
                                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 {
                      ^
[12/16] Compiling SwiftSlash SwiftSlash.swift
[13/16] Compiling SwiftSlash InboundChannelState.swift
[14/16] Compiling SwiftSlash OutboundChannelState.swift
[15/16] Compiling SwiftSlash BufferedLineParser.swift
[16/16] Compiling SwiftSlash EventTrigger.swift
BUILD FAILURE 5.8 linux

Build Machine: Linux 1