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 Linux.

Swift 6 data race errors: 0

Build Command

bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" 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 2>&1

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 /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/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:         linux
Swift version:             6.0
Building package at path:  $workDir
https://github.com/pauljeannot/swiftybash.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" 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 2>&1
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/6] Compiling SwiftyBash BashOutputType.swift
/host/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] Emitting module SwiftyBash
/host/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 |     }
/host/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 |     }
/host/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
/host/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 |     }
/host/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 |     }
/host/spi-builder-workspace/Sources/BashCmd.swift:57:17: warning: 'launchPath' is deprecated: renamed to 'executableURL'
 55 |
 56 |         // Setup process
 57 |         process.launchPath = "/bin/bash"
    |                 |- warning: 'launchPath' is deprecated: renamed to 'executableURL'
    |                 `- note: use 'executableURL' instead
 58 |         process.standardOutput = stdout
 59 |         process.standardError = stderr
/host/spi-builder-workspace/Sources/BashCmd.swift:69:17: warning: 'launch()' is deprecated: renamed to 'run'
 67 |         // Run process
 68 |         process.arguments = ["-c", finalCommand]
 69 |         process.launch()
    |                 |- warning: 'launch()' is deprecated: renamed to 'run'
    |                 `- note: use 'run' instead
 70 |         process.waitUntilExit()
 71 |
[6/6] Compiling SwiftyBash BashException.swift
Build complete! (8.15s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SwiftyBash",
  "name" : "SwiftyBash",
  "path" : "/host/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.