The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build swift-shell, reference v0.1.2 (96ab21), with Swift 5.10 for Linux on 2 Aug 2024 13:45:47 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.48.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/darrarski/swift-shell.git
Reference: v0.1.2
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/darrarski/swift-shell
 * tag               v0.1.2     -> FETCH_HEAD
HEAD is now at 96ab219 Fix package manifest (#2)
Cloned https://github.com/darrarski/swift-shell.git
Revision (git rev-parse @):
96ab21989405780333e8a7b690a46fa4b28548e9
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/darrarski/swift-shell.git at v0.1.2
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $PWD
https://github.com/darrarski/swift-shell.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:f0b51be07fbc8a0d4d15ad969175777a256c8ed4ef7ff1497c5f9d7800160a18
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Fetching https://github.com/pointfreeco/swift-custom-dump.git
Fetching https://github.com/pointfreeco/swift-concurrency-extras.git
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/523] Fetching swift-concurrency-extras
[273/4938] Fetching swift-concurrency-extras, swift-custom-dump
[4939/9494] Fetching swift-concurrency-extras, swift-custom-dump, xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/swift-concurrency-extras.git from cache (0.65s)
Fetched https://github.com/pointfreeco/swift-custom-dump.git from cache (0.66s)
Computing version for https://github.com/pointfreeco/swift-custom-dump.git
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.67s)
Computed https://github.com/pointfreeco/swift-custom-dump.git at 1.3.0 (1.12s)
Computing version for https://github.com/pointfreeco/swift-concurrency-extras.git
Computed https://github.com/pointfreeco/swift-concurrency-extras.git at 1.1.0 (0.46s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.1.2 (0.40s)
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.1.2
Creating working copy for https://github.com/pointfreeco/swift-custom-dump.git
Working copy of https://github.com/pointfreeco/swift-custom-dump.git resolved at 1.3.0
Creating working copy for https://github.com/pointfreeco/swift-concurrency-extras.git
Working copy of https://github.com/pointfreeco/swift-concurrency-extras.git resolved at 1.1.0
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/7] Compiling SwiftShell ShellEnvironment.swift
[4/7] Compiling SwiftShell ShellProcess.swift
/host/spi-builder-workspace/Sources/SwiftShell/ShellProcess.swift:153:23: warning: non-sendable type 'Pipe' in asynchronous access to actor-isolated property 'outputPipe' cannot cross actor boundary
      let data = self.outputPipe.fileHandleForReading.availableData
                      ^
Foundation.Pipe:1:12: note: class 'Pipe' does not conform to the 'Sendable' protocol
open class Pipe : NSObject {
           ^
/host/spi-builder-workspace/Sources/SwiftShell/ShellProcess.swift:1:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/SwiftShell/ShellProcess.swift:172:23: warning: non-sendable type 'Pipe' in asynchronous access to actor-isolated property 'errorPipe' cannot cross actor boundary
      let data = self.errorPipe.fileHandleForReading.availableData
                      ^
Foundation.Pipe:1:12: note: class 'Pipe' does not conform to the 'Sendable' protocol
open class Pipe : NSObject {
           ^
/host/spi-builder-workspace/Sources/SwiftShell/ShellProcess.swift:108:5: warning: default will never be executed
    @unknown default:
    ^
[5/7] Compiling SwiftShell ShellCommand.swift
/host/spi-builder-workspace/Sources/SwiftShell/ShellCommand.swift:32:14: warning: stored property 'executableURL' of 'Sendable'-conforming struct 'ShellCommand' has non-sendable type 'URL'
  public var executableURL: URL
             ^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
              ^
/host/spi-builder-workspace/Sources/SwiftShell/ShellCommand.swift:1:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/SwiftShell/ShellCommand.swift:43:14: warning: stored property 'workingDirectory' of 'Sendable'-conforming struct 'ShellCommand' has non-sendable type 'URL?'
  public var workingDirectory: URL?
             ^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
              ^
/host/spi-builder-workspace/Sources/SwiftShell/ShellCommand.swift:48:14: warning: stored property 'qualityOfService' of 'Sendable'-conforming struct 'ShellCommand' has non-sendable type 'QualityOfService?'
  public var qualityOfService: QualityOfService?
             ^
Foundation.QualityOfService:1:13: note: enum 'QualityOfService' does not conform to the 'Sendable' protocol
public enum QualityOfService : Int {
            ^
/host/spi-builder-workspace/Sources/SwiftShell/ShellCommand.swift:69:26: error: no exact matches in call to initializer
    self.executableURL = URL(filePath: command.first!)
                         ^
Foundation.URL:8:12: note: incorrect labels for candidate (have: '(filePath:)', expected: '(fileURLWithPath:)')
    public init(fileURLWithPath path: String)
           ^
Foundation.URL:2:12: note: incorrect labels for candidate (have: '(filePath:)', expected: '(fileReferenceLiteralResourceName:)')
    public init(fileReferenceLiteralResourceName name: String)
           ^
/host/spi-builder-workspace/Sources/SwiftShell/ShellCommand.swift:72:52: error: no exact matches in call to initializer
    self.workingDirectory = workingDirectory.map { URL(filePath: $0) }
                                                   ^
Foundation.URL:8:12: note: incorrect labels for candidate (have: '(filePath:)', expected: '(fileURLWithPath:)')
    public init(fileURLWithPath path: String)
           ^
Foundation.URL:2:12: note: incorrect labels for candidate (have: '(filePath:)', expected: '(fileReferenceLiteralResourceName:)')
    public init(fileReferenceLiteralResourceName name: String)
           ^
[6/7] Emitting module SwiftShell
/host/spi-builder-workspace/Sources/SwiftShell/ShellCommand.swift:32:14: warning: stored property 'executableURL' of 'Sendable'-conforming struct 'ShellCommand' has non-sendable type 'URL'
  public var executableURL: URL
             ^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
              ^
/host/spi-builder-workspace/Sources/SwiftShell/ShellCommand.swift:1:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/SwiftShell/ShellCommand.swift:43:14: warning: stored property 'workingDirectory' of 'Sendable'-conforming struct 'ShellCommand' has non-sendable type 'URL?'
  public var workingDirectory: URL?
             ^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
              ^
/host/spi-builder-workspace/Sources/SwiftShell/ShellCommand.swift:48:14: warning: stored property 'qualityOfService' of 'Sendable'-conforming struct 'ShellCommand' has non-sendable type 'QualityOfService?'
  public var qualityOfService: QualityOfService?
             ^
Foundation.QualityOfService:1:13: note: enum 'QualityOfService' does not conform to the 'Sendable' protocol
public enum QualityOfService : Int {
            ^
[7/7] Compiling SwiftShell Bash.swift
/host/spi-builder-workspace/Sources/SwiftShell/Bash.swift:23:22: error: no exact matches in call to initializer
      executableURL: URL(filePath: "/usr/bin/env"),
                     ^
Foundation.URL:8:12: note: incorrect labels for candidate (have: '(filePath:)', expected: '(fileURLWithPath:)')
    public init(fileURLWithPath path: String)
           ^
Foundation.URL:2:12: note: incorrect labels for candidate (have: '(filePath:)', expected: '(fileReferenceLiteralResourceName:)')
    public init(fileReferenceLiteralResourceName name: String)
           ^
error: fatalError
BUILD FAILURE 5.10 linux