The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of SwiftyBash, reference master (5cf81e), with Swift 6.1 for Android on 27 May 2025 12:24:17 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
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:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/pauljeannot/swiftybash.git
https://github.com/pauljeannot/swiftybash.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "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"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:9f3c606dcd2a4f06d17ba472aa533c43685ba7ba19a5c9bc23518a066eb7f86a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
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! (16.20s)
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"
}
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:9f3c606dcd2a4f06d17ba472aa533c43685ba7ba19a5c9bc23518a066eb7f86a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Done.