Build Information
Failed to build Run, reference 0.1.1 (5a2866
), with Swift 6.1 for Linux on 25 Apr 2025 17:20:18 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/getGuaka/Run.git
Reference: 0.1.1
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/getGuaka/Run
* tag 0.1.1 -> FETCH_HEAD
HEAD is now at 5a2866c Fix execute ls test on Linux
Cloned https://github.com/getGuaka/Run.git
Revision (git rev-parse @):
5a2866c0ae4266e0406d85f16adf65a30a626d7f
SUCCESS checkout https://github.com/getGuaka/Run.git at 0.1.1
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/getGuaka/Run.git
https://github.com/getGuaka/Run.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "prompt",
"requirement" : {
"range" : [
{
"lower_bound" : "0.1.1",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/getGuaka/Prompt.git"
},
{
"identity" : "quick",
"requirement" : {
"range" : [
{
"lower_bound" : "1.3.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Quick/Quick.git"
},
{
"identity" : "nimble",
"requirement" : {
"range" : [
{
"lower_bound" : "7.3.0",
"upper_bound" : "8.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Quick/Nimble.git"
}
],
"manifest_display_name" : "Run",
"name" : "Run",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Run",
"targets" : [
"Run"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "RunTests",
"module_type" : "SwiftTarget",
"name" : "RunTests",
"path" : "Tests/RunTests",
"product_dependencies" : [
"Quick",
"Nimble"
],
"sources" : [
"RunnerTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"Run"
],
"type" : "test"
},
{
"c99name" : "Run",
"module_type" : "SwiftTarget",
"name" : "Run",
"path" : "Sources/Run",
"product_dependencies" : [
"Prompt"
],
"product_memberships" : [
"Run"
],
"sources" : [
"CommandExecutor.swift",
"RunResults.swift",
"Runner.swift",
"RunnerSettings.swift",
"ShortHandRunner.swift",
"TaskPipe.swift"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/getGuaka/Prompt.git
Fetching https://github.com/Quick/Nimble.git
Fetching https://github.com/Quick/Quick.git
[1/44] Fetching prompt
[45/14799] Fetching prompt, quick
[4767/34366] Fetching prompt, quick, nimble
Fetched https://github.com/getGuaka/Prompt.git from cache (0.64s)
Fetched https://github.com/Quick/Quick.git from cache (0.65s)
[15458/19567] Fetching nimble
Fetched https://github.com/Quick/Nimble.git from cache (1.28s)
Computing version for https://github.com/getGuaka/Prompt.git
Computed https://github.com/getGuaka/Prompt.git at 0.1.1 (1.84s)
Fetching https://github.com/getGuaka/Args.git
[1/34] Fetching args
Fetched https://github.com/getGuaka/Args.git from cache (0.20s)
Computing version for https://github.com/getGuaka/Args.git
Computed https://github.com/getGuaka/Args.git at 0.1.1 (0.80s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 1.3.4 (0.59s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 7.3.4 (0.58s)
Creating working copy for https://github.com/getGuaka/Prompt.git
Working copy of https://github.com/getGuaka/Prompt.git resolved at 0.1.1
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 7.3.4
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 1.3.4
Creating working copy for https://github.com/getGuaka/Args.git
Working copy of https://github.com/getGuaka/Args.git resolved at 0.1.1
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/10] Compiling Args ProcessInfo.swift
[6/10] Compiling Args ArgConvertible.swift
[7/10] Compiling Args ArgsParser.swift
[8/10] Emitting module Args
[9/10] Compiling Args Args.swift
[10/10] Compiling Args Argument.swift
[12/21] Compiling Prompt PromptReader.swift
[13/22] Compiling Prompt AskerValidator.swift
[14/22] Compiling Prompt Agree.swift
[15/22] Compiling Prompt AgreeSettings.swift
[16/22] Emitting module Prompt
[17/22] Compiling Prompt Ask.swift
[18/22] Compiling Prompt AskSettings.swift
[19/22] Compiling Prompt PromptSettings.swift
[20/22] Compiling Prompt Choose.swift
[21/22] Compiling Prompt ChooseSettings.swift
[22/22] Compiling Prompt PromptPrinter.swift
[24/30] Compiling Run TaskPipe.swift
[25/30] Compiling Run ShortHandRunner.swift
[26/30] Compiling Run Runner.swift
[27/30] Compiling Run RunResults.swift
[28/30] Emitting module Run
/host/spi-builder-workspace/Sources/Run/CommandExecutor.swift:16:16: warning: static property 'currentTaskExecutor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 | class CommandExecutor {
15 |
16 | static var currentTaskExecutor: TaskExecutor = ActualTaskExecutor()
| |- warning: static property 'currentTaskExecutor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'currentTaskExecutor' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'currentTaskExecutor' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 | class func execute(_ commandParts: [String]) -> ExecutorReturnValue {
/host/spi-builder-workspace/Sources/Run/RunnerSettings.swift:34:23: warning: static property 'None' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Dont echo anything, this is the default settings
34 | public static var None = EchoSettings(rawValue: 0)
| |- warning: static property 'None' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'None' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'None' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | /// Echo the stdout from the run command to the terminal
/host/spi-builder-workspace/Sources/Run/RunnerSettings.swift:37:23: warning: static property 'Stdout' is not concurrency-safe because non-'Sendable' type 'EchoSettings' may have shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | /// Echo settings
25 | public struct EchoSettings: OptionSet {
| `- note: consider making struct 'EchoSettings' conform to the 'Sendable' protocol
26 |
27 | public let rawValue: Int
:
35 |
36 | /// Echo the stdout from the run command to the terminal
37 | public static let Stdout = EchoSettings(rawValue: 1 << 0)
| |- warning: static property 'Stdout' is not concurrency-safe because non-'Sendable' type 'EchoSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'Stdout' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 |
39 | /// Echo the stderr from the run command to the terminal
/host/spi-builder-workspace/Sources/Run/RunnerSettings.swift:40:23: warning: static property 'Stderr' is not concurrency-safe because non-'Sendable' type 'EchoSettings' may have shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | /// Echo settings
25 | public struct EchoSettings: OptionSet {
| `- note: consider making struct 'EchoSettings' conform to the 'Sendable' protocol
26 |
27 | public let rawValue: Int
:
38 |
39 | /// Echo the stderr from the run command to the terminal
40 | public static let Stderr = EchoSettings(rawValue: 1 << 1)
| |- warning: static property 'Stderr' is not concurrency-safe because non-'Sendable' type 'EchoSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'Stderr' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 | /// Echo the command executed to the terminal
/host/spi-builder-workspace/Sources/Run/RunnerSettings.swift:43:23: warning: static property 'Command' is not concurrency-safe because non-'Sendable' type 'EchoSettings' may have shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | /// Echo settings
25 | public struct EchoSettings: OptionSet {
| `- note: consider making struct 'EchoSettings' conform to the 'Sendable' protocol
26 |
27 | public let rawValue: Int
:
41 |
42 | /// Echo the command executed to the terminal
43 | public static let Command = EchoSettings(rawValue: 1 << 2)
| |- warning: static property 'Command' is not concurrency-safe because non-'Sendable' type 'EchoSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'Command' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 | }
45 |
[29/30] Compiling Run RunnerSettings.swift
/host/spi-builder-workspace/Sources/Run/RunnerSettings.swift:34:23: warning: static property 'None' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Dont echo anything, this is the default settings
34 | public static var None = EchoSettings(rawValue: 0)
| |- warning: static property 'None' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'None' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'None' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | /// Echo the stdout from the run command to the terminal
/host/spi-builder-workspace/Sources/Run/RunnerSettings.swift:37:23: warning: static property 'Stdout' is not concurrency-safe because non-'Sendable' type 'EchoSettings' may have shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | /// Echo settings
25 | public struct EchoSettings: OptionSet {
| `- note: consider making struct 'EchoSettings' conform to the 'Sendable' protocol
26 |
27 | public let rawValue: Int
:
35 |
36 | /// Echo the stdout from the run command to the terminal
37 | public static let Stdout = EchoSettings(rawValue: 1 << 0)
| |- warning: static property 'Stdout' is not concurrency-safe because non-'Sendable' type 'EchoSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'Stdout' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 |
39 | /// Echo the stderr from the run command to the terminal
/host/spi-builder-workspace/Sources/Run/RunnerSettings.swift:40:23: warning: static property 'Stderr' is not concurrency-safe because non-'Sendable' type 'EchoSettings' may have shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | /// Echo settings
25 | public struct EchoSettings: OptionSet {
| `- note: consider making struct 'EchoSettings' conform to the 'Sendable' protocol
26 |
27 | public let rawValue: Int
:
38 |
39 | /// Echo the stderr from the run command to the terminal
40 | public static let Stderr = EchoSettings(rawValue: 1 << 1)
| |- warning: static property 'Stderr' is not concurrency-safe because non-'Sendable' type 'EchoSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'Stderr' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 | /// Echo the command executed to the terminal
/host/spi-builder-workspace/Sources/Run/RunnerSettings.swift:43:23: warning: static property 'Command' is not concurrency-safe because non-'Sendable' type 'EchoSettings' may have shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | /// Echo settings
25 | public struct EchoSettings: OptionSet {
| `- note: consider making struct 'EchoSettings' conform to the 'Sendable' protocol
26 |
27 | public let rawValue: Int
:
41 |
42 | /// Echo the command executed to the terminal
43 | public static let Command = EchoSettings(rawValue: 1 << 2)
| |- warning: static property 'Command' is not concurrency-safe because non-'Sendable' type 'EchoSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'Command' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 | }
45 |
[30/30] Compiling Run CommandExecutor.swift
/host/spi-builder-workspace/Sources/Run/CommandExecutor.swift:16:16: warning: static property 'currentTaskExecutor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 | class CommandExecutor {
15 |
16 | static var currentTaskExecutor: TaskExecutor = ActualTaskExecutor()
| |- warning: static property 'currentTaskExecutor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'currentTaskExecutor' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'currentTaskExecutor' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 | class func execute(_ commandParts: [String]) -> ExecutorReturnValue {
/host/spi-builder-workspace/Sources/Run/CommandExecutor.swift:44:14: warning: 'launchPath' is deprecated: renamed to 'executableURL'
42 | let task = Process()
43 |
44 | task.launchPath = "/usr/bin/env"
| |- warning: 'launchPath' is deprecated: renamed to 'executableURL'
| `- note: use 'executableURL' instead
45 | task.arguments = commandParts
46 |
/host/spi-builder-workspace/Sources/Run/CommandExecutor.swift:52:14: warning: 'launch()' is deprecated: renamed to 'run'
50 | task.standardOutput = stdoutPipe
51 | task.standardError = stderrPipe
52 | task.launch()
| |- warning: 'launch()' is deprecated: renamed to 'run'
| `- note: use 'run' instead
53 | task.waitUntilExit()
54 |
/host/spi-builder-workspace/Sources/Run/CommandExecutor.swift:81:44: error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
79 |
80 | var pid: pid_t = 0
81 | let result = posix_spawn(&pid, argv[0], &childFDActions, nil, argv + [nil], nil)
| |- error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
82 |
83 | let emptyPipe = Dryipe(dataToReturn: "".data(using: String.Encoding.utf8)!)
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/7] Compiling Args ArgsParser.swift
[3/7] Compiling Args ProcessInfo.swift
[4/7] Emitting module Args
[5/7] Compiling Args Args.swift
[6/7] Compiling Args ArgConvertible.swift
[7/7] Compiling Args Argument.swift
[9/18] Compiling Prompt PromptPrinter.swift
[10/18] Compiling Prompt PromptReader.swift
[11/19] Compiling Prompt Ask.swift
[12/19] Compiling Prompt AskSettings.swift
[13/19] Compiling Prompt Agree.swift
[14/19] Compiling Prompt AgreeSettings.swift
[15/19] Emitting module Prompt
[16/19] Compiling Prompt Choose.swift
[17/19] Compiling Prompt AskerValidator.swift
[18/19] Compiling Prompt ChooseSettings.swift
[19/19] Compiling Prompt PromptSettings.swift
[21/27] Compiling Run TaskPipe.swift
[22/27] Compiling Run ShortHandRunner.swift
[23/27] Compiling Run Runner.swift
[24/27] Compiling Run RunResults.swift
[25/27] Compiling Run RunnerSettings.swift
[26/27] Emitting module Run
[27/27] Compiling Run CommandExecutor.swift
/host/spi-builder-workspace/Sources/Run/CommandExecutor.swift:44:14: warning: 'launchPath' is deprecated: renamed to 'executableURL'
42 | let task = Process()
43 |
44 | task.launchPath = "/usr/bin/env"
| |- warning: 'launchPath' is deprecated: renamed to 'executableURL'
| `- note: use 'executableURL' instead
45 | task.arguments = commandParts
46 |
/host/spi-builder-workspace/Sources/Run/CommandExecutor.swift:52:14: warning: 'launch()' is deprecated: renamed to 'run'
50 | task.standardOutput = stdoutPipe
51 | task.standardError = stderrPipe
52 | task.launch()
| |- warning: 'launch()' is deprecated: renamed to 'run'
| `- note: use 'run' instead
53 | task.waitUntilExit()
54 |
/host/spi-builder-workspace/Sources/Run/CommandExecutor.swift:81:44: error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
79 |
80 | var pid: pid_t = 0
81 | let result = posix_spawn(&pid, argv[0], &childFDActions, nil, argv + [nil], nil)
| |- error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
82 |
83 | let emptyPipe = Dryipe(dataToReturn: "".data(using: String.Encoding.utf8)!)
BUILD FAILURE 6.1 linux