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.0 for Linux on 28 Nov 2024 13:34:30 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 -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/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.0
Building package at path:  $PWD
https://github.com/q231950/commands.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 -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
Building for debugging...
[0/7] Write sources
[2/7] Write swift-version-24593BA9C3E375BF.txt
[4/10] Emitting module Commands
[5/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 |         }
[6/10] Compiling Commands Command.swift
[7/11] Wrapping AST for Commands for debugging
[9/13] Emitting module CommandsExample
[10/13] Compiling CommandsExample main.swift
[11/14] Wrapping AST for CommandsExample for debugging
[12/14] Write Objects.LinkFileList
[13/14] Linking CommandsExample
Build complete! (8.75s)
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.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.