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 main (ab2072), with Swift 6.2 for macOS (SPM) on 18 Nov 2025 01:36:26 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: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/swiftlang/swift-subprocess
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at ab2072d Keep order of paths fixed (#211)
Cloned https://github.com/swiftlang/swift-subprocess.git
Revision (git rev-parse @):
ab2072d457d1464b17166cc02125fc9fc0791e1a
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/swiftlang/swift-subprocess.git at main
Fetching https://github.com/apple/swift-system
Fetching https://github.com/apple/swift-docc-plugin
[1/2158] Fetching swift-docc-plugin
[131/7340] Fetching swift-docc-plugin, swift-system
Fetched https://github.com/apple/swift-system from cache (1.23s)
Fetched https://github.com/apple/swift-docc-plugin from cache (1.23s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.5 (4.05s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3578] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.29s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.95s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.6.3 (0.52s)
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.6.3
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
========================================
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/2461] 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.57s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.6.3 (0.62s)
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.6.3
Creating working copy for https://github.com/swiftlang/swift-subprocess.git
Working copy of https://github.com/swiftlang/swift-subprocess.git resolved at main (ab2072d)
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
In file included from /Users/admin/builder/spi-builder-workspace/Sources/_SubprocessCShims/process_shims.c:23:
/Users/admin/builder/spi-builder-workspace/Sources/_SubprocessCShims/include/process_shims.h:44:5: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
   44 |     pthread_t * _Nonnull ptr,
      |     ^
/Users/admin/builder/spi-builder-workspace/Sources/_SubprocessCShims/include/process_shims.h:44:5: note: insert '_Nullable' if the pointer may be null
   44 |     pthread_t * _Nonnull ptr,
      |     ^
      |               _Nullable
/Users/admin/builder/spi-builder-workspace/Sources/_SubprocessCShims/include/process_shims.h:44:5: note: insert '_Nonnull' if the pointer should never be null
   44 |     pthread_t * _Nonnull ptr,
      |     ^
      |               _Nonnull
1 warning generated.
[8/37] Compiling _SubprocessCShims process_shims.c
[10/37] Emitting module SystemPackage
[11/40] Compiling SystemPackage Util+StringArray.swift
[12/40] Compiling SystemPackage Util.swift
[13/40] Compiling SystemPackage UtilConsumers.swift
[14/40] Compiling SystemPackage FilePathTempPosix.swift
[15/40] Compiling SystemPackage FilePathTempWindows.swift
[16/40] Compiling SystemPackage FilePathWindows.swift
[17/40] Compiling SystemPackage FilePermissions.swift
[18/40] Compiling SystemPackage Backcompat.swift
[19/40] Compiling SystemPackage CInterop.swift
[20/40] Compiling SystemPackage FilePathString.swift
[21/40] Compiling SystemPackage FilePathSyntax.swift
[22/40] Compiling SystemPackage FilePathTemp.swift
[23/40] Compiling SystemPackage Constants.swift
[24/40] Compiling SystemPackage Exports.swift
[25/40] Compiling SystemPackage Mocking.swift
[26/40] Compiling SystemPackage FileHelpers.swift
[27/40] Compiling SystemPackage FileOperations.swift
[28/40] Compiling SystemPackage FilePath.swift
[29/40] Compiling SystemPackage RawBuffer.swift
[30/40] Compiling SystemPackage Syscalls.swift
[31/40] Compiling SystemPackage WindowsSyscallAdapters.swift
[32/40] Compiling SystemPackage FilePathComponentView.swift
[33/40] Compiling SystemPackage FilePathComponents.swift
[34/40] Compiling SystemPackage FilePathParsing.swift
[35/40] Compiling SystemPackage Errno.swift
[36/40] Compiling SystemPackage ErrnoWindows.swift
[37/40] Compiling SystemPackage FileDescriptor.swift
[38/40] Compiling SystemPackage MachPort.swift
[39/40] Compiling SystemPackage PlatformString.swift
[40/40] Compiling SystemPackage SystemString.swift
[41/65] Compiling Subprocess Subprocess+Windows.swift
[42/65] Compiling Subprocess Result.swift
[43/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 {
[44/67] Compiling Subprocess AsyncIO+Dispatch.swift
[45/67] Compiling Subprocess AsyncIO+Linux.swift
[46/67] Compiling Subprocess AsyncIO+Windows.swift
[47/67] Compiling Subprocess Teardown.swift
[48/67] Compiling Subprocess Thread.swift
[49/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 }
[50/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 }
[51/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 }
[52/67] Compiling Subprocess Output+Foundation.swift
[53/67] Compiling Subprocess Span+SubprocessFoundation.swift
[54/67] Compiling TestResources resource_bundle_accessor.swift
[55/67] Compiling TestResources TestResources.swift
[56/67] Emitting module TestResources
[57/67] Compiling Subprocess Subprocess+BSD.swift
[58/67] Compiling Subprocess Subprocess+Darwin.swift
[59/67] Compiling Subprocess Subprocess+Linux.swift
[60/67] Compiling Subprocess Subprocess+Unix.swift
[61/67] Compiling Subprocess Configuration.swift
[62/67] Compiling Subprocess Error.swift
[63/67] Compiling Subprocess Execution.swift
[64/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 {
[65/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 {
[66/67] Compiling Subprocess Input.swift
[67/67] Compiling Subprocess Output.swift
Build complete! (14.65s)
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.