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 Subprocess, reference 0.2.1 (44922d), with Swift 6.2 for macOS (SPM) on 21 Oct 2025 22:24:03 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.0.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swiftlang/swift-subprocess.git
Reference: 0.2.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/swiftlang/swift-subprocess
 * tag               0.2.1      -> FETCH_HEAD
HEAD is now at 44922df Fix `Environment.updating` for `custom` and `rawBytes` (#199)
Cloned https://github.com/swiftlang/swift-subprocess.git
Revision (git rev-parse @):
44922dfe46380cd354ca4b0208e717a3e92b13dd
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/swiftlang/swift-subprocess.git at 0.2.1
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-system
[1/2133] Fetching swift-docc-plugin
[215/7198] Fetching swift-docc-plugin, swift-system
Fetched https://github.com/apple/swift-system from cache (1.24s)
Fetched https://github.com/apple/swift-docc-plugin from cache (1.24s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.5 (3.96s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3554] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.27s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.98s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.6.3 (0.57s)
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.5
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.6.3
========================================
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": "swift-subprocess",
      "name": "Subprocess",
      "url": "https://github.com/swiftlang/swift-subprocess.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-subprocess",
      "dependencies": [
        {
          "identity": "swift-system",
          "name": "swift-system",
          "url": "https://github.com/apple/swift-system",
          "version": "1.6.3",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-system",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/swiftlang/swift-subprocess.git
[1/2402] Fetching swift-subprocess
Fetched https://github.com/swiftlang/swift-subprocess.git from cache (1.08s)
Fetching https://github.com/apple/swift-system from cache
Fetched https://github.com/apple/swift-system from cache (0.54s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.6.3 (0.60s)
Creating working copy for https://github.com/swiftlang/swift-subprocess.git
Working copy of https://github.com/swiftlang/swift-subprocess.git resolved at 0.2.1 (44922df)
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.6.3
Found 1 product dependencies
  - swift-system
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/swiftlang/swift-subprocess.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0.app xcrun swift build --arch arm64
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/9] Write sources
[5/9] Copying Resources
[6/9] Compiling CSystem shims.c
[7/9] Write swift-version-49B95AFC49DCD68C.txt
[8/37] Compiling _SubprocessCShims process_shims.c
[10/37] Compiling SystemPackage Errno.swift
[11/37] Compiling SystemPackage ErrnoWindows.swift
[12/37] Compiling SystemPackage FileDescriptor.swift
[13/37] Emitting module SystemPackage
[14/40] Compiling SystemPackage FilePathString.swift
[15/40] Compiling SystemPackage FilePathSyntax.swift
[16/40] Compiling SystemPackage FilePathTemp.swift
[17/40] Compiling SystemPackage FilePathTempPosix.swift
[18/40] Compiling SystemPackage FilePathTempWindows.swift
[19/40] Compiling SystemPackage FilePathWindows.swift
[20/40] Compiling SystemPackage Constants.swift
[21/40] Compiling SystemPackage Exports.swift
[22/40] Compiling SystemPackage Mocking.swift
[23/40] Compiling SystemPackage RawBuffer.swift
[24/40] Compiling SystemPackage Syscalls.swift
[25/40] Compiling SystemPackage WindowsSyscallAdapters.swift
[26/40] Compiling SystemPackage FileHelpers.swift
[27/40] Compiling SystemPackage FileOperations.swift
[28/40] Compiling SystemPackage FilePath.swift
[29/40] Compiling SystemPackage FilePathComponentView.swift
[30/40] Compiling SystemPackage FilePathComponents.swift
[31/40] Compiling SystemPackage FilePathParsing.swift
[32/40] Compiling SystemPackage FilePermissions.swift
[33/40] Compiling SystemPackage Backcompat.swift
[34/40] Compiling SystemPackage CInterop.swift
[35/40] Compiling SystemPackage MachPort.swift
[36/40] Compiling SystemPackage PlatformString.swift
[37/40] Compiling SystemPackage SystemString.swift
[38/40] Compiling SystemPackage Util+StringArray.swift
[39/40] Compiling SystemPackage Util.swift
[40/40] Compiling SystemPackage UtilConsumers.swift
[41/65] Compiling Subprocess AsyncIO+Dispatch.swift
[42/65] Compiling Subprocess AsyncIO+Linux.swift
[43/65] Compiling Subprocess AsyncIO+Windows.swift
[44/67] Emitting module Subprocess
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/Buffer.swift:84:10: warning: Unsupported use of @lifetime, use @_lifetime to specify lifetime dependencies
 82 |     // Access the storage backing this Buffer
 83 |     public var bytes: RawSpan {
 84 |         @lifetime(borrow self)
    |          `- warning: Unsupported use of @lifetime, use @_lifetime to specify lifetime dependencies
 85 |         borrowing get {
 86 |             let ptr = self.data.withUnsafeBytes { $0 }
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/Span+Subprocess.swift:18:2: warning: Unsupported use of @lifetime, use @_lifetime to specify lifetime dependencies
16 | @_unsafeNonescapableResult
17 | @inlinable @inline(__always)
18 | @lifetime(borrow source)
   |  `- warning: Unsupported use of @lifetime, use @_lifetime to specify lifetime dependencies
19 | public func _overrideLifetime<
20 |     T: ~Copyable & ~Escapable,
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/Span+Subprocess.swift:31:2: warning: Unsupported use of @lifetime, use @_lifetime to specify lifetime dependencies
29 | @_unsafeNonescapableResult
30 | @inlinable @inline(__always)
31 | @lifetime(copy source)
   |  `- warning: Unsupported use of @lifetime, use @_lifetime to specify lifetime dependencies
32 | public func _overrideLifetime<
33 |     T: ~Copyable & ~Escapable,
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/Span+Subprocess.swift:45:10: warning: Unsupported use of @lifetime, use @_lifetime to specify lifetime dependencies
43 |
44 |     internal var _bytes: RawSpan {
45 |         @lifetime(copy self)
   |          `- warning: Unsupported use of @lifetime, use @_lifetime to specify lifetime dependencies
46 |         @_alwaysEmitIntoClient
47 |         get {
[45/67] Compiling Subprocess Teardown.swift
[46/67] Compiling Subprocess Thread.swift
[47/67] Emitting module TestResources
[48/67] Compiling TestResources TestResources.swift
[49/67] Compiling TestResources resource_bundle_accessor.swift
[50/67] Compiling Subprocess API.swift
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/Buffer.swift:84:10: warning: Unsupported use of @lifetime, use @_lifetime to specify lifetime dependencies
 82 |     // Access the storage backing this Buffer
 83 |     public var bytes: RawSpan {
 84 |         @lifetime(borrow self)
    |          `- warning: Unsupported use of @lifetime, use @_lifetime to specify lifetime dependencies
 85 |         borrowing get {
 86 |             let ptr = self.data.withUnsafeBytes { $0 }
[51/67] Compiling Subprocess AsyncBufferSequence.swift
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/Buffer.swift:84:10: warning: Unsupported use of @lifetime, use @_lifetime to specify lifetime dependencies
 82 |     // Access the storage backing this Buffer
 83 |     public var bytes: RawSpan {
 84 |         @lifetime(borrow self)
    |          `- warning: Unsupported use of @lifetime, use @_lifetime to specify lifetime dependencies
 85 |         borrowing get {
 86 |             let ptr = self.data.withUnsafeBytes { $0 }
[52/67] Compiling Subprocess Buffer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/Buffer.swift:84:10: warning: Unsupported use of @lifetime, use @_lifetime to specify lifetime dependencies
 82 |     // Access the storage backing this Buffer
 83 |     public var bytes: RawSpan {
 84 |         @lifetime(borrow self)
    |          `- warning: Unsupported use of @lifetime, use @_lifetime to specify lifetime dependencies
 85 |         borrowing get {
 86 |             let ptr = self.data.withUnsafeBytes { $0 }
[53/67] Compiling Subprocess Span+Subprocess.swift
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/Span+Subprocess.swift:18:2: warning: Unsupported use of @lifetime, use @_lifetime to specify lifetime dependencies
16 | @_unsafeNonescapableResult
17 | @inlinable @inline(__always)
18 | @lifetime(borrow source)
   |  `- warning: Unsupported use of @lifetime, use @_lifetime to specify lifetime dependencies
19 | public func _overrideLifetime<
20 |     T: ~Copyable & ~Escapable,
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/Span+Subprocess.swift:31:2: warning: Unsupported use of @lifetime, use @_lifetime to specify lifetime dependencies
29 | @_unsafeNonescapableResult
30 | @inlinable @inline(__always)
31 | @lifetime(copy source)
   |  `- warning: Unsupported use of @lifetime, use @_lifetime to specify lifetime dependencies
32 | public func _overrideLifetime<
33 |     T: ~Copyable & ~Escapable,
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/Span+Subprocess.swift:45:10: warning: Unsupported use of @lifetime, use @_lifetime to specify lifetime dependencies
43 |
44 |     internal var _bytes: RawSpan {
45 |         @lifetime(copy self)
   |          `- warning: Unsupported use of @lifetime, use @_lifetime to specify lifetime dependencies
46 |         @_alwaysEmitIntoClient
47 |         get {
[54/67] Compiling Subprocess Input+Foundation.swift
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/Span+Subprocess.swift:18:2: warning: Unsupported use of @lifetime, use @_lifetime to specify lifetime dependencies
16 | @_unsafeNonescapableResult
17 | @inlinable @inline(__always)
18 | @lifetime(borrow source)
   |  `- warning: Unsupported use of @lifetime, use @_lifetime to specify lifetime dependencies
19 | public func _overrideLifetime<
20 |     T: ~Copyable & ~Escapable,
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/Span+Subprocess.swift:31:2: warning: Unsupported use of @lifetime, use @_lifetime to specify lifetime dependencies
29 | @_unsafeNonescapableResult
30 | @inlinable @inline(__always)
31 | @lifetime(copy source)
   |  `- warning: Unsupported use of @lifetime, use @_lifetime to specify lifetime dependencies
32 | public func _overrideLifetime<
33 |     T: ~Copyable & ~Escapable,
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/Span+Subprocess.swift:45:10: warning: Unsupported use of @lifetime, use @_lifetime to specify lifetime dependencies
43 |
44 |     internal var _bytes: RawSpan {
45 |         @lifetime(copy self)
   |          `- warning: Unsupported use of @lifetime, use @_lifetime to specify lifetime dependencies
46 |         @_alwaysEmitIntoClient
47 |         get {
[55/67] Compiling Subprocess Input.swift
[56/67] Compiling Subprocess Output.swift
[57/67] Compiling Subprocess Subprocess+Windows.swift
[58/67] Compiling Subprocess Result.swift
[59/67] Compiling Subprocess Output+Foundation.swift
[60/67] Compiling Subprocess Span+SubprocessFoundation.swift
[61/67] Compiling Subprocess Subprocess+BSD.swift
[62/67] Compiling Subprocess Subprocess+Darwin.swift
[63/67] Compiling Subprocess Configuration.swift
[64/67] Compiling Subprocess Error.swift
[65/67] Compiling Subprocess Execution.swift
[66/67] Compiling Subprocess Subprocess+Linux.swift
[67/67] Compiling Subprocess Subprocess+Unix.swift
Build complete! (15.15s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-system",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.5.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-system"
    },
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.4.5",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    }
  ],
  "manifest_display_name" : "Subprocess",
  "name" : "Subprocess",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    },
    {
      "name" : "ios",
      "version" : "99.0"
    }
  ],
  "products" : [
    {
      "name" : "Subprocess",
      "targets" : [
        "Subprocess"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "_SubprocessCShims",
      "module_type" : "ClangTarget",
      "name" : "_SubprocessCShims",
      "path" : "Sources/_SubprocessCShims",
      "product_memberships" : [
        "Subprocess"
      ],
      "sources" : [
        "process_shims.c"
      ],
      "type" : "library"
    },
    {
      "c99name" : "TestResources",
      "module_type" : "SwiftTarget",
      "name" : "TestResources",
      "path" : "Tests/TestResources",
      "product_dependencies" : [
        "SystemPackage"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/TestResources/Resources",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "TestResources.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SubprocessTests",
      "module_type" : "SwiftTarget",
      "name" : "SubprocessTests",
      "path" : "Tests/SubprocessTests",
      "product_dependencies" : [
        "SystemPackage"
      ],
      "sources" : [
        "AsyncIOTests.swift",
        "DarwinTests.swift",
        "IntegrationTests.swift",
        "LinterTests.swift",
        "LinuxTests.swift",
        "PlatformConformance.swift",
        "ProcessMonitoringTests.swift",
        "TestSupport.swift",
        "UnixTests.swift",
        "WindowsTests.swift"
      ],
      "target_dependencies" : [
        "_SubprocessCShims",
        "Subprocess",
        "TestResources"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Subprocess",
      "module_type" : "SwiftTarget",
      "name" : "Subprocess",
      "path" : "Sources/Subprocess",
      "product_dependencies" : [
        "SystemPackage"
      ],
      "product_memberships" : [
        "Subprocess"
      ],
      "sources" : [
        "API.swift",
        "AsyncBufferSequence.swift",
        "Buffer.swift",
        "Configuration.swift",
        "Error.swift",
        "Execution.swift",
        "IO/AsyncIO+Dispatch.swift",
        "IO/AsyncIO+Linux.swift",
        "IO/AsyncIO+Windows.swift",
        "IO/Input.swift",
        "IO/Output.swift",
        "Platforms/Subprocess+BSD.swift",
        "Platforms/Subprocess+Darwin.swift",
        "Platforms/Subprocess+Linux.swift",
        "Platforms/Subprocess+Unix.swift",
        "Platforms/Subprocess+Windows.swift",
        "Result.swift",
        "Span+Subprocess.swift",
        "SubprocessFoundation/Input+Foundation.swift",
        "SubprocessFoundation/Output+Foundation.swift",
        "SubprocessFoundation/Span+SubprocessFoundation.swift",
        "Teardown.swift",
        "Thread.swift"
      ],
      "target_dependencies" : [
        "_SubprocessCShims"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.1"
}
Done.