Build Information
Failed to build swift-process-invocation, reference main (995fc7
), with Swift 6.0 for Linux on 6 Nov 2024 07:08:21 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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.56.0
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-1":/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:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/xcode-actions/swift-signal-handling.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/379] Fetching swift-signal-handling
[380/1374] Fetching swift-signal-handling, stream-reader
[400/1892] Fetching swift-signal-handling, stream-reader, clt-logger
[1774/1923] Fetching swift-signal-handling, stream-reader, clt-logger, unwraporthrow
[1805/5824] Fetching swift-signal-handling, stream-reader, clt-logger, unwraporthrow, swift-system
[2391/9494] Fetching swift-signal-handling, stream-reader, clt-logger, unwraporthrow, swift-system, swift-log
Fetched https://github.com/Frizlab/UnwrapOrThrow.git from cache (0.44s)
Fetched https://github.com/xcode-actions/swift-signal-handling.git from cache (0.44s)
Fetched https://github.com/xcode-actions/clt-logger.git from cache (0.45s)
Fetching https://github.com/apple/swift-argument-parser.git
Fetched https://github.com/xcode-actions/stream-reader.git from cache (0.57s)
Fetched https://github.com/apple/swift-system.git from cache (0.57s)
Fetched https://github.com/apple/swift-log.git from cache (0.57s)
[1/12358] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.76s)
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.53s)
Computing version for https://github.com/Frizlab/UnwrapOrThrow.git
Computed https://github.com/Frizlab/UnwrapOrThrow.git at 1.0.1 (0.52s)
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.52s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.1 (0.45s)
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.45s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.0 (0.44s)
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.52s)
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/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/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/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/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/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.0
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/32] Write sources
[12/32] Compiling CGNUSourceExportsForTests exports_for_tests.c
[13/32] Compiling CMacroExports exports.c
[14/32] Compiling CGNUSourceExports exports.c
[15/32] Compiling CSystem shims.c
[16/32] Write swift-version-24593BA9C3E375BF.txt
[18/70] Compiling ArgumentParserToolInfo ToolInfo.swift
[19/70] Emitting module ArgumentParserToolInfo
[21/71] Compiling Logging LogHandler.swift
[21/71] Wrapping AST for ArgumentParserToolInfo for debugging
[23/71] Compiling SystemPackage MachPort.swift
[24/71] Compiling SystemPackage PlatformString.swift
[25/71] Compiling SystemPackage SystemString.swift
[26/112] Compiling ArgumentParser Argument.swift
[27/112] Compiling ArgumentParser ArgumentHelp.swift
[28/112] Compiling ArgumentParser ArgumentVisibility.swift
[29/112] Compiling ArgumentParser CompletionKind.swift
[30/112] Compiling ArgumentParser BashCompletionsGenerator.swift
[31/112] Compiling ArgumentParser CompletionsGenerator.swift
[32/112] Compiling ArgumentParser FishCompletionsGenerator.swift
[33/112] Compiling ArgumentParser ZshCompletionsGenerator.swift
[34/112] Emitting module SystemPackage
[35/112] Compiling ArgumentParser ExpressibleByArgument.swift
[36/112] Compiling ArgumentParser ParsableArguments.swift
[37/112] Compiling ArgumentParser ParsableArgumentsValidation.swift
[38/112] Compiling ArgumentParser ParsableCommand.swift
[39/112] Compiling ArgumentParser Errors.swift
[40/112] Compiling ArgumentParser Flag.swift
[41/112] Compiling ArgumentParser NameSpecification.swift
[42/112] Compiling ArgumentParser Option.swift
[43/112] Emitting module Logging
[44/112] Compiling Logging Locks.swift
[45/112] Compiling Logging MetadataProvider.swift
[46/112] Compiling Logging Logging.swift
[47/113] Compiling ArgumentParser ArgumentDecoder.swift
[48/113] Compiling ArgumentParser OptionGroup.swift
[49/113] Compiling ArgumentParser AsyncParsableCommand.swift
[50/113] Compiling ArgumentParser CommandConfiguration.swift
[51/113] Compiling ArgumentParser CommandGroup.swift
[52/113] Compiling ArgumentParser EnumerableFlag.swift
[53/113] Compiling ArgumentParser ArgumentDefinition.swift
[54/113] Compiling ArgumentParser ArgumentSet.swift
[55/113] Wrapping AST for Logging for debugging
[57/113] Compiling ArgumentParser Name.swift
[58/113] Compiling ArgumentParser Parsed.swift
[59/113] Compiling ArgumentParser ParsedValues.swift
[60/114] Wrapping AST for SystemPackage for debugging
[68/144] Emitting module ArgumentParser
[69/144] Compiling StreamReader FileDescriptorReader.swift
[70/144] Compiling StreamReader FileHandleReader.swift
[71/144] Compiling SignalHandling Sigaction.swift
[72/144] Compiling SignalHandling SigactionFlag.swift
[73/144] Compiling SignalHandling DelayedSigaction.swift
[74/144] Compiling SignalHandling DelayedSigactionHandler.swift
[75/144] Emitting module CLTLogger
[76/144] Compiling UnwrapOrThrow UnwrapOrThrowOperator.swift
[77/144] Compiling UnwrapOrThrow UnwrapOrThrow.swift
[78/144] Emitting module UnwrapOrThrow
[90/145] Compiling ArgumentParser CollectionExtensions.swift
[91/145] Compiling ArgumentParser Platform.swift
[92/145] Compiling ArgumentParser SequenceExtensions.swift
[93/145] Compiling ArgumentParser StringExtensions.swift
[94/145] Compiling ArgumentParser Tree.swift
[95/145] Compiling SignalHandling SignalHandlingError.swift
[95/146] Wrapping AST for UnwrapOrThrow for debugging
[97/146] Compiling StreamReader StreamReaderErrors.swift
[98/146] Compiling StreamReader URLSessionStreamTaskReader.swift
[102/147] Compiling ArgumentParser ParserError.swift
[103/147] Compiling ArgumentParser SplitArguments.swift
[106/147] Compiling ArgumentParser DumpHelpGenerator.swift
[107/147] Compiling ArgumentParser HelpCommand.swift
[108/147] Compiling ArgumentParser HelpGenerator.swift
[109/147] Compiling ArgumentParser MessageInfo.swift
[110/147] Compiling ArgumentParser UsageGenerator.swift
[111/147] Compiling SignalHandling SignalHandlingConfig.swift
[112/147] Compiling SignalHandling SigactionDelayer_Unsig.swift
[113/147] Compiling StreamReader InputStreamReader.swift
[114/147] Emitting module StreamReader
[117/147] Compiling SignalHandling Utils.swift
[118/147] Compiling CLTLogger SGR.swift
[119/147] Compiling CLTLogger NSLock+Linux.swift
[120/147] Compiling CLTLogger CLTLogger.swift
[123/147] Compiling ArgumentParser CommandParser.swift
[124/147] Compiling ArgumentParser InputKey.swift
[125/147] Compiling ArgumentParser InputOrigin.swift
[128/148] Emitting module SignalHandling
[132/148] Compiling StreamReader GenericStreamReader.swift
[133/148] Compiling StreamReader DataReader.swift
[134/148] Compiling StreamReader StreamReader.swift
[135/148] Compiling SignalHandling SigactionDelayer_Block.swift
[135/149] Wrapping AST for ArgumentParser for debugging
[137/149] Compiling StreamReader Matching.swift
[139/150] Wrapping AST for SignalHandling for debugging
[140/150] Wrapping AST for StreamReader for debugging
[142/150] Compiling CLTLogger String+Utils.swift
[143/151] Wrapping AST for CLTLogger for debugging
[145/154] Compiling ProcessInvocationBridge Utils.swift
[146/154] 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
[147/154] 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
[148/155] Wrapping AST for ProcessInvocationBridge for debugging
[149/155] Write Objects.LinkFileList
[150/155] Linking swift-process-invocation-bridge
[152/166] Compiling ProcessInvocation Errors.swift
[153/166] Compiling ProcessInvocation InputRedirectMode.swift
[154/166] 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 | }
[155/166] 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 | }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[156/167] Compiling ProcessInvocation OutputRedirectMode.swift
[157/167] 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 | }()
[158/167] 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 | }()
[159/167] 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)? {
[160/167] Compiling ProcessInvocation Utils.swift
[161/167] 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 | /**
[162/167] 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. */
[163/167] 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