The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of swift-process-invocation, reference 1.2.0 (76f64c), with Swift 6.0 for macOS (SPM) on 6 Nov 2024 07:16:06 UTC.

Swift 6 data race errors: 11

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/xcode-actions/swift-process-invocation.git
Reference: 1.2.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/xcode-actions/swift-process-invocation
 * tag               1.2.0      -> FETCH_HEAD
HEAD is now at 76f64c1 Fix a compilation warning on Linux
Cloned https://github.com/xcode-actions/swift-process-invocation.git
Revision (git rev-parse @):
76f64c121839b3f9da5ebddbdcfd82f8ff953c77
SUCCESS checkout https://github.com/xcode-actions/swift-process-invocation.git at 1.2.0
Fetching https://github.com/Frizlab/eXtenderZ.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/xcode-actions/swift-signal-handling.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/xcode-actions/stream-reader.git
Fetching https://github.com/xcode-actions/clt-logger.git
Fetching https://github.com/Frizlab/UnwrapOrThrow.git
[1/518] Fetching clt-logger
[2/549] Fetching clt-logger, unwraporthrow
[53/928] Fetching clt-logger, unwraporthrow, swift-signal-handling
[596/1923] Fetching clt-logger, unwraporthrow, swift-signal-handling, stream-reader
[752/3011] Fetching clt-logger, unwraporthrow, swift-signal-handling, stream-reader, extenderz
[753/6681] Fetching clt-logger, unwraporthrow, swift-signal-handling, stream-reader, extenderz, swift-log
Fetched https://github.com/xcode-actions/swift-signal-handling.git from cache (0.85s)
[1575/6302] Fetching clt-logger, unwraporthrow, stream-reader, extenderz, swift-log
[2122/18660] Fetching clt-logger, unwraporthrow, stream-reader, extenderz, swift-log, swift-argument-parser
Fetched https://github.com/Frizlab/UnwrapOrThrow.git from cache (1.25s)
Fetched https://github.com/xcode-actions/stream-reader.git from cache (1.26s)
Fetched https://github.com/apple/swift-log.git from cache (1.26s)
Fetched https://github.com/xcode-actions/clt-logger.git from cache (1.26s)
[2571/13446] Fetching extenderz, swift-argument-parser
Fetched https://github.com/Frizlab/eXtenderZ.git from cache (1.59s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.59s)
Computing version for https://github.com/Frizlab/eXtenderZ.git
Computed https://github.com/Frizlab/eXtenderZ.git at 2.0.0 (0.65s)
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.1 (0.67s)
Computing version for https://github.com/xcode-actions/stream-reader.git
Computed https://github.com/xcode-actions/stream-reader.git at 3.5.2 (0.71s)
Computing version for https://github.com/xcode-actions/clt-logger.git
Computed https://github.com/xcode-actions/clt-logger.git at 0.8.0 (0.68s)
Computing version for https://github.com/Frizlab/UnwrapOrThrow.git
Computed https://github.com/Frizlab/UnwrapOrThrow.git at 1.0.1 (0.92s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.5.4 (0.63s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.3.0 (0.51s)
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 0.8.0
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.3.0
Creating working copy for https://github.com/Frizlab/eXtenderZ.git
Working copy of https://github.com/Frizlab/eXtenderZ.git resolved at 2.0.0
Creating working copy for https://github.com/xcode-actions/stream-reader.git
Working copy of https://github.com/xcode-actions/stream-reader.git resolved at 3.5.2
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.1
Creating working copy for https://github.com/Frizlab/UnwrapOrThrow.git
Working copy of https://github.com/Frizlab/UnwrapOrThrow.git resolved at 1.0.1
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.5.4
[16375/467184] Downloading https://github.com/Frizlab/eXtenderZ/releases/download/2.0.0/eXtenderZ-static.xcframework.zip
Downloading binary artifact https://github.com/Frizlab/eXtenderZ/releases/download/2.0.0/eXtenderZ-static.xcframework.zip
Downloaded https://github.com/Frizlab/eXtenderZ/releases/download/2.0.0/eXtenderZ-static.xcframework.zip (1.05s)
[49125/10036475] Downloading https://github.com/Frizlab/eXtenderZ/releases/download/2.0.0/eXtenderZ-dynamic.xcframework.zip
Downloading binary artifact https://github.com/Frizlab/eXtenderZ/releases/download/2.0.0/eXtenderZ-dynamic.xcframework.zip
Downloaded https://github.com/Frizlab/eXtenderZ/releases/download/2.0.0/eXtenderZ-dynamic.xcframework.zip (1.46s)
========================================
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-process-invocation",
      "name": "swift-process-invocation",
      "url": "https://github.com/xcode-actions/swift-process-invocation.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-process-invocation",
      "dependencies": [
        {
          "identity": "swift-argument-parser",
          "name": "swift-argument-parser",
          "url": "https://github.com/apple/swift-argument-parser.git",
          "version": "1.5.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-argument-parser",
          "dependencies": [
          ]
        },
        {
          "identity": "swift-log",
          "name": "swift-log",
          "url": "https://github.com/apple/swift-log.git",
          "version": "1.6.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-log",
          "dependencies": [
          ]
        },
        {
          "identity": "unwraporthrow",
          "name": "UnwrapOrThrow",
          "url": "https://github.com/Frizlab/UnwrapOrThrow.git",
          "version": "1.0.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/UnwrapOrThrow",
          "dependencies": [
          ]
        },
        {
          "identity": "clt-logger",
          "name": "clt-logger",
          "url": "https://github.com/xcode-actions/clt-logger.git",
          "version": "0.9.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/clt-logger",
          "dependencies": [
            {
              "identity": "swift-log",
              "name": "swift-log",
              "url": "https://github.com/apple/swift-log.git",
              "version": "1.6.1",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-log",
              "dependencies": [
              ]
            }
          ]
        },
        {
          "identity": "stream-reader",
          "name": "stream-reader",
          "url": "https://github.com/xcode-actions/stream-reader.git",
          "version": "3.5.2",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/stream-reader",
          "dependencies": [
          ]
        },
        {
          "identity": "swift-signal-handling",
          "name": "swift-signal-handling",
          "url": "https://github.com/xcode-actions/swift-signal-handling.git",
          "version": "1.1.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-signal-handling",
          "dependencies": [
            {
              "identity": "swift-log",
              "name": "swift-log",
              "url": "https://github.com/apple/swift-log.git",
              "version": "1.6.1",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-log",
              "dependencies": [
              ]
            }
          ]
        },
        {
          "identity": "extenderz",
          "name": "eXtenderZ",
          "url": "https://github.com/Frizlab/eXtenderZ.git",
          "version": "2.0.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/eXtenderZ",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/xcode-actions/swift-process-invocation.git
[1/396] Fetching swift-process-invocation
Fetched https://github.com/xcode-actions/swift-process-invocation.git from cache (0.75s)
Fetching https://github.com/Frizlab/UnwrapOrThrow.git from cache
Fetching https://github.com/xcode-actions/swift-signal-handling.git from cache
Fetching https://github.com/Frizlab/eXtenderZ.git from cache
Fetching https://github.com/xcode-actions/stream-reader.git from cache
Fetching https://github.com/apple/swift-log.git from cache
Fetching https://github.com/xcode-actions/clt-logger.git from cache
Fetching https://github.com/apple/swift-argument-parser.git from cache
Fetched https://github.com/xcode-actions/stream-reader.git from cache (0.60s)
Fetched https://github.com/Frizlab/UnwrapOrThrow.git from cache (0.60s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.60s)
Fetched https://github.com/apple/swift-log.git from cache (0.60s)
Fetched https://github.com/xcode-actions/clt-logger.git from cache (0.60s)
Fetched https://github.com/Frizlab/eXtenderZ.git from cache (0.60s)
Fetched https://github.com/xcode-actions/swift-signal-handling.git from cache (0.60s)
Computing version for https://github.com/Frizlab/eXtenderZ.git
Computed https://github.com/Frizlab/eXtenderZ.git at 2.0.0 (0.02s)
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.1 (0.02s)
Computing version for https://github.com/Frizlab/UnwrapOrThrow.git
Computed https://github.com/Frizlab/UnwrapOrThrow.git at 1.0.1 (0.02s)
Computing version for https://github.com/xcode-actions/stream-reader.git
Computed https://github.com/xcode-actions/stream-reader.git at 3.5.2 (0.02s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.1 (0.48s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.0 (0.04s)
Computing version for https://github.com/xcode-actions/clt-logger.git
Computed https://github.com/xcode-actions/clt-logger.git at 0.9.0 (0.02s)
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 0.9.0
Creating working copy for https://github.com/xcode-actions/stream-reader.git
Working copy of https://github.com/xcode-actions/stream-reader.git resolved at 3.5.2
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.1
Creating working copy for https://github.com/Frizlab/eXtenderZ.git
Working copy of https://github.com/Frizlab/eXtenderZ.git resolved at 2.0.0
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.5.0
Creating working copy for https://github.com/Frizlab/UnwrapOrThrow.git
Working copy of https://github.com/Frizlab/UnwrapOrThrow.git resolved at 1.0.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.1
Creating working copy for https://github.com/xcode-actions/swift-process-invocation.git
Working copy of https://github.com/xcode-actions/swift-process-invocation.git resolved at 1.2.0 (76f64c1)
Fetching binary artifact https://github.com/Frizlab/eXtenderZ/releases/download/2.0.0/eXtenderZ-static.xcframework.zip from cache
Fetching binary artifact https://github.com/Frizlab/eXtenderZ/releases/download/2.0.0/eXtenderZ-dynamic.xcframework.zip from cache
Fetched https://github.com/Frizlab/eXtenderZ/releases/download/2.0.0/eXtenderZ-static.xcframework.zip from cache (0.24s)
Fetched https://github.com/Frizlab/eXtenderZ/releases/download/2.0.0/eXtenderZ-dynamic.xcframework.zip from cache (0.51s)
Found 7 product dependencies
  - swift-argument-parser
  - swift-log
  - UnwrapOrThrow
  - clt-logger
  - stream-reader
  - swift-signal-handling
  - eXtenderZ
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/xcode-actions/swift-process-invocation.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/23] Write sources
[4/23] Copying libeXtenderZ.a
[5/23] Write sources
[9/23] Write swift-process-invocation-bridge-entitlement.plist
[10/23] Write sources
[12/23] Write ManualTests-entitlement.plist
[12/23] Write sources
[14/23] Write swift-version--7754E27361AE5C74.txt
[15/43] Compiling CMacroExports exports.c
[16/43] Compiling CNSTaskHelptender NSTaskHelptender.m
[18/43] Compiling ArgumentParserToolInfo ToolInfo.swift
[19/43] Emitting module ArgumentParserToolInfo
[20/81] Compiling ArgumentParser AsyncParsableCommand.swift
[21/81] Compiling ArgumentParser CommandConfiguration.swift
[22/81] Compiling ArgumentParser EnumerableFlag.swift
[23/81] Compiling ArgumentParser ExpressibleByArgument.swift
[24/85] Compiling Logging Logging.swift
[25/85] Compiling Logging MetadataProvider.swift
[26/85] Compiling Logging Locks.swift
[27/85] Compiling Logging LogHandler.swift
[28/85] Emitting module Logging
[29/101] Compiling ArgumentParser Flag.swift
[30/101] Compiling ArgumentParser NameSpecification.swift
[31/101] Compiling ArgumentParser Option.swift
[32/101] Compiling ArgumentParser OptionGroup.swift
[33/101] Compiling ArgumentParser Platform.swift
[34/101] Compiling ArgumentParser SequenceExtensions.swift
[35/101] Compiling ArgumentParser StringExtensions.swift
[36/101] Compiling ArgumentParser Tree.swift
[37/101] Emitting module ArgumentParser
[38/101] Compiling ArgumentParser ArgumentHelp.swift
[39/101] Compiling ArgumentParser ArgumentVisibility.swift
[40/101] Compiling ArgumentParser CompletionKind.swift
[41/101] Compiling ArgumentParser Errors.swift
[42/101] Compiling ArgumentParser ParsableArguments.swift
[43/101] Compiling ArgumentParser ParsableArgumentsValidation.swift
[44/101] Compiling ArgumentParser ParsableCommand.swift
[45/101] Compiling ArgumentParser ArgumentDecoder.swift
[46/101] Compiling ArgumentParser InputOrigin.swift
[47/101] Compiling ArgumentParser Name.swift
[48/101] Compiling ArgumentParser Parsed.swift
[49/101] Compiling ArgumentParser ParsedValues.swift
[50/101] Compiling ArgumentParser ArgumentDefinition.swift
[51/101] Compiling ArgumentParser ArgumentSet.swift
[52/101] Compiling ArgumentParser CommandParser.swift
[53/101] Compiling ArgumentParser InputKey.swift
[54/101] Emitting module UnwrapOrThrow
[55/101] Compiling UnwrapOrThrow UnwrapOrThrowOperator.swift
[56/101] Compiling UnwrapOrThrow UnwrapOrThrow.swift
[57/101] Compiling StreamReader FileHandleReader.swift
[58/101] Emitting module StreamReader
[59/101] Compiling StreamReader FileDescriptorReader.swift
[60/101] Compiling StreamReader Matching.swift
[61/101] Compiling StreamReader StreamReaderErrors.swift
[62/101] Compiling StreamReader InputStreamReader.swift
[63/101] Compiling StreamReader URLSessionStreamTaskReader.swift
[64/101] Compiling StreamReader StreamReader.swift
[65/101] Compiling StreamReader DataReader.swift
[66/101] Compiling StreamReader GenericStreamReader.swift
[67/101] Emitting module CLTLogger
[68/101] Compiling CLTLogger CLTLogger.swift
[69/101] Compiling CLTLogger NSLock+Linux.swift
[70/101] Compiling CLTLogger SGR.swift
[71/101] Compiling CLTLogger String+Utils.swift
[72/101] Compiling SignalHandling Sigaction.swift
[73/101] Compiling SignalHandling SigactionFlag.swift
[74/101] Compiling ArgumentParser DumpHelpGenerator.swift
[75/101] Compiling ArgumentParser HelpCommand.swift
[76/101] Compiling ArgumentParser BashCompletionsGenerator.swift
[77/101] Compiling ArgumentParser CompletionsGenerator.swift
[78/101] Compiling ArgumentParser FishCompletionsGenerator.swift
[79/101] Compiling ArgumentParser ZshCompletionsGenerator.swift
[80/101] Compiling ArgumentParser Argument.swift
[81/101] Compiling ArgumentParser HelpGenerator.swift
[82/101] Compiling ArgumentParser MessageInfo.swift
[83/101] Compiling ArgumentParser UsageGenerator.swift
[84/101] Compiling ArgumentParser CollectionExtensions.swift
[85/104] Compiling SignalHandling SigactionDelayer_Unsig.swift
[86/104] Compiling SignalHandling SigactionDelayer_Block.swift
[87/104] Compiling SignalHandling DelayedSigactionHandler.swift
[88/104] Compiling SignalHandling SignalHandlingConfig.swift
[89/104] Compiling SignalHandling SignalHandlingError.swift
[90/104] Compiling SignalHandling DelayedSigaction.swift
[91/105] Compiling SignalHandling Signal.swift
[92/105] Emitting module SignalHandling
[95/105] Compiling SignalHandling SigactionHandler.swift
[96/105] Compiling SignalHandling Utils.swift
[97/105] Emitting module ProcessInvocationBridge
/Users/admin/builder/spi-builder-workspace/Sources/ProcessInvocationBridge/ProcessInvocationBridge.swift:29:13: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 27 | struct ProcessInvocationBridge : ParsableCommand {
 28 |
 29 | 	static var configuration = CommandConfiguration(
    |             |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
    |             |- note: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 30 | 		commandName: processInvocationBridgeName,
 31 | 		abstract: "Internal launcher for swift-process-invocation which receives a fd before launching the tool."
/Users/admin/builder/spi-builder-workspace/Sources/ProcessInvocationBridge/ProcessInvocationBridge.swift:47:13: 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
 45 | 	var toolArguments: [String] = []
 46 |
 47 | 	static var logger: 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
    |             |- note: convert 'logger' to a 'let' constant to make 'Sendable' shared state immutable
    |             |- note: annotate 'logger' with '@MainActor' if property should only be accessed from the main actor
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 48 | 		var ret = Logger(label: "main")
 49 | 		ret.logLevel = .debug
[98/105] Compiling ProcessInvocationBridge Utils.swift
[99/105] Compiling ProcessInvocationBridge ProcessInvocationBridge.swift
/Users/admin/builder/spi-builder-workspace/Sources/ProcessInvocationBridge/ProcessInvocationBridge.swift:29:13: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 27 | struct ProcessInvocationBridge : ParsableCommand {
 28 |
 29 | 	static var configuration = CommandConfiguration(
    |             |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
    |             |- note: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 30 | 		commandName: processInvocationBridgeName,
 31 | 		abstract: "Internal launcher for swift-process-invocation which receives a fd before launching the tool."
/Users/admin/builder/spi-builder-workspace/Sources/ProcessInvocationBridge/ProcessInvocationBridge.swift:47:13: 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
 45 | 	var toolArguments: [String] = []
 46 |
 47 | 	static var logger: 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
    |             |- note: convert 'logger' to a 'let' constant to make 'Sendable' shared state immutable
    |             |- note: annotate 'logger' with '@MainActor' if property should only be accessed from the main actor
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 48 | 		var ret = Logger(label: "main")
 49 | 		ret.logLevel = .debug
[99/105] Write Objects.LinkFileList
[100/105] Linking swift-process-invocation-bridge
[101/105] Applying swift-process-invocation-bridge
[103/116] Compiling ProcessInvocation OutputRedirectMode.swift
[104/117] Compiling ProcessInvocation Utils.swift
[105/117] Compiling ProcessInvocation ProcessInvocation+Pipe.swift
/Users/admin/builder/spi-builder-workspace/Sources/ProcessInvocation/ProcessInvocation+Pipe.swift:65: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
 63 |
 64 | 				do {
 65 | 					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
 66 | 					try reader.peekData(size: reader.currentStreamReadPosition - reader.currentReadPosition, allowReadingLess: false, { bytes in
 67 | 						let (writtenNow, readError) = {
/Users/admin/builder/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 | 	/**
/Users/admin/builder/spi-builder-workspace/Sources/ProcessInvocation/ProcessInvocation+Pipe.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'StreamReader'
  6 | #endif
  7 |
  8 | import StreamReader
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'StreamReader'
  9 |
 10 |
/Users/admin/builder/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 | 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
   |                    |- note: convert 'logger' to a 'let' constant to make 'Sendable' shared state immutable
   |                    |- note: annotate 'logger' with '@MainActor' if property should only be accessed from the main actor
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | 		return Logger(label: "com.xcode-actions.process-invocation")
12 | 	}()
/Users/admin/builder/spi-builder-workspace/Sources/ProcessInvocation/ProcessInvocation+Pipe.swift:81: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
 79 |
 80 | 						if writtenNow > 0 {
 81 | 							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
 82 | 							catch {Conf.logger?.critical("Invalid StreamReader (or internal logic error)! Reading from the stream failed but the data should already be in the buffer.")}
 83 | 						} else if writtenNow < 0 {
/Users/admin/builder/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 | 	/**
[106/117] Compiling ProcessInvocation LineSeparators.swift
/Users/admin/builder/spi-builder-workspace/Sources/ProcessInvocation/LineSeparators.swift:10:20: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'LineSeparators' may have shared mutable state; this is an error in the Swift 6 language mode
 3 |
 4 |
 5 | public enum LineSeparators {
   |             `- note: consider making enum 'LineSeparators' conform to the 'Sendable' protocol
 6 |
 7 | 	case newLine(unix: Bool, legacyMacOS: Bool, windows: Bool)
 8 | 	case customCharacters(Set<UInt8>)
 9 |
10 | 	public static let `default` = LineSeparators.unix
   |                    |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'LineSeparators' may have shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | 	/** The whole output will be sent in one chunk. */
/Users/admin/builder/spi-builder-workspace/Sources/ProcessInvocation/LineSeparators.swift:23:20: warning: static property 'unix' is not concurrency-safe because non-'Sendable' type 'LineSeparators' may have shared mutable state; this is an error in the Swift 6 language mode
 3 |
 4 |
 5 | public enum LineSeparators {
   |             `- note: consider making enum 'LineSeparators' conform to the 'Sendable' protocol
 6 |
 7 | 	case newLine(unix: Bool, legacyMacOS: Bool, windows: Bool)
   :
21 | 	 Defined as `LineSeparators.newLine(unix: true, legacyMacOS: false, windows: false)`
22 | 	 but strictly equivalent to `.customCharacters([0x0a])`. */
23 | 	public static let unix = LineSeparators.newLine(unix: true, legacyMacOS: false, windows: false)
   |                    |- warning: static property 'unix' is not concurrency-safe because non-'Sendable' type 'LineSeparators' may have shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: annotate 'unix' with '@MainActor' if property should only be accessed from the main actor
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | 	public static let windows = LineSeparators.newLine(unix: false, legacyMacOS: false, windows: true)
25 | 	public static let anyNewLines = LineSeparators.newLine(unix: true, legacyMacOS: true, windows: true)
/Users/admin/builder/spi-builder-workspace/Sources/ProcessInvocation/LineSeparators.swift:13:20: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'LineSeparators' may have shared mutable state; this is an error in the Swift 6 language mode
 3 |
 4 |
 5 | public enum LineSeparators {
   |             `- note: consider making enum 'LineSeparators' conform to the 'Sendable' protocol
 6 |
 7 | 	case newLine(unix: Bool, legacyMacOS: Bool, windows: Bool)
   :
11 |
12 | 	/** The whole output will be sent in one chunk. */
13 | 	public static let none = LineSeparators.customCharacters([])
   |                    |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'LineSeparators' may have shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | 	/** Suitable for outputs like `find ... -print0`. */
15 | 	public static let zero = LineSeparators.customCharacters([0x00])
/Users/admin/builder/spi-builder-workspace/Sources/ProcessInvocation/LineSeparators.swift:15:20: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'LineSeparators' may have shared mutable state; this is an error in the Swift 6 language mode
 3 |
 4 |
 5 | public enum LineSeparators {
   |             `- note: consider making enum 'LineSeparators' conform to the 'Sendable' protocol
 6 |
 7 | 	case newLine(unix: Bool, legacyMacOS: Bool, windows: Bool)
   :
13 | 	public static let none = LineSeparators.customCharacters([])
14 | 	/** Suitable for outputs like `find ... -print0`. */
15 | 	public static let zero = LineSeparators.customCharacters([0x00])
   |                    |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'LineSeparators' may have shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | 	/** To get all bytes one by one (in EOL; lines will be empty). */
17 | 	public static let anything = LineSeparators.customCharacters(Set(UInt8.min...UInt8.max))
/Users/admin/builder/spi-builder-workspace/Sources/ProcessInvocation/LineSeparators.swift:17:20: warning: static property 'anything' is not concurrency-safe because non-'Sendable' type 'LineSeparators' may have shared mutable state; this is an error in the Swift 6 language mode
 3 |
 4 |
 5 | public enum LineSeparators {
   |             `- note: consider making enum 'LineSeparators' conform to the 'Sendable' protocol
 6 |
 7 | 	case newLine(unix: Bool, legacyMacOS: Bool, windows: Bool)
   :
15 | 	public static let zero = LineSeparators.customCharacters([0x00])
16 | 	/** To get all bytes one by one (in EOL; lines will be empty). */
17 | 	public static let anything = LineSeparators.customCharacters(Set(UInt8.min...UInt8.max))
   |                    |- warning: static property 'anything' is not concurrency-safe because non-'Sendable' type 'LineSeparators' may have shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: annotate 'anything' with '@MainActor' if property should only be accessed from the main actor
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | 	/**
19 | 	 Suitable for standard unix utilities.
/Users/admin/builder/spi-builder-workspace/Sources/ProcessInvocation/LineSeparators.swift:24:20: warning: static property 'windows' is not concurrency-safe because non-'Sendable' type 'LineSeparators' may have shared mutable state; this is an error in the Swift 6 language mode
 3 |
 4 |
 5 | public enum LineSeparators {
   |             `- note: consider making enum 'LineSeparators' conform to the 'Sendable' protocol
 6 |
 7 | 	case newLine(unix: Bool, legacyMacOS: Bool, windows: Bool)
   :
22 | 	 but strictly equivalent to `.customCharacters([0x0a])`. */
23 | 	public static let unix = LineSeparators.newLine(unix: true, legacyMacOS: false, windows: false)
24 | 	public static let windows = LineSeparators.newLine(unix: false, legacyMacOS: false, windows: true)
   |                    |- warning: static property 'windows' is not concurrency-safe because non-'Sendable' type 'LineSeparators' may have shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: annotate 'windows' with '@MainActor' if property should only be accessed from the main actor
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | 	public static let anyNewLines = LineSeparators.newLine(unix: true, legacyMacOS: true, windows: true)
26 |
/Users/admin/builder/spi-builder-workspace/Sources/ProcessInvocation/LineSeparators.swift:25:20: warning: static property 'anyNewLines' is not concurrency-safe because non-'Sendable' type 'LineSeparators' may have shared mutable state; this is an error in the Swift 6 language mode
 3 |
 4 |
 5 | public enum LineSeparators {
   |             `- note: consider making enum 'LineSeparators' conform to the 'Sendable' protocol
 6 |
 7 | 	case newLine(unix: Bool, legacyMacOS: Bool, windows: Bool)
   :
23 | 	public static let unix = LineSeparators.newLine(unix: true, legacyMacOS: false, windows: false)
24 | 	public static let windows = LineSeparators.newLine(unix: false, legacyMacOS: false, windows: true)
25 | 	public static let anyNewLines = LineSeparators.newLine(unix: true, legacyMacOS: true, windows: true)
   |                    |- warning: static property 'anyNewLines' is not concurrency-safe because non-'Sendable' type 'LineSeparators' may have shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: annotate 'anyNewLines' with '@MainActor' if property should only be accessed from the main actor
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | }
[107/117] Compiling ProcessInvocation InputRedirectMode.swift
[108/117] Emitting module ProcessInvocation
/Users/admin/builder/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 | 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
   |                    |- note: convert 'logger' to a 'let' constant to make 'Sendable' shared state immutable
   |                    |- note: annotate 'logger' with '@MainActor' if property should only be accessed from the main actor
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | 		return Logger(label: "com.xcode-actions.process-invocation")
12 | 	}()
/Users/admin/builder/spi-builder-workspace/Sources/ProcessInvocation/LineSeparators.swift:10:20: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'LineSeparators' may have shared mutable state; this is an error in the Swift 6 language mode
 3 |
 4 |
 5 | public enum LineSeparators {
   |             `- note: consider making enum 'LineSeparators' conform to the 'Sendable' protocol
 6 |
 7 | 	case newLine(unix: Bool, legacyMacOS: Bool, windows: Bool)
 8 | 	case customCharacters(Set<UInt8>)
 9 |
10 | 	public static let `default` = LineSeparators.unix
   |                    |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'LineSeparators' may have shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | 	/** The whole output will be sent in one chunk. */
/Users/admin/builder/spi-builder-workspace/Sources/ProcessInvocation/LineSeparators.swift:23:20: warning: static property 'unix' is not concurrency-safe because non-'Sendable' type 'LineSeparators' may have shared mutable state; this is an error in the Swift 6 language mode
 3 |
 4 |
 5 | public enum LineSeparators {
   |             `- note: consider making enum 'LineSeparators' conform to the 'Sendable' protocol
 6 |
 7 | 	case newLine(unix: Bool, legacyMacOS: Bool, windows: Bool)
   :
21 | 	 Defined as `LineSeparators.newLine(unix: true, legacyMacOS: false, windows: false)`
22 | 	 but strictly equivalent to `.customCharacters([0x0a])`. */
23 | 	public static let unix = LineSeparators.newLine(unix: true, legacyMacOS: false, windows: false)
   |                    |- warning: static property 'unix' is not concurrency-safe because non-'Sendable' type 'LineSeparators' may have shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: annotate 'unix' with '@MainActor' if property should only be accessed from the main actor
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | 	public static let windows = LineSeparators.newLine(unix: false, legacyMacOS: false, windows: true)
25 | 	public static let anyNewLines = LineSeparators.newLine(unix: true, legacyMacOS: true, windows: true)
/Users/admin/builder/spi-builder-workspace/Sources/ProcessInvocation/LineSeparators.swift:13:20: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'LineSeparators' may have shared mutable state; this is an error in the Swift 6 language mode
 3 |
 4 |
 5 | public enum LineSeparators {
   |             `- note: consider making enum 'LineSeparators' conform to the 'Sendable' protocol
 6 |
 7 | 	case newLine(unix: Bool, legacyMacOS: Bool, windows: Bool)
   :
11 |
12 | 	/** The whole output will be sent in one chunk. */
13 | 	public static let none = LineSeparators.customCharacters([])
   |                    |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'LineSeparators' may have shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | 	/** Suitable for outputs like `find ... -print0`. */
15 | 	public static let zero = LineSeparators.customCharacters([0x00])
/Users/admin/builder/spi-builder-workspace/Sources/ProcessInvocation/LineSeparators.swift:15:20: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'LineSeparators' may have shared mutable state; this is an error in the Swift 6 language mode
 3 |
 4 |
 5 | public enum LineSeparators {
   |             `- note: consider making enum 'LineSeparators' conform to the 'Sendable' protocol
 6 |
 7 | 	case newLine(unix: Bool, legacyMacOS: Bool, windows: Bool)
   :
13 | 	public static let none = LineSeparators.customCharacters([])
14 | 	/** Suitable for outputs like `find ... -print0`. */
15 | 	public static let zero = LineSeparators.customCharacters([0x00])
   |                    |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'LineSeparators' may have shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | 	/** To get all bytes one by one (in EOL; lines will be empty). */
17 | 	public static let anything = LineSeparators.customCharacters(Set(UInt8.min...UInt8.max))
/Users/admin/builder/spi-builder-workspace/Sources/ProcessInvocation/LineSeparators.swift:17:20: warning: static property 'anything' is not concurrency-safe because non-'Sendable' type 'LineSeparators' may have shared mutable state; this is an error in the Swift 6 language mode
 3 |
 4 |
 5 | public enum LineSeparators {
   |             `- note: consider making enum 'LineSeparators' conform to the 'Sendable' protocol
 6 |
 7 | 	case newLine(unix: Bool, legacyMacOS: Bool, windows: Bool)
   :
15 | 	public static let zero = LineSeparators.customCharacters([0x00])
16 | 	/** To get all bytes one by one (in EOL; lines will be empty). */
17 | 	public static let anything = LineSeparators.customCharacters(Set(UInt8.min...UInt8.max))
   |                    |- warning: static property 'anything' is not concurrency-safe because non-'Sendable' type 'LineSeparators' may have shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: annotate 'anything' with '@MainActor' if property should only be accessed from the main actor
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | 	/**
19 | 	 Suitable for standard unix utilities.
/Users/admin/builder/spi-builder-workspace/Sources/ProcessInvocation/LineSeparators.swift:24:20: warning: static property 'windows' is not concurrency-safe because non-'Sendable' type 'LineSeparators' may have shared mutable state; this is an error in the Swift 6 language mode
 3 |
 4 |
 5 | public enum LineSeparators {
   |             `- note: consider making enum 'LineSeparators' conform to the 'Sendable' protocol
 6 |
 7 | 	case newLine(unix: Bool, legacyMacOS: Bool, windows: Bool)
   :
22 | 	 but strictly equivalent to `.customCharacters([0x0a])`. */
23 | 	public static let unix = LineSeparators.newLine(unix: true, legacyMacOS: false, windows: false)
24 | 	public static let windows = LineSeparators.newLine(unix: false, legacyMacOS: false, windows: true)
   |                    |- warning: static property 'windows' is not concurrency-safe because non-'Sendable' type 'LineSeparators' may have shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: annotate 'windows' with '@MainActor' if property should only be accessed from the main actor
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | 	public static let anyNewLines = LineSeparators.newLine(unix: true, legacyMacOS: true, windows: true)
26 |
/Users/admin/builder/spi-builder-workspace/Sources/ProcessInvocation/LineSeparators.swift:25:20: warning: static property 'anyNewLines' is not concurrency-safe because non-'Sendable' type 'LineSeparators' may have shared mutable state; this is an error in the Swift 6 language mode
 3 |
 4 |
 5 | public enum LineSeparators {
   |             `- note: consider making enum 'LineSeparators' conform to the 'Sendable' protocol
 6 |
 7 | 	case newLine(unix: Bool, legacyMacOS: Bool, windows: Bool)
   :
23 | 	public static let unix = LineSeparators.newLine(unix: true, legacyMacOS: false, windows: false)
24 | 	public static let windows = LineSeparators.newLine(unix: false, legacyMacOS: false, windows: true)
25 | 	public static let anyNewLines = LineSeparators.newLine(unix: true, legacyMacOS: true, windows: true)
   |                    |- warning: static property 'anyNewLines' is not concurrency-safe because non-'Sendable' type 'LineSeparators' may have shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: annotate 'anyNewLines' with '@MainActor' if property should only be accessed from the main actor
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | }
[109/117] Compiling ProcessInvocation ProcessInvocation+Deprecated.swift
/Users/admin/builder/spi-builder-workspace/Sources/ProcessInvocation/LineSeparators.swift:10:20: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'LineSeparators' may have shared mutable state; this is an error in the Swift 6 language mode
 3 |
 4 |
 5 | public enum LineSeparators {
   |             `- note: consider making enum 'LineSeparators' conform to the 'Sendable' protocol
 6 |
 7 | 	case newLine(unix: Bool, legacyMacOS: Bool, windows: Bool)
 8 | 	case customCharacters(Set<UInt8>)
 9 |
10 | 	public static let `default` = LineSeparators.unix
   |                    |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'LineSeparators' may have shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | 	/** The whole output will be sent in one chunk. */
[110/117] Compiling ProcessInvocation  Config.swift
/Users/admin/builder/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 | 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
   |                    |- note: convert 'logger' to a 'let' constant to make 'Sendable' shared state immutable
   |                    |- note: annotate 'logger' with '@MainActor' if property should only be accessed from the main actor
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | 		return Logger(label: "com.xcode-actions.process-invocation")
12 | 	}()
[111/117] Compiling ProcessInvocation  Constants.swift
/Users/admin/builder/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 | 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
   |                    |- note: convert 'logger' to a 'let' constant to make 'Sendable' shared state immutable
   |                    |- note: annotate 'logger' with '@MainActor' if property should only be accessed from the main actor
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | 		return Logger(label: "com.xcode-actions.process-invocation")
12 | 	}()
[112/117] Compiling ProcessInvocation  Errors.swift
[113/117] Compiling ProcessInvocation LineWithSource.swift
[114/117] Compiling ProcessInvocation ProcessInvocation.swift
/Users/admin/builder/spi-builder-workspace/Sources/ProcessInvocation/LineSeparators.swift:10:20: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'LineSeparators' may have shared mutable state; this is an error in the Swift 6 language mode
 3 |
 4 |
 5 | public enum LineSeparators {
   |             `- note: consider making enum 'LineSeparators' conform to the 'Sendable' protocol
 6 |
 7 | 	case newLine(unix: Bool, legacyMacOS: Bool, windows: Bool)
 8 | 	case customCharacters(Set<UInt8>)
 9 |
10 | 	public static let `default` = LineSeparators.unix
   |                    |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'LineSeparators' may have shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | 	/** The whole output will be sent in one chunk. */
/Users/admin/builder/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 | 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
   |                    |- note: convert 'logger' to a 'let' constant to make 'Sendable' shared state immutable
   |                    |- note: annotate 'logger' with '@MainActor' if property should only be accessed from the main actor
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | 		return Logger(label: "com.xcode-actions.process-invocation")
12 | 	}()
/Users/admin/builder/spi-builder-workspace/Sources/ProcessInvocation/ProcessInvocation.swift:704:4: warning: capture of 'signalCleanupHandler' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 702 | 				}
 703 | 			}
 704 | 			signalCleanupHandler()
     |    |- warning: capture of 'signalCleanupHandler' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
     |    `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 705 | 			g.leave()
 706 | 		}
/Users/admin/builder/spi-builder-workspace/Sources/ProcessInvocation/ProcessInvocation.swift:840:21: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
 838 | 					do {
 839 | 						let (p, g) = try invocation.invoke{ result, _, _ in
 840 | 							continuation.yield(with: result)
     |                     |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
     |                     `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
 841 | 						}
 842 | 						process = p
[115/119] Compiling ManualTests main.swift
/Users/admin/builder/spi-builder-workspace/Sources/ManualTests/main.swift:74:2: warning: non-sendable type 'RawLineWithSource?' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
 72 | 	/* Try to read one line from ProcessInvocation and then one using StreamReader. */
 73 | 	let pi = ProcessInvocation("head", "-n", "1")
 74 | 	for try await line in pi {
    |  `- warning: non-sendable type 'RawLineWithSource?' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
 75 | 		print("From head: \(line.strLineOrHex())")
 76 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/ProcessInvocation/LineWithSource.swift:12:15: note: struct 'RawLineWithSource' does not conform to the 'Sendable' protocol
10 |
11 |
12 | public struct RawLineWithSource : Equatable, Hashable, CustomStringConvertible {
   |               `- note: struct 'RawLineWithSource' does not conform to the 'Sendable' protocol
13 |
14 | 	public var line: Data
/Users/admin/builder/spi-builder-workspace/Sources/ManualTests/main.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ProcessInvocation'
  8 | import CLTLogger
  9 | import Logging
 10 | import ProcessInvocation
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ProcessInvocation'
 11 | import StreamReader
 12 |
[116/119] Emitting module ManualTests
/Users/admin/builder/spi-builder-workspace/Sources/ManualTests/main.swift:74:2: warning: non-sendable type 'RawLineWithSource?' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
 72 | 	/* Try to read one line from ProcessInvocation and then one using StreamReader. */
 73 | 	let pi = ProcessInvocation("head", "-n", "1")
 74 | 	for try await line in pi {
    |  `- warning: non-sendable type 'RawLineWithSource?' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
 75 | 		print("From head: \(line.strLineOrHex())")
 76 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/ProcessInvocation/LineWithSource.swift:12:15: note: struct 'RawLineWithSource' does not conform to the 'Sendable' protocol
10 |
11 |
12 | public struct RawLineWithSource : Equatable, Hashable, CustomStringConvertible {
   |               `- note: struct 'RawLineWithSource' does not conform to the 'Sendable' protocol
13 |
14 | 	public var line: Data
/Users/admin/builder/spi-builder-workspace/Sources/ManualTests/main.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ProcessInvocation'
  8 | import CLTLogger
  9 | import Logging
 10 | import ProcessInvocation
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ProcessInvocation'
 11 | import StreamReader
 12 |
[116/119] Write Objects.LinkFileList
[117/119] Linking ManualTests
[118/119] Applying ManualTests
Build complete! (28.01s)
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" : "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" : "0.5.1",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/xcode-actions/clt-logger.git"
    },
    {
      "identity" : "stream-reader",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.5.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/xcode-actions/stream-reader.git"
    },
    {
      "identity" : "swift-signal-handling",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/xcode-actions/swift-signal-handling.git"
    },
    {
      "identity" : "extenderz",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Frizlab/eXtenderZ.git"
    }
  ],
  "manifest_display_name" : "swift-process-invocation",
  "name" : "swift-process-invocation",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.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"
      ],
      "sources" : [
        "ProcessInvocationTests.swift",
        "Utils.swift"
      ],
      "target_dependencies" : [
        "ProcessInvocation"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ProcessInvocationBridge",
      "module_type" : "SwiftTarget",
      "name" : "ProcessInvocationBridge",
      "path" : "Sources/ProcessInvocationBridge",
      "product_dependencies" : [
        "ArgumentParser",
        "CLTLogger",
        "Logging"
      ],
      "product_memberships" : [
        "ProcessInvocation",
        "swift-process-invocation-bridge",
        "ManualTests"
      ],
      "sources" : [
        "ProcessInvocationBridge.swift",
        "Utils.swift"
      ],
      "target_dependencies" : [
        "CMacroExports"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "ProcessInvocation",
      "module_type" : "SwiftTarget",
      "name" : "ProcessInvocation",
      "path" : "Sources/ProcessInvocation",
      "product_dependencies" : [
        "Logging",
        "SignalHandling",
        "StreamReader",
        "UnwrapOrThrow",
        "eXtenderZ-static"
      ],
      "product_memberships" : [
        "ProcessInvocation",
        "ManualTests"
      ],
      "sources" : [
        " Config.swift",
        " Constants.swift",
        " Errors.swift",
        "InputRedirectMode.swift",
        "LineSeparators.swift",
        "LineWithSource.swift",
        "OutputRedirectMode.swift",
        "ProcessInvocation+Deprecated.swift",
        "ProcessInvocation+Pipe.swift",
        "ProcessInvocation.swift",
        "Utils.swift"
      ],
      "target_dependencies" : [
        "CMacroExports",
        "CNSTaskHelptender",
        "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" : "CNSTaskHelptender",
      "module_type" : "ClangTarget",
      "name" : "CNSTaskHelptender",
      "path" : "Sources/CNSTaskHelptender",
      "product_dependencies" : [
        "eXtenderZ-static"
      ],
      "product_memberships" : [
        "ProcessInvocation",
        "ManualTests"
      ],
      "sources" : [
        "NSTaskHelptender.m"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CMacroExports",
      "module_type" : "ClangTarget",
      "name" : "CMacroExports",
      "path" : "Sources/CMacroExports",
      "product_memberships" : [
        "ProcessInvocation",
        "swift-process-invocation-bridge",
        "ManualTests"
      ],
      "sources" : [
        "exports.c"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Done.