Build Information
Failed to build swift-process-invocation, reference main (995fc7
), with Swift 6.0 for Linux on 27 Sep 2024 10:10:59 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.54.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/xcode-actions/swift-process-invocation.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/xcode-actions/swift-process-invocation
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 995fc74 Add missing init for backward compatibility
Cloned https://github.com/xcode-actions/swift-process-invocation.git
Revision (git rev-parse @):
995fc747c53e4dfaa7335a47511897c810ef2a01
SUCCESS checkout https://github.com/xcode-actions/swift-process-invocation.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/xcode-actions/swift-process-invocation.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:9d7dab235f2b0b46edadd73b1fb0c3b5323df02053420324a4a2f8ca89cb54a5
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/Frizlab/UnwrapOrThrow.git
Fetching https://github.com/Frizlab/eXtenderZ.git
Fetching https://github.com/xcode-actions/clt-logger.git
Fetching https://github.com/xcode-actions/swift-signal-handling.git
Fetching https://github.com/xcode-actions/stream-reader.git
[1/518] Fetching clt-logger
[395/1513] Fetching clt-logger, stream-reader
[992/1892] Fetching clt-logger, stream-reader, swift-signal-handling
[1689/2980] Fetching clt-logger, stream-reader, swift-signal-handling, extenderz
[1802/3011] Fetching clt-logger, stream-reader, swift-signal-handling, extenderz, unwraporthrow
Fetched https://github.com/xcode-actions/stream-reader.git from cache (0.34s)
Fetched https://github.com/xcode-actions/swift-signal-handling.git from cache (0.34s)
Fetched https://github.com/Frizlab/UnwrapOrThrow.git from cache (0.35s)
Fetched https://github.com/Frizlab/eXtenderZ.git from cache (0.35s)
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-system.git
Fetched https://github.com/xcode-actions/clt-logger.git from cache (0.35s)
[1/12210] Fetching swift-argument-parser
[10380/15817] Fetching swift-argument-parser, swift-log
[15818/19473] Fetching swift-argument-parser, swift-log, swift-system
Fetched https://github.com/apple/swift-log.git from cache (0.38s)
Fetched https://github.com/apple/swift-system.git from cache (0.42s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.81s)
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.62s)
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.59s)
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.59s)
Computing version for https://github.com/Frizlab/UnwrapOrThrow.git
Computed https://github.com/Frizlab/UnwrapOrThrow.git at 1.0.1 (1.11s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.5.4 (0.66s)
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.62s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.3.2 (0.51s)
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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.3.2
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-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/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.5.4
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/clt-logger.git
Working copy of https://github.com/xcode-actions/clt-logger.git resolved at 0.8.0
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/32] Write sources
[12/32] Compiling CGNUSourceExportsForTests exports_for_tests.c
[13/32] Compiling CSystem shims.c
[14/32] Compiling CGNUSourceExports exports.c
[15/32] Compiling CMacroExports exports.c
[15/32] Write swift-version-24593BA9C3E375BF.txt
[18/63] Emitting module SystemPackage
[19/65] Emitting module ArgumentParserToolInfo
[20/65] Compiling ArgumentParserToolInfo ToolInfo.swift
[21/66] Compiling SystemPackage PlatformString.swift
[22/66] Compiling SystemPackage SystemString.swift
[23/66] Compiling Logging LogHandler.swift
[24/66] Compiling SystemPackage FilePathComponents.swift
[25/66] Compiling SystemPackage FilePathParsing.swift
[26/66] Compiling SystemPackage FilePathString.swift
[27/66] Compiling SystemPackage Util.swift
[28/66] Compiling SystemPackage UtilConsumers.swift
[30/66] Compiling SystemPackage FileOperations.swift
[31/66] Compiling SystemPackage FilePath.swift
[32/66] Compiling SystemPackage FilePathComponentView.swift
[33/66] Compiling SystemPackage Errno.swift
[34/66] Compiling SystemPackage FileDescriptor.swift
[35/66] Compiling SystemPackage FileHelpers.swift
[35/66] Wrapping AST for ArgumentParserToolInfo for debugging
[37/103] Compiling Logging MetadataProvider.swift
[38/103] Compiling ArgumentParser ArgumentDecoder.swift
[39/103] Compiling ArgumentParser BashCompletionsGenerator.swift
[40/103] Compiling ArgumentParser CompletionsGenerator.swift
[41/103] Compiling ArgumentParser FishCompletionsGenerator.swift
[42/103] Compiling ArgumentParser ZshCompletionsGenerator.swift
[43/103] Compiling ArgumentParser Argument.swift
[44/103] Emitting module Logging
[45/103] Compiling Logging Locks.swift
[46/103] Compiling Logging Logging.swift
[47/104] Compiling ArgumentParser ArgumentHelp.swift
[48/104] Compiling ArgumentParser ArgumentVisibility.swift
[49/104] Compiling ArgumentParser CompletionKind.swift
[51/105] Wrapping AST for Logging for debugging
[52/105] Wrapping AST for SystemPackage for debugging
[54/130] Compiling StreamReader FileDescriptorReader.swift
[55/130] Compiling StreamReader FileHandleReader.swift
[56/130] Compiling SignalHandling SigactionHandler.swift
[57/130] Compiling SignalHandling Signal.swift
[58/130] Compiling SignalHandling DelayedSigaction.swift
[59/135] Compiling UnwrapOrThrow UnwrapOrThrowOperator.swift
[60/135] Emitting module UnwrapOrThrow
[61/135] Compiling UnwrapOrThrow UnwrapOrThrow.swift
[63/136] Emitting module ArgumentParser
[63/136] Wrapping AST for UnwrapOrThrow for debugging
[65/136] Compiling StreamReader GenericStreamReader.swift
[66/137] Compiling CLTLogger NSLock+Linux.swift
[67/137] Compiling CLTLogger CLTLogger.swift
[68/137] Emitting module CLTLogger
[69/137] Compiling StreamReader InputStreamReader.swift
[70/137] Compiling StreamReader StreamReader.swift
[71/137] Compiling StreamReader URLSessionStreamTaskReader.swift
[72/137] Compiling SignalHandling SignalHandlingConfig.swift
[73/137] Compiling SignalHandling SigactionDelayer_Unsig.swift
[75/138] Compiling SignalHandling DelayedSigactionHandler.swift
[76/138] Emitting module StreamReader
[79/138] Compiling SignalHandling SigactionDelayer_Block.swift
[80/138] Compiling SignalHandling SignalHandlingError.swift
[81/138] Compiling StreamReader StreamReaderErrors.swift
[82/138] Compiling StreamReader DataReader.swift
[83/138] Compiling StreamReader Matching.swift
[84/139] Compiling SignalHandling Utils.swift
[86/139] Compiling CLTLogger SGR.swift
[89/139] Emitting module SignalHandling
[92/139] Compiling ArgumentParser CollectionExtensions.swift
[93/139] Compiling ArgumentParser Platform.swift
[94/139] Compiling ArgumentParser SequenceExtensions.swift
[95/139] Compiling ArgumentParser StringExtensions.swift
[96/139] Compiling ArgumentParser Tree.swift
[96/140] Wrapping AST for StreamReader for debugging
[99/140] Compiling ArgumentParser Name.swift
[100/140] Compiling ArgumentParser Parsed.swift
[101/140] Compiling ArgumentParser ParsedValues.swift
[102/140] Compiling ArgumentParser ParserError.swift
[103/140] Compiling ArgumentParser SplitArguments.swift
[104/140] Compiling ArgumentParser DumpHelpGenerator.swift
[105/140] Compiling ArgumentParser HelpCommand.swift
[106/140] Compiling ArgumentParser HelpGenerator.swift
[107/140] Compiling ArgumentParser MessageInfo.swift
[108/140] Compiling ArgumentParser UsageGenerator.swift
[108/140] Wrapping AST for SignalHandling for debugging
[111/140] Compiling ArgumentParser ParsableArguments.swift
[112/140] Compiling ArgumentParser ParsableArgumentsValidation.swift
[113/140] Compiling ArgumentParser ParsableCommand.swift
[117/140] Compiling ArgumentParser Errors.swift
[118/140] Compiling ArgumentParser Flag.swift
[119/140] Compiling ArgumentParser NameSpecification.swift
[120/140] Compiling ArgumentParser ArgumentDefinition.swift
[121/140] Compiling ArgumentParser ArgumentSet.swift
[122/140] Compiling ArgumentParser CommandParser.swift
[123/140] Compiling ArgumentParser InputKey.swift
[124/140] Compiling ArgumentParser InputOrigin.swift
[131/141] Wrapping AST for ArgumentParser for debugging
[133/141] Compiling CLTLogger String+Utils.swift
[134/142] Wrapping AST for CLTLogger for debugging
[136/145] Compiling ProcessInvocationBridge Utils.swift
[137/145] Emitting module ProcessInvocationBridge
/host/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."
/host/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
[138/145] Compiling ProcessInvocationBridge ProcessInvocationBridge.swift
/host/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."
/host/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
[139/146] Wrapping AST for ProcessInvocationBridge for debugging
[140/146] Write Objects.LinkFileList
[141/146] Linking swift-process-invocation-bridge
[143/157] Compiling ProcessInvocation OutputRedirectMode.swift
[144/158] Compiling ProcessInvocation Utils.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[145/158] Compiling ProcessInvocation Errors.swift
[146/158] Compiling ProcessInvocation InputRedirectMode.swift
[147/158] Compiling ProcessInvocation Config.swift
/host/spi-builder-workspace/Sources/ProcessInvocation/ Config.swift:10:20: warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | 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 | }()
[148/158] Compiling ProcessInvocation Constants.swift
/host/spi-builder-workspace/Sources/ProcessInvocation/ Config.swift:10:20: warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | 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 | }()
[149/158] Compiling ProcessInvocation LineSeparators.swift
/host/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. */
/host/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)
/host/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])
/host/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))
/host/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.
/host/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 |
/host/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 | }
[150/158] Compiling ProcessInvocation LineWithSource.swift
/host/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. */
/host/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)
/host/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])
/host/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))
/host/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.
/host/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 |
/host/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 | }
[151/158] Emitting module ProcessInvocation
/host/spi-builder-workspace/Sources/ProcessInvocation/ Config.swift:10:20: warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | 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 | }()
/host/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. */
/host/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)
/host/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])
/host/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))
/host/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.
/host/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 |
/host/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 | }
/host/spi-builder-workspace/Sources/ProcessInvocation/ProcessInvocation.swift:1114:15: error: property 'terminationHandler' with type '((Process) -> Void)?' cannot override a property with type '(@Sendable (Process) -> Void)?'
1112 | }
1113 |
1114 | override var terminationHandler: ((Process) -> Void)? {
| `- error: property 'terminationHandler' with type '((Process) -> Void)?' cannot override a property with type '(@Sendable (Process) -> Void)?'
1115 | get {super.terminationHandler}
1116 | set {publicTerminationHandler = newValue; updateTerminationHandler()}
Foundation.Process:25:14: note: attempt to override property here
23 | public var terminationStatus: Int32 { get }
24 | public var terminationReason: Process.TerminationReason { get }
25 | open var terminationHandler: (@Sendable (Process) -> Void)?
| `- note: attempt to override property here
26 | open var qualityOfService: QualityOfService
27 | open class func run(_ url: URL, arguments: [String], terminationHandler: (@Sendable (Process) -> Void)? = nil) throws -> Process
/host/spi-builder-workspace/Sources/ProcessInvocation/ProcessInvocation.swift:1097:15: warning: class 'XcodeToolsProcess' must restate inherited '@unchecked Sendable' conformance
1095 | to set its own termination handler and
1096 | still let clients use it. */
1097 | private class XcodeToolsProcess : Process {
| `- warning: class 'XcodeToolsProcess' must restate inherited '@unchecked Sendable' conformance
1098 |
1099 | var privateTerminationHandler: ((Process) -> Void)? {
[152/158] Compiling ProcessInvocation ProcessInvocation+Pipe.swift
/host/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) = {
/host/spi-builder-workspace/.build/checkouts/stream-reader/Sources/StreamReader/Core/StreamReader.swift:12:17: note: protocol 'StreamReader' does not conform to the 'Sendable' protocol
10 |
11 |
12 | public protocol StreamReader : AnyObject {
| `- note: protocol 'StreamReader' does not conform to the 'Sendable' protocol
13 |
14 | /**
/host/spi-builder-workspace/Sources/ProcessInvocation/ProcessInvocation+Pipe.swift: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 |
/host/spi-builder-workspace/Sources/ProcessInvocation/ Config.swift:10:20: warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | 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 | }()
/host/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 {
/host/spi-builder-workspace/.build/checkouts/stream-reader/Sources/StreamReader/Core/StreamReader.swift:12:17: note: protocol 'StreamReader' does not conform to the 'Sendable' protocol
10 |
11 |
12 | public protocol StreamReader : AnyObject {
| `- note: protocol 'StreamReader' does not conform to the 'Sendable' protocol
13 |
14 | /**
[153/158] Compiling ProcessInvocation ProcessInvocation+Deprecated.swift
/host/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. */
[154/158] Compiling ProcessInvocation ProcessInvocation.swift
/host/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. */
/host/spi-builder-workspace/Sources/ProcessInvocation/ProcessInvocation.swift:1114:15: error: property 'terminationHandler' with type '((Process) -> Void)?' cannot override a property with type '(@Sendable (Process) -> Void)?'
1112 | }
1113 |
1114 | override var terminationHandler: ((Process) -> Void)? {
| `- error: property 'terminationHandler' with type '((Process) -> Void)?' cannot override a property with type '(@Sendable (Process) -> Void)?'
1115 | get {super.terminationHandler}
1116 | set {publicTerminationHandler = newValue; updateTerminationHandler()}
Foundation.Process:25:14: note: attempt to override property here
23 | public var terminationStatus: Int32 { get }
24 | public var terminationReason: Process.TerminationReason { get }
25 | open var terminationHandler: (@Sendable (Process) -> Void)?
| `- note: attempt to override property here
26 | open var qualityOfService: QualityOfService
27 | open class func run(_ url: URL, arguments: [String], terminationHandler: (@Sendable (Process) -> Void)? = nil) throws -> Process
/host/spi-builder-workspace/Sources/ProcessInvocation/ProcessInvocation.swift:1097:15: warning: class 'XcodeToolsProcess' must restate inherited '@unchecked Sendable' conformance
1095 | to set its own termination handler and
1096 | still let clients use it. */
1097 | private class XcodeToolsProcess : Process {
| `- warning: class 'XcodeToolsProcess' must restate inherited '@unchecked Sendable' conformance
1098 |
1099 | var privateTerminationHandler: ((Process) -> Void)? {
/host/spi-builder-workspace/Sources/ProcessInvocation/ Config.swift:10:20: warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | 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 | }()
BUILD FAILURE 6.0 linux