This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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 with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/pauljeannot/swiftybash.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/pauljeannot/swiftybash
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 5cf81e8 Update README.md
Cloned https://github.com/pauljeannot/swiftybash.git
Revision (git rev-parse @):
5cf81e81379a8dcc14c8a293b5fdbe2aade41aac
SUCCESS checkout https://github.com/pauljeannot/swiftybash.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/pauljeannot/swiftybash.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a 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-6F35C1178C84523A.txt
[3/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
[4/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 |     }
[5/6] Compiling SwiftyBash BashException.swift
[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! (16.64s)
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.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.