Build Information
Successful build of swift-process-invocation, reference 1.2.0 (76f64c
), with Swift 6.0 for Linux on 27 Sep 2024 10:10:26 UTC.
Swift 6 data race errors: 10
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-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: 1.2.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/xcode-actions/swift-process-invocation
* tag 1.2.0 -> FETCH_HEAD
HEAD is now at 76f64c1 Fix a compilation warning on Linux
Cloned https://github.com/xcode-actions/swift-process-invocation.git
Revision (git rev-parse @):
76f64c121839b3f9da5ebddbdcfd82f8ff953c77
SUCCESS checkout https://github.com/xcode-actions/swift-process-invocation.git at 1.2.0
========================================
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-4609320-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/Frizlab/eXtenderZ.git
Fetching https://github.com/xcode-actions/swift-signal-handling.git
Fetching https://github.com/xcode-actions/clt-logger.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/xcode-actions/stream-reader.git
Fetching https://github.com/apple/swift-log.git
[1/379] Fetching swift-signal-handling
[380/1467] Fetching swift-signal-handling, extenderz
[381/1985] Fetching swift-signal-handling, extenderz, clt-logger
[851/2980] Fetching swift-signal-handling, extenderz, clt-logger, stream-reader
[2862/6587] Fetching swift-signal-handling, extenderz, clt-logger, stream-reader, swift-log
Fetched https://github.com/xcode-actions/clt-logger.git from cache (0.27s)
Fetching https://github.com/Frizlab/UnwrapOrThrow.git
Fetched https://github.com/xcode-actions/swift-signal-handling.git from cache (0.36s)
Fetching https://github.com/apple/swift-system.git
[1/31] Fetching unwraporthrow
[32/12241] Fetching unwraporthrow, swift-argument-parser
Fetched https://github.com/Frizlab/UnwrapOrThrow.git from cache (0.21s)
[733/12210] Fetching swift-argument-parser
[11967/15866] Fetching swift-argument-parser, swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.36s)
Fetched https://github.com/xcode-actions/stream-reader.git from cache (0.77s)
Fetched https://github.com/Frizlab/eXtenderZ.git from cache (0.77s)
Fetched https://github.com/apple/swift-log.git from cache (0.77s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.77s)
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.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.56s)
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.53s)
Computing version for https://github.com/Frizlab/UnwrapOrThrow.git
Computed https://github.com/Frizlab/UnwrapOrThrow.git at 1.0.1 (0.45s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.5.4 (0.46s)
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.44s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.3.2 (0.41s)
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-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/xcode-actions/clt-logger.git
Working copy of https://github.com/xcode-actions/clt-logger.git resolved at 0.8.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.3.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.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/stream-reader.git
Working copy of https://github.com/xcode-actions/stream-reader.git resolved at 3.5.2
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/32] Write sources
[12/32] Compiling CGNUSourceExportsForTests exports_for_tests.c
[13/32] Compiling CGNUSourceExports exports.c
[14/32] Compiling CSystem shims.c
[15/32] Compiling CMacroExports exports.c
[16/32] Write swift-version-24593BA9C3E375BF.txt
[18/63] Emitting module SystemPackage
[19/65] Compiling SystemPackage Util.swift
[20/65] Compiling SystemPackage UtilConsumers.swift
[21/65] Emitting module ArgumentParserToolInfo
[22/65] Compiling ArgumentParserToolInfo ToolInfo.swift
[23/66] Compiling SystemPackage PlatformString.swift
[24/66] Compiling SystemPackage SystemString.swift
[25/66] Wrapping AST for ArgumentParserToolInfo for debugging
[27/103] Compiling ArgumentParser BashCompletionsGenerator.swift
[28/103] Compiling ArgumentParser CompletionsGenerator.swift
[29/103] Compiling ArgumentParser FishCompletionsGenerator.swift
[30/103] Compiling Logging MetadataProvider.swift
[31/103] Compiling ArgumentParser AsyncParsableCommand.swift
[32/103] Compiling ArgumentParser CommandConfiguration.swift
[33/103] Compiling ArgumentParser EnumerableFlag.swift
[34/103] Compiling ArgumentParser ParsableArguments.swift
[35/103] Compiling ArgumentParser ParsableArgumentsValidation.swift
[36/103] Compiling ArgumentParser ParsableCommand.swift
[37/103] Compiling ArgumentParser ArgumentHelp.swift
[38/103] Compiling ArgumentParser Option.swift
[39/103] Compiling ArgumentParser OptionGroup.swift
[40/103] Compiling ArgumentParser Flag.swift
[41/103] Compiling ArgumentParser NameSpecification.swift
[42/103] Compiling ArgumentParser ExpressibleByArgument.swift
[43/103] Compiling ArgumentParser ArgumentVisibility.swift
[44/103] Compiling ArgumentParser CompletionKind.swift
[45/103] Compiling ArgumentParser Errors.swift
[46/104] Compiling Logging LogHandler.swift
[47/104] Compiling Logging Locks.swift
[48/104] Emitting module Logging
[49/104] Compiling Logging Logging.swift
[51/109] Wrapping AST for SystemPackage for debugging
[52/114] Wrapping AST for Logging for debugging
[54/130] Emitting module StreamReader
[55/131] Emitting module ArgumentParser
[56/136] Emitting module CLTLogger
[57/136] Compiling UnwrapOrThrow UnwrapOrThrow.swift
[58/136] Compiling ArgumentParser Name.swift
[59/136] Compiling ArgumentParser Parsed.swift
[60/136] Compiling ArgumentParser ParsedValues.swift
[61/136] Compiling ArgumentParser ParserError.swift
[62/136] Compiling ArgumentParser SplitArguments.swift
[63/136] Compiling CLTLogger CLTLogger.swift
[64/136] Emitting module UnwrapOrThrow
[65/136] Compiling UnwrapOrThrow UnwrapOrThrowOperator.swift
[67/137] Compiling SignalHandling SignalHandlingConfig.swift
[68/137] Compiling StreamReader InputStreamReader.swift
[69/137] Compiling SignalHandling Sigaction.swift
[70/137] Compiling SignalHandling SigactionFlag.swift
[71/137] Compiling SignalHandling SignalHandlingError.swift
[72/138] Compiling StreamReader StreamReaderErrors.swift
[73/138] Compiling StreamReader DataReader.swift
[73/138] Wrapping AST for UnwrapOrThrow for debugging
[75/138] Compiling SignalHandling SigactionDelayer_Block.swift
[76/138] Compiling SignalHandling SigactionDelayer_Unsig.swift
[82/138] Compiling SignalHandling Utils.swift
[83/138] Compiling SignalHandling DelayedSigaction.swift
[84/138] Compiling SignalHandling DelayedSigactionHandler.swift
[85/138] Compiling StreamReader URLSessionStreamTaskReader.swift
[86/138] Compiling StreamReader StreamReader.swift
[87/138] Compiling StreamReader GenericStreamReader.swift
[88/138] Compiling CLTLogger NSLock+Linux.swift
[89/138] Compiling SignalHandling SigactionHandler.swift
[90/138] Compiling SignalHandling Signal.swift
[97/138] Emitting module SignalHandling
[110/139] Compiling ArgumentParser ArgumentDecoder.swift
[111/139] Compiling ArgumentParser ArgumentDefinition.swift
[112/139] Compiling ArgumentParser ArgumentSet.swift
[113/139] Compiling ArgumentParser CommandParser.swift
[114/139] Compiling ArgumentParser InputKey.swift
[115/139] Compiling ArgumentParser InputOrigin.swift
[116/139] Compiling ArgumentParser DumpHelpGenerator.swift
[117/139] Compiling ArgumentParser HelpCommand.swift
[118/139] Compiling ArgumentParser HelpGenerator.swift
[119/139] Compiling ArgumentParser MessageInfo.swift
[120/139] Compiling ArgumentParser UsageGenerator.swift
[121/139] Compiling ArgumentParser CollectionExtensions.swift
[122/139] Compiling ArgumentParser Platform.swift
[123/139] Compiling ArgumentParser SequenceExtensions.swift
[124/139] Compiling ArgumentParser StringExtensions.swift
[125/139] Compiling ArgumentParser Tree.swift
[126/140] Compiling StreamReader Matching.swift
[128/141] Wrapping AST for StreamReader for debugging
[129/141] Wrapping AST for SignalHandling for debugging
[130/141] Wrapping AST for ArgumentParser for debugging
[132/141] Compiling CLTLogger SGR.swift
[133/141] Compiling CLTLogger String+Utils.swift
[134/142] Wrapping AST for CLTLogger for debugging
[136/145] Compiling ProcessInvocationBridge Utils.swift
[137/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
[138/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
[139/146] Wrapping AST for ProcessInvocationBridge for debugging
[140/146] Write Objects.LinkFileList
[141/146] Linking swift-process-invocation-bridge
[143/157] 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 | }()
[144/157] 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 | }()
[145/158] Compiling ProcessInvocation Utils.swift
[146/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 | }
[147/158] Compiling ProcessInvocation Errors.swift
[148/158] Compiling ProcessInvocation InputRedirectMode.swift
[149/158] Compiling ProcessInvocation OutputRedirectMode.swift
[150/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 | }
[151/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 | }
[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/ 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.swift:704:4: warning: capture of 'signalCleanupHandler' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
702 | }
703 | }
704 | signalCleanupHandler()
| |- warning: capture of 'signalCleanupHandler' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
705 | g.leave()
706 | }
/host/spi-builder-workspace/Sources/ProcessInvocation/ProcessInvocation.swift:840:21: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
838 | do {
839 | let (p, g) = try invocation.invoke{ result, _, _ in
840 | continuation.yield(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
841 | }
842 | process = p
[155/159] Wrapping AST for ProcessInvocation for debugging
[157/161] Emitting module ManualTests
[158/161] Compiling ManualTests main.swift
[159/162] Wrapping AST for ManualTests for debugging
[160/162] Write Objects.LinkFileList
[161/162] Linking ManualTests
Build complete! (44.13s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.2",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser.git"
},
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.5.2",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log.git"
},
{
"identity" : "unwraporthrow",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Frizlab/UnwrapOrThrow.git"
},
{
"identity" : "clt-logger",
"requirement" : {
"range" : [
{
"lower_bound" : "0.5.1",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/xcode-actions/clt-logger.git"
},
{
"identity" : "stream-reader",
"requirement" : {
"range" : [
{
"lower_bound" : "3.5.0",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/xcode-actions/stream-reader.git"
},
{
"identity" : "swift-signal-handling",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/xcode-actions/swift-signal-handling.git"
},
{
"identity" : "swift-system",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-system.git"
}
],
"manifest_display_name" : "swift-process-invocation",
"name" : "swift-process-invocation",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "12.0"
}
],
"products" : [
{
"name" : "ProcessInvocation",
"targets" : [
"ProcessInvocation"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "swift-process-invocation-bridge",
"targets" : [
"ProcessInvocationBridge"
],
"type" : {
"executable" : null
}
},
{
"name" : "ManualTests",
"targets" : [
"ManualTests"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "ProcessInvocationTests",
"module_type" : "SwiftTarget",
"name" : "ProcessInvocationTests",
"path" : "Tests/ProcessInvocationTests",
"product_dependencies" : [
"CLTLogger",
"Logging",
"StreamReader",
"SystemPackage"
],
"sources" : [
"ProcessInvocationTests.swift",
"Utils.swift"
],
"target_dependencies" : [
"ProcessInvocation",
"CGNUSourceExportsForTests"
],
"type" : "test"
},
{
"c99name" : "ProcessInvocationBridge",
"module_type" : "SwiftTarget",
"name" : "ProcessInvocationBridge",
"path" : "Sources/ProcessInvocationBridge",
"product_dependencies" : [
"ArgumentParser",
"CLTLogger",
"Logging",
"SystemPackage"
],
"product_memberships" : [
"ProcessInvocation",
"swift-process-invocation-bridge",
"ManualTests"
],
"sources" : [
"ProcessInvocationBridge.swift",
"Utils.swift"
],
"target_dependencies" : [
"CMacroExports",
"CGNUSourceExports"
],
"type" : "executable"
},
{
"c99name" : "ProcessInvocation",
"module_type" : "SwiftTarget",
"name" : "ProcessInvocation",
"path" : "Sources/ProcessInvocation",
"product_dependencies" : [
"Logging",
"SignalHandling",
"StreamReader",
"UnwrapOrThrow",
"SystemPackage"
],
"product_memberships" : [
"ProcessInvocation",
"ManualTests"
],
"sources" : [
" Config.swift",
" Constants.swift",
" Errors.swift",
"InputRedirectMode.swift",
"LineSeparators.swift",
"LineWithSource.swift",
"OutputRedirectMode.swift",
"ProcessInvocation+Deprecated.swift",
"ProcessInvocation+Pipe.swift",
"ProcessInvocation.swift",
"Utils.swift"
],
"target_dependencies" : [
"CMacroExports",
"CGNUSourceExports",
"ProcessInvocationBridge"
],
"type" : "library"
},
{
"c99name" : "ManualTests",
"module_type" : "SwiftTarget",
"name" : "ManualTests",
"path" : "Sources/ManualTests",
"product_dependencies" : [
"CLTLogger",
"Logging",
"StreamReader"
],
"product_memberships" : [
"ManualTests"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"ProcessInvocation"
],
"type" : "executable"
},
{
"c99name" : "CMacroExports",
"module_type" : "ClangTarget",
"name" : "CMacroExports",
"path" : "Sources/CMacroExports",
"product_memberships" : [
"ProcessInvocation",
"swift-process-invocation-bridge",
"ManualTests"
],
"sources" : [
"exports.c"
],
"type" : "library"
},
{
"c99name" : "CGNUSourceExportsForTests",
"module_type" : "ClangTarget",
"name" : "CGNUSourceExportsForTests",
"path" : "Sources/CGNUSourceExportsForTests",
"sources" : [
"exports_for_tests.c"
],
"type" : "library"
},
{
"c99name" : "CGNUSourceExports",
"module_type" : "ClangTarget",
"name" : "CGNUSourceExports",
"path" : "Sources/CGNUSourceExports",
"product_memberships" : [
"ProcessInvocation",
"swift-process-invocation-bridge",
"ManualTests"
],
"sources" : [
"exports.c"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
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
Done.