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 swift-command, reference 1.3.0 (f99f1d), with Swift 6.0 for macOS (SPM) on 23 Mar 2025 07:15:14 UTC.

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64 -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

Build Log

========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/pelagornis/swift-command.git
Reference: 1.3.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/pelagornis/swift-command
 * tag               1.3.0      -> FETCH_HEAD
HEAD is now at f99f1d6 Update Swift-Command Version
Cloned https://github.com/pelagornis/swift-command.git
Revision (git rev-parse @):
f99f1d6c4c50bfc67aa9eb472c8e32a9dbc4206d
SUCCESS checkout https://github.com/pelagornis/swift-command.git at 1.3.0
Fetching https://github.com/apple/swift-log
Fetching https://github.com/swiftlang/swift-docc-symbolkit
Fetching https://github.com/apple/swift-docc-plugin.git
[1/2050] Fetching swift-docc-plugin
[227/5837] Fetching swift-docc-plugin, swift-log
[455/9180] Fetching swift-docc-plugin, swift-log, swift-docc-symbolkit
Fetched https://github.com/apple/swift-log from cache (1.15s)
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.15s)
Fetched https://github.com/apple/swift-docc-plugin.git from cache (1.15s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.6.3 (0.44s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (0.57s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.61s)
Creating working copy for https://github.com/apple/swift-docc-plugin.git
Working copy of https://github.com/apple/swift-docc-plugin.git resolved at 1.4.3
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.6.3
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "swift-command",
      "name": "swift-command",
      "url": "https://github.com/pelagornis/swift-command.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-command",
      "dependencies": [
        {
          "identity": "swift-log",
          "name": "swift-log",
          "url": "https://github.com/apple/swift-log",
          "version": "1.6.3",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-log",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/pelagornis/swift-command.git
[1/1244] Fetching swift-command
Fetched https://github.com/pelagornis/swift-command.git from cache (0.99s)
Fetching https://github.com/apple/swift-log from cache
Fetched https://github.com/apple/swift-log from cache (0.50s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.6.3 (0.02s)
Creating working copy for https://github.com/pelagornis/swift-command.git
Working copy of https://github.com/pelagornis/swift-command.git resolved at 1.3.0 (f99f1d6)
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.6.3
warning: '.resolve-product-dependencies': dependency 'swift-command' is not used by any target
Found 1 product dependencies
  - swift-log
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/pelagornis/swift-command.git
https://github.com/pelagornis/swift-command.git
{
  "dependencies" : [
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.4.3",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    },
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.6.3",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log"
    }
  ],
  "manifest_display_name" : "swift-command",
  "name" : "swift-command",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "Command",
      "targets" : [
        "Command"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CommandTests",
      "module_type" : "SwiftTarget",
      "name" : "CommandTests",
      "path" : "Tests/CommandTests",
      "sources" : [
        "CommandTests.swift"
      ],
      "target_dependencies" : [
        "Command"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Command",
      "module_type" : "SwiftTarget",
      "name" : "Command",
      "path" : "Sources/Command",
      "product_dependencies" : [
        "Logging"
      ],
      "product_memberships" : [
        "Command"
      ],
      "sources" : [
        "Alias.swift",
        "Arguments.swift",
        "Command.swift",
        "CommandValues.swift",
        "CommandValues/Bash.swift",
        "CommandValues/Make.swift",
        "CommandValues/Zsh.swift",
        "Environment.swift",
        "Internal/DataExt.swift",
        "Internal/StringExt.swift",
        "Internal/URLExt.swift",
        "Request.swift",
        "Response.swift",
        "Result.swift",
        "Support/Fastlane.swift",
        "Support/Git.swift",
        "Support/SwiftPackage.swift",
        "Support/Tuist.swift",
        "Task.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64 -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
[1/1] Compiling plugin Swift-DocC
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/5] Write sources
[4/5] Write swift-version-5BDAB9E9C0126B9D.txt
[6/10] Compiling Logging MetadataProvider.swift
[7/10] Compiling Logging Locks.swift
[8/10] Emitting module Logging
[9/10] Compiling Logging LogHandler.swift
[10/10] Compiling Logging Logging.swift
[11/29] Compiling Command SwiftPackage.swift
/Users/admin/builder/spi-builder-workspace/Sources/Command/Environment.swift:11:23: warning: static property 'global' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 |     /// The global environment for all commands.
11 |     public static var global = Environment()
   |                       |- warning: static property 'global' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'global' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'global' 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
12 |
13 |     //MARK: - Initializer
[12/29] Compiling Command Tuist.swift
/Users/admin/builder/spi-builder-workspace/Sources/Command/Environment.swift:11:23: warning: static property 'global' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 |     /// The global environment for all commands.
11 |     public static var global = Environment()
   |                       |- warning: static property 'global' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'global' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'global' 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
12 |
13 |     //MARK: - Initializer
[13/30] Compiling Command Fastlane.swift
/Users/admin/builder/spi-builder-workspace/Sources/Command/Environment.swift:11:23: warning: static property 'global' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 |     /// The global environment for all commands.
11 |     public static var global = Environment()
   |                       |- warning: static property 'global' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'global' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'global' 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
12 |
13 |     //MARK: - Initializer
[14/30] Compiling Command Git.swift
/Users/admin/builder/spi-builder-workspace/Sources/Command/Environment.swift:11:23: warning: static property 'global' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 |     /// The global environment for all commands.
11 |     public static var global = Environment()
   |                       |- warning: static property 'global' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'global' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'global' 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
12 |
13 |     //MARK: - Initializer
[15/30] Compiling Command Response.swift
[16/30] Compiling Command Result.swift
[17/30] Compiling Command Bash.swift
[18/30] Compiling Command Make.swift
[19/30] Compiling Command Zsh.swift
/Users/admin/builder/spi-builder-workspace/Sources/Command/Environment.swift:11:23: warning: static property 'global' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 |     /// The global environment for all commands.
11 |     public static var global = Environment()
   |                       |- warning: static property 'global' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'global' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'global' 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
12 |
13 |     //MARK: - Initializer
[20/30] Compiling Command Environment.swift
/Users/admin/builder/spi-builder-workspace/Sources/Command/Environment.swift:11:23: warning: static property 'global' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 |     /// The global environment for all commands.
11 |     public static var global = Environment()
   |                       |- warning: static property 'global' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'global' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'global' 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
12 |
13 |     //MARK: - Initializer
[21/30] Compiling Command Alias.swift
/Users/admin/builder/spi-builder-workspace/Sources/Command/Environment.swift:11:23: warning: static property 'global' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 |     /// The global environment for all commands.
11 |     public static var global = Environment()
   |                       |- warning: static property 'global' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'global' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'global' 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
12 |
13 |     //MARK: - Initializer
[22/30] Compiling Command Arguments.swift
/Users/admin/builder/spi-builder-workspace/Sources/Command/Environment.swift:11:23: warning: static property 'global' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 |     /// The global environment for all commands.
11 |     public static var global = Environment()
   |                       |- warning: static property 'global' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'global' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'global' 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
12 |
13 |     //MARK: - Initializer
[23/30] Compiling Command DataExt.swift
[24/30] Compiling Command StringExt.swift
[25/30] Emitting module Command
/Users/admin/builder/spi-builder-workspace/Sources/Command/Environment.swift:11:23: warning: static property 'global' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 |     /// The global environment for all commands.
11 |     public static var global = Environment()
   |                       |- warning: static property 'global' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'global' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'global' 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
12 |
13 |     //MARK: - Initializer
[26/30] Compiling Command Command.swift
[27/30] Compiling Command CommandValues.swift
[28/30] Compiling Command URLExt.swift
/Users/admin/builder/spi-builder-workspace/Sources/Command/Environment.swift:11:23: warning: static property 'global' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 |     /// The global environment for all commands.
11 |     public static var global = Environment()
   |                       |- warning: static property 'global' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'global' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'global' 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
12 |
13 |     //MARK: - Initializer
[29/30] Compiling Command Request.swift
/Users/admin/builder/spi-builder-workspace/Sources/Command/Environment.swift:11:23: warning: static property 'global' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 |     /// The global environment for all commands.
11 |     public static var global = Environment()
   |                       |- warning: static property 'global' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'global' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'global' 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
12 |
13 |     //MARK: - Initializer
[30/30] Compiling Command Task.swift
Build complete! (21.28s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.4.3",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    },
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.6.3",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log"
    }
  ],
  "manifest_display_name" : "swift-command",
  "name" : "swift-command",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "Command",
      "targets" : [
        "Command"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CommandTests",
      "module_type" : "SwiftTarget",
      "name" : "CommandTests",
      "path" : "Tests/CommandTests",
      "sources" : [
        "CommandTests.swift"
      ],
      "target_dependencies" : [
        "Command"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Command",
      "module_type" : "SwiftTarget",
      "name" : "Command",
      "path" : "Sources/Command",
      "product_dependencies" : [
        "Logging"
      ],
      "product_memberships" : [
        "Command"
      ],
      "sources" : [
        "Alias.swift",
        "Arguments.swift",
        "Command.swift",
        "CommandValues.swift",
        "CommandValues/Bash.swift",
        "CommandValues/Make.swift",
        "CommandValues/Zsh.swift",
        "Environment.swift",
        "Internal/DataExt.swift",
        "Internal/StringExt.swift",
        "Internal/URLExt.swift",
        "Request.swift",
        "Response.swift",
        "Result.swift",
        "Support/Fastlane.swift",
        "Support/Git.swift",
        "Support/SwiftPackage.swift",
        "Support/Tuist.swift",
        "Task.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Done.