The Swift Package Index logo.Swift Package Index

Build Information

Successful build of swift-process-invocation, reference 1.3.0-beta.5.0.1 (3e4efd), with Swift 6.4 for Linux on 21 Sep 2026 06:24:16 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344845-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/xcode-actions/swift-process-invocation.git
Reference: 1.3.0-beta.5.0.1
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/xcode-actions/swift-process-invocation
 * tag               1.3.0-beta.5.0.1 -> FETCH_HEAD
HEAD is now at 3e4efde Fix some trivial warnings
Cloned https://github.com/xcode-actions/swift-process-invocation.git
Revision (git rev-parse @):
3e4efde516af4b01ab8a3da687541aad94523f3e
SUCCESS checkout https://github.com/xcode-actions/swift-process-invocation.git at 1.3.0-beta.5.0.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.4
Building package at path:  $PWD
https://github.com/xcode-actions/swift-process-invocation.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Fetching https://github.com/Frizlab/UnwrapOrThrow.git
Fetching https://github.com/xcode-actions/swift-signal-handling.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/xcode-actions/clt-logger.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/Frizlab/stream-reader.git
[1/1058] Fetching stream-reader
[23/9154] Fetching stream-reader, swift-log
[24/9726] Fetching stream-reader, swift-log, swift-signal-handling
[725/10595] Fetching stream-reader, swift-log, swift-signal-handling, clt-logger
[5823/10644] Fetching stream-reader, swift-log, swift-signal-handling, clt-logger, unwraporthrow
Fetched https://github.com/Frizlab/UnwrapOrThrow.git (0.53s)
Fetched https://github.com/xcode-actions/swift-signal-handling.git (0.53s)
Fetched https://github.com/xcode-actions/clt-logger.git (0.53s)
Fetching https://github.com/apple/swift-argument-parser.git
[1/6898] Fetching swift-system
Fetched https://github.com/Frizlab/stream-reader.git (0.69s)
Fetched https://github.com/apple/swift-system.git (0.69s)
Fetched https://github.com/apple/swift-log.git (0.69s)
[1/18918] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git (0.78s)
Computing version for https://github.com/xcode-actions/clt-logger.git
Computed https://github.com/xcode-actions/clt-logger.git at 1.0.0 (1.46s)
Computing version for https://github.com/Frizlab/stream-reader.git
Computed https://github.com/Frizlab/stream-reader.git at 3.6.1 (0.14s)
Computing version for https://github.com/xcode-actions/swift-signal-handling.git
Computed https://github.com/xcode-actions/swift-signal-handling.git at 1.1.4 (0.15s)
Computing version for https://github.com/Frizlab/UnwrapOrThrow.git
Computed https://github.com/Frizlab/UnwrapOrThrow.git at 1.1.0 (0.21s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.8.2 (0.18s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (0.17s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.20s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.15.1
Creating working copy for https://github.com/xcode-actions/clt-logger.git
Working copy of https://github.com/xcode-actions/clt-logger.git resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.8.1
Creating working copy for https://github.com/xcode-actions/swift-signal-handling.git
Working copy of https://github.com/xcode-actions/swift-signal-handling.git resolved at 1.1.4
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.8.2
Creating working copy for https://github.com/Frizlab/stream-reader.git
Working copy of https://github.com/Frizlab/stream-reader.git resolved at 3.6.1
Creating working copy for https://github.com/Frizlab/UnwrapOrThrow.git
Working copy of https://github.com/Frizlab/UnwrapOrThrow.git resolved at 1.1.0
Building for debugging...
[Computing dependencies]
[Provisioning 6 / 24]
[Pre-planning 1 / 483]
[Describing: 685 / 1037]
[97 / 173] ArgumentParserToolInfo
[110 / 205] SystemPackage
[110 / 205] Logging
[122 / 205] SystemPackage
[122 / 205] StreamReader
[133 / 205] UnwrapOrThrow-product
[135 / 205] SystemPackage
[141 / 205] SystemPackage
[143 / 205] StreamReader
[150 / 206] StreamReader
[153 / 206] Logging-product
[158 / 206] Logging
[159 / 206] Logging
[167 / 217] StreamReader
[171 / 217] SignalHandling
[173 / 218] SignalHandling
[186 / 228] CLTLogger
[189 / 228] CLTLogger
[191 / 228] CLTLogger
[193 / 229] ArgumentParserToolInfo
[209 / 240] ArgumentParser
[210 / 240] ArgumentParser
[211 / 241] CLTLogger
[218 / 241] ArgumentParser
[220 / 241] ArgumentParser
[224 / 246] ArgumentParser
[229 / 249] ProcessInvocation
/host/spi-builder-workspace/Sources/ProcessInvocation/ Config.swift:10:20: warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
 8 | public enum ProcessInvocationConfig {
 9 |
10 | 	public static var logger: Logging.Logger? = {
   |                    |- warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
   |                    |- note: convert 'logger' to a 'let' constant to make 'Sendable' shared state immutable
   |                    |- note: add '@MainActor' to make static property 'logger' part of global actor 'MainActor'
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | 		return Logger(label: "com.xcode-actions.process-invocation")
12 | 	}()
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[234 / 256] ProcessInvocation
/host/spi-builder-workspace/Sources/ProcessInvocation/ Config.swift:10:20: warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
 8 | public enum ProcessInvocationConfig {
 9 |
10 | 	public static var logger: Logging.Logger? = {
   |                    |- warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
   |                    |- note: convert 'logger' to a 'let' constant to make 'Sendable' shared state immutable
   |                    |- note: add '@MainActor' to make static property 'logger' part of global actor 'MainActor'
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | 		return Logger(label: "com.xcode-actions.process-invocation")
12 | 	}()
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[237 / 256] ProcessInvocation
[246 / 259]
/host/spi-builder-workspace/Sources/ManualTests/main.swift:20:25: warning: reference to static property 'logger' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
18 | 	return ret
19 | }()
20 | ProcessInvocationConfig.logger = logger
   |                         `- warning: reference to static property 'logger' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
21 |
22 |
/host/spi-builder-workspace/Sources/ProcessInvocation/ Config.swift:10:20: note: static property declared here
 8 | public enum ProcessInvocationConfig {
 9 |
10 | 	public static var logger: Logging.Logger? = {
   |                    `- note: static property declared here
11 | 		return Logger(label: "com.xcode-actions.process-invocation")
12 | 	}()
/host/spi-builder-workspace/Sources/ManualTests/main.swift:20:25: warning: reference to static property 'logger' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
18 | 	return ret
19 | }()
20 | ProcessInvocationConfig.logger = logger
   |                         `- warning: reference to static property 'logger' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
21 |
22 |
/host/spi-builder-workspace/Sources/ProcessInvocation/ Config.swift:10:20: note: static property declared here
 8 | public enum ProcessInvocationConfig {
 9 |
10 | 	public static var logger: Logging.Logger? = {
   |                    `- note: static property declared here
