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

Successful build of Commands, reference 2.0.0 (24a892), with Swift 6.1 for Linux on 26 Apr 2025 21:28:49 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/q231950/commands.git
Reference: 2.0.0
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/q231950/commands
 * tag               2.0.0      -> FETCH_HEAD
HEAD is now at 24a8921 Merge pull request #33 from q231950/prepare-2.0.0
Cloned https://github.com/q231950/commands.git
Revision (git rev-parse @):
24a89210f123ae2bb289586ccca2337ede0165a9
SUCCESS checkout https://github.com/q231950/commands.git at 2.0.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/q231950/commands.git
https://github.com/q231950/commands.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Commands",
  "name" : "Commands",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "CommandsExample",
      "targets" : [
        "CommandsExample"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "Commands",
      "targets" : [
        "Commands"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CommandsTests",
      "module_type" : "SwiftTarget",
      "name" : "CommandsTests",
      "path" : "Tests/CommandsTests",
      "sources" : [
        "CommandExecutorTests.swift",
        "TestHelper.swift"
      ],
      "target_dependencies" : [
        "Commands"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CommandsExample",
      "module_type" : "SwiftTarget",
      "name" : "CommandsExample",
      "path" : "Sources/CommandsExample",
      "product_memberships" : [
        "CommandsExample"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "Commands"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "Commands",
      "module_type" : "SwiftTarget",
      "name" : "Commands",
      "path" : "Sources/Commands",
      "product_memberships" : [
        "CommandsExample",
        "Commands"
      ],
      "sources" : [
        "Command.swift",
        "CommandExecutor.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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
Building for debugging...
[0/7] Write sources
[2/7] Write swift-version-24593BA9C3E375BF.txt
[4/10] Compiling Commands Command.swift
[5/10] Emitting module Commands
[6/10] Compiling Commands CommandExecutor.swift
/host/spi-builder-workspace/Sources/Commands/CommandExecutor.swift:40:13: warning: capture of 'self' with non-sendable type 'CommandExecutor' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 8 | import Foundation
 9 |
10 | public class CommandExecutor {
   |              `- note: class 'CommandExecutor' does not conform to the 'Sendable' protocol
11 |
12 |     public init() {}
   :
38 |         process.standardInput = inputPipe
39 |         process.terminationHandler = { process in
40 |             self.terminationHandler?(process.terminationStatus)
   |             `- warning: capture of 'self' with non-sendable type 'CommandExecutor' in a '@Sendable' closure; this is an error in the Swift 6 language mode
41 |         }
42 |
/host/spi-builder-workspace/Sources/Commands/CommandExecutor.swift:61:17: warning: capture of 'self' with non-sendable type 'CommandExecutor?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 8 | import Foundation
 9 |
10 | public class CommandExecutor {
   |              `- note: class 'CommandExecutor' does not conform to the 'Sendable' protocol
11 |
12 |     public init() {}
   :
59 |             let data = handle.availableData
60 |             if data.count > 0, let output = String(data: data, encoding: .utf8) {
61 |                 self?.outputHandler?(output)
   |                 `- warning: capture of 'self' with non-sendable type 'CommandExecutor?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
62 |             }
63 |         }
[7/11] Wrapping AST for Commands for debugging
[9/13] Compiling CommandsExample main.swift
[10/13] Emitting module CommandsExample
[11/14] Wrapping AST for CommandsExample for debugging
[12/14] Write Objects.LinkFileList
[13/14] Linking CommandsExample
Build complete! (7.69s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Commands",
  "name" : "Commands",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "CommandsExample",
      "targets" : [
        "CommandsExample"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "Commands",
      "targets" : [
        "Commands"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CommandsTests",
      "module_type" : "SwiftTarget",
      "name" : "CommandsTests",
      "path" : "Tests/CommandsTests",
      "sources" : [
        "CommandExecutorTests.swift",
        "TestHelper.swift"
      ],
      "target_dependencies" : [
        "Commands"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CommandsExample",
      "module_type" : "SwiftTarget",
      "name" : "CommandsExample",
      "path" : "Sources/CommandsExample",
      "product_memberships" : [
        "CommandsExample"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "Commands"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "Commands",
      "module_type" : "SwiftTarget",
      "name" : "Commands",
      "path" : "Sources/Commands",
      "product_memberships" : [
        "CommandsExample",
        "Commands"
      ],
      "sources" : [
        "Command.swift",
        "CommandExecutor.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
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
Done.