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 SwiftShell, reference 5.1.0 (99680b), with Swift 6.2 (beta) for Linux on 18 Jun 2025 17:41:53 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kareman/SwiftShell.git
Reference: 5.1.0
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/kareman/SwiftShell
 * tag               5.1.0      -> FETCH_HEAD
HEAD is now at 99680b2 Release 5.1 (#95)
Cloned https://github.com/kareman/SwiftShell.git
Revision (git rev-parse @):
99680b2efc7c7dbcace1da0b3979d266f02e213c
SUCCESS checkout https://github.com/kareman/SwiftShell.git at 5.1.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/kareman/SwiftShell.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/11] Compiling SwiftShell Array.swift
[4/12] Compiling SwiftShell String.swift
[5/12] Compiling SwiftShell Files.swift
[6/12] Compiling SwiftShell Lazy-split.swift
[7/12] Compiling SwiftShell Process.swift
[8/12] Compiling SwiftShell Stream.swift
/host/spi-builder-workspace/Sources/SwiftShell/Stream/Stream.swift:113:9: warning: capture of non-Sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
111 | 	public func onOutput(_ handler: @escaping (ReadableStream) -> Void) {
112 | 		filehandle.readabilityHandler = { [weak self] _ in
113 | 			self.map(handler)
    |         `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
114 | 		}
115 | 	}
/host/spi-builder-workspace/Sources/SwiftShell/Stream/Stream.swift:112:43: warning: capture of non-Sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
110 | 	/// it, it may be called once when stream is closed and empty.
111 | 	public func onOutput(_ handler: @escaping (ReadableStream) -> Void) {
112 | 		filehandle.readabilityHandler = { [weak self] _ in
    |                                           `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
113 | 			self.map(handler)
114 | 		}
[9/12] Compiling SwiftShell Bash.swift
/host/spi-builder-workspace/Sources/SwiftShell/Command.swift:151:6: warning: mutation of captured var 'stderror' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
149 | 			if command.stdout.filehandle.fileDescriptor != command.stderror.filehandle.fileDescriptor {
150 | 				DispatchQueue.global().async(group: group) {
151 | 					stderror = command.stderror.readData()
    |      `- warning: mutation of captured var 'stderror' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
152 | 				}
153 | 			}
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[10/12] Compiling SwiftShell Command.swift
/host/spi-builder-workspace/Sources/SwiftShell/Command.swift:151:6: warning: mutation of captured var 'stderror' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
149 | 			if command.stdout.filehandle.fileDescriptor != command.stderror.filehandle.fileDescriptor {
150 | 				DispatchQueue.global().async(group: group) {
151 | 					stderror = command.stderror.readData()
    |      `- warning: mutation of captured var 'stderror' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
152 | 				}
153 | 			}
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[11/12] Compiling SwiftShell Context.swift
[12/12] Emitting module SwiftShell
Build complete! (13.63s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SwiftShell",
  "name" : "SwiftShell",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SwiftShell",
      "targets" : [
        "SwiftShell"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "4.2",
    "5"
  ],
  "targets" : [
    {
      "c99name" : "SwiftShellTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftShellTests",
      "path" : "Tests/SwiftShellTests",
      "sources" : [
        "Command_Tests.swift",
        "Context_Tests.swift",
        "Files_Tests.swift",
        "String_Tests.swift"
      ],
      "target_dependencies" : [
        "SwiftShell"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftShell",
      "module_type" : "SwiftTarget",
      "name" : "SwiftShell",
      "path" : "Sources/SwiftShell",
      "product_memberships" : [
        "SwiftShell"
      ],
      "sources" : [
        "Bash.swift",
        "Command.swift",
        "Context.swift",
        "Files.swift",
        "General/Array.swift",
        "Process.swift",
        "Stream/Lazy-split.swift",
        "Stream/Stream.swift",
        "String.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "StreamTests",
      "module_type" : "SwiftTarget",
      "name" : "StreamTests",
      "path" : "Tests/StreamTests",
      "sources" : [
        "Collection_Tests.swift",
        "FileHandle_Tests.swift",
        "Stream_Tests.swift"
      ],
      "target_dependencies" : [
        "SwiftShell"
      ],
      "type" : "test"
    },
    {
      "c99name" : "GeneralTests",
      "module_type" : "SwiftTarget",
      "name" : "GeneralTests",
      "path" : "Tests/GeneralTests",
      "sources" : [
        "Array_Tests.swift"
      ],
      "target_dependencies" : [
        "SwiftShell"
      ],
      "type" : "test"
    }
  ],
  "tools_version" : "5.0"
}
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Done.