Build Information
Failed to build swift-shell, reference v0.1.3 (2c2c76
), with Swift 5.10 for Linux on 17 Jan 2025 03:24:35 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/darrarski/swift-shell.git
Reference: v0.1.3
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.3 -> FETCH_HEAD
HEAD is now at 2c2c769 Resolve the compilation error with Swift 6.0.3 (Xcode 16.2) (#3)
Cloned https://github.com/darrarski/swift-shell.git
Revision (git rev-parse @):
2c2c7693163a2f39d2d4d5b53035c81d1881905c
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/darrarski/swift-shell.git at v0.1.3
========================================
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-0":/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:8b386ca1081dd55ec0944429387f246ccb59ef99c9c8cbb418b0abd78460b38f
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Fetching https://github.com/pointfreeco/swift-concurrency-extras.git
Fetching https://github.com/pointfreeco/swift-custom-dump.git
[1/834] Fetching swift-concurrency-extras
[27/5363] Fetching swift-concurrency-extras, swift-custom-dump
Fetched https://github.com/pointfreeco/swift-concurrency-extras.git from cache (0.22s)
Fetched https://github.com/pointfreeco/swift-custom-dump.git from cache (0.22s)
Computing version for https://github.com/pointfreeco/swift-custom-dump.git
Computed https://github.com/pointfreeco/swift-custom-dump.git at 1.3.3 (0.31s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5026] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.56s)
Computing version for https://github.com/pointfreeco/swift-concurrency-extras.git
Computed https://github.com/pointfreeco/swift-concurrency-extras.git at 1.3.1 (0.33s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.4.3 (0.32s)
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.4.3
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.3.1
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.3
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/7] Compiling SwiftShell ShellProcess.swift
/host/spi-builder-workspace/Sources/SwiftShell/ShellProcess.swift:157: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:4:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/SwiftShell/ShellProcess.swift:176: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:112:5: warning: default will never be executed
@unknown default:
^
[4/7] Compiling SwiftShell ShellEnvironment.swift
[5/7] Emitting module SwiftShell
/host/spi-builder-workspace/Sources/SwiftShell/ShellCommand.swift:36: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:4:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/SwiftShell/ShellCommand.swift:47: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:52: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 {
^
[6/7] Compiling SwiftShell ShellCommand.swift
/host/spi-builder-workspace/Sources/SwiftShell/ShellCommand.swift:36: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:4:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/SwiftShell/ShellCommand.swift:47: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:52: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:73: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:76: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)
^
[7/7] Compiling SwiftShell Bash.swift
/host/spi-builder-workspace/Sources/SwiftShell/Bash.swift:27: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