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 master (5cf81e), with Swift 6.0 for macOS (SPM) on 31 Oct 2024 11:11:26 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: 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
========================================
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.72s)
Creating working copy for https://github.com/pauljeannot/swiftybash.git
Working copy of https://github.com/pauljeannot/swiftybash.git resolved at master (5cf81e8)
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] 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
[6/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 |     }
Build complete! (6.19s)
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.