Build Information
Successful build of shell-kit, reference main (7a274b
), with Swift 6.0 for Linux on 1 Nov 2024 04:44:22 UTC.
Swift 6 data race errors: 0
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/BinaryBirds/shell-kit.git
Reference: main
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/BinaryBirds/shell-kit
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 7a274bd license
Cloned https://github.com/BinaryBirds/shell-kit.git
Revision (git rev-parse @):
7a274bdb965378befad26085ef52ac3cb2051c8d
SUCCESS checkout https://github.com/BinaryBirds/shell-kit.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/BinaryBirds/shell-kit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/4] Emitting module ShellKit
[4/4] Compiling ShellKit Shell.swift
/host/spi-builder-workspace/Sources/ShellKit/Shell.swift:122:17: warning: 'launchPath' is deprecated: renamed to 'executableURL'
120 | public func run(_ command: String) throws -> String {
121 | let process = Process()
122 | process.launchPath = self.type
| |- warning: 'launchPath' is deprecated: renamed to 'executableURL'
| `- note: use 'executableURL' instead
123 | process.arguments = ["-c", command]
124 |
/host/spi-builder-workspace/Sources/ShellKit/Shell.swift:157:17: warning: 'launch()' is deprecated: renamed to 'run'
155 | #endif
156 |
157 | process.launch()
| |- warning: 'launch()' is deprecated: renamed to 'run'
| `- note: use 'run' instead
158 |
159 | #if os(Linux)
/host/spi-builder-workspace/Sources/ShellKit/Shell.swift:204:34: warning: capture of 'self' with non-sendable type 'Shell' in a `@Sendable` closure; this is an error in the Swift 6 language mode
54 |
55 | // a custom shell representation object
56 | open class Shell {
| `- note: class 'Shell' does not conform to the 'Sendable' protocol
57 |
58 | // shell errors
:
202 | queue.async {
203 | do {
204 | let output = try self.run(command)
| `- warning: capture of 'self' with non-sendable type 'Shell' in a `@Sendable` closure; this is an error in the Swift 6 language mode
205 | completion(output, nil)
206 | }
/host/spi-builder-workspace/Sources/ShellKit/Shell.swift:205:17: warning: capture of 'completion' with non-sendable type '(String?, (any Error)?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
203 | do {
204 | let output = try self.run(command)
205 | completion(output, nil)
| |- warning: capture of 'completion' with non-sendable type '(String?, (any Error)?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
206 | }
207 | catch {
Build complete! (8.01s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "shell-kit",
"name" : "shell-kit",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "ShellKit",
"targets" : [
"ShellKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ShellKitTests",
"module_type" : "SwiftTarget",
"name" : "ShellKitTests",
"path" : "Tests/ShellKitTests",
"sources" : [
"ShellKitTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"ShellKit"
],
"type" : "test"
},
{
"c99name" : "ShellKit",
"module_type" : "SwiftTarget",
"name" : "ShellKit",
"path" : "Sources/ShellKit",
"product_memberships" : [
"ShellKit"
],
"sources" : [
"Shell.swift"
],
"type" : "library"
}
],
"tools_version" : "5.2"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.