11 | 		return Logger(label: "com.xcode-actions.process-invocation")
12 | 	}()
[250 / 261] ProcessInvocation
/host/spi-builder-workspace/Sources/ProcessInvocation/ProcessInvocation+Pipe.swift:61:10: warning: capture of 'reader' with non-Sendable type 'any StreamReader' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
 59 |
 60 | 				do {
 61 | 					try reader.peekData(size: Swift.max(0, maxCacheSize - (reader.currentStreamReadPosition - reader.currentReadPosition)), allowReadingLess: true, { _ in })
    |          `- warning: capture of 'reader' with non-Sendable type 'any StreamReader' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
 62 | 					try reader.peekData(size: reader.currentStreamReadPosition - reader.currentReadPosition, allowReadingLess: false, { bytes in
 63 | 						let (writtenNow, readError) = { () -> (Int, Int32) in
/host/spi-builder-workspace/.build/checkouts/stream-reader/Sources/StreamReader/Core/StreamReader.swift:12:17: note: protocol 'StreamReader' does not conform to the 'Sendable' protocol
 10 |
 11 |
 12 | public protocol StreamReader : AnyObject {
    |                 `- note: protocol 'StreamReader' does not conform to the 'Sendable' protocol
 13 |
 14 | 	/**
/host/spi-builder-workspace/Sources/ProcessInvocation/ProcessInvocation+Pipe.swift:3:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'StreamReader' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/add-preconcurrency-import\AddPreconcurrencyImport]8;;\]
  1 | import Foundation
  2 |
  3 | import StreamReader
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'StreamReader' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/add-preconcurrency-import\AddPreconcurrencyImport]8;;\]
  4 | import SystemPackage
  5 |
/host/spi-builder-workspace/Sources/ProcessInvocation/ProcessInvocation+Pipe.swift:77:19: warning: capture of 'reader' with non-Sendable type 'any StreamReader' in an isolated closure; this is an error in the Swift 6 language mode
 75 |
 76 | 						if writtenNow > 0 {
 77 | 							do    {try reader.readData(size: writtenNow, allowReadingLess: false, { _ in /*nop: we only update the current read position.*/ })}
    |                   `- warning: capture of 'reader' with non-Sendable type 'any StreamReader' in an isolated closure; this is an error in the Swift 6 language mode
 78 | 							catch {Conf.logger?.critical("Invalid StreamReader (or internal logic error)! Reading from the stream failed but the data should already be in the buffer.")}
 79 | 						} else if writtenNow < 0 {
/host/spi-builder-workspace/.build/checkouts/stream-reader/Sources/StreamReader/Core/StreamReader.swift:12:17: note: protocol 'StreamReader' does not conform to the 'Sendable' protocol
 10 |
 11 |
 12 | public protocol StreamReader : AnyObject {
    |                 `- note: protocol 'StreamReader' does not conform to the 'Sendable' protocol
 13 |
 14 | 	/**
[#AddPreconcurrencyImport]: <https://docs.swift.org/compiler/documentation/diagnostics/add-preconcurrency-import>
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[254 / 261] ProcessInvocation
[254 / 261] ArgumentParser
[257 / 262] ArgumentParser
[258 / 262] swift-process-invocation-bridge-product
/host/spi-builder-workspace/Sources/ProcessInvocation/ProcessInvocation.swift:729:4: warning: capture of 'signalCleanupHandler' with non-Sendable type '() -> ()' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
 727 | 				}
 728 | 			}
 729 | 			signalCleanupHandler()
     |    |- warning: capture of 'signalCleanupHandler' with non-Sendable type '() -> ()' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
     |    `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 730 | 			g.leave()
 731 | 		}
/host/spi-builder-workspace/Sources/ProcessInvocation/ProcessInvocation.swift:874:21: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/region-isolation\RegionIsolation]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/sending-risks-data-race\SendingRisksDataRace]8;;\]
 872 | 					do {
 873 | 						let (p, g) = try invocation.invoke{ result, _, _ in
 874 | 							continuation.yield(with: result)
     |                     |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/region-isolation\RegionIsolation]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/sending-risks-data-race\SendingRisksDataRace]8;;\]
     |                     `- note: 'result' is passed as a 'sending' parameter; Uses in callee may race with code in the current isolation context
 875 | 						}
 876 | 						process = p
[#RegionIsolation]: <https://docs.swift.org/compiler/documentation/diagnostics/region-isolation>
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[#SendingRisksDataRace]: <https://docs.swift.org/compiler/documentation/diagnostics/sending-risks-data-race>
[258 / 262] ProcessInvocation
[263 / 263] ManualTests-product
Build complete! (10.29 secs)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.2.2",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser.git"
    },
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.5.2",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log.git"
    },
    {
      "identity" : "swift-system",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-system.git"
    },
    {
      "identity" : "stream-reader",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.6.1",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Frizlab/stream-reader.git"
    },
    {
      "identity" : "unwraporthrow",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Frizlab/UnwrapOrThrow.git"
    },
    {
      "identity" : "clt-logger",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/xcode-actions/clt-logger.git"
    },
    {
      "identity" : "swift-signal-handling",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.3",
            "upper_bound" : "1.2.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/xcode-actions/swift-signal-handling.git"
    }
  ],
  "manifest_display_name" : "swift-process-invocation",
  "name" : "swift-process-invocation",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "11.0"
    }
  ],
  "products" : [
    {
      "name" : "ProcessInvocation",
      "targets" : [
        "ProcessInvocation"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "swift-process-invocation-bridge",
      "targets" : [
        "ProcessInvocationBridge"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "ManualTests",
      "targets" : [
        "ManualTests"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ProcessInvocationTests",
      "module_type" : "SwiftTarget",
      "name" : "ProcessInvocationTests",
      "path" : "Tests/ProcessInvocationTests",
      "product_dependencies" : [
        "CLTLogger",
        "Logging",
        "StreamReader",
        "SystemPackage"
      ],
      "sources" : [
        "ProcessInvocationTests.swift",
        "Utils.swift"
      ],
      "target_dependencies" : [
        "ProcessInvocation",
        "CGNUSourceExportsForTests"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ProcessInvocationBridge",
      "module_type" : "SwiftTarget",
      "name" : "ProcessInvocationBridge",
      "path" : "Sources/ProcessInvocationBridge",
      "product_dependencies" : [
        "ArgumentParser",
        "CLTLogger",
        "Logging",
        "StreamReader",
        "SystemPackage"
      ],
      "product_memberships" : [
        "ProcessInvocation",
        "swift-process-invocation-bridge",
        "ManualTests"
      ],
      "sources" : [
        "ProcessInvocationBridge.swift",
        "Utils.swift"
      ],
      "target_dependencies" : [
        "CMacroExports",
        "CGNUSourceExports"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "ProcessInvocation",
      "module_type" : "SwiftTarget",
      "name" : "ProcessInvocation",
      "path" : "Sources/ProcessInvocation",
      "product_dependencies" : [
        "Logging",
        "SignalHandling",
        "StreamReader",
        "UnwrapOrThrow",
        "SystemPackage"
      ],
      "product_memberships" : [
        "ProcessInvocation",
        "ManualTests"
      ],
      "sources" : [
        " Config.swift",
        " Constants.swift",
        " Errors.swift",
        "FileDescriptor+GenericReadStream.swift",
        "InputRedirectMode.swift",
        "LineSeparators.swift",
        "LineWithSource.swift",
        "OutputRedirectMode.swift",
        "ProcessInvocation+Deprecated.swift",
        "ProcessInvocation+Pipe.swift",
        "ProcessInvocation.swift",
        "Utils.swift"
      ],
      "target_dependencies" : [
        "CMacroExports",
        "CGNUSourceExports",
        "ProcessInvocationBridge"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ManualTests",
      "module_type" : "SwiftTarget",
      "name" : "ManualTests",
      "path" : "Sources/ManualTests",
      "product_dependencies" : [
        "CLTLogger",
        "Logging",
        "StreamReader"
      ],
      "product_memberships" : [
        "ManualTests"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "ProcessInvocation"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "CMacroExports",
      "module_type" : "ClangTarget",
      "name" : "CMacroExports",
      "path" : "Sources/CMacroExports",
      "product_memberships" : [
        "ProcessInvocation",
        "swift-process-invocation-bridge",
        "ManualTests"
      ],
      "sources" : [
        "exports.c"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CGNUSourceExportsForTests",
      "module_type" : "ClangTarget",
      "name" : "CGNUSourceExportsForTests",
      "path" : "Sources/CGNUSourceExportsForTests",
      "sources" : [
        "exports_for_tests.c"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CGNUSourceExports",
      "module_type" : "ClangTarget",
      "name" : "CGNUSourceExports",
      "path" : "Sources/CGNUSourceExports",
      "product_memberships" : [
        "ProcessInvocation",
        "swift-process-invocation-bridge",
        "ManualTests"
      ],
      "sources" : [
        "exports.c"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.8"
}
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Done.