Build Information
Successful build of swift-process-invocation, reference 1.3.0-beta.5.0.1 (3e4efd), with Swift 6.1 for macOS (SPM) on 22 Jan 2026 03:33:36 UTC.
Swift 6 data race errors: 3
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCapturesBuild Log
========================================
RunAll
========================================
Builder version: 4.68.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 /Users/admin/builder/spi-builder-workspace/.git/
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: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/xcode-actions/swift-process-invocation.git
https://github.com/xcode-actions/swift-process-invocation.git
{
"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"
},
{
"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" : "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"
],
"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"
],
"type" : "executable"
},
{
"c99name" : "ProcessInvocation",
"module_type" : "SwiftTarget",
"name" : "ProcessInvocation",
"path" : "Sources/ProcessInvocation",
"product_dependencies" : [
"Logging",
"SignalHandling",
"StreamReader",
"UnwrapOrThrow",
"SystemPackage",
"eXtenderZ-static"
],
"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",
"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.8"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/26] Copying libeXtenderZ.a
[2/26] Write ManualTests-entitlement.plist
[2/26] Write sources
[7/26] Write swift-process-invocation-bridge-entitlement.plist
[13/26] Write sources
[16/26] Compiling CSystem shims.c
[17/26] Write swift-version-2F0A5646E1D333AE.txt
[18/74] Compiling CMacroExports exports.c
[20/74] Emitting module ArgumentParserToolInfo
[21/74] Compiling ArgumentParserToolInfo ToolInfo.swift
[22/121] Compiling ArgumentParser ZshCompletionsGenerator.swift
[23/121] Compiling ArgumentParser Argument.swift
[24/121] Compiling ArgumentParser ArgumentDiscussion.swift
[25/124] Compiling ArgumentParser BashCompletionsGenerator.swift
[26/124] Compiling ArgumentParser CompletionsGenerator.swift
[27/124] Compiling ArgumentParser FishCompletionsGenerator.swift
[28/124] Compiling Logging MetadataProvider.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[29/124] Compiling ArgumentParser StringExtensions.swift
[30/124] Compiling ArgumentParser SwiftExtensions.swift
[31/124] Compiling ArgumentParser Tree.swift
[32/124] Compiling ArgumentParser AsyncParsableCommand.swift
[33/124] Compiling ArgumentParser Platform.swift
[34/124] Compiling ArgumentParser SequenceExtensions.swift
[35/124] Compiling Logging LogHandler.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[36/124] Compiling Logging Locks.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[37/124] Emitting module Logging
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[38/124] Compiling Logging Logging.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[39/124] Emitting module SystemPackage
[40/124] Compiling ArgumentParser InputKey.swift
[41/124] Compiling ArgumentParser InputOrigin.swift
[42/124] Compiling ArgumentParser Name.swift
[43/124] Compiling ArgumentParser Parsed.swift
[44/124] Compiling ArgumentParser ParsedValues.swift
[45/124] Compiling ArgumentParser ArgumentHelp.swift
[46/124] Compiling SystemPackage Util+StringArray.swift
[47/124] Compiling SystemPackage Util.swift
[48/124] Compiling SystemPackage UtilConsumers.swift
[49/124] Compiling ArgumentParser ParserError.swift
[50/124] Compiling ArgumentParser SplitArguments.swift
[51/124] Compiling ArgumentParser DumpHelpGenerator.swift
[52/124] Compiling ArgumentParser Option.swift
[53/124] Compiling ArgumentParser OptionGroup.swift
[54/124] Compiling ArgumentParser ParentCommand.swift
[55/124] Compiling ArgumentParser HelpCommand.swift
[56/124] Compiling ArgumentParser HelpGenerator.swift
[57/124] Compiling ArgumentParser NameSpecification.swift
[57/134] Compiling CNSTaskHelptender NSTaskHelptender.m
[59/145] Emitting module ArgumentParser
[65/150] Compiling CLTLogger DummySendable.swift
[66/151] Emitting module StreamReader
[67/151] Emitting module UnwrapOrThrow
[68/151] Compiling UnwrapOrThrow UnwrapOrThrow.swift
[69/151] Compiling UnwrapOrThrow UnwrapOrThrowOperator.swift
[70/151] Compiling StreamReader FileHandleReader.swift
[71/151] Compiling StreamReader FileDescriptorReader.swift
[72/151] Compiling CLTLogger Scanner+OldOS.swift
[73/151] Compiling CLTLogger EmojiSet.swift
[74/151] Compiling StreamReader StreamReaderErrors.swift
[75/151] Compiling StreamReader InputStreamReader.swift
[76/151] Compiling StreamReader URLSessionStreamTaskReader.swift
[77/151] Compiling StreamReader StreamReader.swift
[78/151] Compiling CLTLogger Emoji.swift
[79/151] Compiling StreamReader Matching.swift
[80/151] Compiling CLTLogger OutputEnvironment.swift
[81/151] Compiling CLTLogger NSLock+withLock.swift
[82/151] Compiling CLTLogger SGR.swift
[83/151] Compiling ArgumentParser MessageInfo.swift
[84/151] Compiling ArgumentParser UsageGenerator.swift
[85/151] Compiling ArgumentParser CollectionExtensions.swift
[86/151] Compiling ArgumentParser Foundation.swift
[87/151] Compiling ArgumentParser Mutex.swift
[88/151] Compiling ArgumentParser CommandConfiguration.swift
[89/151] Compiling ArgumentParser CommandGroup.swift
[90/151] Compiling ArgumentParser EnumerableFlag.swift
[91/151] Compiling ArgumentParser ExpressibleByArgument.swift
[92/151] Compiling ArgumentParser ParsableArguments.swift
[93/151] Compiling StreamReader DataReader.swift
[94/151] Compiling StreamReader GenericStreamReader.swift
[95/151] Compiling CLTLogger String+Utils.swift
[96/151] Compiling CLTLogger CLTLogger+WithSendable.swift
[97/151] Emitting module CLTLogger
[98/151] Compiling CLTLogger CLTLogger.swift
[99/151] Compiling ArgumentParser CodingKeyValidator.swift
[100/151] Compiling ArgumentParser NonsenseFlagsValidator.swift
[101/151] Compiling ArgumentParser ParsableArgumentsValidation.swift
[102/151] Compiling ArgumentParser PositionalArgumentsValidator.swift
[103/151] Compiling ArgumentParser UniqueNamesValidator.swift
[104/151] Compiling SignalHandling Sigaction.swift
[105/151] Compiling SignalHandling SigactionFlag.swift
[124/151] Compiling ArgumentParser Flag.swift
[130/151] Compiling ArgumentParser ParsableCommand.swift
[131/151] Compiling ArgumentParser ArgumentDecoder.swift
[132/151] Compiling ArgumentParser ArgumentDefinition.swift
[133/151] Compiling ArgumentParser ArgumentSet.swift
[134/151] Compiling ArgumentParser CommandParser.swift
[135/154] Compiling SignalHandling SignalHandlingError.swift
[136/155] Compiling SignalHandling SigactionDelayer_Block.swift
[137/155] Compiling SignalHandling SignalHandlingConfig.swift
[138/155] Compiling SignalHandling DelayedSigaction.swift
[139/155] Compiling SignalHandling Signal.swift
[140/155] Compiling SignalHandling DelayedSigactionHandler.swift
[141/155] Compiling SignalHandling SigactionDelayer_Unsig.swift
[142/155] Compiling SignalHandling Utils.swift
[145/155] Emitting module SignalHandling
[146/155] Compiling SignalHandling SigactionHandler.swift
[147/155] Compiling ProcessInvocationBridge Utils.swift
[148/155] Emitting module ProcessInvocationBridge
[149/155] Compiling ProcessInvocationBridge ProcessInvocationBridge.swift
[149/155] Write Objects.LinkFileList
[150/155] Linking swift-process-invocation-bridge
[151/155] Applying swift-process-invocation-bridge
[153/167] Compiling ProcessInvocation LineWithSource.swift
[154/167] Compiling ProcessInvocation ProcessInvocation+Pipe.swift
/Users/admin/builder/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
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
62 | try reader.peekData(size: reader.currentStreamReadPosition - reader.currentReadPosition, allowReadingLess: false, { bytes in
63 | let (writtenNow, readError) = { () -> (Int, Int32) in
/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:3:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'StreamReader'
1 | import Foundation
2 |
3 | import StreamReader
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'StreamReader'
4 | import SystemPackage
5 |
/Users/admin/builder/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 {
/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 | /**
[155/168] Compiling ProcessInvocation Utils.swift
[156/168] Compiling ProcessInvocation LineSeparators.swift
[157/168] Compiling ProcessInvocation InputRedirectMode.swift
[158/168] Compiling ProcessInvocation OutputRedirectMode.swift
[159/168] 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: 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 | }()
[160/168] 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: 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 | }()
[161/168] 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: 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 | }()
[162/168] Compiling ProcessInvocation ProcessInvocation+Deprecated.swift
[163/168] Compiling ProcessInvocation ProcessInvocation.swift
/Users/admin/builder/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
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
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
730 | g.leave()
731 | }
/Users/admin/builder/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
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
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
875 | }
876 | process = p
[164/168] Compiling ProcessInvocation Errors.swift
[165/168] Compiling ProcessInvocation FileDescriptor+GenericReadStream.swift
[166/170] Emitting module ManualTests
/Users/admin/builder/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 |
/Users/admin/builder/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 | }()
/Users/admin/builder/spi-builder-workspace/Sources/ManualTests/main.swift:31:5: warning: non-sendable result type '[RawLineWithSource]' cannot be sent from nonisolated context in call to instance method 'invokeAndGetRawOutput()'; this is an error in the Swift 6 language mode
29 | stderrRedirect: .none,
30 | signalHandling: { signal in .init(signalForChild: signal, allowOnParent: false) }
31 | ).invokeAndGetRawOutput()
| `- warning: non-sendable result type '[RawLineWithSource]' cannot be sent from nonisolated context in call to instance method 'invokeAndGetRawOutput()'; this is an error in the Swift 6 language mode
32 | }
33 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/ProcessInvocation/LineWithSource.swift:8:15: note: struct 'RawLineWithSource' does not conform to the 'Sendable' protocol
6 |
7 |
8 | public struct RawLineWithSource : Equatable, Hashable, CustomStringConvertible {
| `- note: struct 'RawLineWithSource' does not conform to the 'Sendable' protocol
9 |
10 | public var line: Data
/Users/admin/builder/spi-builder-workspace/Sources/ManualTests/main.swift:5:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ProcessInvocation'
3 | import CLTLogger
4 | import Logging
5 | import ProcessInvocation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ProcessInvocation'
6 | import SystemPackage
7 |
[167/170] Compiling ManualTests main.swift
/Users/admin/builder/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 |
/Users/admin/builder/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 | }()
/Users/admin/builder/spi-builder-workspace/Sources/ManualTests/main.swift:31:5: warning: non-sendable result type '[RawLineWithSource]' cannot be sent from nonisolated context in call to instance method 'invokeAndGetRawOutput()'; this is an error in the Swift 6 language mode
29 | stderrRedirect: .none,
30 | signalHandling: { signal in .init(signalForChild: signal, allowOnParent: false) }
31 | ).invokeAndGetRawOutput()
| `- warning: non-sendable result type '[RawLineWithSource]' cannot be sent from nonisolated context in call to instance method 'invokeAndGetRawOutput()'; this is an error in the Swift 6 language mode
32 | }
33 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/ProcessInvocation/LineWithSource.swift:8:15: note: struct 'RawLineWithSource' does not conform to the 'Sendable' protocol
6 |
7 |
8 | public struct RawLineWithSource : Equatable, Hashable, CustomStringConvertible {
| `- note: struct 'RawLineWithSource' does not conform to the 'Sendable' protocol
9 |
10 | public var line: Data
/Users/admin/builder/spi-builder-workspace/Sources/ManualTests/main.swift:5:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ProcessInvocation'
3 | import CLTLogger
4 | import Logging
5 | import ProcessInvocation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ProcessInvocation'
6 | import SystemPackage
7 |
[167/170] Write Objects.LinkFileList
[168/170] Linking ManualTests
[169/170] Applying ManualTests
Build complete! (23.52s)
Fetching https://github.com/Frizlab/eXtenderZ.git
Fetching https://github.com/apple/swift-system.git from cache
Fetching https://github.com/xcode-actions/swift-signal-handling.git
Fetching https://github.com/Frizlab/UnwrapOrThrow.git
Fetching https://github.com/xcode-actions/clt-logger.git
Fetching https://github.com/Frizlab/stream-reader.git
Fetching https://github.com/apple/swift-log.git from cache
[1/1051] Fetching stream-reader
[23/1100] Fetching stream-reader, unwraporthrow
[250/2399] Fetching stream-reader, unwraporthrow, extenderz
[1205/2963] Fetching stream-reader, unwraporthrow, extenderz, swift-signal-handling
[1217/3832] Fetching stream-reader, unwraporthrow, extenderz, swift-signal-handling, clt-logger
Fetched https://github.com/apple/swift-log.git from cache (1.02s)
Fetched https://github.com/xcode-actions/swift-signal-handling.git from cache (1.03s)
Fetching https://github.com/apple/swift-argument-parser.git from cache
[2947/3268] Fetching stream-reader, unwraporthrow, extenderz, clt-logger
Fetched https://github.com/Frizlab/eXtenderZ.git from cache (1.09s)
Fetched https://github.com/apple/swift-system.git from cache (1.12s)
[1657/1969] Fetching stream-reader, unwraporthrow, clt-logger
Fetched https://github.com/Frizlab/UnwrapOrThrow.git from cache (1.53s)
Fetched https://github.com/xcode-actions/clt-logger.git from cache (1.53s)
Fetched https://github.com/Frizlab/stream-reader.git from cache (1.53s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.34s)
Computing version for https://github.com/xcode-actions/clt-logger.git
Computed https://github.com/xcode-actions/clt-logger.git at 1.0.0 (2.89s)
Computing version for https://github.com/Frizlab/stream-reader.git
Computed https://github.com/Frizlab/stream-reader.git at 3.6.1 (0.47s)
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.48s)
Computing version for https://github.com/Frizlab/UnwrapOrThrow.git
Computed https://github.com/Frizlab/UnwrapOrThrow.git at 1.1.0 (0.56s)
Computing version for https://github.com/Frizlab/eXtenderZ.git
Computed https://github.com/Frizlab/eXtenderZ.git at 2.1.1 (0.56s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.7.0 (0.50s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.9.1 (0.51s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.53s)
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.4
Creating working copy for https://github.com/Frizlab/UnwrapOrThrow.git
Working copy of https://github.com/Frizlab/UnwrapOrThrow.git resolved at 1.1.0
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/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/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/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.7.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.9.1
Creating working copy for https://github.com/Frizlab/eXtenderZ.git
Working copy of https://github.com/Frizlab/eXtenderZ.git resolved at 2.1.1
Downloading binary artifact https://github.com/Frizlab/eXtenderZ/releases/download/2.1.1/eXtenderZ-static.xcframework.zip
Downloading binary artifact https://github.com/Frizlab/eXtenderZ/releases/download/2.1.1/eXtenderZ-dynamic.xcframework.zip
[16375/459008] Downloading https://github.com/Frizlab/eXtenderZ/releases/download/2.1.1/eXtenderZ-static.xcframework.zip
[508133/10761112] Downloading https://github.com/Frizlab/eXtenderZ/releases/download/2.1.1/eXtenderZ-static.xcframework.zip, https://github.com/Frizlab/eXtenderZ/releases/download/2.1.1/eXtenderZ-dynamic.xcframework.zip
Downloaded https://github.com/Frizlab/eXtenderZ/releases/download/2.1.1/eXtenderZ-static.xcframework.zip (0.56s)
[3567735/10302104] Downloading https://github.com/Frizlab/eXtenderZ/releases/download/2.1.1/eXtenderZ-dynamic.xcframework.zip
Downloaded https://github.com/Frizlab/eXtenderZ/releases/download/2.1.1/eXtenderZ-dynamic.xcframework.zip (1.13s)
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"
},
{
"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" : "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"
],
"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"
],
"type" : "executable"
},
{
"c99name" : "ProcessInvocation",
"module_type" : "SwiftTarget",
"name" : "ProcessInvocation",
"path" : "Sources/ProcessInvocation",
"product_dependencies" : [
"Logging",
"SignalHandling",
"StreamReader",
"UnwrapOrThrow",
"SystemPackage",
"eXtenderZ-static"
],
"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",
"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.8"
}
Done.