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 Run, reference 0.1.1 (5a2866), with Swift 6.0 for Linux on 27 Nov 2024 08:50:58 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.0-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

Build Log

========================================
RunAll
========================================
Builder version: 4.58.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.0
Building package at path:  $PWD
https://github.com/getGuaka/Run.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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 -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.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
Fetching https://github.com/Quick/Quick.git
Fetching https://github.com/getGuaka/Prompt.git
Fetching https://github.com/Quick/Nimble.git
[1/44] Fetching prompt
[45/14784] Fetching prompt, quick
[14785/34059] Fetching prompt, quick, nimble
Fetched https://github.com/getGuaka/Prompt.git from cache (1.72s)
Fetched https://github.com/Quick/Quick.git from cache (1.73s)
Fetched https://github.com/Quick/Nimble.git from cache (1.74s)
Computing version for https://github.com/getGuaka/Prompt.git
Computed https://github.com/getGuaka/Prompt.git at 0.1.1 (0.45s)
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.45s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 1.3.4 (0.46s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 7.3.4 (0.45s)
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/getGuaka/Args.git
Working copy of https://github.com/getGuaka/Args.git resolved at 0.1.1
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/Prompt.git
Working copy of https://github.com/getGuaka/Prompt.git resolved at 0.1.1
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/10] Emitting module Args
[6/10] Compiling Args Args.swift
[7/10] Compiling Args ProcessInfo.swift
[8/10] Compiling Args ArgsParser.swift
[9/10] Compiling Args ArgConvertible.swift
[10/10] Compiling Args Argument.swift
[12/21] Compiling Prompt AskerValidator.swift
[13/22] Compiling Prompt PromptReader.swift
[14/22] Compiling Prompt PromptPrinter.swift
[15/22] Emitting module Prompt
[16/22] Compiling Prompt Ask.swift
[17/22] Compiling Prompt AskSettings.swift
[18/22] Compiling Prompt Agree.swift
[19/22] Compiling Prompt AgreeSettings.swift
[20/22] Compiling Prompt PromptSettings.swift
[21/22] Compiling Prompt ChooseSettings.swift
[22/22] Compiling Prompt Choose.swift
[24/30] Compiling Run TaskPipe.swift
[25/30] Compiling Run ShortHandRunner.swift
[26/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: annotate 'currentTaskExecutor' with '@MainActor' if property should only be accessed from the main actor
    |                `- 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: annotate 'None' with '@MainActor' if property should only be accessed from the main actor
   |                       `- 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: annotate 'Stdout' with '@MainActor' if property should only be accessed from the main actor
   |                       `- 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: annotate 'Stderr' with '@MainActor' if property should only be accessed from the main actor
   |                       `- 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: annotate 'Command' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 | }
45 |
[27/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: annotate 'None' with '@MainActor' if property should only be accessed from the main actor
   |                       `- 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: annotate 'Stdout' with '@MainActor' if property should only be accessed from the main actor
   |                       `- 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: annotate 'Stderr' with '@MainActor' if property should only be accessed from the main actor
   |                       `- 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: annotate 'Command' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 | }
45 |
[28/30] Compiling Run RunResults.swift
[29/30] Compiling Run Runner.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: annotate 'None' with '@MainActor' if property should only be accessed from the main actor
   |                       `- 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/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: annotate 'currentTaskExecutor' with '@MainActor' if property should only be accessed from the main actor
    |                `- 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: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: annotate 'Command' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 | }
45 |
/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: annotate 'Stdout' with '@MainActor' if property should only be accessed from the main actor
   |                       `- 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: annotate 'Stderr' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 |     /// Echo the command executed to the terminal
[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: annotate 'currentTaskExecutor' with '@MainActor' if property should only be accessed from the main actor
    |                `- 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)!)
BUILD FAILURE 6.0 linux