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 SwiftyBash, reference 1.0.0 (13e8e3), with Swift 6.0 for macOS (SPM) on 31 Oct 2024 11:11:50 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/pauljeannot/swiftybash.git
Reference: 1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/pauljeannot/swiftybash
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at 13e8e3c Update throwing condition in case of error in execution
Cloned https://github.com/pauljeannot/swiftybash.git
Revision (git rev-parse @):
13e8e3c0cbdc3a66e98163fc5c684724ec592aa4
SUCCESS checkout https://github.com/pauljeannot/swiftybash.git at 1.0.0
========================================
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": "swiftybash",
      "name": "SwiftyBash",
      "url": "https://github.com/pauljeannot/swiftybash.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swiftybash",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/pauljeannot/swiftybash.git
[1/147] Fetching swiftybash
Fetched https://github.com/pauljeannot/swiftybash.git from cache (0.71s)
Creating working copy for https://github.com/pauljeannot/swiftybash.git
Working copy of https://github.com/pauljeannot/swiftybash.git resolved at 1.0.0 (13e8e3c)
warning: '.resolve-product-dependencies': dependency 'swiftybash' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/pauljeannot/swiftybash.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/6] Compiling SwiftyBash BashException.swift
[4/6] Compiling SwiftyBash BashOutputType.swift
/Users/admin/builder/spi-builder-workspace/Sources/BashOutputType.swift:40:5: warning: 'public' modifier is redundant for instance method declared in a public extension
38 |     /// Returns a new string made by removing from both ends on each new line of the String characters
39 |     /// contained in a given character set.
40 |     public func trimmingCharactersEachNewLine(in set: CharacterSet) -> String {
   |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
41 |         let lines = split(separator: "\n")
42 |         // Need to transform each String.SubSequence aka Substring to String to avoid errors on Linux 16.04 with Swift 4.0
[5/6] Compiling SwiftyBash BashCmd.swift
/Users/admin/builder/spi-builder-workspace/Sources/BashCmd.swift:117:5: warning: 'public' modifier is redundant for instance method declared in a public extension
115 |      Newly BashCmd created with commands piped
116 |      */
117 |     public func pipe(_ pipedCmd:BashCmd) -> BashCmd {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
118 |         return BashCmd(_command + " | " + pipedCmd._command)
119 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BashCmd.swift:128:5: warning: 'public' modifier is redundant for operator function declared in a public extension
126 |         - rhs: Pipe output stream
127 |     */
128 |     public static func | (lhs: BashCmd, rhs: BashCmd) -> BashCmd {
    |     `- warning: 'public' modifier is redundant for operator function declared in a public extension
129 |         return lhs.pipe(rhs)
130 |     }
[6/6] Emitting module SwiftyBash
/Users/admin/builder/spi-builder-workspace/Sources/BashCmd.swift:117:5: warning: 'public' modifier is redundant for instance method declared in a public extension
115 |      Newly BashCmd created with commands piped
116 |      */
117 |     public func pipe(_ pipedCmd:BashCmd) -> BashCmd {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
118 |         return BashCmd(_command + " | " + pipedCmd._command)
119 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BashCmd.swift:128:5: warning: 'public' modifier is redundant for operator function declared in a public extension
126 |         - rhs: Pipe output stream
127 |     */
128 |     public static func | (lhs: BashCmd, rhs: BashCmd) -> BashCmd {
    |     `- warning: 'public' modifier is redundant for operator function declared in a public extension
129 |         return lhs.pipe(rhs)
130 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BashOutputType.swift:40:5: warning: 'public' modifier is redundant for instance method declared in a public extension
38 |     /// Returns a new string made by removing from both ends on each new line of the String characters
39 |     /// contained in a given character set.
40 |     public func trimmingCharactersEachNewLine(in set: CharacterSet) -> String {
   |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
41 |         let lines = split(separator: "\n")
42 |         // Need to transform each String.SubSequence aka Substring to String to avoid errors on Linux 16.04 with Swift 4.0
Build complete! (6.55s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SwiftyBash",
  "name" : "SwiftyBash",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SwiftyBash",
      "targets" : [
        "SwiftyBash"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftyBashTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftyBashTests",
      "path" : "Tests/SwiftyBashTests",
      "sources" : [
        "SwiftyBashTests.swift"
      ],
      "target_dependencies" : [
        "SwiftyBash"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftyBash",
      "module_type" : "SwiftTarget",
      "name" : "SwiftyBash",
      "path" : "Sources",
      "product_memberships" : [
        "SwiftyBash"
      ],
      "sources" : [
        "BashCmd.swift",
        "BashException.swift",
        "BashOutputType.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Done.