Build Information
Successful build of swift-tools-support-core, reference main (c57491), with Swift 6.1 for macOS (SPM) on 17 Aug 2026 19:29:39 UTC.
Swift 6 data race errors: 28
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCapturesBuild Log
========================================
RunAll
========================================
Builder version: 5.0.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swiftlang/swift-tools-support-core.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/swiftlang/swift-tools-support-core
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at c574915 Remove public API no longer used by toolchain components (#567)
Cloned https://github.com/swiftlang/swift-tools-support-core.git
Revision (git rev-parse @):
c574915fe88e942e4c4c93376f022daa2ecf05f9
SUCCESS checkout https://github.com/swiftlang/swift-tools-support-core.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/swiftlang/swift-tools-support-core.git
https://github.com/swiftlang/swift-tools-support-core.git
{
"dependencies" : [
],
"manifest_display_name" : "swift-tools-support-core",
"name" : "swift-tools-support-core",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "13.0"
}
],
"products" : [
{
"name" : "TSCBasic",
"targets" : [
"TSCBasic"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SwiftToolsSupport",
"targets" : [
"TSCBasic",
"TSCUtility"
],
"type" : {
"library" : [
"dynamic"
]
}
},
{
"name" : "SwiftToolsSupport-auto",
"targets" : [
"TSCBasic",
"TSCUtility"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "TSCTestSupport",
"targets" : [
"TSCTestSupport"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "TSCclibc",
"module_type" : "ClangTarget",
"name" : "TSCclibc",
"path" : "Sources/TSCclibc",
"product_memberships" : [
"TSCBasic",
"SwiftToolsSupport",
"SwiftToolsSupport-auto",
"TSCTestSupport"
],
"sources" : [
"libc.c",
"process.c",
"strerror.c"
],
"type" : "library"
},
{
"c99name" : "TSCUtilityTests",
"module_type" : "SwiftTarget",
"name" : "TSCUtilityTests",
"path" : "Tests/TSCUtilityTests",
"sources" : [
"BitstreamTests.swift",
"CollectionTests.swift",
"DiagnosticsUtilityTests.swift",
"JSONMessageStreamingParserTests.swift",
"PlatformTests.swift",
"ProgressAnimationTests.swift",
"SerializedDiagnosticsTests.swift",
"SimplePersistenceTests.swift",
"StringConversionTests.swift",
"StringTests.swift",
"VersionTests.swift",
"miscTests.swift"
],
"target_dependencies" : [
"TSCUtility",
"TSCTestSupport"
],
"type" : "test"
},
{
"c99name" : "TSCUtility",
"module_type" : "SwiftTarget",
"name" : "TSCUtility",
"path" : "Sources/TSCUtility",
"product_memberships" : [
"SwiftToolsSupport",
"SwiftToolsSupport-auto",
"TSCTestSupport"
],
"sources" : [
"Bits.swift",
"Bitstream.swift",
"BitstreamReader.swift",
"CollectionExtensions.swift",
"Diagnostics.swift",
"FSWatch.swift",
"Git.swift",
"IndexStore.swift",
"JSONMessageStreamingParser.swift",
"Platform.swift",
"ProgressAnimation.swift",
"SerializedDiagnostics.swift",
"SimplePersistence.swift",
"StringExtensions.swift",
"StringMangling.swift",
"URL.swift",
"Verbosity.swift",
"Version.swift",
"Versioning.swift",
"dlopen.swift",
"misc.swift"
],
"target_dependencies" : [
"TSCBasic",
"TSCclibc"
],
"type" : "library"
},
{
"c99name" : "TSCTestSupportTests",
"module_type" : "SwiftTarget",
"name" : "TSCTestSupportTests",
"path" : "Tests/TSCTestSupportTests",
"sources" : [
"TestSupportTests.swift"
],
"target_dependencies" : [
"TSCTestSupport"
],
"type" : "test"
},
{
"c99name" : "TSCTestSupport",
"module_type" : "SwiftTarget",
"name" : "TSCTestSupport",
"path" : "Sources/TSCTestSupport",
"product_memberships" : [
"TSCTestSupport"
],
"sources" : [
"AssertMatch.swift",
"DiagnosticsEngine.swift",
"FileSystemExtensions.swift",
"JSONExtensions.swift",
"Product.swift",
"PseudoTerminal.swift",
"XCTAssertHelpers.swift",
"XCTestCasePerf.swift",
"misc.swift"
],
"target_dependencies" : [
"TSCBasic",
"TSCUtility"
],
"type" : "library"
},
{
"c99name" : "TSCLibc",
"module_type" : "SwiftTarget",
"name" : "TSCLibc",
"path" : "Sources/TSCLibc",
"product_memberships" : [
"TSCBasic",
"SwiftToolsSupport",
"SwiftToolsSupport-auto",
"TSCTestSupport"
],
"sources" : [
"libc.swift"
],
"type" : "library"
},
{
"c99name" : "TSCBasicTests",
"module_type" : "SwiftTarget",
"name" : "TSCBasicTests",
"path" : "Tests/TSCBasicTests",
"sources" : [
"AwaitTests.swift",
"ByteStringTests.swift",
"CStringArrayTests.swift",
"CollectionAlgorithmsTests.swift",
"CollectionExtensionsTests.swift",
"ConditionTests.swift",
"DiagnosticsEngineTests.swift",
"DictionaryExtensionsTests.swift",
"DictionaryLiteralExtensionsTests.swift",
"EditDistanceTests.swift",
"FileSystemTests.swift",
"GraphAlgorithmsTests.swift",
"JSONMapperTests.swift",
"JSONTests.swift",
"KeyedPairTests.swift",
"LockTests.swift",
"OrderedDictionaryTests.swift",
"OrderedSetTests.swift",
"POSIXTests.swift",
"PathShimTests.swift",
"PathTests.swift",
"PathWindowsRelativeTests.swift",
"ProcessEnvTests.swift",
"ProcessSetTests.swift",
"ProcessTests.swift",
"RegExTests.swift",
"ResultTests.swift",
"SHA256Tests.swift",
"SendableTests.swift",
"SortedArrayTests.swift",
"StringConversionsTests.swift",
"SynchronizedQueueTests.swift",
"TemporaryFileTests.swift",
"TerminalControllerTests.swift",
"ThreadTests.swift",
"WritableByteStreamTests.swift",
"miscTests.swift"
],
"target_dependencies" : [
"TSCTestSupport",
"TSCclibc"
],
"type" : "test"
},
{
"c99name" : "TSCBasicPerformanceTests",
"module_type" : "SwiftTarget",
"name" : "TSCBasicPerformanceTests",
"path" : "Tests/TSCBasicPerformanceTests",
"sources" : [
"ByteStringPerfTests.swift",
"PathPerfTests.swift",
"SHA256PerfTests.swift",
"SortedArrayPerfTests.swift",
"StringConversionsPerfTests.swift",
"SynchronizedQueuePerfTests.swift",
"WritableByteStreamPerfTests.swift"
],
"target_dependencies" : [
"TSCBasic",
"TSCTestSupport"
],
"type" : "test"
},
{
"c99name" : "TSCBasic",
"module_type" : "SwiftTarget",
"name" : "TSCBasic",
"path" : "Sources/TSCBasic",
"product_memberships" : [
"TSCBasic",
"SwiftToolsSupport",
"SwiftToolsSupport-auto",
"TSCTestSupport"
],
"sources" : [
"Await.swift",
"ByteString.swift",
"CStringArray.swift",
"Closable.swift",
"CollectionAlgorithms.swift",
"CollectionExtensions.swift",
"Condition.swift",
"DiagnosticsEngine.swift",
"DictionaryExtensions.swift",
"DictionaryLiteralExtensions.swift",
"EditDistance.swift",
"FileInfo.swift",
"FileSystem.swift",
"GraphAlgorithms.swift",
"HashAlgorithms.swift",
"JSON.swift",
"JSONMapper.swift",
"KeyedPair.swift",
"Lock.swift",
"OrderedDictionary.swift",
"OrderedSet.swift",
"Path.swift",
"PathShims.swift",
"Process/Process.swift",
"Process/ProcessEnv.swift",
"Process/ProcessSet.swift",
"RegEx.swift",
"Result.swift",
"SortedArray.swift",
"StringConversions.swift",
"SynchronizedQueue.swift",
"TemporaryFile.swift",
"TerminalController.swift",
"Thread.swift",
"WritableByteStream.swift",
"misc.swift"
],
"target_dependencies" : [
"TSCLibc",
"TSCclibc"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/10] Write sources
[4/10] Compiling TSCclibc libc.c
[5/10] Write swift-version-2F0A5646E1D333AE.txt
[6/10] Compiling TSCclibc strerror.c
[7/12] Compiling TSCclibc process.c
[9/12] Emitting module TSCLibc
[10/12] Compiling TSCLibc libc.swift
[11/46] Emitting module TSCBasic
/Users/admin/builder/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:20:22: warning: using '@_implementationOnly' without enabling library evolution for 'TSCBasic' may lead to instability during execution
18 | #endif
19 |
20 | @_implementationOnly import TSCclibc
| `- warning: using '@_implementationOnly' without enabling library evolution for 'TSCBasic' may lead to instability during execution
21 | import TSCLibc
22 | import Dispatch
/Users/admin/builder/spi-builder-workspace/Sources/TSCBasic/misc.swift:11:22: warning: using '@_implementationOnly' without enabling library evolution for 'TSCBasic' may lead to instability during execution
9 | */
10 |
11 | @_implementationOnly import TSCclibc
| `- warning: using '@_implementationOnly' without enabling library evolution for 'TSCBasic' may lead to instability during execution
12 | import TSCLibc
13 | import Foundation
/Users/admin/builder/spi-builder-workspace/Sources/TSCBasic/FileSystem.swift:1440:13: warning: var '_localFileSystem' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1438 | #endif
1439 |
1440 | private var _localFileSystem: FileSystem = LocalFileSystem()
| |- warning: var '_localFileSystem' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_localFileSystem' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_localFileSystem' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1441 |
1442 | /// Public access to the local FS proxy.
/Users/admin/builder/spi-builder-workspace/Sources/TSCBasic/JSONMapper.swift:25:14: warning: associated value 'typeMismatch(key:expected:json:)' of 'Sendable'-conforming enum 'MapError' has non-sendable type 'JSON'; this is an error in the Swift 6 language mode
23 |
24 | /// Got a different type than expected.
25 | case typeMismatch(key: String, expected: Any.Type, json: JSON)
| `- warning: associated value 'typeMismatch(key:expected:json:)' of 'Sendable'-conforming enum 'MapError' has non-sendable type 'JSON'; this is an error in the Swift 6 language mode
26 |
27 | /// A custom error. Clients can use this in their mapping method.
/Users/admin/builder/spi-builder-workspace/Sources/TSCBasic/JSON.swift:22:13: note: consider making enum 'JSON' conform to the 'Sendable' protocol
20 | ///
21 | /// This type uses container wrappers in order to allow for mutable elements.
22 | public enum JSON {
| `- note: consider making enum 'JSON' conform to the 'Sendable' protocol
23 | /// The null value.
24 | case null
/Users/admin/builder/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:210:27: warning: static property 'collect' is not concurrency-safe because non-'Sendable' type 'Process.OutputRedirection' may have shared mutable state; this is an error in the Swift 6 language mode
197 | }
198 |
199 | public enum OutputRedirection {
| `- note: consider making enum 'OutputRedirection' conform to the 'Sendable' protocol
200 | /// Do not redirect the output
201 | case none
:
208 |
209 | /// Default collect OutputRedirection that defaults to not redirect stderr. Provided for API compatibility.
210 | public static let collect: OutputRedirection = .collect(redirectStderr: false)
| |- warning: static property 'collect' is not concurrency-safe because non-'Sendable' type 'Process.OutputRedirection' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'collect' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
211 |
212 | /// Default stream OutputRedirection that defaults to not redirect stderr. Provided for API compatibility.
/Users/admin/builder/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:269:24: warning: static property '_loggingHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
267 | public typealias LoggingHandler = (String) -> Void
268 |
269 | private static var _loggingHandler: LoggingHandler?
| |- warning: static property '_loggingHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_loggingHandler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_loggingHandler' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
270 | private static let loggingHandlerLock = NSLock()
271 |
/Users/admin/builder/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:360:24: warning: static property 'validatedExecutablesMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
358 | /// Key: Executable name or path.
359 | /// Value: Path to the executable, if found.
360 | private static var validatedExecutablesMap = [String: AbsolutePath?]()
| |- warning: static property 'validatedExecutablesMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'validatedExecutablesMap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'validatedExecutablesMap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
361 | private static let validatedExecutablesMapLock = NSLock()
362 |
/Users/admin/builder/spi-builder-workspace/Sources/TSCBasic/Process/ProcessEnv.swift:82:24: warning: static property '_vars' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
80 | public static var block: ProcessEnvironmentBlock { _vars }
81 |
82 | private static var _vars = ProcessEnvironmentBlock(
| |- warning: static property '_vars' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_vars' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_vars' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
83 | uniqueKeysWithValues: ProcessInfo.processInfo.environment.map {
84 | (ProcessEnvironmentBlock.Key($0.key), $0.value)
/Users/admin/builder/spi-builder-workspace/Sources/TSCBasic/WritableByteStream.swift:842:12: warning: var 'stdoutStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
840 |
841 | /// Public stdout stream instance.
842 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| |- warning: var 'stdoutStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'stdoutStream' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'stdoutStream' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
843 | filePointer: TSCLibc.stdout,
844 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/TSCBasic/WritableByteStream.swift:847:12: warning: var 'stderrStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
845 |
846 | /// Public stderr stream instance.
847 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| |- warning: var 'stderrStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'stderrStream' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'stderrStream' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
848 | filePointer: TSCLibc.stderr,
849 | closeOnDeinit: false))
[12/49] Compiling TSCBasic Await.swift
[13/49] Compiling TSCBasic ByteString.swift
[14/49] Compiling TSCBasic CStringArray.swift
[15/49] Compiling TSCBasic Closable.swift
[16/49] Compiling TSCBasic Thread.swift
/Users/admin/builder/spi-builder-workspace/Sources/TSCBasic/misc.swift:11:22: warning: using '@_implementationOnly' without enabling library evolution for 'TSCBasic' may lead to instability during execution
9 | */
10 |
11 | @_implementationOnly import TSCclibc
| `- warning: using '@_implementationOnly' without enabling library evolution for 'TSCBasic' may lead to instability during execution
12 | import TSCLibc
13 | import Foundation
/Users/admin/builder/spi-builder-workspace/Sources/TSCBasic/WritableByteStream.swift:842:12: warning: var 'stdoutStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
840 |
841 | /// Public stdout stream instance.
842 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| |- warning: var 'stdoutStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'stdoutStream' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'stdoutStream' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
843 | filePointer: TSCLibc.stdout,
844 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/TSCBasic/WritableByteStream.swift:847:12: warning: var 'stderrStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
845 |
846 | /// Public stderr stream instance.
847 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| |- warning: var 'stderrStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'stderrStream' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'stderrStream' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
848 | filePointer: TSCLibc.stderr,
849 | closeOnDeinit: false))
[17/49] Compiling TSCBasic WritableByteStream.swift
/Users/admin/builder/spi-builder-workspace/Sources/TSCBasic/misc.swift:11:22: warning: using '@_implementationOnly' without enabling library evolution for 'TSCBasic' may lead to instability during execution
9 | */
10 |
11 | @_implementationOnly import TSCclibc
| `- warning: using '@_implementationOnly' without enabling library evolution for 'TSCBasic' may lead to instability during execution
12 | import TSCLibc
13 | import Foundation
/Users/admin/builder/spi-builder-workspace/Sources/TSCBasic/WritableByteStream.swift:842:12: warning: var 'stdoutStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
840 |
841 | /// Public stdout stream instance.
842 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| |- warning: var 'stdoutStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'stdoutStream' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'stdoutStream' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
843 | filePointer: TSCLibc.stdout,
844 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/TSCBasic/WritableByteStream.swift:847:12: warning: var 'stderrStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
845 |
846 | /// Public stderr stream instance.
847 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| |- warning: var 'stderrStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'stderrStream' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'stderrStream' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
848 | filePointer: TSCLibc.stderr,
849 | closeOnDeinit: false))
[18/49] Compiling TSCBasic misc.swift
/Users/admin/builder/spi-builder-workspace/Sources/TSCBasic/misc.swift:11:22: warning: using '@_implementationOnly' without enabling library evolution for 'TSCBasic' may lead to instability during execution
9 | */
10 |
11 | @_implementationOnly import TSCclibc
| `- warning: using '@_implementationOnly' without enabling library evolution for 'TSCBasic' may lead to instability during execution
12 | import TSCLibc
13 | import Foundation
/Users/admin/builder/spi-builder-workspace/Sources/TSCBasic/WritableByteStream.swift:842:12: warning: var 'stdoutStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
840 |
841 | /// Public stdout stream instance.
842 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| |- warning: var 'stdoutStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'stdoutStream' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'stdoutStream' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
843 | filePointer: TSCLibc.stdout,
844 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/TSCBasic/WritableByteStream.swift:847:12: warning: var 'stderrStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
845 |
846 | /// Public stderr stream instance.
847 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| |- warning: var 'stderrStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'stderrStream' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'stderrStream' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
848 | filePointer: TSCLibc.stderr,
849 | closeOnDeinit: false))
[19/49] Compiling TSCBasic CollectionAlgorithms.swift
[20/49] Compiling TSCBasic CollectionExtensions.swift
[21/49] Compiling TSCBasic Condition.swift
[22/49] Compiling TSCBasic DiagnosticsEngine.swift
[23/49] Compiling TSCBasic Result.swift
[24/49] Compiling TSCBasic SortedArray.swift
[25/49] Compiling TSCBasic StringConversions.swift
[26/49] Compiling TSCBasic JSONMapper.swift
/Users/admin/builder/spi-builder-workspace/Sources/TSCBasic/JSONMapper.swift:25:14: warning: associated value 'typeMismatch(key:expected:json:)' of 'Sendable'-conforming enum 'MapError' has non-sendable type 'JSON'; this is an error in the Swift 6 language mode
23 |
24 | /// Got a different type than expected.
25 | case typeMismatch(key: String, expected: Any.Type, json: JSON)
| `- warning: associated value 'typeMismatch(key:expected:json:)' of 'Sendable'-conforming enum 'MapError' has non-sendable type 'JSON'; this is an error in the Swift 6 language mode
26 |
27 | /// A custom error. Clients can use this in their mapping method.
/Users/admin/builder/spi-builder-workspace/Sources/TSCBasic/JSON.swift:22:13: note: consider making enum 'JSON' conform to the 'Sendable' protocol
20 | ///
21 | /// This type uses container wrappers in order to allow for mutable elements.
22 | public enum JSON {
| `- note: consider making enum 'JSON' conform to the 'Sendable' protocol
23 | /// The null value.
24 | case null
[27/49] Compiling TSCBasic KeyedPair.swift
/Users/admin/builder/spi-builder-workspace/Sources/TSCBasic/JSONMapper.swift:25:14: warning: associated value 'typeMismatch(key:expected:json:)' of 'Sendable'-conforming enum 'MapError' has non-sendable type 'JSON'; this is an error in the Swift 6 language mode
23 |
24 | /// Got a different type than expected.
25 | case typeMismatch(key: String, expected: Any.Type, json: JSON)
| `- warning: associated value 'typeMismatch(key:expected:json:)' of 'Sendable'-conforming enum 'MapError' has non-sendable type 'JSON'; this is an error in the Swift 6 language mode
26 |
27 | /// A custom error. Clients can use this in their mapping method.
/Users/admin/builder/spi-builder-workspace/Sources/TSCBasic/JSON.swift:22:13: note: consider making enum 'JSON' conform to the 'Sendable' protocol
20 | ///
21 | /// This type uses container wrappers in order to allow for mutable elements.
22 | public enum JSON {
| `- note: consider making enum 'JSON' conform to the 'Sendable' protocol
23 | /// The null value.
24 | case null
[28/49] Compiling TSCBasic Lock.swift
/Users/admin/builder/spi-builder-workspace/Sources/TSCBasic/JSONMapper.swift:25:14: warning: associated value 'typeMismatch(key:expected:json:)' of 'Sendable'-conforming enum 'MapError' has non-sendable type 'JSON'; this is an error in the Swift 6 language mode
23 |
24 | /// Got a different type than expected.
25 | case typeMismatch(key: String, expected: Any.Type, json: JSON)
| `- warning: associated value 'typeMismatch(key:expected:json:)' of 'Sendable'-conforming enum 'MapError' has non-sendable type 'JSON'; this is an error in the Swift 6 language mode
26 |
27 | /// A custom error. Clients can use this in their mapping method.
/Users/admin/builder/spi-builder-workspace/Sources/TSCBasic/JSON.swift:22:13: note: consider making enum 'JSON' conform to the 'Sendable' protocol
20 | ///
21 | /// This type uses container wrappers in order to allow for mutable elements.
22 | public enum JSON {
| `- note: consider making enum 'JSON' conform to the 'Sendable' protocol
23 | /// The null value.
24 | case null
[29/49] Compiling TSCBasic OrderedDictionary.swift
/Users/admin/builder/spi-builder-workspace/Sources/TSCBasic/JSONMapper.swift:25:14: warning: associated value 'typeMismatch(key:expected:json:)' of 'Sendable'-conforming enum 'MapError' has non-sendable type 'JSON'; this is an error in the Swift 6 language mode
23 |
24 | /// Got a different type than expected.
25 | case typeMismatch(key: String, expected: Any.Type, json: JSON)
| `- warning: associated value 'typeMismatch(key:expected:json:)' of 'Sendable'-conforming enum 'MapError' has non-sendable type 'JSON'; this is an error in the Swift 6 language mode
26 |
27 | /// A custom error. Clients can use this in their mapping method.
/Users/admin/builder/spi-builder-workspace/Sources/TSCBasic/JSON.swift:22:13: note: consider making enum 'JSON' conform to the 'Sendable' protocol
20 | ///
21 | /// This type uses container wrappers in order to allow for mutable elements.
22 | public enum JSON {
| `- note: consider making enum 'JSON' conform to the 'Sendable' protocol
23 | /// The null value.
24 | case null
[30/49] Compiling TSCBasic OrderedSet.swift
/Users/admin/builder/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:20:22: warning: using '@_implementationOnly' without enabling library evolution for 'TSCBasic' may lead to instability during execution
18 | #endif
19 |
20 | @_implementationOnly import TSCclibc
| `- warning: using '@_implementationOnly' without enabling library evolution for 'TSCBasic' may lead to instability during execution
21 | import TSCLibc
22 | import Dispatch
/Users/admin/builder/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:210:27: warning: static property 'collect' is not concurrency-safe because non-'Sendable' type 'Process.OutputRedirection' may have shared mutable state; this is an error in the Swift 6 language mode
197 | }
198 |
199 | public enum OutputRedirection {
| `- note: consider making enum 'OutputRedirection' conform to the 'Sendable' protocol
200 | /// Do not redirect the output
201 | case none
:
208 |
209 | /// Default collect OutputRedirection that defaults to not redirect stderr. Provided for API compatibility.
210 | public static let collect: OutputRedirection = .collect(redirectStderr: false)
| |- warning: static property 'collect' is not concurrency-safe because non-'Sendable' type 'Process.OutputRedirection' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'collect' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
211 |
212 | /// Default stream OutputRedirection that defaults to not redirect stderr. Provided for API compatibility.
/Users/admin/builder/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:269:24: warning: static property '_loggingHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
267 | public typealias LoggingHandler = (String) -> Void
268 |
269 | private static var _loggingHandler: LoggingHandler?
| |- warning: static property '_loggingHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_loggingHandler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_loggingHandler' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
270 | private static let loggingHandlerLock = NSLock()
271 |
/Users/admin/builder/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:360:24: warning: static property 'validatedExecutablesMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
358 | /// Key: Executable name or path.
359 | /// Value: Path to the executable, if found.
360 | private static var validatedExecutablesMap = [String: AbsolutePath?]()
| |- warning: static property 'validatedExecutablesMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'validatedExecutablesMap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'validatedExecutablesMap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
361 | private static let validatedExecutablesMapLock = NSLock()
362 |
/Users/admin/builder/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:388:57: warning: 'loggingHandler' is deprecated: use instance level `loggingHandler` passed via `init` instead of setting one globally.
386 | self.outputRedirection = outputRedirection
387 | self.startNewProcessGroup = startNewProcessGroup
388 | self.loggingHandler = loggingHandler ?? Process.loggingHandler
| `- warning: 'loggingHandler' is deprecated: use instance level `loggingHandler` passed via `init` instead of setting one globally.
389 | }
390 |
/Users/admin/builder/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:429:57: warning: 'loggingHandler' is deprecated: use instance level `loggingHandler` passed via `init` instead of setting one globally.
427 | self.outputRedirection = outputRedirection
428 | self.startNewProcessGroup = startNewProcessGroup
429 | self.loggingHandler = loggingHandler ?? Process.loggingHandler
| `- warning: 'loggingHandler' is deprecated: use instance level `loggingHandler` passed via `init` instead of setting one globally.
430 | }
431 |
/Users/admin/builder/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:744:32: warning: 'environment' is deprecated: use `environmentBlock` instead
742 | }
743 | let argv = CStringArray(resolvedArgs)
744 | let env = CStringArray(environment.map({ "\($0.0)=\($0.1)" }))
| `- warning: 'environment' is deprecated: use `environmentBlock` instead
745 | let rv = SPM_posix_spawnp(&processID, argv.cArray[0]!, &fileActions, &attributes, argv.cArray, env.cArray)
746 |
/Users/admin/builder/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:923:36: warning: capture of 'completion' with non-sendable type '(Result<ProcessResult, any Error>) -> Void' in a '@Sendable' closure
921 | self.state = .complete(executionResult)
922 | self.completionQueue.async {
923 | self.waitUntilExit(completion)
| |- warning: capture of 'completion' with non-sendable type '(Result<ProcessResult, any Error>) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
924 | }
925 | }
/Users/admin/builder/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:1146:17: warning: capture of 'completion' with non-sendable type '(Result<ProcessResult, any Error>) -> Void' in a '@Sendable' closure
1144 | } catch {
1145 | completionQueue.async {
1146 | completion(.failure(error))
| |- warning: capture of 'completion' with non-sendable type '(Result<ProcessResult, any Error>) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
1147 | }
1148 | }
[31/49] Compiling TSCBasic Path.swift
/Users/admin/builder/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:20:22: warning: using '@_implementationOnly' without enabling library evolution for 'TSCBasic' may lead to instability during execution
18 | #endif
19 |
20 | @_implementationOnly import TSCclibc
| `- warning: using '@_implementationOnly' without enabling library evolution for 'TSCBasic' may lead to instability during execution
21 | import TSCLibc
22 | import Dispatch
/Users/admin/builder/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:210:27: warning: static property 'collect' is not concurrency-safe because non-'Sendable' type 'Process.OutputRedirection' may have shared mutable state; this is an error in the Swift 6 language mode
197 | }
198 |
199 | public enum OutputRedirection {
| `- note: consider making enum 'OutputRedirection' conform to the 'Sendable' protocol
200 | /// Do not redirect the output
201 | case none
:
208 |
209 | /// Default collect OutputRedirection that defaults to not redirect stderr. Provided for API compatibility.
210 | public static let collect: OutputRedirection = .collect(redirectStderr: false)
| |- warning: static property 'collect' is not concurrency-safe because non-'Sendable' type 'Process.OutputRedirection' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'collect' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
211 |
212 | /// Default stream OutputRedirection that defaults to not redirect stderr. Provided for API compatibility.
/Users/admin/builder/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:269:24: warning: static property '_loggingHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
267 | public typealias LoggingHandler = (String) -> Void
268 |
269 | private static var _loggingHandler: LoggingHandler?
| |- warning: static property '_loggingHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_loggingHandler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_loggingHandler' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
270 | private static let loggingHandlerLock = NSLock()
271 |
/Users/admin/builder/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:360:24: warning: static property 'validatedExecutablesMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
358 | /// Key: Executable name or path.
359 | /// Value: Path to the executable, if found.
360 | private static var validatedExecutablesMap = [String: AbsolutePath?]()
| |- warning: static property 'validatedExecutablesMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'validatedExecutablesMap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'validatedExecutablesMap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
361 | private static let validatedExecutablesMapLock = NSLock()
362 |
/Users/admin/builder/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:388:57: warning: 'loggingHandler' is deprecated: use instance level `loggingHandler` passed via `init` instead of setting one globally.
386 | self.outputRedirection = outputRedirection
387 | self.startNewProcessGroup = startNewProcessGroup
388 | self.loggingHandler = loggingHandler ?? Process.loggingHandler
| `- warning: 'loggingHandler' is deprecated: use instance level `loggingHandler` passed via `init` instead of setting one globally.
389 | }
390 |
/Users/admin/builder/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:429:57: warning: 'loggingHandler' is deprecated: use instance level `loggingHandler` passed via `init` instead of setting one globally.
427 | self.outputRedirection = outputRedirection
428 | self.startNewProcessGroup = startNewProcessGroup
429 | self.loggingHandler = loggingHandler ?? Process.loggingHandler
| `- warning: 'loggingHandler' is deprecated: use instance level `loggingHandler` passed via `init` instead of setting one globally.
430 | }
431 |
/Users/admin/builder/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:744:32: warning: 'environment' is deprecated: use `environmentBlock` instead
742 | }
743 | let argv = CStringArray(resolvedArgs)
744 | let env = CStringArray(environment.map({ "\($0.0)=\($0.1)" }))
| `- warning: 'environment' is deprecated: use `environmentBlock` instead
745 | let rv = SPM_posix_spawnp(&processID, argv.cArray[0]!, &fileActions, &attributes, argv.cArray, env.cArray)
746 |
/Users/admin/builder/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:923:36: warning: capture of 'completion' with non-sendable type '(Result<ProcessResult, any Error>) -> Void' in a '@Sendable' closure
921 | self.state = .complete(executionResult)
922 | self.completionQueue.async {
923 | self.waitUntilExit(completion)
| |- warning: capture of 'completion' with non-sendable type '(Result<ProcessResult, any Error>) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
924 | }
925 | }
/Users/admin/builder/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:1146:17: warning: capture of 'completion' with non-sendable type '(Result<ProcessResult, any Error>) -> Void' in a '@Sendable' closure
1144 | } catch {
1145 | completionQueue.async {
1146 | completion(.failure(error))
| |- warning: capture of 'completion' with non-sendable type '(Result<ProcessResult, any Error>) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
1147 | }
1148 | }
[32/49] Compiling TSCBasic PathShims.swift
/Users/admin/builder/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:20:22: warning: using '@_implementationOnly' without enabling library evolution for 'TSCBasic' may lead to instability during execution
18 | #endif
19 |
20 | @_implementationOnly import TSCclibc
| `- warning: using '@_implementationOnly' without enabling library evolution for 'TSCBasic' may lead to instability during execution
21 | import TSCLibc
22 | import Dispatch
/Users/admin/builder/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:210:27: warning: static property 'collect' is not concurrency-safe because non-'Sendable' type 'Process.OutputRedirection' may have shared mutable state; this is an error in the Swift 6 language mode
197 | }
198 |
199 | public enum OutputRedirection {
| `- note: consider making enum 'OutputRedirection' conform to the 'Sendable' protocol
200 | /// Do not redirect the output
201 | case none
:
208 |
209 | /// Default collect OutputRedirection that defaults to not redirect stderr. Provided for API compatibility.
210 | public static let collect: OutputRedirection = .collect(redirectStderr: false)
| |- warning: static property 'collect' is not concurrency-safe because non-'Sendable' type 'Process.OutputRedirection' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'collect' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
211 |
212 | /// Default stream OutputRedirection that defaults to not redirect stderr. Provided for API compatibility.
/Users/admin/builder/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:269:24: warning: static property '_loggingHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
267 | public typealias LoggingHandler = (String) -> Void
268 |
269 | private static var _loggingHandler: LoggingHandler?
| |- warning: static property '_loggingHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_loggingHandler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_loggingHandler' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
270 | private static let loggingHandlerLock = NSLock()
271 |
/Users/admin/builder/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:360:24: warning: static property 'validatedExecutablesMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
358 | /// Key: Executable name or path.
359 | /// Value: Path to the executable, if found.
360 | private static var validatedExecutablesMap = [String: AbsolutePath?]()
| |- warning: static property 'validatedExecutablesMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'validatedExecutablesMap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'validatedExecutablesMap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
361 | private static let validatedExecutablesMapLock = NSLock()
362 |
/Users/admin/builder/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:388:57: warning: 'loggingHandler' is deprecated: use instance level `loggingHandler` passed via `init` instead of setting one globally.
386 | self.outputRedirection = outputRedirection
387 | self.startNewProcessGroup = startNewProcessGroup
388 | self.loggingHandler = loggingHandler ?? Process.loggingHandler
| `- warning: 'loggingHandler' is deprecated: use instance level `loggingHandler` passed via `init` instead of setting one globally.
389 | }
390 |
/Users/admin/builder/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:429:57: warning: 'loggingHandler' is deprecated: use instance level `loggingHandler` passed via `init` instead of setting one globally.
427 | self.outputRedirection = outputRedirection
428 | self.startNewProcessGroup = startNewProcessGroup
429 | self.loggingHandler = loggingHandler ?? Process.loggingHandler
| `- warning: 'loggingHandler' is deprecated: use instance level `loggingHandler` passed via `init` instead of setting one globally.
430 | }
431 |
/Users/admin/builder/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:744:32: warning: 'environment' is deprecated: use `environmentBlock` instead
742 | }
743 | let argv = CStringArray(resolvedArgs)
744 | let env = CStringArray(environment.map({ "\($0.0)=\($0.1)" }))
| `- warning: 'environment' is deprecated: use `environmentBlock` instead
745 | let rv = SPM_posix_spawnp(&processID, argv.cArray[0]!, &fileActions, &attributes, argv.cArray, env.cArray)
746 |
/Users/admin/builder/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:923:36: warning: capture of 'completion' with non-sendable type '(Result<ProcessResult, any Error>) -> Void' in a '@Sendable' closure
921 | self.state = .complete(executionResult)
922 | self.completionQueue.async {
923 | self.waitUntilExit(completion)
| |- warning: capture of 'completion' with non-sendable type '(Result<ProcessResult, any Error>) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
924 | }
925 | }
/Users/admin/builder/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:1146:17: warning: capture of 'completion' with non-sendable type '(Result<ProcessResult, any Error>) -> Void' in a '@Sendable' closure
1144 | } catch {
1145 | completionQueue.async {
1146 | completion(.failure(error))
| |- warning: capture of 'completion' with non-sendable type '(Result<ProcessResult, any Error>) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
1147 | }
1148 | }
[33/49] Compiling TSCBasic Process.swift
/Users/admin/builder/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:20:22: warning: using '@_implementationOnly' without enabling library evolution for 'TSCBasic' may lead to instability during execution
18 | #endif
19 |
20 | @_implementationOnly import TSCclibc
| `- warning: using '@_implementationOnly' without enabling library evolution for 'TSCBasic' may lead to instability during execution
21 | import TSCLibc
22 | import Dispatch
/Users/admin/builder/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:210:27: warning: static property 'collect' is not concurrency-safe because non-'Sendable' type 'Process.OutputRedirection' may have shared mutable state; this is an error in the Swift 6 language mode
197 | }
198 |
199 | public enum OutputRedirection {
| `- note: consider making enum 'OutputRedirection' conform to the 'Sendable' protocol
200 | /// Do not redirect the output
201 | case none
:
208 |
209 | /// Default collect OutputRedirection that defaults to not redirect stderr. Provided for API compatibility.
210 | public static let collect: OutputRedirection = .collect(redirectStderr: false)
| |- warning: static property 'collect' is not concurrency-safe because non-'Sendable' type 'Process.OutputRedirection' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'collect' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
211 |
212 | /// Default stream OutputRedirection that defaults to not redirect stderr. Provided for API compatibility.
/Users/admin/builder/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:269:24: warning: static property '_loggingHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
267 | public typealias LoggingHandler = (String) -> Void
268 |
269 | private static var _loggingHandler: LoggingHandler?
| |- warning: static property '_loggingHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_loggingHandler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_loggingHandler' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
270 | private static let loggingHandlerLock = NSLock()
271 |
/Users/admin/builder/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:360:24: warning: static property 'validatedExecutablesMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
358 | /// Key: Executable name or path.
359 | /// Value: Path to the executable, if found.
360 | private static var validatedExecutablesMap = [String: AbsolutePath?]()
| |- warning: static property 'validatedExecutablesMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'validatedExecutablesMap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'validatedExecutablesMap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
361 | private static let validatedExecutablesMapLock = NSLock()
362 |
/Users/admin/builder/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:388:57: warning: 'loggingHandler' is deprecated: use instance level `loggingHandler` passed via `init` instead of setting one globally.
386 | self.outputRedirection = outputRedirection
387 | self.startNewProcessGroup = startNewProcessGroup
388 | self.loggingHandler = loggingHandler ?? Process.loggingHandler
| `- warning: 'loggingHandler' is deprecated: use instance level `loggingHandler` passed via `init` instead of setting one globally.
389 | }
390 |
/Users/admin/builder/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:429:57: warning: 'loggingHandler' is deprecated: use instance level `loggingHandler` passed via `init` instead of setting one globally.
427 | self.outputRedirection = outputRedirection
428 | self.startNewProcessGroup = startNewProcessGroup
429 | self.loggingHandler = loggingHandler ?? Process.loggingHandler
| `- warning: 'loggingHandler' is deprecated: use instance level `loggingHandler` passed via `init` instead of setting one globally.
430 | }
431 |
/Users/admin/builder/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:744:32: warning: 'environment' is deprecated: use `environmentBlock` instead
742 | }
743 | let argv = CStringArray(resolvedArgs)
744 | let env = CStringArray(environment.map({ "\($0.0)=\($0.1)" }))
| `- warning: 'environment' is deprecated: use `environmentBlock` instead
745 | let rv = SPM_posix_spawnp(&processID, argv.cArray[0]!, &fileActions, &attributes, argv.cArray, env.cArray)
746 |
/Users/admin/builder/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:923:36: warning: capture of 'completion' with non-sendable type '(Result<ProcessResult, any Error>) -> Void' in a '@Sendable' closure
921 | self.state = .complete(executionResult)
922 | self.completionQueue.async {
923 | self.waitUntilExit(completion)
| |- warning: capture of 'completion' with non-sendable type '(Result<ProcessResult, any Error>) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
924 | }
925 | }
/Users/admin/builder/spi-builder-workspace/Sources/TSCBasic/Process/Process.swift:1146:17: warning: capture of 'completion' with non-sendable type '(Result<ProcessResult, any Error>) -> Void' in a '@Sendable' closure
1144 | } catch {
1145 | completionQueue.async {
1146 | completion(.failure(error))
| |- warning: capture of 'completion' with non-sendable type '(Result<ProcessResult, any Error>) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
1147 | }
1148 | }
[34/49] Compiling TSCBasic ProcessEnv.swift
/Users/admin/builder/spi-builder-workspace/Sources/TSCBasic/Process/ProcessEnv.swift:82:24: warning: static property '_vars' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
80 | public static var block: ProcessEnvironmentBlock { _vars }
81 |
82 | private static var _vars = ProcessEnvironmentBlock(
| |- warning: static property '_vars' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_vars' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_vars' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
83 | uniqueKeysWithValues: ProcessInfo.processInfo.environment.map {
84 | (ProcessEnvironmentBlock.Key($0.key), $0.value)
[35/49] Compiling TSCBasic ProcessSet.swift
/Users/admin/builder/spi-builder-workspace/Sources/TSCBasic/Process/ProcessEnv.swift:82:24: warning: static property '_vars' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
80 | public static var block: ProcessEnvironmentBlock { _vars }
81 |
82 | private static var _vars = ProcessEnvironmentBlock(
| |- warning: static property '_vars' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_vars' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_vars' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
83 | uniqueKeysWithValues: ProcessInfo.processInfo.environment.map {
84 | (ProcessEnvironmentBlock.Key($0.key), $0.value)
[36/49] Compiling TSCBasic RegEx.swift
/Users/admin/builder/spi-builder-workspace/Sources/TSCBasic/Process/ProcessEnv.swift:82:24: warning: static property '_vars' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
80 | public static var block: ProcessEnvironmentBlock { _vars }
81 |
82 | private static var _vars = ProcessEnvironmentBlock(
| |- warning: static property '_vars' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_vars' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_vars' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
83 | uniqueKeysWithValues: ProcessInfo.processInfo.environment.map {
84 | (ProcessEnvironmentBlock.Key($0.key), $0.value)
[37/49] Compiling TSCBasic SynchronizedQueue.swift
/Users/admin/builder/spi-builder-workspace/Sources/TSCBasic/TerminalController.swift:116:23: warning: 'vars' is deprecated: Use `block` instead
114 | public static func terminalType(_ stream: LocalFileOutputByteStream) -> TerminalType {
115 | #if !os(Windows)
116 | if ProcessEnv.vars["TERM"] == "dumb" {
| `- warning: 'vars' is deprecated: Use `block` instead
117 | return .dumb
118 | }
/Users/admin/builder/spi-builder-workspace/Sources/TSCBasic/TerminalController.swift:138:37: warning: 'vars' is deprecated: Use `block` instead
136 | #else
137 | // Try to get from environment.
138 | if let columns = ProcessEnv.vars["COLUMNS"], let width = Int(columns) {
| `- warning: 'vars' is deprecated: Use `block` instead
139 | return width
140 | }
[38/49] Compiling TSCBasic TemporaryFile.swift
/Users/admin/builder/spi-builder-workspace/Sources/TSCBasic/TerminalController.swift:116:23: warning: 'vars' is deprecated: Use `block` instead
114 | public static func terminalType(_ stream: LocalFileOutputByteStream) -> TerminalType {
115 | #if !os(Windows)
116 | if ProcessEnv.vars["TERM"] == "dumb" {
| `- warning: 'vars' is deprecated: Use `block` instead
117 | return .dumb
118 | }
/Users/admin/builder/spi-builder-workspace/Sources/TSCBasic/TerminalController.swift:138:37: warning: 'vars' is deprecated: Use `block` instead
136 | #else
137 | // Try to get from environment.
138 | if let columns = ProcessEnv.vars["COLUMNS"], let width = Int(columns) {
| `- warning: 'vars' is deprecated: Use `block` instead
139 | return width
140 | }
[39/49] Compiling TSCBasic TerminalController.swift
/Users/admin/builder/spi-builder-workspace/Sources/TSCBasic/TerminalController.swift:116:23: warning: 'vars' is deprecated: Use `block` instead
114 | public static func terminalType(_ stream: LocalFileOutputByteStream) -> TerminalType {
115 | #if !os(Windows)
116 | if ProcessEnv.vars["TERM"] == "dumb" {
| `- warning: 'vars' is deprecated: Use `block` instead
117 | return .dumb
118 | }
/Users/admin/builder/spi-builder-workspace/Sources/TSCBasic/TerminalController.swift:138:37: warning: 'vars' is deprecated: Use `block` instead
136 | #else
137 | // Try to get from environment.
138 | if let columns = ProcessEnv.vars["COLUMNS"], let width = Int(columns) {
| `- warning: 'vars' is deprecated: Use `block` instead
139 | return width
140 | }
[40/49] Compiling TSCBasic DictionaryExtensions.swift
[41/49] Compiling TSCBasic DictionaryLiteralExtensions.swift
[42/49] Compiling TSCBasic EditDistance.swift
[43/49] Compiling TSCBasic FileInfo.swift
[44/49] Compiling TSCBasic FileSystem.swift
/Users/admin/builder/spi-builder-workspace/Sources/TSCBasic/FileSystem.swift:1440:13: warning: var '_localFileSystem' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1438 | #endif
1439 |
1440 | private var _localFileSystem: FileSystem = LocalFileSystem()
| |- warning: var '_localFileSystem' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_localFileSystem' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_localFileSystem' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1441 |
1442 | /// Public access to the local FS proxy.
[45/49] Compiling TSCBasic GraphAlgorithms.swift
/Users/admin/builder/spi-builder-workspace/Sources/TSCBasic/FileSystem.swift:1440:13: warning: var '_localFileSystem' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1438 | #endif
1439 |
1440 | private var _localFileSystem: FileSystem = LocalFileSystem()
| |- warning: var '_localFileSystem' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_localFileSystem' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_localFileSystem' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1441 |
1442 | /// Public access to the local FS proxy.
[46/49] Compiling TSCBasic HashAlgorithms.swift
/Users/admin/builder/spi-builder-workspace/Sources/TSCBasic/FileSystem.swift:1440:13: warning: var '_localFileSystem' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1438 | #endif
1439 |
1440 | private var _localFileSystem: FileSystem = LocalFileSystem()
| |- warning: var '_localFileSystem' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_localFileSystem' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_localFileSystem' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1441 |
1442 | /// Public access to the local FS proxy.
[47/49] Compiling TSCBasic JSON.swift
/Users/admin/builder/spi-builder-workspace/Sources/TSCBasic/FileSystem.swift:1440:13: warning: var '_localFileSystem' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1438 | #endif
1439 |
1440 | private var _localFileSystem: FileSystem = LocalFileSystem()
| |- warning: var '_localFileSystem' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_localFileSystem' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_localFileSystem' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1441 |
1442 | /// Public access to the local FS proxy.
[48/69] Emitting module TSCUtility
/Users/admin/builder/spi-builder-workspace/Sources/TSCUtility/IndexStore.swift:12:22: warning: using '@_implementationOnly' without enabling library evolution for 'TSCUtility' may lead to instability during execution
10 |
11 | import TSCBasic
12 | @_implementationOnly import TSCclibc
| `- warning: using '@_implementationOnly' without enabling library evolution for 'TSCUtility' may lead to instability during execution
13 |
14 | public final class IndexStore {
/Users/admin/builder/spi-builder-workspace/Sources/TSCUtility/Versioning.swift:11:22: warning: using '@_implementationOnly' without enabling library evolution for 'TSCUtility' may lead to instability during execution
9 | */
10 |
11 | @_implementationOnly import TSCclibc
| `- warning: using '@_implementationOnly' without enabling library evolution for 'TSCUtility' may lead to instability during execution
12 |
13 | // FIXME: deprecate 2/2021, remove once clients transitioned
/Users/admin/builder/spi-builder-workspace/Sources/TSCUtility/Bitstream.swift:213:23: warning: static property 'blockInfo' is not concurrency-safe because non-'Sendable' type 'Bitstream.BlockID' may have shared mutable state; this is an error in the Swift 6 language mode
204 | /// }
205 | /// ```
206 | public struct BlockID: RawRepresentable, Equatable, Hashable, Comparable, Identifiable {
| `- note: consider making struct 'BlockID' conform to the 'Sendable' protocol
207 | public var rawValue: UInt8
208 |
:
211 | }
212 |
213 | public static let blockInfo = Self(rawValue: 0)
| |- warning: static property 'blockInfo' is not concurrency-safe because non-'Sendable' type 'Bitstream.BlockID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'blockInfo' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
214 | public static let firstApplicationID = Self(rawValue: 8)
215 |
/Users/admin/builder/spi-builder-workspace/Sources/TSCUtility/Bitstream.swift:214:23: warning: static property 'firstApplicationID' is not concurrency-safe because non-'Sendable' type 'Bitstream.BlockID' may have shared mutable state; this is an error in the Swift 6 language mode
204 | /// }
205 | /// ```
206 | public struct BlockID: RawRepresentable, Equatable, Hashable, Comparable, Identifiable {
| `- note: consider making struct 'BlockID' conform to the 'Sendable' protocol
207 | public var rawValue: UInt8
208 |
:
212 |
213 | public static let blockInfo = Self(rawValue: 0)
214 | public static let firstApplicationID = Self(rawValue: 8)
| |- warning: static property 'firstApplicationID' is not concurrency-safe because non-'Sendable' type 'Bitstream.BlockID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'firstApplicationID' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
215 |
216 | public var id: UInt8 {
/Users/admin/builder/spi-builder-workspace/Sources/TSCUtility/Bitstream.swift:251:23: warning: static property 'endBlock' is not concurrency-safe because non-'Sendable' type 'Bitstream.AbbreviationID' may have shared mutable state; this is an error in the Swift 6 language mode
241 | /// `BitstreamWriter.defineBlockInfoAbbreviation(_:_:)`
242 | /// to register abbreviations.
243 | public struct AbbreviationID: RawRepresentable, Equatable, Hashable, Comparable, Identifiable {
| `- note: consider making struct 'AbbreviationID' conform to the 'Sendable' protocol
244 | public var rawValue: UInt64
245 |
:
249 |
250 | /// Marks the end of the current block.
251 | public static let endBlock = Self(rawValue: 0)
| |- warning: static property 'endBlock' is not concurrency-safe because non-'Sendable' type 'Bitstream.AbbreviationID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'endBlock' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
252 | /// Marks the beginning of a new block.
253 | public static let enterSubblock = Self(rawValue: 1)
/Users/admin/builder/spi-builder-workspace/Sources/TSCUtility/Bitstream.swift:253:23: warning: static property 'enterSubblock' is not concurrency-safe because non-'Sendable' type 'Bitstream.AbbreviationID' may have shared mutable state; this is an error in the Swift 6 language mode
241 | /// `BitstreamWriter.defineBlockInfoAbbreviation(_:_:)`
242 | /// to register abbreviations.
243 | public struct AbbreviationID: RawRepresentable, Equatable, Hashable, Comparable, Identifiable {
| `- note: consider making struct 'AbbreviationID' conform to the 'Sendable' protocol
244 | public var rawValue: UInt64
245 |
:
251 | public static let endBlock = Self(rawValue: 0)
252 | /// Marks the beginning of a new block.
253 | public static let enterSubblock = Self(rawValue: 1)
| |- warning: static property 'enterSubblock' is not concurrency-safe because non-'Sendable' type 'Bitstream.AbbreviationID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'enterSubblock' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
254 | /// Marks the definition of a new abbreviation.
255 | public static let defineAbbreviation = Self(rawValue: 2)
/Users/admin/builder/spi-builder-workspace/Sources/TSCUtility/Bitstream.swift:255:23: warning: static property 'defineAbbreviation' is not concurrency-safe because non-'Sendable' type 'Bitstream.AbbreviationID' may have shared mutable state; this is an error in the Swift 6 language mode
241 | /// `BitstreamWriter.defineBlockInfoAbbreviation(_:_:)`
242 | /// to register abbreviations.
243 | public struct AbbreviationID: RawRepresentable, Equatable, Hashable, Comparable, Identifiable {
| `- note: consider making struct 'AbbreviationID' conform to the 'Sendable' protocol
244 | public var rawValue: UInt64
245 |
:
253 | public static let enterSubblock = Self(rawValue: 1)
254 | /// Marks the definition of a new abbreviation.
255 | public static let defineAbbreviation = Self(rawValue: 2)
| |- warning: static property 'defineAbbreviation' is not concurrency-safe because non-'Sendable' type 'Bitstream.AbbreviationID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defineAbbreviation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
256 | /// Marks the definition of a new unabbreviated record.
257 | public static let unabbreviatedRecord = Self(rawValue: 3)
/Users/admin/builder/spi-builder-workspace/Sources/TSCUtility/Bitstream.swift:257:23: warning: static property 'unabbreviatedRecord' is not concurrency-safe because non-'Sendable' type 'Bitstream.AbbreviationID' may have shared mutable state; this is an error in the Swift 6 language mode
241 | /// `BitstreamWriter.defineBlockInfoAbbreviation(_:_:)`
242 | /// to register abbreviations.
243 | public struct AbbreviationID: RawRepresentable, Equatable, Hashable, Comparable, Identifiable {
| `- note: consider making struct 'AbbreviationID' conform to the 'Sendable' protocol
244 | public var rawValue: UInt64
245 |
:
255 | public static let defineAbbreviation = Self(rawValue: 2)
256 | /// Marks the definition of a new unabbreviated record.
257 | public static let unabbreviatedRecord = Self(rawValue: 3)
| |- warning: static property 'unabbreviatedRecord' is not concurrency-safe because non-'Sendable' type 'Bitstream.AbbreviationID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'unabbreviatedRecord' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
258 | /// The first application-defined abbreviation ID.
259 | public static let firstApplicationID = Self(rawValue: 4)
/Users/admin/builder/spi-builder-workspace/Sources/TSCUtility/Bitstream.swift:259:23: warning: static property 'firstApplicationID' is not concurrency-safe because non-'Sendable' type 'Bitstream.AbbreviationID' may have shared mutable state; this is an error in the Swift 6 language mode
241 | /// `BitstreamWriter.defineBlockInfoAbbreviation(_:_:)`
242 | /// to register abbreviations.
243 | public struct AbbreviationID: RawRepresentable, Equatable, Hashable, Comparable, Identifiable {
| `- note: consider making struct 'AbbreviationID' conform to the 'Sendable' protocol
244 | public var rawValue: UInt64
245 |
:
257 | public static let unabbreviatedRecord = Self(rawValue: 3)
258 | /// The first application-defined abbreviation ID.
259 | public static let firstApplicationID = Self(rawValue: 4)
| |- warning: static property 'firstApplicationID' is not concurrency-safe because non-'Sendable' type 'Bitstream.AbbreviationID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'firstApplicationID' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
260 |
261 | public var id: UInt64 {
/Users/admin/builder/spi-builder-workspace/Sources/TSCUtility/Git.swift:17:23: warning: static property 'tool' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | /// A shell command to run for Git. Can be either a name or a path.
16 | /// - Note: modification is not thread safe, designed for testing only
17 | public static var tool: String = "git\(executableFileSuffix)"
| |- warning: static property 'tool' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'tool' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'tool' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | /// Returns true if the git reference name is well formed.
/Users/admin/builder/spi-builder-workspace/Sources/TSCUtility/Git.swift:29:24: warning: static property '_gitEnvironment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 | }
28 |
29 | private static var _gitEnvironment = ProcessEnv.block
| |- warning: static property '_gitEnvironment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_gitEnvironment' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_gitEnvironment' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | @available(*,
/Users/admin/builder/spi-builder-workspace/Sources/TSCUtility/Platform.swift:29:23: warning: static property 'currentPlatform' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// Lazily checked current platform.
29 | public static var currentPlatform = Platform.findCurrentPlatform(localFileSystem)
| |- warning: static property 'currentPlatform' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'currentPlatform' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'currentPlatform' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | /// Returns the cache directories used in Darwin.
/Users/admin/builder/spi-builder-workspace/Sources/TSCUtility/Platform.swift:32:24: warning: static property 'darwinCacheDirectoriesLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 |
31 | /// Returns the cache directories used in Darwin.
32 | private static var darwinCacheDirectoriesLock = NSLock()
| |- warning: static property 'darwinCacheDirectoriesLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'darwinCacheDirectoriesLock' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'darwinCacheDirectoriesLock' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | private static var _darwinCacheDirectories: [AbsolutePath]? = .none
34 |
/Users/admin/builder/spi-builder-workspace/Sources/TSCUtility/Platform.swift:33:24: warning: static property '_darwinCacheDirectories' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 | /// Returns the cache directories used in Darwin.
32 | private static var darwinCacheDirectoriesLock = NSLock()
33 | private static var _darwinCacheDirectories: [AbsolutePath]? = .none
| |- warning: static property '_darwinCacheDirectories' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_darwinCacheDirectories' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_darwinCacheDirectories' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | /// Attempt to match `uname` with recognized platforms.
/Users/admin/builder/spi-builder-workspace/Sources/TSCUtility/Verbosity.swift:44:12: warning: var 'verbosity' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
42 | // verbose 2/2022
43 | @available(*, deprecated)
44 | public var verbosity = Verbosity.concise
| |- warning: var 'verbosity' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'verbosity' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'verbosity' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 |
/Users/admin/builder/spi-builder-workspace/Sources/TSCUtility/Versioning.swift:76:23: warning: static property 'currentVersion' is not concurrency-safe because non-'Sendable' type 'SwiftVersion' may have shared mutable state; this is an error in the Swift 6 language mode
13 | // FIXME: deprecate 2/2021, remove once clients transitioned
14 | @available(*, deprecated, message: "moved to SwiftPM")
15 | public struct SwiftVersion {
| `- note: consider making struct 'SwiftVersion' conform to the 'Sendable' protocol
16 | /// The version number.
17 | public var version: (major: Int, minor: Int, patch: Int)
:
74 |
75 | /// The current version of the package manager.
76 | public static let currentVersion = SwiftVersion(
| |- warning: static property 'currentVersion' is not concurrency-safe because non-'Sendable' type 'SwiftVersion' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'currentVersion' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
77 | version: (5, 4, 0),
78 | isDevelopment: true,
/Users/admin/builder/spi-builder-workspace/Sources/TSCUtility/dlopen.swift:58:23: warning: static property 'lazy' is not concurrency-safe because non-'Sendable' type 'DLOpenFlags' may have shared mutable state; this is an error in the Swift 6 language mode
53 | // FIXME: deprecate 2/2022, remove once clients transitioned
54 | @available(*, deprecated, message: "moved to swift-driver")
55 | public struct DLOpenFlags: RawRepresentable, OptionSet {
| `- note: consider making struct 'DLOpenFlags' conform to the 'Sendable' protocol
56 |
57 | #if !os(Windows)
58 | public static let lazy: DLOpenFlags = DLOpenFlags(rawValue: RTLD_LAZY)
| |- warning: static property 'lazy' is not concurrency-safe because non-'Sendable' type 'DLOpenFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'lazy' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 | public static let now: DLOpenFlags = DLOpenFlags(rawValue: RTLD_NOW)
60 | public static let local: DLOpenFlags = DLOpenFlags(rawValue: RTLD_LOCAL)
/Users/admin/builder/spi-builder-workspace/Sources/TSCUtility/dlopen.swift:59:23: warning: static property 'now' is not concurrency-safe because non-'Sendable' type 'DLOpenFlags' may have shared mutable state; this is an error in the Swift 6 language mode
53 | // FIXME: deprecate 2/2022, remove once clients transitioned
54 | @available(*, deprecated, message: "moved to swift-driver")
55 | public struct DLOpenFlags: RawRepresentable, OptionSet {
| `- note: consider making struct 'DLOpenFlags' conform to the 'Sendable' protocol
56 |
57 | #if !os(Windows)
58 | public static let lazy: DLOpenFlags = DLOpenFlags(rawValue: RTLD_LAZY)
59 | public static let now: DLOpenFlags = DLOpenFlags(rawValue: RTLD_NOW)
| |- warning: static property 'now' is not concurrency-safe because non-'Sendable' type 'DLOpenFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'now' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 | public static let local: DLOpenFlags = DLOpenFlags(rawValue: RTLD_LOCAL)
61 | public static let global: DLOpenFlags = DLOpenFlags(rawValue: RTLD_GLOBAL)
/Users/admin/builder/spi-builder-workspace/Sources/TSCUtility/dlopen.swift:60:23: warning: static property 'local' is not concurrency-safe because non-'Sendable' type 'DLOpenFlags' may have shared mutable state; this is an error in the Swift 6 language mode
53 | // FIXME: deprecate 2/2022, remove once clients transitioned
54 | @available(*, deprecated, message: "moved to swift-driver")
55 | public struct DLOpenFlags: RawRepresentable, OptionSet {
| `- note: consider making struct 'DLOpenFlags' conform to the 'Sendable' protocol
56 |
57 | #if !os(Windows)
58 | public static let lazy: DLOpenFlags = DLOpenFlags(rawValue: RTLD_LAZY)
59 | public static let now: DLOpenFlags = DLOpenFlags(rawValue: RTLD_NOW)
60 | public static let local: DLOpenFlags = DLOpenFlags(rawValue: RTLD_LOCAL)
| |- warning: static property 'local' is not concurrency-safe because non-'Sendable' type 'DLOpenFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'local' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 | public static let global: DLOpenFlags = DLOpenFlags(rawValue: RTLD_GLOBAL)
62 |
/Users/admin/builder/spi-builder-workspace/Sources/TSCUtility/dlopen.swift:61:23: warning: static property 'global' is not concurrency-safe because non-'Sendable' type 'DLOpenFlags' may have shared mutable state; this is an error in the Swift 6 language mode
53 | // FIXME: deprecate 2/2022, remove once clients transitioned
54 | @available(*, deprecated, message: "moved to swift-driver")
55 | public struct DLOpenFlags: RawRepresentable, OptionSet {
| `- note: consider making struct 'DLOpenFlags' conform to the 'Sendable' protocol
56 |
57 | #if !os(Windows)
:
59 | public static let now: DLOpenFlags = DLOpenFlags(rawValue: RTLD_NOW)
60 | public static let local: DLOpenFlags = DLOpenFlags(rawValue: RTLD_LOCAL)
61 | public static let global: DLOpenFlags = DLOpenFlags(rawValue: RTLD_GLOBAL)
| |- warning: static property 'global' is not concurrency-safe because non-'Sendable' type 'DLOpenFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'global' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 |
63 | // Platform-specific flags.
/Users/admin/builder/spi-builder-workspace/Sources/TSCUtility/dlopen.swift:65:23: warning: static property 'first' is not concurrency-safe because non-'Sendable' type 'DLOpenFlags' may have shared mutable state; this is an error in the Swift 6 language mode
53 | // FIXME: deprecate 2/2022, remove once clients transitioned
54 | @available(*, deprecated, message: "moved to swift-driver")
55 | public struct DLOpenFlags: RawRepresentable, OptionSet {
| `- note: consider making struct 'DLOpenFlags' conform to the 'Sendable' protocol
56 |
57 | #if !os(Windows)
:
63 | // Platform-specific flags.
64 | #if canImport(Darwin)
65 | public static let first: DLOpenFlags = DLOpenFlags(rawValue: RTLD_FIRST)
| |- warning: static property 'first' is not concurrency-safe because non-'Sendable' type 'DLOpenFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'first' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 | public static let deepBind: DLOpenFlags = DLOpenFlags(rawValue: 0)
67 | #else
/Users/admin/builder/spi-builder-workspace/Sources/TSCUtility/dlopen.swift:66:23: warning: static property 'deepBind' is not concurrency-safe because non-'Sendable' type 'DLOpenFlags' may have shared mutable state; this is an error in the Swift 6 language mode
53 | // FIXME: deprecate 2/2022, remove once clients transitioned
54 | @available(*, deprecated, message: "moved to swift-driver")
55 | public struct DLOpenFlags: RawRepresentable, OptionSet {
| `- note: consider making struct 'DLOpenFlags' conform to the 'Sendable' protocol
56 |
57 | #if !os(Windows)
:
64 | #if canImport(Darwin)
65 | public static let first: DLOpenFlags = DLOpenFlags(rawValue: RTLD_FIRST)
66 | public static let deepBind: DLOpenFlags = DLOpenFlags(rawValue: 0)
| |- warning: static property 'deepBind' is not concurrency-safe because non-'Sendable' type 'DLOpenFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'deepBind' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 | #else
68 | public static let first: DLOpenFlags = DLOpenFlags(rawValue: 0)
[49/71] Compiling TSCUtility Platform.swift
/Users/admin/builder/spi-builder-workspace/Sources/TSCUtility/Platform.swift:29:23: warning: static property 'currentPlatform' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// Lazily checked current platform.
29 | public static var currentPlatform = Platform.findCurrentPlatform(localFileSystem)
| |- warning: static property 'currentPlatform' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'currentPlatform' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'currentPlatform' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | /// Returns the cache directories used in Darwin.
/Users/admin/builder/spi-builder-workspace/Sources/TSCUtility/Platform.swift:32:24: warning: static property 'darwinCacheDirectoriesLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 |
31 | /// Returns the cache directories used in Darwin.
32 | private static var darwinCacheDirectoriesLock = NSLock()
| |- warning: static property 'darwinCacheDirectoriesLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'darwinCacheDirectoriesLock' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'darwinCacheDirectoriesLock' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | private static var _darwinCacheDirectories: [AbsolutePath]? = .none
34 |
/Users/admin/builder/spi-builder-workspace/Sources/TSCUtility/Platform.swift:33:24: warning: static property '_darwinCacheDirectories' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 | /// Returns the cache directories used in Darwin.
32 | private static var darwinCacheDirectoriesLock = NSLock()
33 | private static var _darwinCacheDirectories: [AbsolutePath]? = .none
| |- warning: static property '_darwinCacheDirectories' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_darwinCacheDirectories' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_darwinCacheDirectories' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | /// Attempt to match `uname` with recognized platforms.
[50/71] Compiling TSCUtility ProgressAnimation.swift
/Users/admin/builder/spi-builder-workspace/Sources/TSCUtility/Platform.swift:29:23: warning: static property 'currentPlatform' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// Lazily checked current platform.
29 | public static var currentPlatform = Platform.findCurrentPlatform(localFileSystem)
| |- warning: static property 'currentPlatform' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'currentPlatform' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'currentPlatform' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | /// Returns the cache directories used in Darwin.
/Users/admin/builder/spi-builder-workspace/Sources/TSCUtility/Platform.swift:32:24: warning: static property 'darwinCacheDirectoriesLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 |
31 | /// Returns the cache directories used in Darwin.
32 | private static var darwinCacheDirectoriesLock = NSLock()
| |- warning: static property 'darwinCacheDirectoriesLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'darwinCacheDirectoriesLock' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'darwinCacheDirectoriesLock' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | private static var _darwinCacheDirectories: [AbsolutePath]? = .none
34 |
/Users/admin/builder/spi-builder-workspace/Sources/TSCUtility/Platform.swift:33:24: warning: static property '_darwinCacheDirectories' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 | /// Returns the cache directories used in Darwin.
32 | private static var darwinCacheDirectoriesLock = NSLock()
33 | private static var _darwinCacheDirectories: [AbsolutePath]? = .none
| |- warning: static property '_darwinCacheDirectories' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_darwinCacheDirectories' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_darwinCacheDirectories' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | /// Attempt to match `uname` with recognized platforms.
[51/71] Compiling TSCUtility SerializedDiagnostics.swift
[52/71] Compiling TSCUtility SimplePersistence.swift
[53/71] Compiling TSCUtility Version.swift
/Users/admin/builder/spi-builder-workspace/Sources/TSCUtility/Versioning.swift:11:22: warning: using '@_implementationOnly' without enabling library evolution for 'TSCUtility' may lead to instability during execution
9 | */
10 |
11 | @_implementationOnly import TSCclibc
| `- warning: using '@_implementationOnly' without enabling library evolution for 'TSCUtility' may lead to instability during execution
12 |
13 | // FIXME: deprecate 2/2021, remove once clients transitioned
/Users/admin/builder/spi-builder-workspace/Sources/TSCUtility/Versioning.swift:76:23: warning: static property 'currentVersion' is not concurrency-safe because non-'Sendable' type 'SwiftVersion' may have shared mutable state; this is an error in the Swift 6 language mode
13 | // FIXME: deprecate 2/2021, remove once clients transitioned
14 | @available(*, deprecated, message: "moved to SwiftPM")
15 | public struct SwiftVersion {
| `- note: consider making struct 'SwiftVersion' conform to the 'Sendable' protocol
16 | /// The version number.
17 | public var version: (major: Int, minor: Int, patch: Int)
:
74 |
75 | /// The current version of the package manager.
76 | public static let currentVersion = SwiftVersion(
| |- warning: static property 'currentVersion' is not concurrency-safe because non-'Sendable' type 'SwiftVersion' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'currentVersion' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
77 | version: (5, 4, 0),
78 | isDevelopment: true,
[54/71] Compiling TSCUtility Versioning.swift
/Users/admin/builder/spi-builder-workspace/Sources/TSCUtility/Versioning.swift:11:22: warning: using '@_implementationOnly' without enabling library evolution for 'TSCUtility' may lead to instability during execution
9 | */
10 |
11 | @_implementationOnly import TSCclibc
| `- warning: using '@_implementationOnly' without enabling library evolution for 'TSCUtility' may lead to instability during execution
12 |
13 | // FIXME: deprecate 2/2021, remove once clients transitioned
/Users/admin/builder/spi-builder-workspace/Sources/TSCUtility/Versioning.swift:76:23: warning: static property 'currentVersion' is not concurrency-safe because non-'Sendable' type 'SwiftVersion' may have shared mutable state; this is an error in the Swift 6 language mode
13 | // FIXME: deprecate 2/2021, remove once clients transitioned
14 | @available(*, deprecated, message: "moved to SwiftPM")
15 | public struct SwiftVersion {
| `- note: consider making struct 'SwiftVersion' conform to the 'Sendable' protocol
16 | /// The version number.
17 | public var version: (major: Int, minor: Int, patch: Int)
:
74 |
75 | /// The current version of the package manager.
76 | public static let currentVersion = SwiftVersion(
| |- warning: static property 'currentVersion' is not concurrency-safe because non-'Sendable' type 'SwiftVersion' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'currentVersion' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
77 | version: (5, 4, 0),
78 | isDevelopment: true,
[55/71] Compiling TSCUtility IndexStore.swift
/Users/admin/builder/spi-builder-workspace/Sources/TSCUtility/IndexStore.swift:12:22: warning: using '@_implementationOnly' without enabling library evolution for 'TSCUtility' may lead to instability during execution
10 |
11 | import TSCBasic
12 | @_implementationOnly import TSCclibc
| `- warning: using '@_implementationOnly' without enabling library evolution for 'TSCUtility' may lead to instability during execution
13 |
14 | public final class IndexStore {
[56/71] Compiling TSCUtility JSONMessageStreamingParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/TSCUtility/IndexStore.swift:12:22: warning: using '@_implementationOnly' without enabling library evolution for 'TSCUtility' may lead to instability during execution
10 |
11 | import TSCBasic
12 | @_implementationOnly import TSCclibc
| `- warning: using '@_implementationOnly' without enabling library evolution for 'TSCUtility' may lead to instability during execution
13 |
14 | public final class IndexStore {
[57/71] Compiling TSCUtility StringExtensions.swift
[58/71] Compiling TSCUtility StringMangling.swift
[59/71] Compiling TSCUtility FSWatch.swift
/Users/admin/builder/spi-builder-workspace/Sources/TSCUtility/FSWatch.swift:769:9: warning: capture of 'eventStream' with non-sendable type 'FSEventStream' in a '@Sendable' closure
767 |
768 | eventStream.callbacksQueue.async {
769 | eventStream.delegate.pathsDidReceiveEvent(paths)
| `- warning: capture of 'eventStream' with non-sendable type 'FSEventStream' in a '@Sendable' closure
770 | }
771 | }
:
776 |
777 | /// Wrapper for Darwin's FSEventStream API.
778 | public final class FSEventStream {
| `- note: class 'FSEventStream' does not conform to the 'Sendable' protocol
779 |
780 | /// The errors encountered during fs event watching.
/Users/admin/builder/spi-builder-workspace/Sources/TSCUtility/Git.swift:17:23: warning: static property 'tool' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | /// A shell command to run for Git. Can be either a name or a path.
16 | /// - Note: modification is not thread safe, designed for testing only
17 | public static var tool: String = "git\(executableFileSuffix)"
| |- warning: static property 'tool' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'tool' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'tool' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | /// Returns true if the git reference name is well formed.
/Users/admin/builder/spi-builder-workspace/Sources/TSCUtility/Git.swift:29:24: warning: static property '_gitEnvironment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 | }
28 |
29 | private static var _gitEnvironment = ProcessEnv.block
| |- warning: static property '_gitEnvironment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_gitEnvironment' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_gitEnvironment' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | @available(*,
[60/71] Compiling TSCUtility Git.swift
/Users/admin/builder/spi-builder-workspace/Sources/TSCUtility/FSWatch.swift:769:9: warning: capture of 'eventStream' with non-sendable type 'FSEventStream' in a '@Sendable' closure
767 |
768 | eventStream.callbacksQueue.async {
769 | eventStream.delegate.pathsDidReceiveEvent(paths)
| `- warning: capture of 'eventStream' with non-sendable type 'FSEventStream' in a '@Sendable' closure
770 | }
771 | }
:
776 |
777 | /// Wrapper for Darwin's FSEventStream API.
778 | public final class FSEventStream {
| `- note: class 'FSEventStream' does not conform to the 'Sendable' protocol
779 |
780 | /// The errors encountered during fs event watching.
/Users/admin/builder/spi-builder-workspace/Sources/TSCUtility/Git.swift:17:23: warning: static property 'tool' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | /// A shell command to run for Git. Can be either a name or a path.
16 | /// - Note: modification is not thread safe, designed for testing only
17 | public static var tool: String = "git\(executableFileSuffix)"
| |- warning: static property 'tool' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'tool' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'tool' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | /// Returns true if the git reference name is well formed.
/Users/admin/builder/spi-builder-workspace/Sources/TSCUtility/Git.swift:29:24: warning: static property '_gitEnvironment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 | }
28 |
29 | private static var _gitEnvironment = ProcessEnv.block
| |- warning: static property '_gitEnvironment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_gitEnvironment' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_gitEnvironment' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | @available(*,
[61/71] Compiling TSCUtility CollectionExtensions.swift
[62/71] Compiling TSCUtility Diagnostics.swift
[63/71] Compiling TSCUtility dlopen.swift
/Users/admin/builder/spi-builder-workspace/Sources/TSCUtility/dlopen.swift:58:23: warning: static property 'lazy' is not concurrency-safe because non-'Sendable' type 'DLOpenFlags' may have shared mutable state; this is an error in the Swift 6 language mode
53 | // FIXME: deprecate 2/2022, remove once clients transitioned
54 | @available(*, deprecated, message: "moved to swift-driver")
55 | public struct DLOpenFlags: RawRepresentable, OptionSet {
| `- note: consider making struct 'DLOpenFlags' conform to the 'Sendable' protocol
56 |
57 | #if !os(Windows)
58 | public static let lazy: DLOpenFlags = DLOpenFlags(rawValue: RTLD_LAZY)
| |- warning: static property 'lazy' is not concurrency-safe because non-'Sendable' type 'DLOpenFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'lazy' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 | public static let now: DLOpenFlags = DLOpenFlags(rawValue: RTLD_NOW)
60 | public static let local: DLOpenFlags = DLOpenFlags(rawValue: RTLD_LOCAL)
/Users/admin/builder/spi-builder-workspace/Sources/TSCUtility/dlopen.swift:59:23: warning: static property 'now' is not concurrency-safe because non-'Sendable' type 'DLOpenFlags' may have shared mutable state; this is an error in the Swift 6 language mode
53 | // FIXME: deprecate 2/2022, remove once clients transitioned
54 | @available(*, deprecated, message: "moved to swift-driver")
55 | public struct DLOpenFlags: RawRepresentable, OptionSet {
| `- note: consider making struct 'DLOpenFlags' conform to the 'Sendable' protocol
56 |
57 | #if !os(Windows)
58 | public static let lazy: DLOpenFlags = DLOpenFlags(rawValue: RTLD_LAZY)
59 | public static let now: DLOpenFlags = DLOpenFlags(rawValue: RTLD_NOW)
| |- warning: static property 'now' is not concurrency-safe because non-'Sendable' type 'DLOpenFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'now' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 | public static let local: DLOpenFlags = DLOpenFlags(rawValue: RTLD_LOCAL)
61 | public static let global: DLOpenFlags = DLOpenFlags(rawValue: RTLD_GLOBAL)
/Users/admin/builder/spi-builder-workspace/Sources/TSCUtility/dlopen.swift:60:23: warning: static property 'local' is not concurrency-safe because non-'Sendable' type 'DLOpenFlags' may have shared mutable state; this is an error in the Swift 6 language mode
53 | // FIXME: deprecate 2/2022, remove once clients transitioned
54 | @available(*, deprecated, message: "moved to swift-driver")
55 | public struct DLOpenFlags: RawRepresentable, OptionSet {
| `- note: consider making struct 'DLOpenFlags' conform to the 'Sendable' protocol
56 |
57 | #if !os(Windows)
58 | public static let lazy: DLOpenFlags = DLOpenFlags(rawValue: RTLD_LAZY)
59 | public static let now: DLOpenFlags = DLOpenFlags(rawValue: RTLD_NOW)
60 | public static let local: DLOpenFlags = DLOpenFlags(rawValue: RTLD_LOCAL)
| |- warning: static property 'local' is not concurrency-safe because non-'Sendable' type 'DLOpenFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'local' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 | public static let global: DLOpenFlags = DLOpenFlags(rawValue: RTLD_GLOBAL)
62 |
/Users/admin/builder/spi-builder-workspace/Sources/TSCUtility/dlopen.swift:61:23: warning: static property 'global' is not concurrency-safe because non-'Sendable' type 'DLOpenFlags' may have shared mutable state; this is an error in the Swift 6 language mode
53 | // FIXME: deprecate 2/2022, remove once clients transitioned
54 | @available(*, deprecated, message: "moved to swift-driver")
55 | public struct DLOpenFlags: RawRepresentable, OptionSet {
| `- note: consider making struct 'DLOpenFlags' conform to the 'Sendable' protocol
56 |
57 | #if !os(Windows)
:
59 | public static let now: DLOpenFlags = DLOpenFlags(rawValue: RTLD_NOW)
60 | public static let local: DLOpenFlags = DLOpenFlags(rawValue: RTLD_LOCAL)
61 | public static let global: DLOpenFlags = DLOpenFlags(rawValue: RTLD_GLOBAL)
| |- warning: static property 'global' is not concurrency-safe because non-'Sendable' type 'DLOpenFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'global' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 |
63 | // Platform-specific flags.
/Users/admin/builder/spi-builder-workspace/Sources/TSCUtility/dlopen.swift:65:23: warning: static property 'first' is not concurrency-safe because non-'Sendable' type 'DLOpenFlags' may have shared mutable state; this is an error in the Swift 6 language mode
53 | // FIXME: deprecate 2/2022, remove once clients transitioned
54 | @available(*, deprecated, message: "moved to swift-driver")
55 | public struct DLOpenFlags: RawRepresentable, OptionSet {
| `- note: consider making struct 'DLOpenFlags' conform to the 'Sendable' protocol
56 |
57 | #if !os(Windows)
:
63 | // Platform-specific flags.
64 | #if canImport(Darwin)
65 | public static let first: DLOpenFlags = DLOpenFlags(rawValue: RTLD_FIRST)
| |- warning: static property 'first' is not concurrency-safe because non-'Sendable' type 'DLOpenFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'first' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 | public static let deepBind: DLOpenFlags = DLOpenFlags(rawValue: 0)
67 | #else
/Users/admin/builder/spi-builder-workspace/Sources/TSCUtility/dlopen.swift:66:23: warning: static property 'deepBind' is not concurrency-safe because non-'Sendable' type 'DLOpenFlags' may have shared mutable state; this is an error in the Swift 6 language mode
53 | // FIXME: deprecate 2/2022, remove once clients transitioned
54 | @available(*, deprecated, message: "moved to swift-driver")
55 | public struct DLOpenFlags: RawRepresentable, OptionSet {
| `- note: consider making struct 'DLOpenFlags' conform to the 'Sendable' protocol
56 |
57 | #if !os(Windows)
:
64 | #if canImport(Darwin)
65 | public static let first: DLOpenFlags = DLOpenFlags(rawValue: RTLD_FIRST)
66 | public static let deepBind: DLOpenFlags = DLOpenFlags(rawValue: 0)
| |- warning: static property 'deepBind' is not concurrency-safe because non-'Sendable' type 'DLOpenFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'deepBind' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 | #else
68 | public static let first: DLOpenFlags = DLOpenFlags(rawValue: 0)
[64/71] Compiling TSCUtility misc.swift
/Users/admin/builder/spi-builder-workspace/Sources/TSCUtility/dlopen.swift:58:23: warning: static property 'lazy' is not concurrency-safe because non-'Sendable' type 'DLOpenFlags' may have shared mutable state; this is an error in the Swift 6 language mode
53 | // FIXME: deprecate 2/2022, remove once clients transitioned
54 | @available(*, deprecated, message: "moved to swift-driver")
55 | public struct DLOpenFlags: RawRepresentable, OptionSet {
| `- note: consider making struct 'DLOpenFlags' conform to the 'Sendable' protocol
56 |
57 | #if !os(Windows)
58 | public static let lazy: DLOpenFlags = DLOpenFlags(rawValue: RTLD_LAZY)
| |- warning: static property 'lazy' is not concurrency-safe because non-'Sendable' type 'DLOpenFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'lazy' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 | public static let now: DLOpenFlags = DLOpenFlags(rawValue: RTLD_NOW)
60 | public static let local: DLOpenFlags = DLOpenFlags(rawValue: RTLD_LOCAL)
/Users/admin/builder/spi-builder-workspace/Sources/TSCUtility/dlopen.swift:59:23: warning: static property 'now' is not concurrency-safe because non-'Sendable' type 'DLOpenFlags' may have shared mutable state; this is an error in the Swift 6 language mode
53 | // FIXME: deprecate 2/2022, remove once clients transitioned
54 | @available(*, deprecated, message: "moved to swift-driver")
55 | public struct DLOpenFlags: RawRepresentable, OptionSet {
| `- note: consider making struct 'DLOpenFlags' conform to the 'Sendable' protocol
56 |
57 | #if !os(Windows)
58 | public static let lazy: DLOpenFlags = DLOpenFlags(rawValue: RTLD_LAZY)
59 | public static let now: DLOpenFlags = DLOpenFlags(rawValue: RTLD_NOW)
| |- warning: static property 'now' is not concurrency-safe because non-'Sendable' type 'DLOpenFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'now' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 | public static let local: DLOpenFlags = DLOpenFlags(rawValue: RTLD_LOCAL)
61 | public static let global: DLOpenFlags = DLOpenFlags(rawValue: RTLD_GLOBAL)
/Users/admin/builder/spi-builder-workspace/Sources/TSCUtility/dlopen.swift:60:23: warning: static property 'local' is not concurrency-safe because non-'Sendable' type 'DLOpenFlags' may have shared mutable state; this is an error in the Swift 6 language mode
53 | // FIXME: deprecate 2/2022, remove once clients transitioned
54 | @available(*, deprecated, message: "moved to swift-driver")
55 | public struct DLOpenFlags: RawRepresentable, OptionSet {
| `- note: consider making struct 'DLOpenFlags' conform to the 'Sendable' protocol
56 |
57 | #if !os(Windows)
58 | public static let lazy: DLOpenFlags = DLOpenFlags(rawValue: RTLD_LAZY)
59 | public static let now: DLOpenFlags = DLOpenFlags(rawValue: RTLD_NOW)
60 | public static let local: DLOpenFlags = DLOpenFlags(rawValue: RTLD_LOCAL)
| |- warning: static property 'local' is not concurrency-safe because non-'Sendable' type 'DLOpenFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'local' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 | public static let global: DLOpenFlags = DLOpenFlags(rawValue: RTLD_GLOBAL)
62 |
/Users/admin/builder/spi-builder-workspace/Sources/TSCUtility/dlopen.swift:61:23: warning: static property 'global' is not concurrency-safe because non-'Sendable' type 'DLOpenFlags' may have shared mutable state; this is an error in the Swift 6 language mode
53 | // FIXME: deprecate 2/2022, remove once clients transitioned
54 | @available(*, deprecated, message: "moved to swift-driver")
55 | public struct DLOpenFlags: RawRepresentable, OptionSet {
| `- note: consider making struct 'DLOpenFlags' conform to the 'Sendable' protocol
56 |
57 | #if !os(Windows)
:
59 | public static let now: DLOpenFlags = DLOpenFlags(rawValue: RTLD_NOW)
60 | public static let local: DLOpenFlags = DLOpenFlags(rawValue: RTLD_LOCAL)
61 | public static let global: DLOpenFlags = DLOpenFlags(rawValue: RTLD_GLOBAL)
| |- warning: static property 'global' is not concurrency-safe because non-'Sendable' type 'DLOpenFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'global' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 |
63 | // Platform-specific flags.
/Users/admin/builder/spi-builder-workspace/Sources/TSCUtility/dlopen.swift:65:23: warning: static property 'first' is not concurrency-safe because non-'Sendable' type 'DLOpenFlags' may have shared mutable state; this is an error in the Swift 6 language mode
53 | // FIXME: deprecate 2/2022, remove once clients transitioned
54 | @available(*, deprecated, message: "moved to swift-driver")
55 | public struct DLOpenFlags: RawRepresentable, OptionSet {
| `- note: consider making struct 'DLOpenFlags' conform to the 'Sendable' protocol
56 |
57 | #if !os(Windows)
:
63 | // Platform-specific flags.
64 | #if canImport(Darwin)
65 | public static let first: DLOpenFlags = DLOpenFlags(rawValue: RTLD_FIRST)
| |- warning: static property 'first' is not concurrency-safe because non-'Sendable' type 'DLOpenFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'first' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 | public static let deepBind: DLOpenFlags = DLOpenFlags(rawValue: 0)
67 | #else
/Users/admin/builder/spi-builder-workspace/Sources/TSCUtility/dlopen.swift:66:23: warning: static property 'deepBind' is not concurrency-safe because non-'Sendable' type 'DLOpenFlags' may have shared mutable state; this is an error in the Swift 6 language mode
53 | // FIXME: deprecate 2/2022, remove once clients transitioned
54 | @available(*, deprecated, message: "moved to swift-driver")
55 | public struct DLOpenFlags: RawRepresentable, OptionSet {
| `- note: consider making struct 'DLOpenFlags' conform to the 'Sendable' protocol
56 |
57 | #if !os(Windows)
:
64 | #if canImport(Darwin)
65 | public static let first: DLOpenFlags = DLOpenFlags(rawValue: RTLD_FIRST)
66 | public static let deepBind: DLOpenFlags = DLOpenFlags(rawValue: 0)
| |- warning: static property 'deepBind' is not concurrency-safe because non-'Sendable' type 'DLOpenFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'deepBind' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 | #else
68 | public static let first: DLOpenFlags = DLOpenFlags(rawValue: 0)
[65/71] Compiling TSCUtility URL.swift
/Users/admin/builder/spi-builder-workspace/Sources/TSCUtility/Verbosity.swift:44:12: warning: var 'verbosity' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
42 | // verbose 2/2022
43 | @available(*, deprecated)
44 | public var verbosity = Verbosity.concise
| |- warning: var 'verbosity' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'verbosity' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'verbosity' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 |
[66/71] Compiling TSCUtility Verbosity.swift
/Users/admin/builder/spi-builder-workspace/Sources/TSCUtility/Verbosity.swift:44:12: warning: var 'verbosity' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
42 | // verbose 2/2022
43 | @available(*, deprecated)
44 | public var verbosity = Verbosity.concise
| |- warning: var 'verbosity' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'verbosity' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'verbosity' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 |
[67/71] Compiling TSCUtility Bits.swift
/Users/admin/builder/spi-builder-workspace/Sources/TSCUtility/Bitstream.swift:213:23: warning: static property 'blockInfo' is not concurrency-safe because non-'Sendable' type 'Bitstream.BlockID' may have shared mutable state; this is an error in the Swift 6 language mode
204 | /// }
205 | /// ```
206 | public struct BlockID: RawRepresentable, Equatable, Hashable, Comparable, Identifiable {
| `- note: consider making struct 'BlockID' conform to the 'Sendable' protocol
207 | public var rawValue: UInt8
208 |
:
211 | }
212 |
213 | public static let blockInfo = Self(rawValue: 0)
| |- warning: static property 'blockInfo' is not concurrency-safe because non-'Sendable' type 'Bitstream.BlockID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'blockInfo' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
214 | public static let firstApplicationID = Self(rawValue: 8)
215 |
/Users/admin/builder/spi-builder-workspace/Sources/TSCUtility/Bitstream.swift:214:23: warning: static property 'firstApplicationID' is not concurrency-safe because non-'Sendable' type 'Bitstream.BlockID' may have shared mutable state; this is an error in the Swift 6 language mode
204 | /// }
205 | /// ```
206 | public struct BlockID: RawRepresentable, Equatable, Hashable, Comparable, Identifiable {
| `- note: consider making struct 'BlockID' conform to the 'Sendable' protocol
207 | public var rawValue: UInt8
208 |
:
212 |
213 | public static let blockInfo = Self(rawValue: 0)
214 | public static let firstApplicationID = Self(rawValue: 8)
| |- warning: static property 'firstApplicationID' is not concurrency-safe because non-'Sendable' type 'Bitstream.BlockID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'firstApplicationID' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
215 |
216 | public var id: UInt8 {
/Users/admin/builder/spi-builder-workspace/Sources/TSCUtility/Bitstream.swift:251:23: warning: static property 'endBlock' is not concurrency-safe because non-'Sendable' type 'Bitstream.AbbreviationID' may have shared mutable state; this is an error in the Swift 6 language mode
241 | /// `BitstreamWriter.defineBlockInfoAbbreviation(_:_:)`
242 | /// to register abbreviations.
243 | public struct AbbreviationID: RawRepresentable, Equatable, Hashable, Comparable, Identifiable {
| `- note: consider making struct 'AbbreviationID' conform to the 'Sendable' protocol
244 | public var rawValue: UInt64
245 |
:
249 |
250 | /// Marks the end of the current block.
251 | public static let endBlock = Self(rawValue: 0)
| |- warning: static property 'endBlock' is not concurrency-safe because non-'Sendable' type 'Bitstream.AbbreviationID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'endBlock' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
252 | /// Marks the beginning of a new block.
253 | public static let enterSubblock = Self(rawValue: 1)
/Users/admin/builder/spi-builder-workspace/Sources/TSCUtility/Bitstream.swift:253:23: warning: static property 'enterSubblock' is not concurrency-safe because non-'Sendable' type 'Bitstream.AbbreviationID' may have shared mutable state; this is an error in the Swift 6 language mode
241 | /// `BitstreamWriter.defineBlockInfoAbbreviation(_:_:)`
242 | /// to register abbreviations.
243 | public struct AbbreviationID: RawRepresentable, Equatable, Hashable, Comparable, Identifiable {
| `- note: consider making struct 'AbbreviationID' conform to the 'Sendable' protocol
244 | public var rawValue: UInt64
245 |
:
251 | public static let endBlock = Self(rawValue: 0)
252 | /// Marks the beginning of a new block.
253 | public static let enterSubblock = Self(rawValue: 1)
| |- warning: static property 'enterSubblock' is not concurrency-safe because non-'Sendable' type 'Bitstream.AbbreviationID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'enterSubblock' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
254 | /// Marks the definition of a new abbreviation.
255 | public static let defineAbbreviation = Self(rawValue: 2)
/Users/admin/builder/spi-builder-workspace/Sources/TSCUtility/Bitstream.swift:255:23: warning: static property 'defineAbbreviation' is not concurrency-safe because non-'Sendable' type 'Bitstream.AbbreviationID' may have shared mutable state; this is an error in the Swift 6 language mode
241 | /// `BitstreamWriter.defineBlockInfoAbbreviation(_:_:)`
242 | /// to register abbreviations.
243 | public struct AbbreviationID: RawRepresentable, Equatable, Hashable, Comparable, Identifiable {
| `- note: consider making struct 'AbbreviationID' conform to the 'Sendable' protocol
244 | public var rawValue: UInt64
245 |
:
253 | public static let enterSubblock = Self(rawValue: 1)
254 | /// Marks the definition of a new abbreviation.
255 | public static let defineAbbreviation = Self(rawValue: 2)
| |- warning: static property 'defineAbbreviation' is not concurrency-safe because non-'Sendable' type 'Bitstream.AbbreviationID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defineAbbreviation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
256 | /// Marks the definition of a new unabbreviated record.
257 | public static let unabbreviatedRecord = Self(rawValue: 3)
/Users/admin/builder/spi-builder-workspace/Sources/TSCUtility/Bitstream.swift:257:23: warning: static property 'unabbreviatedRecord' is not concurrency-safe because non-'Sendable' type 'Bitstream.AbbreviationID' may have shared mutable state; this is an error in the Swift 6 language mode
241 | /// `BitstreamWriter.defineBlockInfoAbbreviation(_:_:)`
242 | /// to register abbreviations.
243 | public struct AbbreviationID: RawRepresentable, Equatable, Hashable, Comparable, Identifiable {
| `- note: consider making struct 'AbbreviationID' conform to the 'Sendable' protocol
244 | public var rawValue: UInt64
245 |
:
255 | public static let defineAbbreviation = Self(rawValue: 2)
256 | /// Marks the definition of a new unabbreviated record.
257 | public static let unabbreviatedRecord = Self(rawValue: 3)
| |- warning: static property 'unabbreviatedRecord' is not concurrency-safe because non-'Sendable' type 'Bitstream.AbbreviationID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'unabbreviatedRecord' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
258 | /// The first application-defined abbreviation ID.
259 | public static let firstApplicationID = Self(rawValue: 4)
/Users/admin/builder/spi-builder-workspace/Sources/TSCUtility/Bitstream.swift:259:23: warning: static property 'firstApplicationID' is not concurrency-safe because non-'Sendable' type 'Bitstream.AbbreviationID' may have shared mutable state; this is an error in the Swift 6 language mode
241 | /// `BitstreamWriter.defineBlockInfoAbbreviation(_:_:)`
242 | /// to register abbreviations.
243 | public struct AbbreviationID: RawRepresentable, Equatable, Hashable, Comparable, Identifiable {
| `- note: consider making struct 'AbbreviationID' conform to the 'Sendable' protocol
244 | public var rawValue: UInt64
245 |
:
257 | public static let unabbreviatedRecord = Self(rawValue: 3)
258 | /// The first application-defined abbreviation ID.
259 | public static let firstApplicationID = Self(rawValue: 4)
| |- warning: static property 'firstApplicationID' is not concurrency-safe because non-'Sendable' type 'Bitstream.AbbreviationID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'firstApplicationID' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
260 |
261 | public var id: UInt64 {
[68/71] Compiling TSCUtility Bitstream.swift
/Users/admin/builder/spi-builder-workspace/Sources/TSCUtility/Bitstream.swift:213:23: warning: static property 'blockInfo' is not concurrency-safe because non-'Sendable' type 'Bitstream.BlockID' may have shared mutable state; this is an error in the Swift 6 language mode
204 | /// }
205 | /// ```
206 | public struct BlockID: RawRepresentable, Equatable, Hashable, Comparable, Identifiable {
| `- note: consider making struct 'BlockID' conform to the 'Sendable' protocol
207 | public var rawValue: UInt8
208 |
:
211 | }
212 |
213 | public static let blockInfo = Self(rawValue: 0)
| |- warning: static property 'blockInfo' is not concurrency-safe because non-'Sendable' type 'Bitstream.BlockID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'blockInfo' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
214 | public static let firstApplicationID = Self(rawValue: 8)
215 |
/Users/admin/builder/spi-builder-workspace/Sources/TSCUtility/Bitstream.swift:214:23: warning: static property 'firstApplicationID' is not concurrency-safe because non-'Sendable' type 'Bitstream.BlockID' may have shared mutable state; this is an error in the Swift 6 language mode
204 | /// }
205 | /// ```
206 | public struct BlockID: RawRepresentable, Equatable, Hashable, Comparable, Identifiable {
| `- note: consider making struct 'BlockID' conform to the 'Sendable' protocol
207 | public var rawValue: UInt8
208 |
:
212 |
213 | public static let blockInfo = Self(rawValue: 0)
214 | public static let firstApplicationID = Self(rawValue: 8)
| |- warning: static property 'firstApplicationID' is not concurrency-safe because non-'Sendable' type 'Bitstream.BlockID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'firstApplicationID' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
215 |
216 | public var id: UInt8 {
/Users/admin/builder/spi-builder-workspace/Sources/TSCUtility/Bitstream.swift:251:23: warning: static property 'endBlock' is not concurrency-safe because non-'Sendable' type 'Bitstream.AbbreviationID' may have shared mutable state; this is an error in the Swift 6 language mode
241 | /// `BitstreamWriter.defineBlockInfoAbbreviation(_:_:)`
242 | /// to register abbreviations.
243 | public struct AbbreviationID: RawRepresentable, Equatable, Hashable, Comparable, Identifiable {
| `- note: consider making struct 'AbbreviationID' conform to the 'Sendable' protocol
244 | public var rawValue: UInt64
245 |
:
249 |
250 | /// Marks the end of the current block.
251 | public static let endBlock = Self(rawValue: 0)
| |- warning: static property 'endBlock' is not concurrency-safe because non-'Sendable' type 'Bitstream.AbbreviationID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'endBlock' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
252 | /// Marks the beginning of a new block.
253 | public static let enterSubblock = Self(rawValue: 1)
/Users/admin/builder/spi-builder-workspace/Sources/TSCUtility/Bitstream.swift:253:23: warning: static property 'enterSubblock' is not concurrency-safe because non-'Sendable' type 'Bitstream.AbbreviationID' may have shared mutable state; this is an error in the Swift 6 language mode
241 | /// `BitstreamWriter.defineBlockInfoAbbreviation(_:_:)`
242 | /// to register abbreviations.
243 | public struct AbbreviationID: RawRepresentable, Equatable, Hashable, Comparable, Identifiable {
| `- note: consider making struct 'AbbreviationID' conform to the 'Sendable' protocol
244 | public var rawValue: UInt64
245 |
:
251 | public static let endBlock = Self(rawValue: 0)
252 | /// Marks the beginning of a new block.
253 | public static let enterSubblock = Self(rawValue: 1)
| |- warning: static property 'enterSubblock' is not concurrency-safe because non-'Sendable' type 'Bitstream.AbbreviationID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'enterSubblock' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
254 | /// Marks the definition of a new abbreviation.
255 | public static let defineAbbreviation = Self(rawValue: 2)
/Users/admin/builder/spi-builder-workspace/Sources/TSCUtility/Bitstream.swift:255:23: warning: static property 'defineAbbreviation' is not concurrency-safe because non-'Sendable' type 'Bitstream.AbbreviationID' may have shared mutable state; this is an error in the Swift 6 language mode
241 | /// `BitstreamWriter.defineBlockInfoAbbreviation(_:_:)`
242 | /// to register abbreviations.
243 | public struct AbbreviationID: RawRepresentable, Equatable, Hashable, Comparable, Identifiable {
| `- note: consider making struct 'AbbreviationID' conform to the 'Sendable' protocol
244 | public var rawValue: UInt64
245 |
:
253 | public static let enterSubblock = Self(rawValue: 1)
254 | /// Marks the definition of a new abbreviation.
255 | public static let defineAbbreviation = Self(rawValue: 2)
| |- warning: static property 'defineAbbreviation' is not concurrency-safe because non-'Sendable' type 'Bitstream.AbbreviationID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defineAbbreviation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
256 | /// Marks the definition of a new unabbreviated record.
257 | public static let unabbreviatedRecord = Self(rawValue: 3)
/Users/admin/builder/spi-builder-workspace/Sources/TSCUtility/Bitstream.swift:257:23: warning: static property 'unabbreviatedRecord' is not concurrency-safe because non-'Sendable' type 'Bitstream.AbbreviationID' may have shared mutable state; this is an error in the Swift 6 language mode
241 | /// `BitstreamWriter.defineBlockInfoAbbreviation(_:_:)`
242 | /// to register abbreviations.
243 | public struct AbbreviationID: RawRepresentable, Equatable, Hashable, Comparable, Identifiable {
| `- note: consider making struct 'AbbreviationID' conform to the 'Sendable' protocol
244 | public var rawValue: UInt64
245 |
:
255 | public static let defineAbbreviation = Self(rawValue: 2)
256 | /// Marks the definition of a new unabbreviated record.
257 | public static let unabbreviatedRecord = Self(rawValue: 3)
| |- warning: static property 'unabbreviatedRecord' is not concurrency-safe because non-'Sendable' type 'Bitstream.AbbreviationID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'unabbreviatedRecord' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
258 | /// The first application-defined abbreviation ID.
259 | public static let firstApplicationID = Self(rawValue: 4)
/Users/admin/builder/spi-builder-workspace/Sources/TSCUtility/Bitstream.swift:259:23: warning: static property 'firstApplicationID' is not concurrency-safe because non-'Sendable' type 'Bitstream.AbbreviationID' may have shared mutable state; this is an error in the Swift 6 language mode
241 | /// `BitstreamWriter.defineBlockInfoAbbreviation(_:_:)`
242 | /// to register abbreviations.
243 | public struct AbbreviationID: RawRepresentable, Equatable, Hashable, Comparable, Identifiable {
| `- note: consider making struct 'AbbreviationID' conform to the 'Sendable' protocol
244 | public var rawValue: UInt64
245 |
:
257 | public static let unabbreviatedRecord = Self(rawValue: 3)
258 | /// The first application-defined abbreviation ID.
259 | public static let firstApplicationID = Self(rawValue: 4)
| |- warning: static property 'firstApplicationID' is not concurrency-safe because non-'Sendable' type 'Bitstream.AbbreviationID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'firstApplicationID' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
260 |
261 | public var id: UInt64 {
[69/71] Compiling TSCUtility BitstreamReader.swift
/Users/admin/builder/spi-builder-workspace/Sources/TSCUtility/Bitstream.swift:213:23: warning: static property 'blockInfo' is not concurrency-safe because non-'Sendable' type 'Bitstream.BlockID' may have shared mutable state; this is an error in the Swift 6 language mode
204 | /// }
205 | /// ```
206 | public struct BlockID: RawRepresentable, Equatable, Hashable, Comparable, Identifiable {
| `- note: consider making struct 'BlockID' conform to the 'Sendable' protocol
207 | public var rawValue: UInt8
208 |
:
211 | }
212 |
213 | public static let blockInfo = Self(rawValue: 0)
| |- warning: static property 'blockInfo' is not concurrency-safe because non-'Sendable' type 'Bitstream.BlockID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'blockInfo' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
214 | public static let firstApplicationID = Self(rawValue: 8)
215 |
/Users/admin/builder/spi-builder-workspace/Sources/TSCUtility/Bitstream.swift:214:23: warning: static property 'firstApplicationID' is not concurrency-safe because non-'Sendable' type 'Bitstream.BlockID' may have shared mutable state; this is an error in the Swift 6 language mode
204 | /// }
205 | /// ```
206 | public struct BlockID: RawRepresentable, Equatable, Hashable, Comparable, Identifiable {
| `- note: consider making struct 'BlockID' conform to the 'Sendable' protocol
207 | public var rawValue: UInt8
208 |
:
212 |
213 | public static let blockInfo = Self(rawValue: 0)
214 | public static let firstApplicationID = Self(rawValue: 8)
| |- warning: static property 'firstApplicationID' is not concurrency-safe because non-'Sendable' type 'Bitstream.BlockID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'firstApplicationID' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
215 |
216 | public var id: UInt8 {
/Users/admin/builder/spi-builder-workspace/Sources/TSCUtility/Bitstream.swift:251:23: warning: static property 'endBlock' is not concurrency-safe because non-'Sendable' type 'Bitstream.AbbreviationID' may have shared mutable state; this is an error in the Swift 6 language mode
241 | /// `BitstreamWriter.defineBlockInfoAbbreviation(_:_:)`
242 | /// to register abbreviations.
243 | public struct AbbreviationID: RawRepresentable, Equatable, Hashable, Comparable, Identifiable {
| `- note: consider making struct 'AbbreviationID' conform to the 'Sendable' protocol
244 | public var rawValue: UInt64
245 |
:
249 |
250 | /// Marks the end of the current block.
251 | public static let endBlock = Self(rawValue: 0)
| |- warning: static property 'endBlock' is not concurrency-safe because non-'Sendable' type 'Bitstream.AbbreviationID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'endBlock' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
252 | /// Marks the beginning of a new block.
253 | public static let enterSubblock = Self(rawValue: 1)
/Users/admin/builder/spi-builder-workspace/Sources/TSCUtility/Bitstream.swift:253:23: warning: static property 'enterSubblock' is not concurrency-safe because non-'Sendable' type 'Bitstream.AbbreviationID' may have shared mutable state; this is an error in the Swift 6 language mode
241 | /// `BitstreamWriter.defineBlockInfoAbbreviation(_:_:)`
242 | /// to register abbreviations.
243 | public struct AbbreviationID: RawRepresentable, Equatable, Hashable, Comparable, Identifiable {
| `- note: consider making struct 'AbbreviationID' conform to the 'Sendable' protocol
244 | public var rawValue: UInt64
245 |
:
251 | public static let endBlock = Self(rawValue: 0)
252 | /// Marks the beginning of a new block.
253 | public static let enterSubblock = Self(rawValue: 1)
| |- warning: static property 'enterSubblock' is not concurrency-safe because non-'Sendable' type 'Bitstream.AbbreviationID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'enterSubblock' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
254 | /// Marks the definition of a new abbreviation.
255 | public static let defineAbbreviation = Self(rawValue: 2)
/Users/admin/builder/spi-builder-workspace/Sources/TSCUtility/Bitstream.swift:255:23: warning: static property 'defineAbbreviation' is not concurrency-safe because non-'Sendable' type 'Bitstream.AbbreviationID' may have shared mutable state; this is an error in the Swift 6 language mode
241 | /// `BitstreamWriter.defineBlockInfoAbbreviation(_:_:)`
242 | /// to register abbreviations.
243 | public struct AbbreviationID: RawRepresentable, Equatable, Hashable, Comparable, Identifiable {
| `- note: consider making struct 'AbbreviationID' conform to the 'Sendable' protocol
244 | public var rawValue: UInt64
245 |
:
253 | public static let enterSubblock = Self(rawValue: 1)
254 | /// Marks the definition of a new abbreviation.
255 | public static let defineAbbreviation = Self(rawValue: 2)
| |- warning: static property 'defineAbbreviation' is not concurrency-safe because non-'Sendable' type 'Bitstream.AbbreviationID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defineAbbreviation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
256 | /// Marks the definition of a new unabbreviated record.
257 | public static let unabbreviatedRecord = Self(rawValue: 3)
/Users/admin/builder/spi-builder-workspace/Sources/TSCUtility/Bitstream.swift:257:23: warning: static property 'unabbreviatedRecord' is not concurrency-safe because non-'Sendable' type 'Bitstream.AbbreviationID' may have shared mutable state; this is an error in the Swift 6 language mode
241 | /// `BitstreamWriter.defineBlockInfoAbbreviation(_:_:)`
242 | /// to register abbreviations.
243 | public struct AbbreviationID: RawRepresentable, Equatable, Hashable, Comparable, Identifiable {
| `- note: consider making struct 'AbbreviationID' conform to the 'Sendable' protocol
244 | public var rawValue: UInt64
245 |
:
255 | public static let defineAbbreviation = Self(rawValue: 2)
256 | /// Marks the definition of a new unabbreviated record.
257 | public static let unabbreviatedRecord = Self(rawValue: 3)
| |- warning: static property 'unabbreviatedRecord' is not concurrency-safe because non-'Sendable' type 'Bitstream.AbbreviationID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'unabbreviatedRecord' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
258 | /// The first application-defined abbreviation ID.
259 | public static let firstApplicationID = Self(rawValue: 4)
/Users/admin/builder/spi-builder-workspace/Sources/TSCUtility/Bitstream.swift:259:23: warning: static property 'firstApplicationID' is not concurrency-safe because non-'Sendable' type 'Bitstream.AbbreviationID' may have shared mutable state; this is an error in the Swift 6 language mode
241 | /// `BitstreamWriter.defineBlockInfoAbbreviation(_:_:)`
242 | /// to register abbreviations.
243 | public struct AbbreviationID: RawRepresentable, Equatable, Hashable, Comparable, Identifiable {
| `- note: consider making struct 'AbbreviationID' conform to the 'Sendable' protocol
244 | public var rawValue: UInt64
245 |
:
257 | public static let unabbreviatedRecord = Self(rawValue: 3)
258 | /// The first application-defined abbreviation ID.
259 | public static let firstApplicationID = Self(rawValue: 4)
| |- warning: static property 'firstApplicationID' is not concurrency-safe because non-'Sendable' type 'Bitstream.AbbreviationID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'firstApplicationID' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
260 |
261 | public var id: UInt64 {
[69/71] Write Objects.LinkFileList
[70/81] Linking libSwiftToolsSupport.dylib
[72/81] Compiling TSCTestSupport misc.swift
/Users/admin/builder/spi-builder-workspace/Sources/TSCTestSupport/misc.swift:69:55: warning: 'vars' is deprecated: Use `block` instead
67 | /// correctly.
68 | public func withCustomEnv(_ env: [String: String], body: () throws -> Void) throws {
69 | let state = Array(env.keys).map({ ($0, ProcessEnv.vars[$0]) })
| `- warning: 'vars' is deprecated: Use `block` instead
70 | let restore = {
71 | for (key, value) in state {
[73/81] Compiling TSCTestSupport Product.swift
[74/81] Compiling TSCTestSupport PseudoTerminal.swift
[75/81] Compiling TSCTestSupport XCTestCasePerf.swift
/Users/admin/builder/spi-builder-workspace/Sources/TSCTestSupport/XCTestCasePerf.swift:23:23: warning: 'vars' is deprecated: Use `block` instead
21 | #if canImport(Darwin)
22 | override open class var defaultTestSuite: XCTestSuite {
23 | if ProcessEnv.vars.keys.contains("TSC_ENABLE_PERF_TESTS") {
| `- warning: 'vars' is deprecated: Use `block` instead
24 | return super.defaultTestSuite
25 | }
[76/81] Compiling TSCTestSupport XCTAssertHelpers.swift
[77/81] Compiling TSCTestSupport DiagnosticsEngine.swift
[78/81] Compiling TSCTestSupport JSONExtensions.swift
[79/81] Compiling TSCTestSupport AssertMatch.swift
/Users/admin/builder/spi-builder-workspace/Sources/TSCTestSupport/AssertMatch.swift:63:22: warning: 'RegEx' is deprecated: Use Swift `Regex` type instead
61 | return value == needle
62 | case .regex(let pattern):
63 | return try! !RegEx(pattern: pattern).matchGroups(in: value).isEmpty
| `- warning: 'RegEx' is deprecated: Use Swift `Regex` type instead
64 | case .prefix(let needle):
65 | return value.hasPrefix(needle)
[80/81] Emitting module TSCTestSupport
/Users/admin/builder/spi-builder-workspace/Sources/TSCTestSupport/FileSystemExtensions.swift:103:1: warning: extension declares a conformance of imported type 'AbsolutePath' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'TSCBasic' introduce this conformance in the future
101 | }
102 |
103 | extension AbsolutePath: ExpressibleByStringLiteral {
| |- warning: extension declares a conformance of imported type 'AbsolutePath' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'TSCBasic' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
104 | public init(_ value: StringLiteralType) {
105 | try! self.init(validating: value)
/Users/admin/builder/spi-builder-workspace/Sources/TSCTestSupport/FileSystemExtensions.swift:109:1: warning: extension declares a conformance of imported type 'AbsolutePath' to imported protocol 'ExpressibleByStringInterpolation'; this will not behave correctly if the owners of 'TSCBasic' introduce this conformance in the future
107 | }
108 |
109 | extension AbsolutePath: ExpressibleByStringInterpolation {
| |- warning: extension declares a conformance of imported type 'AbsolutePath' to imported protocol 'ExpressibleByStringInterpolation'; this will not behave correctly if the owners of 'TSCBasic' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
110 | public init(stringLiteral value: String) {
111 | try! self.init(validating: value)
/Users/admin/builder/spi-builder-workspace/Sources/TSCTestSupport/FileSystemExtensions.swift:131:1: warning: extension declares a conformance of imported type 'RelativePath' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'TSCBasic' introduce this conformance in the future
129 | }
130 |
131 | extension RelativePath: ExpressibleByStringLiteral {
| |- warning: extension declares a conformance of imported type 'RelativePath' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'TSCBasic' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
132 | public init(_ value: StringLiteralType) {
133 | try! self.init(validating: value)
/Users/admin/builder/spi-builder-workspace/Sources/TSCTestSupport/FileSystemExtensions.swift:137:1: warning: extension declares a conformance of imported type 'RelativePath' to imported protocol 'ExpressibleByStringInterpolation'; this will not behave correctly if the owners of 'TSCBasic' introduce this conformance in the future
135 | }
136 |
137 | extension RelativePath: ExpressibleByStringInterpolation {
| |- warning: extension declares a conformance of imported type 'RelativePath' to imported protocol 'ExpressibleByStringInterpolation'; this will not behave correctly if the owners of 'TSCBasic' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
138 | public init(stringLiteral value: String) {
139 | try! self.init(validating: value)
[81/81] Compiling TSCTestSupport FileSystemExtensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/TSCTestSupport/FileSystemExtensions.swift:103:1: warning: extension declares a conformance of imported type 'AbsolutePath' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'TSCBasic' introduce this conformance in the future
101 | }
102 |
103 | extension AbsolutePath: ExpressibleByStringLiteral {
| |- warning: extension declares a conformance of imported type 'AbsolutePath' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'TSCBasic' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
104 | public init(_ value: StringLiteralType) {
105 | try! self.init(validating: value)
/Users/admin/builder/spi-builder-workspace/Sources/TSCTestSupport/FileSystemExtensions.swift:109:1: warning: extension declares a conformance of imported type 'AbsolutePath' to imported protocol 'ExpressibleByStringInterpolation'; this will not behave correctly if the owners of 'TSCBasic' introduce this conformance in the future
107 | }
108 |
109 | extension AbsolutePath: ExpressibleByStringInterpolation {
| |- warning: extension declares a conformance of imported type 'AbsolutePath' to imported protocol 'ExpressibleByStringInterpolation'; this will not behave correctly if the owners of 'TSCBasic' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
110 | public init(stringLiteral value: String) {
111 | try! self.init(validating: value)
/Users/admin/builder/spi-builder-workspace/Sources/TSCTestSupport/FileSystemExtensions.swift:131:1: warning: extension declares a conformance of imported type 'RelativePath' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'TSCBasic' introduce this conformance in the future
129 | }
130 |
131 | extension RelativePath: ExpressibleByStringLiteral {
| |- warning: extension declares a conformance of imported type 'RelativePath' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'TSCBasic' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
132 | public init(_ value: StringLiteralType) {
133 | try! self.init(validating: value)
/Users/admin/builder/spi-builder-workspace/Sources/TSCTestSupport/FileSystemExtensions.swift:137:1: warning: extension declares a conformance of imported type 'RelativePath' to imported protocol 'ExpressibleByStringInterpolation'; this will not behave correctly if the owners of 'TSCBasic' introduce this conformance in the future
135 | }
136 |
137 | extension RelativePath: ExpressibleByStringInterpolation {
| |- warning: extension declares a conformance of imported type 'RelativePath' to imported protocol 'ExpressibleByStringInterpolation'; this will not behave correctly if the owners of 'TSCBasic' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
138 | public init(stringLiteral value: String) {
139 | try! self.init(validating: value)
Build complete! (13.53s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "swift-tools-support-core",
"name" : "swift-tools-support-core",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "13.0"
}
],
"products" : [
{
"name" : "TSCBasic",
"targets" : [
"TSCBasic"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SwiftToolsSupport",
"targets" : [
"TSCBasic",
"TSCUtility"
],
"type" : {
"library" : [
"dynamic"
]
}
},
{
"name" : "SwiftToolsSupport-auto",
"targets" : [
"TSCBasic",
"TSCUtility"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "TSCTestSupport",
"targets" : [
"TSCTestSupport"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "TSCclibc",
"module_type" : "ClangTarget",
"name" : "TSCclibc",
"path" : "Sources/TSCclibc",
"product_memberships" : [
"TSCBasic",
"SwiftToolsSupport",
"SwiftToolsSupport-auto",
"TSCTestSupport"
],
"sources" : [
"libc.c",
"process.c",
"strerror.c"
],
"type" : "library"
},
{
"c99name" : "TSCUtilityTests",
"module_type" : "SwiftTarget",
"name" : "TSCUtilityTests",
"path" : "Tests/TSCUtilityTests",
"sources" : [
"BitstreamTests.swift",
"CollectionTests.swift",
"DiagnosticsUtilityTests.swift",
"JSONMessageStreamingParserTests.swift",
"PlatformTests.swift",
"ProgressAnimationTests.swift",
"SerializedDiagnosticsTests.swift",
"SimplePersistenceTests.swift",
"StringConversionTests.swift",
"StringTests.swift",
"VersionTests.swift",
"miscTests.swift"
],
"target_dependencies" : [
"TSCUtility",
"TSCTestSupport"
],
"type" : "test"
},
{
"c99name" : "TSCUtility",
"module_type" : "SwiftTarget",
"name" : "TSCUtility",
"path" : "Sources/TSCUtility",
"product_memberships" : [
"SwiftToolsSupport",
"SwiftToolsSupport-auto",
"TSCTestSupport"
],
"sources" : [
"Bits.swift",
"Bitstream.swift",
"BitstreamReader.swift",
"CollectionExtensions.swift",
"Diagnostics.swift",
"FSWatch.swift",
"Git.swift",
"IndexStore.swift",
"JSONMessageStreamingParser.swift",
"Platform.swift",
"ProgressAnimation.swift",
"SerializedDiagnostics.swift",
"SimplePersistence.swift",
"StringExtensions.swift",
"StringMangling.swift",
"URL.swift",
"Verbosity.swift",
"Version.swift",
"Versioning.swift",
"dlopen.swift",
"misc.swift"
],
"target_dependencies" : [
"TSCBasic",
"TSCclibc"
],
"type" : "library"
},
{
"c99name" : "TSCTestSupportTests",
"module_type" : "SwiftTarget",
"name" : "TSCTestSupportTests",
"path" : "Tests/TSCTestSupportTests",
"sources" : [
"TestSupportTests.swift"
],
"target_dependencies" : [
"TSCTestSupport"
],
"type" : "test"
},
{
"c99name" : "TSCTestSupport",
"module_type" : "SwiftTarget",
"name" : "TSCTestSupport",
"path" : "Sources/TSCTestSupport",
"product_memberships" : [
"TSCTestSupport"
],
"sources" : [
"AssertMatch.swift",
"DiagnosticsEngine.swift",
"FileSystemExtensions.swift",
"JSONExtensions.swift",
"Product.swift",
"PseudoTerminal.swift",
"XCTAssertHelpers.swift",
"XCTestCasePerf.swift",
"misc.swift"
],
"target_dependencies" : [
"TSCBasic",
"TSCUtility"
],
"type" : "library"
},
{
"c99name" : "TSCLibc",
"module_type" : "SwiftTarget",
"name" : "TSCLibc",
"path" : "Sources/TSCLibc",
"product_memberships" : [
"TSCBasic",
"SwiftToolsSupport",
"SwiftToolsSupport-auto",
"TSCTestSupport"
],
"sources" : [
"libc.swift"
],
"type" : "library"
},
{
"c99name" : "TSCBasicTests",
"module_type" : "SwiftTarget",
"name" : "TSCBasicTests",
"path" : "Tests/TSCBasicTests",
"sources" : [
"AwaitTests.swift",
"ByteStringTests.swift",
"CStringArrayTests.swift",
"CollectionAlgorithmsTests.swift",
"CollectionExtensionsTests.swift",
"ConditionTests.swift",
"DiagnosticsEngineTests.swift",
"DictionaryExtensionsTests.swift",
"DictionaryLiteralExtensionsTests.swift",
"EditDistanceTests.swift",
"FileSystemTests.swift",
"GraphAlgorithmsTests.swift",
"JSONMapperTests.swift",
"JSONTests.swift",
"KeyedPairTests.swift",
"LockTests.swift",
"OrderedDictionaryTests.swift",
"OrderedSetTests.swift",
"POSIXTests.swift",
"PathShimTests.swift",
"PathTests.swift",
"PathWindowsRelativeTests.swift",
"ProcessEnvTests.swift",
"ProcessSetTests.swift",
"ProcessTests.swift",
"RegExTests.swift",
"ResultTests.swift",
"SHA256Tests.swift",
"SendableTests.swift",
"SortedArrayTests.swift",
"StringConversionsTests.swift",
"SynchronizedQueueTests.swift",
"TemporaryFileTests.swift",
"TerminalControllerTests.swift",
"ThreadTests.swift",
"WritableByteStreamTests.swift",
"miscTests.swift"
],
"target_dependencies" : [
"TSCTestSupport",
"TSCclibc"
],
"type" : "test"
},
{
"c99name" : "TSCBasicPerformanceTests",
"module_type" : "SwiftTarget",
"name" : "TSCBasicPerformanceTests",
"path" : "Tests/TSCBasicPerformanceTests",
"sources" : [
"ByteStringPerfTests.swift",
"PathPerfTests.swift",
"SHA256PerfTests.swift",
"SortedArrayPerfTests.swift",
"StringConversionsPerfTests.swift",
"SynchronizedQueuePerfTests.swift",
"WritableByteStreamPerfTests.swift"
],
"target_dependencies" : [
"TSCBasic",
"TSCTestSupport"
],
"type" : "test"
},
{
"c99name" : "TSCBasic",
"module_type" : "SwiftTarget",
"name" : "TSCBasic",
"path" : "Sources/TSCBasic",
"product_memberships" : [
"TSCBasic",
"SwiftToolsSupport",
"SwiftToolsSupport-auto",
"TSCTestSupport"
],
"sources" : [
"Await.swift",
"ByteString.swift",
"CStringArray.swift",
"Closable.swift",
"CollectionAlgorithms.swift",
"CollectionExtensions.swift",
"Condition.swift",
"DiagnosticsEngine.swift",
"DictionaryExtensions.swift",
"DictionaryLiteralExtensions.swift",
"EditDistance.swift",
"FileInfo.swift",
"FileSystem.swift",
"GraphAlgorithms.swift",
"HashAlgorithms.swift",
"JSON.swift",
"JSONMapper.swift",
"KeyedPair.swift",
"Lock.swift",
"OrderedDictionary.swift",
"OrderedSet.swift",
"Path.swift",
"PathShims.swift",
"Process/Process.swift",
"Process/ProcessEnv.swift",
"Process/ProcessSet.swift",
"RegEx.swift",
"Result.swift",
"SortedArray.swift",
"StringConversions.swift",
"SynchronizedQueue.swift",
"TemporaryFile.swift",
"TerminalController.swift",
"Thread.swift",
"WritableByteStream.swift",
"misc.swift"
],
"target_dependencies" : [
"TSCLibc",
"TSCclibc"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Done.